/* ============================================================
   FarmBrawl — Landing Enhanced Effects & Animations
   Version 2.0 · Premium Vault Aesthetic + Cinematic Motion
   ============================================================ */

/* ─── Scroll Reveal System ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children reveal */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 0.61s; }
.stagger-children.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Hero Particle Canvas ─── */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(110, 231, 183, 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    will-change: transform, opacity;
    box-shadow: 0 0 6px rgba(110, 231, 183, 0.4);
}
.particle--low-end {
    box-shadow: none;
    animation-duration: 15s !important;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(40px) scale(0.3);
        opacity: 0;
    }
}

/* ─── Hero Enhanced Entrance ─── */
.hero-entrance {
    animation: heroContentReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

@keyframes heroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-kicker-entrance {
    animation: heroKickerSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroKickerSlide {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title-entrance {
    animation: heroTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
        filter: blur(12px);
    }
    60% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-tagline-entrance {
    animation: heroTagReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.hero-lead-entrance {
    animation: heroTagReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

.hero-actions-entrance {
    animation: heroActionsReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

@keyframes heroTagReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroActionsReveal {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Title Letter-by-Letter Hover Effect ─── */
.landing-title-brawl .lp-ch {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.3s ease;
    cursor: default;
}
.landing-title-brawl:hover .lp-ch:nth-child(1) { animation: letterBounce 0.5s 0s cubic-bezier(0.34, 1.56, 0.64, 1); }
.landing-title-brawl:hover .lp-ch:nth-child(2) { animation: letterBounce 0.5s 0.05s cubic-bezier(0.34, 1.56, 0.64, 1); }
.landing-title-brawl:hover .lp-ch:nth-child(3) { animation: letterBounce 0.5s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1); }
.landing-title-brawl:hover .lp-ch:nth-child(4) { animation: letterBounce 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1); }
.landing-title-brawl:hover .lp-ch:nth-child(5) { animation: letterBounce 0.5s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes letterBounce {
    0% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-12px) scale(1.12); }
    100% { transform: translateY(0) scale(1); }
}

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #059669, #34d399, #06b6d4, #a78bfa, #e11d48);
    z-index: var(--farm-z-preloader);
    will-change: transform;
    transform-origin: 0% 50%;
    transform: scaleX(0);
    transition: transform 0.1s linear;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
}

/* ─── Section Divider Waves ─── */
.section-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
    z-index: 1;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ─── Ambient Floating Elements ─── */
.ambient-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat ease-in-out infinite;
    will-change: transform;
}
@supports (will-change: filter) {
    .ambient-orb { will-change: transform, filter; }
}

.ambient-orb--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 70%);
    top: 10%;
    left: -10%;
    animation-duration: 18s;
}

.ambient-orb--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.08), transparent 70%);
    bottom: 15%;
    right: -5%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.ambient-orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.08), transparent 70%);
    top: 50%;
    left: 30%;
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 15px) scale(0.95); }
    75% { transform: translate(15px, 25px) scale(1.02); }
}

/* ─── Enhanced Card Glow on Hover ─── */
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(52, 211, 153, 0.15) 0%,
        transparent 60%);
}
.glow-card:hover::after {
    opacity: 1;
}

/* ─── Hero Stats Counter Enhancement ─── */
.ecosystem-status .stat-value {
    font-variant-numeric: tabular-nums;
    transition: text-shadow 0.6s ease, color 0.6s ease;
}

.stat-value.stat-updated {
    animation: statPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes statPopIn {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ─── Plant Card Enhanced Hover ─── */
#plantas .landing-plant-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.6, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

#plantas .landing-plant-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

#plantas .landing-plant-card:hover::before {
    opacity: 1;
}

#plantas .landing-plant-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(52, 211, 153, 0.15),
                0 0 0 1px rgba(52, 211, 153, 0.2);
}

/* Premium tier glow */
#plantas .landing-plants-grid > div:nth-child(7) {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
}
#plantas .landing-plants-grid > div:nth-child(8) {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 0 20px rgba(245, 158, 11, 0.08);
}
#plantas .landing-plants-grid > div:nth-child(7):hover,
#plantas .landing-plants-grid > div:nth-child(8):hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15),
                0 0 0 1px rgba(245, 158, 11, 0.35);
}

/* ─── CTA Button Ripple Effect ─── */
.landing-btn-play,
.landing-transparency-btn {
    position: relative;
    overflow: hidden;
}

.landing-btn-play::after,
.landing-transparency-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.landing-btn-play:active::after,
.landing-transparency-btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: 0s;
}

/* ─── Pillar Cards Staggered Entry ─── */
.landing-why-grid .landing-pillar-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(1) { transition-delay: 0.05s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(2) { transition-delay: 0.1s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(3) { transition-delay: 0.15s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(4) { transition-delay: 0.2s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(5) { transition-delay: 0.25s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(6) { transition-delay: 0.3s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(7) { transition-delay: 0.35s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(8) { transition-delay: 0.4s; }
.landing-why-grid.stagger-children.is-visible .landing-pillar-card:nth-child(9) { transition-delay: 0.45s; }

.landing-why-grid.stagger-children.is-visible .landing-pillar-card {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Pillar Cards Enhanced ─── */
.landing-why-grid .landing-pillar-card {
    background: rgba(15, 23, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    padding: 1.35rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.6, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.landing-why-grid .landing-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #059669);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-why-grid .landing-pillar-card:hover::before {
    opacity: 1;
}

.landing-why-grid .landing-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(52, 211, 153, 0.06);
}

/* Different accent colors per card */
.landing-why-grid .landing-pillar-card:nth-child(1)::before { background: linear-gradient(90deg, #34d399, #059669); }
.landing-why-grid .landing-pillar-card:nth-child(2)::before { background: linear-gradient(90deg, #fbbf24, #d97706); }
.landing-why-grid .landing-pillar-card:nth-child(3)::before { background: linear-gradient(90deg, #38bdf8, #0284c7); }
.landing-why-grid .landing-pillar-card:nth-child(4)::before { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.landing-why-grid .landing-pillar-card:nth-child(5)::before { background: linear-gradient(90deg, #f87171, #dc2626); }
.landing-why-grid .landing-pillar-card:nth-child(6)::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.landing-why-grid .landing-pillar-card:nth-child(7)::before { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.landing-why-grid .landing-pillar-card:nth-child(8)::before { background: linear-gradient(90deg, #fb923c, #ea580c); }
.landing-why-grid .landing-pillar-card:nth-child(9)::before { background: linear-gradient(90deg, #c084fc, #9333ea); }

/* ─── Transparency Section Enhanced ─── */
.landing-transparency-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.1, 0.6, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.landing-transparency-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.4);
}

/* ─── Device Cards Enhanced ─── */
.landing-device-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.1, 0.6, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.landing-device-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.landing-device-card:hover::before {
    opacity: 1;
}

.landing-device-card {
    position: relative;
    overflow: hidden;
}

/* ─── Help Cards Glow ─── */
.landing-help-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.6, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

/* ─── CTA Band Enhanced ─── */
.landing-cta-band {
    overflow: hidden;
    position: relative;
}

.landing-cta-band::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(52, 211, 153, 0.04) 25%, transparent 50%);
    animation: ctaRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes ctaRotate {
    to { transform: rotate(360deg); }
}

/* ─── Footer Enhanced ─── */
.landing-footer {
    position: relative;
    overflow: hidden;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.3), transparent);
}

/* ─── Nav Enhanced Scroll Effects ─── */
.landing-nav {
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.landing-nav--scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(52, 211, 153, 0.08);
}

/* ─── AI Banner Enhanced ─── */
.landing-ai-banner {
    position: relative;
    overflow: hidden;
}

.landing-ai-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
    animation: aiBannerShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aiBannerShimmer {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

/* ─── Orbit Ring Enhanced ─── */
.landing-transparency-orbit {
    animation: transparencyOrbit 24s linear infinite;
}

.landing-transparency-visual {
    position: relative;
}

/* ─── Dashboard Preview Glow ─── */
.dashboard-preview {
    position: relative;
    transition: transform 0.4s ease;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 1.2rem;
    background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dashboard-preview:hover::before {
    opacity: 1;
}

.dashboard-preview:hover {
    transform: translateY(-4px);
}

/* ─── Iris Section Enhanced ─── */
.landing-iris-logo {
    transition: transform 0.4s cubic-bezier(0.34, 1.1, 0.6, 1),
                box-shadow 0.4s ease;
}

.landing-iris-logo:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 16px 40px rgba(109, 40, 217, 0.3);
}

/* ─── Steps Enhanced ─── */
.landing-step {
    transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.6, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.landing-step:hover {
    border-color: rgba(52, 211, 153, 0.2);
}

/* ─── Smooth section transitions ─── */
.landing-section,
.howtoplay,
.landing-cta-band,
.landing-footer {
    position: relative;
    z-index: 1;
}

/* ─── Performance: Respect reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .stagger-children > *,
    .hero-entrance,
    .hero-kicker-entrance,
    .hero-title-entrance,
    .hero-tagline-entrance,
    .hero-lead-entrance,
    .hero-actions-entrance,
    .howtoplay-step {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        filter: none !important;
    }

    .particle,
    .ambient-orb,
    .scroll-progress {
        display: none !important;
    }

    #hero-particles {
        display: none !important;
    }
}

/* ─── Smooth scroll offset for fixed nav ─── */
html {
    scroll-padding-top: 100px;
}

/* ─── Mobile enhanced animations ─── */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(25px);
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(25px);
    }

    .ambient-orbs {
        display: none;
    }
}

/* ─── Enhanced BrawlSafe section ─── */
#brawl-safe .landing-brawl-safe {
    position: relative;
    overflow: hidden;
}

#brawl-safe .landing-brawl-safe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(52, 211, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* ─── Aegis section enhanced ─── */
#aegis .landing-aegis {
    position: relative;
}

#aegis .landing-aegis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(52, 211, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ─── Scroll hint pulse ─── */
.landing-scroll-hint {
    animation: scrollHintPulse 2.5s ease-in-out infinite;
}

@keyframes scrollHintPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }
}

/* ─── Glass shimmer overlay on pillar cards ─── */
.landing-why-grid .landing-pillar-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.landing-why-grid .landing-pillar-card:hover::after {
    left: 100%;
}

/* ─── Enhanced plant card ROI badge ─── */
.landing-plant-roi {
    position: relative;
    display: inline-block;
}

.landing-plant-roi::before {
    content: '';
    position: absolute;
    inset: -3px -6px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    z-index: -1;
}

/* ─── Better focus states for accessibility ─── */
.landing-btn-play:focus-visible,
.landing-btn-ghost-hero:focus-visible,
.landing-transparency-btn:focus-visible,
.landing-pillar-link:focus-visible,
.landing-aegis-link:focus-visible,
.landing-help-card:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 3px;
}

/* ─── Typing cursor for hero kicker ─── */
.hero-typing-cursor::after {
    content: '|';
    animation: typingBlink 0.8s step-end infinite;
    margin-left: 2px;
    color: rgba(110, 231, 183, 0.8);
}

@keyframes typingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ═══════════════════════════════════════════
   PREFERS-REDUCED-MOTION — Baja animación
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .particle, .particle--low-end {
        display: none !important;
    }
    .ambient-orb {
        opacity: 0.15;
        filter: blur(60px);
        animation: none;
    }
    .scroll-progress {
        transition: none;
    }
}

/* ─── Mobile-adj: reducir blur orbs ─── */
@media (max-width: 480px) {
    .ambient-orb {
        animation-duration: 12s;
        filter: blur(40px);
    }
    .particle {
        animation-duration: 16s;
    }
    .particle, .particle--low-end {
        box-shadow: none;
    }
}
