/* ============================================================
   AffordableDoctor — Main Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #0D9488;
    --primary-dark: #0A7A70;
    --primary-light: #14B8A6;
    --primary-50: rgba(13, 148, 136, 0.05);
    --primary-100: rgba(13, 148, 136, 0.1);
    --primary-200: rgba(13, 148, 136, 0.2);

    --accent-purple: #8B5CF6;
    --accent-amber: #F59E0B;
    --accent-pink: #EC4899;
    --accent-blue: #3B82F6;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFB;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --navbar-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 30px 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-full { width: 100%; }

.btn-nav {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    padding: 8px 20px;
    font-size: 0.88rem;
}
.btn-nav:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon { flex-shrink: 0; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}
.logo-highlight { color: var(--primary); }

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 44px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
    background: var(--primary-50);
}

.language-switcher select {
    min-width: 112px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    background: var(--white);
    color: var(--gray-700);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + 40px) 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #F0FDFA 0%, #F5F3FF 50%, #FFF7ED 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(13,148,136,0.15);
    top: -200px;
    right: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(139,92,246,0.12);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(245,158,11,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-note {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.6;
}

.hero-note-secondary {
    margin-top: -16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.hero-note strong {
    color: var(--gray-900);
    font-weight: 700;
}

.hero-price-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: var(--white);
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: 13px 22px;
    box-shadow: var(--shadow);
}

.hero-price-secondary {
    border-color: var(--teal-200, #99f6e4);
    justify-content: center;
}

.price-symbol {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-left: 4px;
}

.price-period small {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Banner Slider ── */
.hero-banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05) translateX(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.banner-slide.prev {
    opacity: 0;
    transform: scale(0.95) translateX(-20px);
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 2;
}

.banner-slide.active img {
    animation: kenBurns 3s ease-in-out forwards;
}

@keyframes kenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.04); }
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.banner-arrow:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.banner-prev { left: 12px; }
.banner-next { right: 12px; }

.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.banner-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gray-300);
    border-bottom: 2px solid var(--gray-300);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.trust-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-logos span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.highlights-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.highlights-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.highlights > .container {
    position: relative;
    z-index: 2;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.highlight-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.highlight-card:hover .highlight-img img {
    transform: scale(1.05);
}

.highlight-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 20px 8px;
}

.highlight-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
    padding: 0 20px 24px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.about-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.about > .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.about .section-header h2 {
    color: var(--white);
}

.about .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.about-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.about-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent, var(--primary)) 12%, white);
    border: 1.5px solid color-mix(in srgb, var(--accent, var(--primary)) 28%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent, var(--primary)) 22%, transparent);
}

.about-card h3 {
    font-size: 1.2rem;
    margin: 0;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.about-bottom-desc {
    margin-top: 32px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.services-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.services > .container {
    position: relative;
    z-index: 2;
}

.services .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.services .section-header h2 {
    color: var(--white);
}

.services .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.service-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.icon-consult {
    background: linear-gradient(135deg, #ECFEFF, #CCFBF1);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.icon-lab {
    background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.icon-diagnostic {
    background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.icon-ai {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.icon-wellness {
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.icon-digital {
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.service-card h3 {
    font-size: 1.15rem;
    margin: 0;
}

.service-card > p {
    font-size: 0.92rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-200);
}

/* ============================================================
   AI TECHNOLOGY
   ============================================================ */
.ai-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.ai-section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.ai-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.ai-section > .container {
    position: relative;
    z-index: 2;
}

.ai-section .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-section .section-header h2 {
    color: var(--white);
}

.ai-section .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* AI Visual */
.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-circle-outer {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slowSpin 40s linear infinite;
}

.ai-circle-middle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slowSpin 30s linear infinite reverse;
}

.ai-circle-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 0 40px rgba(13,148,136,0.3);
    animation: slowSpin 30s linear infinite;
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-orbit-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: slowSpin 40s linear infinite reverse;
}

.orbit-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 20%; right: -20px; }
.orbit-3 { bottom: 20%; right: -10px; }
.orbit-4 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.orbit-5 { bottom: 20%; left: -20px; }
.orbit-6 { top: 20%; left: -20px; }

/* AI Features */
.ai-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ai-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ai-feature-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    min-width: 48px;
}

.ai-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.ai-feature p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* AI Stats Bar */
.ai-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ai-stat {
    text-align: center;
    color: var(--gray-800);
}

.ai-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--primary);
}

.ai-stat-label {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.pricing-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.pricing-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.pricing > .container {
    position: relative;
    z-index: 2;
}

.pricing .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing .section-header h2 {
    color: var(--white);
}

.pricing .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 24px;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

.pricing-plan-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
    margin-top: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.pricing-period {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.pricing-tagline {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* Savings Comparison */
.savings-comparison {
    max-width: 800px;
    margin: 0 auto;
}

.savings-comparison h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--white);
}

.comparison-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 14px 24px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.comparison-header {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comparison-row:last-child { border-bottom: none; }

.comparison-total {
    background: var(--primary-50);
    font-weight: 700;
    font-size: 1rem;
}

.free-tag {
    color: var(--primary);
    font-weight: 600;
}

.total-price {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.how-it-works-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.how-it-works-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.how-it-works > .container {
    position: relative;
    z-index: 2;
}

.how-it-works .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.how-it-works .section-header h2 {
    color: var(--white);
}

.how-it-works .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

/* ============================================================
   DESIGNED FOR INDIAN FAMILIES
   ============================================================ */
.designed-families {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.designed-families-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.designed-families-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.designed-families .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.designed-families-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    max-width: 540px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.designed-families-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.designed-families-lead {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
}

.designed-families-sub {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.designed-families-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.designed-families-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

@media (max-width: 768px) {
    .designed-families { padding: 60px 0; }
    .designed-families-card {
        max-width: 100%;
        padding: 32px 24px;
    }
    .designed-families-card h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.testimonials-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.testimonials > .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.testimonial-stars {
    color: var(--accent-amber);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: hsl(var(--hue, 160), 60%, 90%);
    color: hsl(var(--hue, 160), 60%, 35%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--gray-800);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    position: relative;
    overflow: hidden;
}

.faq-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.faq-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(13, 148, 136, 0.55) 100%);
    z-index: 1;
}

.faq > .container {
    position: relative;
    z-index: 2;
}

.faq .section-header .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq .section-header h2 {
    color: var(--white);
}

.faq .section-header .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea { resize: vertical; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom p:last-child {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================================
   LEGAL OVERLAY
   ============================================================ */
.legal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.legal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.legal-panel {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateY(40px);
    transition: transform 0.35s ease;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
}

.legal-overlay.active .legal-panel {
    transform: translateY(0);
}

.legal-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    flex-shrink: 0;
}

.legal-panel-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
}

.legal-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition);
    flex-shrink: 0;
}

.legal-close-btn:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.legal-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    scroll-behavior: smooth;
}

/* Legal Content Sections (hidden by default) */
.legal-content {
    display: none;
}

.legal-content.active {
    display: block;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 18px;
    margin-bottom: 8px;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.legal-content p strong {
    color: var(--gray-800);
}

.legal-content ul {
    list-style: none;
    margin: 8px 0 16px 0;
    padding: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-content ul li strong {
    color: var(--gray-800);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 28px 0;
}

.legal-summary-box {
    margin-top: 32px;
    padding: 24px;
    background: var(--primary-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.legal-summary-box h3 {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.legal-summary-box p {
    color: var(--gray-600);
    font-size: 0.92rem;
}

.legal-summary-box p:last-child {
    margin-bottom: 0;
}

/* Scrollbar styling for legal panel */
.legal-panel-body::-webkit-scrollbar {
    width: 6px;
}

.legal-panel-body::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.legal-panel-body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.legal-panel-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.1rem; }
    .hero-grid { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .highlights-grid .highlight-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .ai-grid { gap: 40px; }
    .ai-circle-outer { width: 300px; height: 300px; }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > :last-child { grid-column: span 1; }
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; }

    /* Legal Overlay */
    .legal-panel { max-width: 100%; }
    .legal-panel-header { padding: 16px 20px; }
    .legal-panel-title { font-size: 1.1rem; }
    .legal-panel-body { padding: 20px; }
    .legal-content h2 { font-size: 1.4rem; }
    .legal-content h3 { font-size: 1.05rem; }

    /* Nav */
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        z-index: 999;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-actions {
        margin-left: auto;
        gap: 10px;
    }
    .language-switcher select {
        min-width: 96px;
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .nav-links li a { padding: 12px 0; }
    .btn-nav { display: none; }

    /* Hero */
    .hero { min-height: auto; padding: calc(var(--navbar-height) + 30px) 0 40px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-price-group { justify-content: center; margin: 0 auto 24px; }
    .hero-price { margin: 0; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-visual { height: 380px; }
    .hero-banner-slider { border-radius: var(--radius-lg); }
    .hero-scroll-indicator { display: none; }

    /* Highlights */
    .highlights-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    /* About */
    .about-grid { grid-template-columns: 1fr; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* AI */
    .ai-grid { grid-template-columns: 1fr; }
    .ai-visual { order: -1; }
    .ai-circle-outer { width: 260px; height: 260px; }
    .ai-circle-middle { width: 160px; height: 160px; }
    .ai-circle-inner { width: 90px; height: 90px; font-size: 0.9rem; }
    .ai-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 28px; }
    .ai-stat-number { font-size: 1.6rem; }

    /* Steps */
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-connector { display: none; }

    /* Testimonials */
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-grid .testimonial-card:last-child { max-width: none; }

    /* Pricing */
    .pricing-card { padding: 32px 24px; }
    .pricing-amount { font-size: 3rem; }
    .comparison-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
    .comparison-header { display: none; }
    .comparison-row span::before {
        font-size: 0.75rem;
        color: var(--gray-400);
        display: block;
    }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* CTA */
    .cta-content h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; align-items: center; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-price { padding: 11px 18px; }
    .price-symbol { font-size: 1.15rem; }
    .price-amount { font-size: 2.2rem; }
    .price-period { font-size: 0.85rem; }
    .price-period small { font-size: 0.72rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 16px; }
    .stat strong { font-size: 1.1rem; }
    .floating-card { display: none; }
    .logo-img { height: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-logos { gap: 12px; }
    .trust-logos span { font-size: 0.78rem; padding: 6px 10px; }
}
