/* Components: Service Cards, Features, Domain, Performance, Datacenter, Testimonials, FAQ, CTA, Modal */

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: var(--space-section) 5%;
    background: var(--bg-primary);
}

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.services-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 5px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.cat-tab {
    padding: 0.52rem 1.4rem;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.cat-tab:hover {
    color: var(--accent-primary);
    background: rgba(90, 79, 243, 0.07);
}

.cat-tab.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 3px 12px rgba(90, 79, 243, 0.3);
}

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    align-items: start;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ============================================================
   SERVICE CARD
   ============================================================ */
.service-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.6rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* Top gradient accent bar */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s;
}

/* Subtle inner glow on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at top left, rgba(90, 79, 243, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
    background: var(--accent-gradient);
    box-shadow: 0 2px 12px rgba(90, 79, 243, 0.25);
}

.service-card:hover::after { opacity: 1; }

/* ---- Popular Card ---- */
.service-card.popular {
    border-color: rgba(90, 79, 243, 0.45);
    box-shadow:
        0 12px 40px rgba(90, 79, 243, 0.18),
        0 0 0 1px rgba(90, 79, 243, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.8);
    background: linear-gradient(170deg, #f8f6ff 0%, #fdfcff 40%, #ffffff 100%);
    transform: scale(1.035);
    z-index: 1;
}

.service-card.popular::before {
    background: var(--accent-gradient);
}

.service-card.popular:hover {
    transform: scale(1.035) translateY(-10px);
    box-shadow: 0 28px 65px rgba(90, 79, 243, 0.25), 0 0 0 1px rgba(90, 79, 243, 0.18);
}

/* ---- Popular Badge ---- */
.popular-badge {
    position: absolute;
    top: 1.3rem;
    right: -0.6rem;
    background: var(--accent-gradient);
    padding: 0.35rem 1.6rem 0.35rem 1.1rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    box-shadow: -4px 4px 18px rgba(90, 79, 243, 0.35);
    text-transform: uppercase;
    color: white;
    animation: badgePulse 3.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: -4px 4px 18px rgba(90, 79, 243, 0.35); }
    50%  { box-shadow: -4px 4px 28px rgba(90, 79, 243, 0.55), 0 0 35px rgba(90, 79, 243, 0.15); }
}

/* ---- Card Typography ---- */
.service-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ---- Billing Cycle Toggle ---- */
.billing-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 1.6rem;
    border: 1.5px solid var(--border-color);
    gap: 2px;
}

.billing-toggle button {
    flex: 1;
    padding: 0.48rem 0.5rem;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.billing-toggle button.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(90, 79, 243, 0.3);
}

.billing-toggle button:not(.active):hover {
    color: var(--accent-primary);
    background: rgba(90, 79, 243, 0.06);
}

.cycle-discount {
    display: inline-block;
    background: rgba(22, 163, 74, 0.14);
    color: #16a34a;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-pill);
    margin-left: 0.2rem;
    vertical-align: middle;
}

/* ---- Price ---- */
.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.4rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: transform 0.3s var(--transition-bounce);
}

.price-amount.price-updating {
    transform: scale(1.12);
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-left: 2px;
}

.price-save {
    display: inline-block;
    background: var(--success-light);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-left: 0.5rem;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: scale(0.8) translateY(4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---- Feature List ---- */
.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.service-features li:hover { color: var(--text-primary); }

.service-features li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    font-weight: 900;
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-card:hover .service-features li::before {
    background: rgba(22, 163, 74, 0.15);
    transform: scale(1.05);
}

/* ---- Buy Button ---- */
.btn-buy {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1.5px solid var(--border-accent);
    background: transparent;
    color: var(--accent-primary);
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-buy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.32s;
}

.btn-buy span,
.btn-buy svg {
    position: relative;
    z-index: 1;
}

.btn-buy:hover,
.service-card.popular .btn-buy {
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 28px rgba(90, 79, 243, 0.38);
    transform: translateY(-2px);
}

.btn-buy:hover::before,
.service-card.popular .btn-buy::before {
    opacity: 1;
}

.btn-buy:active { transform: translateY(0); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    max-width: 1440px;
    background: #08061c;
    border-radius: var(--radius-3xl);
    margin-left: auto;
    margin-right: auto;
    padding: 6.5rem 5%;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 55% at 25% 35%, rgba(90, 79, 243, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 45% 45% at 75% 65%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 55% 10%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../images/bg-datacenter.jpg') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.features-section .section-label {
    color: #a89cff;
    position: relative;
    z-index: 1;
    background: rgba(90, 79, 243, 0.15);
    border-color: rgba(90, 79, 243, 0.3);
}

.features-section .section-title {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.features-section .section-title .gradient-text { color: #a89cff; }

.features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Shimmer sweep on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.feature-card:hover {
    border-color: rgba(90, 79, 243, 0.4);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(90, 79, 243, 0.15), 0 4px 15px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card:hover::before { left: 150%; }
.feature-card:hover::after  { transform: scaleX(1); }

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.8;
}

/* ============================================================
   DOMAIN SECTION
   ============================================================ */
.domain-section {
    padding: var(--space-section) 5%;
    background: var(--bg-secondary);
    position: relative;
}

.domain-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.domain-section-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.domain-search-lg { max-width: 650px; }

.tld-pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.tld-price-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.3rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.tld-price-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.32s;
    border-radius: var(--radius-pill);
}

.tld-price-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-card-hover);
}

.tld-price-card:hover::before { transform: scaleX(1); }

.tld-name {
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tld-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================================
   PERFORMANCE SECTION
   ============================================================ */
.performance-section {
    background: var(--bg-primary);
    position: relative;
}

.performance-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.perf-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s var(--transition-spring), box-shadow 0.5s;
}

.perf-image img:hover {
    transform: scale(1.02) rotate(0.5deg);
    box-shadow: var(--shadow-2xl);
}

.perf-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perf-stat {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-left: 3px solid transparent;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xs);
}

.perf-stat:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
    border-left-color: var(--accent-primary);
}

.perf-stat-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(90, 79, 243, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    border: 1px solid rgba(90, 79, 243, 0.1);
}

.perf-stat:hover .perf-stat-icon {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.08);
}

.perf-stat h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.perf-stat p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
}

/* ============================================================
   DATA CENTER SECTION
   ============================================================ */
.datacenter-section {
    background: #070619;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.datacenter-section .section-label {
    color: #a89cff;
    position: relative;
    z-index: 2;
    background: rgba(90, 79, 243, 0.15);
    border-color: rgba(90, 79, 243, 0.3);
}

.datacenter-section .section-title  { color: #ffffff; position: relative; z-index: 2; }
.datacenter-section .section-subtitle { color: rgba(255,255,255,0.65); position: relative; z-index: 2; }

.datacenter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 40%, rgba(90, 79, 243, 0.18) 0%, transparent 60%),
        url('../../images/bg-network.jpg') center/cover no-repeat;
    opacity: 0.45;
    pointer-events: none;
}

.datacenter-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 6, 25, 0.68);
    pointer-events: none;
}

.datacenter-section > * { position: relative; z-index: 2; }

.datacenter-map {
    display: block;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
    filter: brightness(0.88) contrast(1.1);
    transition: transform 0.5s var(--transition-spring);
}

.datacenter-map:hover { transform: scale(1.01); }

.dc-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.dc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.4rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    min-width: 130px;
    text-align: center;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

/* Inner glow on hover */
.dc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(90, 79, 243, 0.2) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

/* Primary dc card neon pulse */
.dc-card[style*="border-color:var(--accent-primary)"] {
    border-color: rgba(90, 79, 243, 0.6) !important;
    box-shadow: 0 0 20px rgba(90, 79, 243, 0.25), 0 4px 15px rgba(0,0,0,0.2);
    animation: dcPulse 3s ease-in-out infinite;
}

@keyframes dcPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(90, 79, 243, 0.25), 0 4px 15px rgba(0,0,0,0.2); }
    50%  { box-shadow: 0 0 35px rgba(90, 79, 243, 0.45), 0 4px 15px rgba(0,0,0,0.2); }
}

.dc-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(90, 79, 243, 0.55);
    box-shadow: 0 16px 36px rgba(90, 79, 243, 0.25), 0 4px 12px rgba(0,0,0,0.2);
}

.dc-card:hover::before { opacity: 1; }

.dc-flag { font-size: 1.9rem; margin-bottom: 0.3rem; }
.dc-card strong { font-size: 0.88rem; color: #ffffff; font-weight: 700; }
.dc-card span   { font-size: 0.76rem; color: rgba(255,255,255,0.58); }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(90, 79, 243, 0.035) 0%, transparent 100%),
        var(--bg-primary);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Large gradient quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-accent);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    object-fit: cover;
    transition: border-color 0.3s;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: rgba(90, 79, 243, 0.4);
}

.testimonial-stars {
    display: flex;
    gap: 0.18rem;
    margin-bottom: 0.9rem;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 0.88rem;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.3rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    background: var(--bg-secondary);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xs);
}

.faq-item[open] {
    border-color: rgba(90, 79, 243, 0.28);
    box-shadow: 0 4px 24px rgba(90, 79, 243, 0.08);
}

.faq-item summary {
    padding: 1.4rem 1.6rem;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.25s, background 0.25s;
    gap: 1rem;
    letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-primary);
    font-weight: 300;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(90, 79, 243, 0.07);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    background: rgba(90, 79, 243, 0.12);
}

.faq-item summary:hover {
    color: var(--accent-primary);
    background: rgba(90, 79, 243, 0.025);
}

.faq-item p {
    padding: 0 1.6rem 1.4rem;
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: var(--space-section) 5%;
    text-align: center;
    background: #07061a;
    position: relative;
    overflow: hidden;
}

/* Animated mesh gradient */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 50%, rgba(90, 79, 243, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 45% 45% at 15% 80%, rgba(37, 99, 235, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 85% 15%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: ctaMeshPulse 20s ease-in-out infinite;
}

@keyframes ctaMeshPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.7; transform: scale(1.05); }
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../images/bg-network.jpg') center/cover no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
    margin-bottom: 2.8rem;
    line-height: 1.78;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: none !important;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px) !important;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.05rem 3rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(90, 79, 243, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.32s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(90, 79, 243, 0.5);
}

.btn-cta:hover::before { opacity: 1; }
.btn-cta:active { transform: translateY(-1px); }

/* CTA floating shapes */
.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 79, 243, 0.1) 0%, transparent 70%);
}

.cta-shape-1 { width: 320px; height: 320px; top: -120px; right: -80px; animation: ctaFloat1 18s ease-in-out infinite; }
.cta-shape-2 { width: 220px; height: 220px; bottom: -70px; left: -60px; background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); animation: ctaFloat2 22s ease-in-out infinite; }
.cta-shape-3 { width: 160px; height: 160px; top: 40%; left: 20%; background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%); animation: ctaFloat3 15s ease-in-out infinite; }

@keyframes ctaFloat1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-22px, 16px) scale(1.08); } }
@keyframes ctaFloat2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(16px, -12px) scale(1.1); } }
@keyframes ctaFloat3 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-12px, -16px); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 32, 0.55);
    backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.8rem 2.2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    padding: 0.3rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: transparent;
    transform: rotate(90deg);
}
