/* SatgamAI Homepage — Finalized Brand System */
/* Colors: Indigo + Cyan + Purple + Gold | Fonts: Abhaya Libre + Space Grotesk + JetBrains Mono */

:root {
    /* Indigo Family */
    --indigo-deep: #1A237E;
    --indigo: #3949AB;
    --indigo-light: #5C6BC0;
    --indigo-pale: #E8EAF6;
    
    /* AI Cyan */
    --cyan-deep: #0891B2;
    --cyan: #00D9FF;
    --cyan-light: #67E8F9;
    --cyan-glow: rgba(0, 217, 255, 0.25);
    
    /* AI Purple */
    --purple-deep: #6D28D9;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    
    /* Gold */
    --gold-rich: #B8822D;
    --gold: #C9943A;
    --gold-light: #E0B76B;
    
    /* Neutrals */
    --deep-ink: #0D1117;
    --charcoal: #1A1F2E;
    --card-dark: #242B3D;
    --slate: #64748B;
    --slate-light: #94A3B8;
    --warm-cream: #FFF8E7;
    --border-light: #E0D8CC;
    
    /* Typography */
    --font-vedantic: 'Abhaya Libre', serif;
    --font-modern: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-modern);
    color: var(--deep-ink);
    background: var(--warm-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 231, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 248, 231, 0.98);
    box-shadow: 0 2px 24px rgba(13, 17, 23, 0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-sat {
    font-family: var(--font-vedantic);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--indigo-deep);
}

/* Light logo on dark backgrounds */
footer .logo-sat,
.cta-section .logo-sat,
.upanishad .logo-sat,
.differentiators .logo-sat { color: white; }

.logo-ai {
    font-family: var(--font-modern);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan-glow);
}

.logo-ai i {
    font-style: italic;
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--deep-ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover { color: var(--indigo); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--indigo);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--indigo) !important;
    color: white !important;
    padding: 0.7rem 1.75rem;
    border-radius: 6px;
    border: 2px solid var(--indigo);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: transparent !important;
    color: var(--indigo) !important;
    transform: translateY(-2px);
}

.nav-cta::after { display: none !important; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(6rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
    background: var(--warm-cream);
}

.hero-lotus {
    position: absolute;
    top: 50%;
    left: auto;
    right: 6%;                            /* full flower visible on the right */
    width: clamp(320px, 38vw, 540px);
    height: clamp(320px, 38vw, 540px);
    translate: 0 -50%;                    /* individual property — doesn't fight `rotate` */
    pointer-events: none;
    opacity: 0.55;                        /* faded so hero text wins */
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;                           /* text floats above lotus */
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content { max-width: 750px; }

.hero h1 {
    font-family: var(--font-vedantic);
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);  /* fluid: 36px → 72px */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--indigo-deep);
    letter-spacing: -0.02em;
}

/* Highlight: indigo-deep text with gradient underline.
   Replaces low-contrast cyan-on-cream which failed WCAG AA. */
.hero h1 .highlight {
    color: var(--indigo-deep);
    background-image: linear-gradient(90deg, var(--cyan), var(--purple));
    background-repeat: no-repeat;
    background-size: 100% 0.18em;
    background-position: 0 95%;
    padding-bottom: 0.04em;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    color: var(--slate);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-deep), var(--purple-deep));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--indigo);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--indigo);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--indigo);
    color: white;
    transform: translateY(-3px);
}

/* ===== UPANISHAD ===== */
.upanishad {
    background: var(--deep-ink);
    color: white;
    padding: 8rem 3rem;
    position: relative;
    overflow: hidden;
}

.upanishad::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.upanishad-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.devanagari {
    font-family: var(--font-vedantic);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--cyan);
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-shadow: 0 0 30px var(--cyan-glow);
}

.transliteration {
    font-family: var(--font-vedantic);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    margin-bottom: 1rem;
    color: white;
    opacity: 0.9;
    font-weight: 400;
}

.translation {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: var(--slate-light);
    font-weight: 300;
}

.upanishad-story {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.upanishad-story h3 {
    font-family: var(--font-vedantic);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.upanishad-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #D1D5DB;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.breakdown-item { text-align: center; }

.breakdown-term {
    font-family: var(--font-vedantic);
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.breakdown-meaning {
    font-size: 1rem;
    color: var(--purple-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.breakdown-desc {
    font-size: 1.05rem;
    color: #D1D5DB;
    line-height: 1.6;
}

/* ===== HOW WE WORK ===== */
.how-we-work {
    padding: 8rem 3rem;
    background: var(--warm-cream);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-family: var(--font-vedantic);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--indigo-deep);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--slate);
    line-height: 1.7;
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(57, 73, 171, 0.1);
    border-color: var(--indigo);
}

.step-number {
    font-family: var(--font-vedantic);
    font-size: 3rem;
    color: var(--indigo);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.25;
}

.step h3 {
    font-family: var(--font-vedantic);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--indigo-deep);
}

.step p {
    color: var(--slate);
    line-height: 1.7;
}

/* ===== INDUSTRIES ===== */
.industries {
    padding: 8rem 3rem;
    background: var(--indigo-pale);
}

.industries-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.industry-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.1);
}

.industry-card h3 {
    font-family: var(--font-vedantic);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--indigo-deep);
}

.industry-card p {
    color: var(--slate);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== DIFFERENTIATORS ===== */
.differentiators {
    padding: 8rem 3rem;
    background: var(--charcoal);
    color: white;
}

.differentiators .section-header h2 { color: white; }
.differentiators .section-header p { color: #E2E8F0; }

.diff-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.diff-item { text-align: center; }

.diff-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--card-dark);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-item h3 {
    font-family: var(--font-vedantic);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.diff-item p {
    color: #E2E8F0;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 8rem 3rem;
    background: var(--deep-ink);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-lotus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-vedantic);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-glow);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #D1D5DB;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.btn-cta {
    background: linear-gradient(135deg, var(--cyan-deep), var(--purple-deep));
    color: white;
    padding: 1.1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 217, 255, 0.35);
}

/* ===== FOOTER ===== */
footer {
    background: var(--deep-ink);
    color: white;
    padding: 4rem 3rem 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.footer-lotus {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand { max-width: 350px; }

.footer-logo {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-sat { color: white; }

.footer-tagline {
    font-family: var(--font-vedantic);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--cyan-light);
}

.footer-brand p {
    color: #CBD5E1;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-family: var(--font-vedantic);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #CBD5E1;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.domain {
    font-family: var(--font-mono);
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
}

/* ===== ANIMATIONS ===== */

/* Styled "ai" in body text — always cyan italic */
i:not([class]) {
    color: var(--cyan);
    font-style: italic;
}

/* On light backgrounds, make ai slightly darker for readability */
.how-we-work i:not([class]),
.industries i:not([class]),
.page-hero i:not([class]),
.founder-section i:not([class]),
.comparison-section i:not([class]) {
    color: var(--cyan-deep);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */
/* ===== CINEMATIC ANIMATIONS ================================= */
/* ============================================================ */

@media (prefers-reduced-motion: no-preference) {

    /* ----- 1. LOTUS COMES ALIVE -----
       NOTE: Each SVG <ellipse> petal has an inline transform="rotate(N 100 100)"
       attribute. CSS `transform` would OVERRIDE that (no merging), collapsing all
       8 petals onto petal #1. So per-petal animations only touch OPACITY/FILTER.
       Only the outer <svg> element (.hero-lotus) is safe to rotate via CSS. */

    .hero-lotus {
        animation: lotus-rotate 90s linear infinite;
        transform-origin: center center;
        will-change: rotate;
    }
    .hero-lotus g {
        animation: lotus-glow 10s ease-in-out infinite;
    }
    .hero-lotus ellipse {
        animation: petal-pulse 7s ease-in-out infinite;
    }
    .hero-lotus ellipse:nth-of-type(1) { animation-delay: 0s; }
    .hero-lotus ellipse:nth-of-type(2) { animation-delay: 0.7s; }
    .hero-lotus ellipse:nth-of-type(3) { animation-delay: 1.4s; }
    .hero-lotus ellipse:nth-of-type(4) { animation-delay: 2.1s; }
    .hero-lotus ellipse:nth-of-type(5) { animation-delay: 2.8s; }
    .hero-lotus ellipse:nth-of-type(6) { animation-delay: 3.5s; }
    .hero-lotus ellipse:nth-of-type(7) { animation-delay: 4.2s; }
    .hero-lotus ellipse:nth-of-type(8) { animation-delay: 4.9s; }

    .hero-lotus circle {
        animation: center-pulse 6s ease-in-out infinite;
    }

    @keyframes lotus-rotate {
        /* Uses the individual `rotate` property (not `transform: rotate`)
           so it never replaces the static `translate` on .hero-lotus.
           Works at all breakpoints because each viewport sets its own translate. */
        from { rotate: 0deg; }
        to   { rotate: 360deg; }
    }
    @keyframes lotus-glow {
        0%, 100% { opacity: 0.08; }
        50%      { opacity: 0.16; }
    }
    @keyframes petal-pulse {
        0%, 100% { opacity: 0.65; }
        50%      { opacity: 1; }
    }
    @keyframes center-pulse {
        0%, 100% {
            opacity: 0.6;
            filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
        }
        50% {
            opacity: 0.95;
            filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.55));
        }
    }

    /* ----- 2. HERO CINEMATIC REVEAL ----- */
    .hero h1 {
        opacity: 0;
        transform: translateY(40px);
        animation: cine-rise 1.3s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero-subtitle {
        opacity: 0;
        transform: translateY(30px);
        animation: cine-rise 1.2s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero-ctas {
        opacity: 0;
        transform: translateY(24px);
        animation: cine-rise 1.2s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes cine-rise {
        to { opacity: 1; transform: translateY(0); }
    }

    /* ----- 3. HIGHLIGHT WORDS — animated gradient shimmer ----- */
    .hero h1 .highlight {
        background: linear-gradient(
            90deg,
            var(--cyan) 0%,
            var(--purple) 35%,
            var(--indigo) 65%,
            var(--cyan) 100%
        );
        background-size: 250% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: shimmer 6s ease-in-out infinite;
        position: relative;
    }
    @keyframes shimmer {
        0%, 100% { background-position: 0% center; }
        50%      { background-position: 250% center; }
    }

    /* Floating particles removed — were adding noise without value.
       The hero gets its motion from lotus rotation + text reveal. */

    /* ----- 5. SANSKRIT — letter-spacing + blur unfurl ----- */
    .devanagari {
        animation: devanagari-unfurl 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    @keyframes devanagari-unfurl {
        0%   { opacity: 0; letter-spacing: 0.8em; filter: blur(10px); transform: scale(0.95); }
        50%  { opacity: 0.6; letter-spacing: 0.25em; filter: blur(4px); }
        100% { opacity: 1; letter-spacing: 0; filter: blur(0); transform: scale(1); }
    }
    .transliteration {
        animation: cine-rise 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .translation {
        animation: cine-rise 1.2s 1.0s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    /* ----- 6. CARDS — lift + glow on hover ----- */
    .industry-card,
    .step,
    .diff-item,
    .breakdown-item {
        transition:
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.4s ease,
            border-color 0.4s ease,
            background-color 0.4s ease;
    }
    .industry-card:hover,
    .step:hover,
    .diff-item:hover,
    .breakdown-item:hover {
        transform: translateY(-8px);
        box-shadow:
            0 24px 48px -12px rgba(57, 73, 171, 0.22),
            0 0 0 1px rgba(0, 217, 255, 0.35),
            0 0 40px rgba(139, 92, 246, 0.18);
    }

    /* ----- 7. PRIMARY CTA — shine sweep on hover ----- */
    .btn-primary {
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .btn-primary::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.45) 50%,
            transparent 70%
        );
        transition: left 0.7s ease;
        pointer-events: none;
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(57, 73, 171, 0.25);
    }
    .btn-primary:hover::after {
        left: 120%;
    }

    /* ----- 8. NAV LOGO — subtle hover sheen ----- */
    .logo .logo-ai {
        position: relative;
        transition: filter 0.3s ease;
    }
    .logo:hover .logo-ai {
        filter: drop-shadow(0 0 8px var(--cyan-glow));
    }

    /* ----- 9. STEP NUMBERS — gradient text ----- */
    .step-number {
        background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

    /* ----- 10. PAGE-LOAD AMBIENT BACKGROUND PULSE ----- */
    .hero::before { animation-fill-mode: both; }

} /* end prefers-reduced-motion: no-preference */

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero h1,
    .hero-subtitle,
    .hero-ctas,
    .devanagari,
    .transliteration,
    .translation {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================ */
/* ===== RESPONSIVE — proper multi-breakpoint system ========== */
/* ============================================================ */

/* ----- LARGE LAPTOP (≤ 1280px) — tighten side padding ----- */
@media (max-width: 1280px) {
    .nav-container { padding: 1.1rem 2rem; }
    .hero { padding-left: 2rem; padding-right: 2rem; }
    .how-we-work,
    .industries,
    .differentiators,
    .cta-section,
    .upanishad { padding-left: 2rem; padding-right: 2rem; }
    .footer-container { gap: 2.5rem; }
}

/* ----- TABLET (≤ 1024px) — collapse 4-col grids to 2 ----- */
@media (max-width: 1024px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .breakdown-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .hero-lotus { right: 3%; opacity: 0.45; width: clamp(280px, 38vw, 440px); height: clamp(280px, 38vw, 440px); }
    .step { padding: 2rem; }
    .industry-card { padding: 2rem; }
}

/* ----- SMALL TABLET / LARGE PHONE (≤ 768px) ----- */
@media (max-width: 768px) {
    /* Tighten section padding everywhere */
    .hero,
    .how-we-work,
    .industries,
    .differentiators,
    .cta-section,
    .upanishad {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .upanishad,
    .how-we-work,
    .industries,
    .differentiators,
    .cta-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }

    /* Nav — hide regular links, show hamburger */
    .nav-container { padding: 0.9rem 1.25rem; }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 248, 231, 0.98);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 2rem;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-200%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        align-items: stretch;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(57, 73, 171, 0.08);
    }
    .nav-links a::after { display: none; }    /* no underline animation on mobile */
    .nav-cta {
        margin-top: 0.75rem;
        text-align: center;
    }

    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: 0;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }
    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--indigo-deep);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Hero — single column, lotus becomes a soft halo BEHIND text */
    .hero { min-height: auto; padding-top: 6.5rem; padding-bottom: 4rem; }
    .hero-content { max-width: 100%; text-align: left; position: relative; z-index: 2; }
    .hero-lotus {
        /* Bottom-right corner anchor — visible but out of the text path */
        width: 200px;
        height: 200px;
        right: -30px;
        bottom: -30px;
        top: auto;
        left: auto;
        translate: 0 0;                /* no centering needed; rotate animation still works */
        opacity: 0.35;
        z-index: 0;
    }
    .hero-container { z-index: 2; }
    .hero-ctas { flex-direction: column; gap: 0.75rem; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary { width: 100%; text-align: center; padding: 0.95rem 1.5rem; }

    /* Stack everything to single column */
    .diff-grid,
    .breakdown-grid,
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .process-steps,
    .industries-grid { grid-template-columns: 1fr; gap: 1rem; }
    .step,
    .industry-card { padding: 1.75rem; }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ----- SMALL PHONE (≤ 480px) — ultra-compact ----- */
@media (max-width: 480px) {
    .hero { padding-top: 6rem; padding-bottom: 3rem; }
    .hero-lotus { width: 160px; height: 160px; right: -25px; bottom: -25px; opacity: 0.3; }
    .upanishad,
    .how-we-work,
    .industries,
    .differentiators,
    .cta-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .step,
    .industry-card { padding: 1.5rem; border-radius: 10px; }
    .section-header { margin-bottom: 2.5rem; }
    .nav-container { padding: 0.8rem 1rem; }
    .upanishad-story { padding-top: 2rem; }
    .upanishad-story h3 { font-size: 1.5rem; }
    .upanishad-story p { font-size: 1rem; line-height: 1.7; }
    .footer-lotus { width: 200px; height: 200px; bottom: -60px; right: -60px; }
}

/* ----- Show hamburger only ≤ 768px (hidden on larger) ----- */
.nav-toggle { display: none; }

/* ----- Touch-target minimums (a11y) ----- */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .btn-primary,
    .btn-secondary,
    .btn-cta {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}