/**
* Modern Payment Gateway Design
* Custom Styles for TZSMM Pay Clone
*/

/*--------------------------------------------------------------
# Modern Variables & Base
--------------------------------------------------------------*/
:root {
    --primary-blue: #0ea5e9;
    --primary-dark: #0c4a6e;
    --gradient-start: #0ea5e9;
    --gradient-end: #7c3aed;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-radius: 24px;
    --border-radius-lg: 32px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

/*--------------------------------------------------------------
# Modern Header - Floating & Rounded
--------------------------------------------------------------*/
.header-modern {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-modern.scrolled {
    top: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
}

.logo-modern {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-modern:hover {
    transform: scale(1.1);
}

.logo-img {
    height: 44px;
    width: auto;
    transform: scale(2.2);
    transform-origin: left center;
    margin-left: 10px;
}

/* Mobile Header */
@media (max-width: 768px) {
    .header-modern {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
    }

    .header-container {
        padding: 12px 20px;
    }

    .logo-img {
        height: 36px;
        transform: scale(1.8);
        margin-left: 5px;
    }
}

/*--------------------------------------------------------------
# Modern Hero Section
--------------------------------------------------------------*/
.hero-modern {
    min-height: 100vh;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f3e8ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #e2e8f0;
}

.btn-secondary-modern:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--text-dark);
}

.payment-icons {
    margin-top: 48px;
}

.payment-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    text-align: center;
}

.payment-logos {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-logo-item {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.payment-logo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Mobile Hero */
@media (max-width: 991px) {
    .hero-modern {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-image {
        order: -1;
    }

    .payment-text {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        justify-content: center;
    }
}

/* Hide Hero Image */
.hero-image {
    display: none !important;
}

.hero-img {
    display: none !important;
}

/* Mobile Menu Fix */
@media (max-width: 991px) {
    .header-modern {
        position: fixed;
        top: 10px;
        z-index: 9999;
    }

    .header-container {
        position: relative;
    }

    /* Mobile menu toggle */
    .mobile-nav-toggle {
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: 0.3s;
        color: #012970;
    }

    /* Navbar mobile */
    #navbar {
        transition: all 0.3s ease;
    }

    #navbar.navbar-mobile {
        overflow: hidden;
        position: fixed;
        top: 70px;
        right: 15px;
        left: 15px;
        bottom: auto;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 10px 0;
        z-index: 9998;
    }

    #navbar.navbar-mobile ul {
        display: block;
        padding: 0;
        margin: 0;
    }

    #navbar.navbar-mobile li {
        display: block;
        padding: 0;
        margin: 0;
    }

    #navbar.navbar-mobile a {
        display: block;
        padding: 12px 20px;
        color: #012970;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
    }

    #navbar.navbar-mobile a:hover {
        background: #f6f9ff;
        color: #0ea5e9;
    }
}


/*--------------------------------------------------------------
# Modern Features Section
--------------------------------------------------------------*/
.features-section {
    padding: 100px 0;
    background: white;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 64px;
}

.section-header-modern h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-header-modern p {
    font-size: 20px;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.blue-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.green-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.orange-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.purple-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .section-header-modern h2 {
        font-size: 32px;
    }

    .section-header-modern p {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Modern Pricing Section
--------------------------------------------------------------*/
.pricing-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.pricing-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f1f5f9;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-badge.free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.free-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.silver-icon {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.gold-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.plan-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #f1f5f9;
}

.currency {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 4px;
}

.period {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--primary-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.pricing-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .pricing-modern {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .amount {
        font-size: 44px;
    }
}

/*--------------------------------------------------------------
# Responsive Utilities
--------------------------------------------------------------*/
@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Modern Services Section
--------------------------------------------------------------*/
.services-modern {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* Service Card - Modern Design */
.service-card-modern {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    transition: all 0.4s;
    z-index: 0;
}

.service-card-modern:hover::before {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

.service-card-modern>* {
    position: relative;
    z-index: 1;
}

/* Icon Wrapper with Gradient */
.service-icon-wrapper {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0.15;
    transition: all 0.4s;
}

.service-icon-wrapper i {
    font-size: 40px;
    color: #ffffff;
    transition: all 0.4s;
    position: relative;
    z-index: 2;
}

/* Gradient Colors */
.gradient-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.gradient-blue .service-icon-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.service-card-modern:hover .gradient-blue {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35);
}

.gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.gradient-orange .service-icon-bg {
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
}

.service-card-modern:hover .gradient-orange {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

.gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.gradient-green .service-icon-bg {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.service-card-modern:hover .gradient-green {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35);
}

.gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

.gradient-red .service-icon-bg {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.service-card-modern:hover .gradient-red {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.35);
}

.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

.gradient-purple .service-icon-bg {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.service-card-modern:hover .gradient-purple {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}

.gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.25);
}

.gradient-pink .service-icon-bg {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.service-card-modern:hover .gradient-pink {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35);
}

/* Service Card Content */
.service-card-modern h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
    transition: all 0.3s;
}

.service-card-modern:hover h3 {
    color: #0ea5e9;
}

.service-card-modern p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    transition: all 0.3s;
}

.service-card-modern:hover p {
    color: #475569;
}

/* Decorative Element */
.service-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #0ea5e9 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s;
}

.service-card-modern:hover .service-decoration {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-modern {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-modern {
        padding: 36px 24px;
    }

    .service-icon-wrapper {
        width: 72px;
        height: 72px;
    }

    .service-icon-wrapper i {
        font-size: 32px;
    }

    .service-card-modern h3 {
        font-size: 20px;
    }

    .service-card-modern p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .service-card-modern {
        padding: 28px 20px;
    }

    .service-icon-wrapper {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .service-icon-wrapper i {
        font-size: 28px;
    }

    .service-card-modern h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card-modern p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Animation for Cards on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card-modern:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card-modern:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-modern:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card-modern:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card-modern:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card-modern:nth-child(6) {
    animation-delay: 0.6s;
}

/*--------------------------------------------------------------
# Modern FAQ Section - Centered, Beautiful Design
--------------------------------------------------------------*/
.faq-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.faq-accordion-modern {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

/* FAQ Item - Centered & Beautiful */
.faq-item-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item-modern:hover {
    border-color: #0ea5e9;
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
    transform: translateY(-4px);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #0ea5e9 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 0 0 20px;
}

.faq-question:not(.collapsed)::before {
    opacity: 1;
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.03) 0%, transparent 100%);
}

.faq-question-text {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.6;
    flex: 1;
    padding-right: 20px;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.faq-question:not(.collapsed) .faq-question-text {
    color: #0ea5e9;
}

.faq-question:hover .faq-question-text {
    color: #0284c7;
}

/* FAQ Icon */
.faq-icon {
    font-size: 24px;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-question:not(.collapsed) .faq-icon {
    transform: rotate(180deg);
    color: #0ea5e9;
}

.faq-question:hover .faq-icon {
    color: #0ea5e9;
    transform: scale(1.1);
}

.faq-question:not(.collapsed):hover .faq-icon {
    transform: rotate(180deg) scale(1.1);
}

/* FAQ Answer - Fixed Visibility */
.faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 28px 28px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #64748b !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: left;
}

/* Section Header - Better Fonts */
.faq-modern .section-header-modern h2 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.faq-modern .section-header-modern p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #64748b;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-modern {
        padding: 60px 0;
    }

    .faq-container {
        padding: 0 20px;
    }

    .faq-accordion-modern {
        gap: 12px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }

    .faq-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Fast, Optimized Animations - Remove Slow AOS
--------------------------------------------------------------*/

/* Faster fade-in for cards */
@keyframes fastFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fast animations to all sections */
.hero-modern,
.features-section,
.services-modern,
.pricing-modern,
.faq-modern {
    animation: fastFadeIn 0.4s ease-out forwards;
}

/* Stagger effect for items */
.feature-card {
    animation: fastFadeIn 0.3s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

.service-card-modern {
    animation: fastFadeIn 0.3s ease-out forwards;
}

.pricing-card {
    animation: fastFadeIn 0.3s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

.faq-item-modern {
    animation: fastFadeIn 0.25s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.03s);
}

/* Optimize service card animations - much faster */
.service-card-modern:nth-child(1) {
    animation-delay: 0.05s;
}

.service-card-modern:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card-modern:nth-child(3) {
    animation-delay: 0.15s;
}

.service-card-modern:nth-child(4) {
    animation-delay: 0.2s;
}

.service-card-modern:nth-child(5) {
    animation-delay: 0.25s;
}

.service-card-modern:nth-child(6) {
    animation-delay: 0.3s;
}

/* Reduce animation intensity */
* {
    animation-timing-function: ease-out !important;
}

/* Disable prefersreducedmotion animations if needed */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}