/* FarmBrawl — Portada / Landing */

:root {
    --lp-emerald: #059669;
    --lp-emerald-dark: #047857;
    --lp-rose: #e11d48;
    --lp-rose-dark: #be123c;
    --lp-cream: #fff8eb;
    --lp-slate: #0f172a;
}

/* Performance: reduce repaints on mobile for heavy glass/animated layers */
@media (max-width: 768px) {
    .landing-nav,
    .landing-hero-overlay,
    .landing-hero-grain,
    .vault-mesh,
    .landing-sticky-cta {
        will-change: transform;
        contain: layout style paint;
    }

    .landing-device-mockup img,
    .dashboard-preview img,
    .landing-transparency-hero-img {
        contain: layout style;
    }

    .landing-pillar-card,
    .landing-feature-card,
    .landing-plant-card {
        contain: layout style paint;
    }
}

/* Allow below-the-fold sections to skip expensive paint until near viewport */
.landing-section--features,
.landing-section--social,
.landing-faq,
.landing-cta-band,
.landing-section--how,
.landing-transparency,
.landing-dashboard-preview,
.landing-devices,
.landing-section--alt,
.landing-iris,
.landing-plants,
.landing-brawl-safe,
.landing-aegis,
.landing-help {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing-page {
    margin: 0;
    font-family: 'Nunito', system-ui, sans-serif;
    color: #1e293b;
    background: var(--lp-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.landing-display {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    letter-spacing: -0.02em;
}

/* ─── Nav ─── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Fallback when tokens.css is not loaded on the landing */
    z-index: var(--farm-z-sticky, 200);
    /* Breathing room from top edge + safe-area (notch) */
    padding-top: max(1rem, calc(env(safe-area-inset-top, 0px) + 0.75rem));
    padding-right: 1.5rem;
    padding-bottom: 0.85rem;
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.landing-nav:not(.landing-nav--scrolled) {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.35) 55%,
        transparent 100%
    );
}

.landing-nav--scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(52, 211, 153, 0.08);
}

.landing-nav-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    height: auto;
    overflow: visible;
}

.landing-logo {
    display: flex;
    align-items: center;
}

.landing-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 0;
}

/* Oracle widget styles moved to landing-overhaul.css */

/* Vault Tech Premium Brand Logo (replaces old PNG logo in nav) */
.brand-logo-vault {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-logo-vault img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
}

.brand-text-vault {
    font-family: 'Fredoka', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #dcfce7 0%, #86efac 25%, #22c55e 55%, #15803d 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 1px 0 #14532d)
        drop-shadow(0 2px 0 #14532d)
        drop-shadow(0 3px 8px rgba(34, 197, 94, 0.3));
    position: relative;
}

/* Nav oscura → nav clara al hacer scroll */
.landing-nav--scrolled .fb-brand--on-dark .fb-brand__farm {
    background: linear-gradient(180deg, #86efac 0%, #4ade80 35%, #22c55e 65%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 1px 0 rgba(5, 150, 105, 0.6))
        drop-shadow(0 2px 0 rgba(5, 150, 105, 0.3));
    -webkit-text-stroke: 0;
}

.landing-nav--scrolled .fb-brand--on-dark .fb-brand__brawl {
    background: linear-gradient(180deg, #fca5a5 0%, #f87171 35%, #ef4444 65%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 1px 0 rgba(220, 38, 38, 0.6))
        drop-shadow(0 2px 0 rgba(220, 38, 38, 0.3));
    -webkit-text-stroke: 0;
}

.landing-nav--scrolled .fb-brand--on-dark .fb-brand__wordmark::after {
    background: linear-gradient(90deg, transparent 0%, #4ade80 50%, transparent 100%);
    opacity: 0.3;
}

.landing-nav-links {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: auto;
    max-height: none;
    overflow: visible;
    /* mobile dropdowns */
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.5rem;
}

/* ─── Nav 3-Zone Layout ─── */
.nav-zone {
    display: flex;
    align-items: center;
}
.nav-zone-left {
    flex: 0 0 auto;
    justify-content: flex-start;
}
.nav-zone-center {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}
.nav-zone-right {
    flex: 0 0 auto;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .nav-zone-left { flex: none; }
    .nav-zone-center { flex: none; width: 100%; order: 10; }
    .nav-zone-right { flex: none; }
}

/* ─── Desktop ─── */
@media (min-width: 768px) {
    .landing-nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        padding: 0;
        border-top: none;
        margin-top: 0;
        gap: 1.25rem;
        padding-right: 0.5rem;
        white-space: nowrap;
    }
}

/* ─── Nav Dropdown ─── */
.nav-dd {
    position: relative;
    width: 100%;
    padding-bottom: 4px; /* Cubre el gap de hover entre trigger y panel */
}

@media (min-width: 768px) {
    .nav-dd { width: auto; }
}

.nav-dd-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.5rem 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-align: left;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .nav-dd-btn {
        width: auto;
        padding: 0.5rem 1rem;
        text-align: center;
        font-size: 1.05rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }
}

.nav-dd-btn:hover,
.nav-dd-btn:focus-visible {
    color: #34d399 !important;
}

.nav-dd-btn[aria-expanded="true"] .nav-dd-chevron {
    transform: rotate(180deg);
}

.nav-dd-chevron {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Dropdown Menu ─── */
.nav-dd-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 0 0.35rem 1rem;
    background: transparent;
    border-radius: 0;
    min-width: 180px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (min-width: 768px) {
    .nav-dd-menu {
        position: absolute;
        top: 100%;            /* Arranca justo donde termina el padding de .nav-dd — sin gap */
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        padding: 0.5rem 0;
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
}

/* Desktop: hover abre el menú */
@media (min-width: 768px) {
    .nav-dd:hover .nav-dd-menu,
    .nav-dd-btn[aria-expanded="true"] + .nav-dd-menu {
        display: flex;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
    .nav-dd:hover .nav-dd-chevron {
        transform: rotate(180deg);
    }
}

/* Mobile: con clase is-open se muestra */
@media (max-width: 767px) {
    .nav-dd-btn[aria-expanded="true"] + .nav-dd-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dd-menu a {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
    border-radius: 6px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .nav-dd-menu a {
        padding: 0.55rem 1.25rem;
        margin: 0 0.35rem;
    }
}

.nav-dd-menu a:hover {
    color: #f0fdf4;
    background: rgba(52, 211, 153, 0.08);
}

/* Nav sobre el hero — estados de color */
.landing-nav:not(.landing-nav--scrolled) .nav-dd-btn {
    color: #e2e8f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.landing-nav--scrolled .nav-dd-btn {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.landing-nav--scrolled .nav-dd-btn:hover {
    color: #6ee7b7 !important;
    text-shadow: 0 0 16px rgba(52, 211, 153, 0.4), 0 1px 8px rgba(0, 0, 0, 0.35);
}

.landing-nav:not(.landing-nav--scrolled) .nav-dd-btn:hover {
    color: #34d399;
}

.landing-nav:not(.landing-nav--scrolled) .nav-dd-menu a {
    color: #b0bccb;
    text-shadow: none;
}

.landing-nav--scrolled .nav-dd-menu a {
    color: #e2e8f0;
}

.landing-nav--scrolled .nav-dd-menu a:hover {
    color: #ffffff;
    background: rgba(52, 211, 153, 0.12);
}

.landing-nav:not(.landing-nav--scrolled) .nav-dd-menu a:hover {
    color: #f0fdf4;
    background: rgba(52, 211, 153, 0.1);
}

.landing-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    background: linear-gradient(135deg, var(--lp-emerald), var(--lp-emerald-dark));
    color: white;
    font-weight: 900;
    font-size: 0.88rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}

.landing-btn-play:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(5, 150, 105, 0.5);
}

.landing-btn-play--hero {
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 999px;
    animation: lp-pulse-glow 2.5s ease-in-out infinite;
}

@keyframes lp-pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(5, 150, 105, 0.45), 0 0 0 0 rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 12px 40px rgba(5, 150, 105, 0.55), 0 0 0 12px rgba(16, 185, 129, 0); }
}

/* ─── Hero ─── */
.landing-hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    /* Cover: Gemini farm art — webp (~157KB) + jpg fallback (~214KB); src was ~2.1MB */
    background-color: #0a120c;
    background-image: url('../assets/landing-hero.jpg');
    background-image: -webkit-image-set(
        url('../assets/landing-hero.webp') type('image/webp'),
        url('../assets/landing-hero.jpg') type('image/jpeg')
    );
    background-image: image-set(
        url('../assets/landing-hero.webp') type('image/webp'),
        url('../assets/landing-hero.jpg') type('image/jpeg')
    );
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.82) saturate(1.05);
}
.landing-hero {
    background: radial-gradient(ellipse at center, rgba(6,10,18,0.35) 0%, rgba(6,10,18,0.65) 60%, #060a12 100%);
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    /* Lighter veil so the farm cover art reads; text still legible */
    background: linear-gradient(
        180deg,
        rgba(10, 8, 6, 0.55) 0%,
        rgba(10, 8, 6, 0.28) 35%,
        rgba(10, 14, 10, 0.42) 70%,
        rgba(6, 10, 8, 0.72) 100%
    );
}

.landing-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
    color: white;
}

.landing-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.landing-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.6rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

/* "Farm" — blanco brillante como en el juego */
.landing-title-farm {
    color: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 55%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2.5px rgba(15, 23, 42, 0.75);
    paint-order: stroke fill;
    text-shadow: none;
    filter: drop-shadow(0 4px 0 rgba(15, 23, 42, 0.55)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

@media (max-width: 480px) {
    .landing-title-farm {
        -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.75);
    }

    .landing-title-brawl .lp-ch {
        -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.65);
    }
}

/* "Brawl" — letra por letra (pastel) */
.landing-title-brawl {
    display: inline-block;
}

.landing-title-brawl .lp-ch {
    display: inline-block;
    -webkit-text-stroke: 2px rgba(15, 23, 42, 0.65);
    paint-order: stroke fill;
    filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.45)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.lp-b { color: #fda4af; }
.lp-r { color: #fdba74; }
.lp-a { color: #fde047; }
.lp-w { color: #bef264; }
.lp-l { color: #5eead4; }

/* Subtítulo del juego — muy visible bajo el logo */
.landing-hero-tagline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0 auto 1.35rem;
    padding: 0.65rem 1.35rem;
    font-size: clamp(1.05rem, 2.8vw, 1.45rem);
    font-weight: 900;
    color: #ecfdf5;
    letter-spacing: 0.02em;
    background: rgba(4, 120, 87, 0.55);
    border: 2px solid rgba(110, 231, 183, 0.45);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 12px rgba(0, 0, 0, 0.45);
}

.landing-hero-tagline i {
    color: #4ade80;
    font-size: 1.1em;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.5));
}

.landing-tag-dot {
    opacity: 0.55;
    font-weight: 400;
}

.landing-hero-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 580px;
    margin: 0 auto 2rem;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

	    display: flex;
	    flex-wrap: wrap;
	    gap: 1rem;
	    justify-content: center;
	    align-items: center;
	    margin-bottom: 0;
	}

	/* ─── Hero trust bullets ─── */
	.hero__trust {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 0.75rem 1.5rem;
	    justify-content: center;
	    list-style: none;
	    margin: 1.25rem 0 0;
	    padding: 0;
	    font-size: 0.9rem;
	    color: rgba(255, 255, 255, 0.7);
	}

	.landing-btn-ghost-hero {
	    display: inline-flex;
	    align-items: center;
	    gap: 0.45rem;
	    padding: 1rem 1.75rem;
	    background: rgba(255, 255, 255, 0.1);
	    border: 2px solid rgba(255, 255, 255, 0.35);
	    color: white;
	    font-weight: 800;
	    font-size: 0.95rem;
	    border-radius: 999px;
	    text-decoration: none;
	    backdrop-filter: blur(6px);
	    transition: background 0.2s;
	}

.landing-btn-ghost-hero:hover { background: rgba(255, 255, 255, 0.2); }

.landing-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    animation: lp-bounce 2s ease infinite;
}

@keyframes lp-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Hero ecosystem stats (relocated inside banner) ─── */
.hero-ecosystem-status {
    margin-top: 2rem;
}
.hero-ecosystem-status .ecosystem-status {
    margin: 0;
}
.hero-ecosystem-status .landing-ecosystem-update {
    margin-top: 0.6rem;
}

/* ─── Live stats bar ─── */
.landing-stats-bar {
    background: linear-gradient(90deg, #0f172a, #134e4a, #0f172a);
    border-top: 2px solid rgba(16, 185, 129, 0.4);
    border-bottom: 2px solid rgba(16, 185, 129, 0.4);
    padding: 1.25rem 1.5rem;
    position: relative;
}

.landing-stats-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    text-align: center;
}

.landing-stat-item strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.65rem;
    color: #6ee7b7;
    font-variant-numeric: tabular-nums;
}

.landing-stat-item span {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.landing-demo-badge {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    background: #b45309;
    color: white;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.landing-demo-badge.hidden { display: none; }

/* ─── Sections ─── */
.landing-section {
    padding: 5rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.landing-section--alt {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 50%, #0b1120 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.landing-section--alt .landing-section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-section--alt .landing-section-title {
    color: #f1f5f9;
}

.landing-section--alt .landing-section-lead {
    color: #cbd5e1;
}

.landing-section--alt .landing-section-kicker {
    color: #6ee7b7;
}

.landing-section-kicker {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-emerald);
    margin-bottom: 0.5rem;
}

.landing-section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--lp-slate);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.landing-section-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 640px;
    margin: 0 0 2.5rem;
}

/* Dark section overrides for Vault Tech */
.landing-section--features .landing-section-title {
    color: #f8fafc;
}

.landing-section--features .landing-section-lead {
    color: #cbd5e1;
}

.landing-section--devices .landing-section-title {
    color: #f8fafc;
}

.landing-section--devices .landing-section-lead {
    color: #cbd5e1;
}

/* Legacy lead styles kept for compatibility */
.landing-section-lead--secondary {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 0 1.2rem;
}

/* Steps */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.landing-step {
    background: rgba(15, 23, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.landing-step:hover { transform: translateY(-4px); }

.landing-step-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0,0,0,0.4);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.3);
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.landing-step h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: #f8fafc;
}

.landing-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
}

/* Feature image */
.landing-feature-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    margin: 0 auto;
    border-radius: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    margin-bottom: 2.5rem;
}

/* Plants grid */
.landing-plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.landing-plant-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.1rem 1rem 1rem;
    text-align: center;
    border: 2px solid #fecdd3;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-plant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.12);
}

.landing-plant-art {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.5rem;
    margin-bottom: 0.5rem;
}

.landing-plant-img {
    width: 5.25rem;
    height: 5.25rem;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
    animation: landingPlantFloat 3.6s ease-in-out infinite;
}

.landing-plant-card:nth-child(3n) .landing-plant-img { animation-delay: 0.4s; }
.landing-plant-card:nth-child(3n+1) .landing-plant-img { animation-delay: 1s; }
.landing-plant-card:nth-child(3n+2) .landing-plant-img { animation-delay: 1.8s; }

@keyframes landingPlantFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.landing-plant-card h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
    color: var(--lp-slate);
}

.landing-plant-roi {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lp-emerald);
}

.landing-plant-price {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.landing-plant-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #334155;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    font-weight: 600;
}

/* Features grid - Vault Tech dark aesthetic */
.landing-section--features {
    position: relative;
    max-width: none;
    padding: 5.5rem 1.5rem 6rem;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(16, 185, 129, 0.06), transparent 55%),
        radial-gradient(ellipse 70% 45% at 95% 100%, rgba(225, 29, 72, 0.04), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 45%, #02040a 100%);
    overflow: hidden;
}

.landing-section--features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.35;
    pointer-events: none;
}

.landing-features-head {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto 2.75rem;
    color: #f8fafc;
}

.landing-features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .landing-features-grid { grid-template-columns: 1fr; }
}

/* ─── Feature Card Base ─── */
.landing-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #12151c 0%, #1a1f2b 100%);
    border-radius: 1.25rem;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    overflow: hidden;
    animation: landingFeatureIn 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) backwards;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.landing-feature-card:nth-child(1) { animation-delay: 0.05s; }
.landing-feature-card:nth-child(2) { animation-delay: 0.12s; }
.landing-feature-card:nth-child(3) { animation-delay: 0.19s; }
.landing-feature-card:nth-child(4) { animation-delay: 0.26s; }

@keyframes landingFeatureIn {
    0% { opacity: 0; transform: translateY(18px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.landing-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 5px;
    border-radius: 0 0 4px 4px;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.landing-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ─── Card accent top border ─── */
.landing-feature-card--farm {
    border-color: rgba(52, 211, 153, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(52, 211, 153, 0.04);
}
.landing-feature-card--farm::before {
    background: linear-gradient(90deg, #34d399, #059669, #34d399);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 24px rgba(52, 211, 153, 0.25), 0 0 50px rgba(52, 211, 153, 0.08);
}

.landing-feature-card--market {
    border-color: rgba(251, 113, 133, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(251, 113, 133, 0.04);
}
.landing-feature-card--market::before {
    background: linear-gradient(90deg, #fb7185, #e11d48, #fb7185);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 24px rgba(251, 113, 133, 0.25), 0 0 50px rgba(251, 113, 133, 0.08);
}

.landing-feature-card--stake {
    border-color: rgba(167, 139, 250, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(167, 139, 250, 0.04);
}
.landing-feature-card--stake::before {
    background: linear-gradient(90deg, #a78bfa, #6d28d9, #a78bfa);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 24px rgba(167, 139, 250, 0.25), 0 0 50px rgba(167, 139, 250, 0.08);
}

.landing-feature-card--attack {
    border-color: rgba(248, 113, 113, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(248, 113, 113, 0.04);
}
.landing-feature-card--attack::before {
    background: linear-gradient(90deg, #f87171, #dc2626, #f87171);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 24px rgba(248, 113, 113, 0.25), 0 0 50px rgba(248, 113, 113, 0.08);
}

/* ─── Hover states ─── */
.landing-feature-card:hover {
    transform: translateY(-6px);
}

.landing-feature-card--farm:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(52, 211, 153, 0.25);
    border-color: rgba(52, 211, 153, 0.3);
}
.landing-feature-card--market:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(251, 113, 133, 0.25);
    border-color: rgba(251, 113, 133, 0.3);
}
.landing-feature-card--stake:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(167, 139, 250, 0.25);
    border-color: rgba(167, 139, 250, 0.3);
}
.landing-feature-card--attack:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(248, 113, 113, 0.25);
    border-color: rgba(248, 113, 113, 0.3);
}

/* ─── Glow orb ─── */
.landing-feature-glow {
    position: absolute;
    top: -25%;
    right: -15%;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: transform, opacity;
}
.landing-feature-card--farm .landing-feature-glow { background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 65%); }
.landing-feature-card--market .landing-feature-glow { background: radial-gradient(circle, rgba(251, 113, 133, 0.18), transparent 65%); }
.landing-feature-card--stake .landing-feature-glow { background: radial-gradient(circle, rgba(167, 139, 250, 0.2), transparent 65%); }
.landing-feature-card--attack .landing-feature-glow { background: radial-gradient(circle, rgba(248, 113, 113, 0.18), transparent 65%); }
.landing-feature-card:hover .landing-feature-glow {
    opacity: 0.5;
    transform: scale(1.12);
}

/* ─── Top row (icon + tag) ─── */
.landing-feature-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

/* ─── Badge (pill) ─── */
.landing-feature-tag {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.landing-feature-card:hover .landing-feature-tag {
    transform: scale(1.04);
}

.landing-feature-card--farm .landing-feature-tag {
    color: #6ee7b7;
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.4);
}
.landing-feature-card--market .landing-feature-tag {
    color: #fda4af;
    background: rgba(251, 113, 133, 0.15);
    border-color: rgba(251, 113, 133, 0.4);
}
.landing-feature-card--stake .landing-feature-tag {
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.4);
}
.landing-feature-card--attack .landing-feature-tag {
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.4);
}

/* ─── Icon as premium badge ─── */
.landing-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}
.landing-feature-card:hover .landing-feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.landing-feature-icon--farm {
    background: linear-gradient(145deg, #6ee7b7, #059669);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.landing-feature-card--farm:hover .landing-feature-icon {
    box-shadow: 0 0 28px rgba(52, 211, 153, 0.55), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.landing-feature-icon--market {
    background: linear-gradient(145deg, #fda4af, #e11d48);
    box-shadow: 0 0 20px rgba(251, 113, 133, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.landing-feature-card--market:hover .landing-feature-icon {
    box-shadow: 0 0 28px rgba(251, 113, 133, 0.55), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.landing-feature-icon--stake {
    background: linear-gradient(145deg, #c4b5fd, #6d28d9);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.landing-feature-card--stake:hover .landing-feature-icon {
    box-shadow: 0 0 28px rgba(167, 139, 250, 0.55), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.landing-feature-icon--attack {
    background: linear-gradient(145deg, #fca5a5, #dc2626);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.landing-feature-card--attack:hover .landing-feature-icon {
    box-shadow: 0 0 28px rgba(248, 113, 113, 0.55), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ─── Card text ─── */
.landing-feature-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: #f1f5f9;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}
.landing-feature-card:hover h3 {
    color: #ffffff;
}

.landing-feature-card p {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    flex: 1;
    transition: color 0.25s ease;
}
.landing-feature-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* ─── Stake specific polish (gradient title) ─── */
.landing-feature-card--stake h3 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #eef2ff 0%, #c4b5fd 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.landing-feature-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-feature-meta i {
    font-size: 0.58rem;
    opacity: 0.85;
}

.landing-feature-card--farm .landing-feature-meta span { border-color: rgba(52,211,153,0.3); color: #34d399; }
.landing-feature-card--market .landing-feature-meta span { border-color: rgba(225,29,72,0.3); color: #fb7185; }
.landing-feature-card--stake .landing-feature-meta span { border-color: rgba(167,139,250,0.3); color: #a78bfa; }
.landing-feature-card--attack .landing-feature-meta span { border-color: rgba(248,113,113,0.3); color: #f87171; }

/* Aegis block */
.landing-aegis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .landing-aegis { grid-template-columns: 1fr 1fr; }
}

.landing-aegis-img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 1rem;
    display: block;
}

.landing-aegis h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.85rem;
    margin: 0 0 0.75rem;
}

.landing-aegis-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 999px;
    color: #6ee7b7;
    margin-bottom: 0.75rem;
}

.landing-aegis p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 1.25rem;
}

.landing-aegis-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #6ee7b7;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
}

.landing-aegis-link:hover { text-decoration: underline; }

/* IrisLabs */
.landing-iris {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .landing-iris { grid-template-columns: auto 1fr; }
}

.landing-iris-logo {
    width: 140px;
    height: 140px;
    border-radius: 1.5rem;
    object-fit: cover;
    border: 3px solid #e9d5ff;
    box-shadow: 0 12px 32px rgba(109, 40, 217, 0.2);
}

.landing-iris-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.landing-iris-tag {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
}

.landing-iris-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.landing-iris-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.landing-iris-list i {
    color: var(--lp-violet);
    margin-top: 0.2rem;
}

/* CTA band — diseño renovado: tarjeta centrada, botón destacado y mejor responsividad */
.landing-cta-band {
    background: radial-gradient(circle at 10% 20%, rgba(56,189,248,0.08), transparent 12%),
                linear-gradient(135deg, rgba(15,23,42,0.98) 0%, rgba(30,41,59,0.95) 45%, rgba(109,40,217,0.92) 100%);
    padding: 4.5rem 1.5rem;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(56,189,248,0.3);
}

.landing-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent 30%);
    pointer-events: none;
}

.landing-cta-band h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    margin: 0 0 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 6px 18px rgba(2,6,23,0.6);
}

.landing-cta-band p {
    margin: 0 0 1.25rem;
    opacity: 0.95;
    font-size: clamp(1rem, 2.2vw, 1.08rem);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.92);
}

/* Botón destacado: ajustamos el tamaño dentro de la CTA para mayor presencia */
.landing-cta-band .landing-btn-play {
    padding: 1.15rem 2.75rem;
    font-size: 1.125rem;
    border-radius: 999px;
    box-shadow: 0 12px 48px rgba(2,6,23,0.45), 0 6px 20px rgba(56,189,248,0.15);
}

@media (max-width: 520px) {
    .landing-cta-band { padding: 3rem 1rem; }
    .landing-cta-band h2 { font-size: 1.5rem; }
    .landing-cta-band p { font-size: 0.98rem; }
    .landing-cta-band .landing-btn-play { width: 100%; justify-content: center; }
}

/* Footer */
.landing-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 1.5rem 2rem;
}

.landing-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.landing-footer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 1.25rem;
    border: 1px solid #334155;
    margin-bottom: 2rem;
}

.landing-footer-stat strong {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #6ee7b7;
}

.landing-footer-stat span {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    font-size: 0.82rem;
}

.landing-footer a {
    color: #6ee7b7;
    text-decoration: none;
    font-weight: 700;
}

.landing-footer a:hover { text-decoration: underline; }

.landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Help center teaser */
.landing-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 820px;
}

@media (max-width: 640px) {
    .landing-help-grid { grid-template-columns: 1fr; }
}

.landing-help-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.65rem 1.5rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
    background: linear-gradient(165deg, #1c2333 0%, #111827 50%, #0d1320 100%);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.landing-help-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.landing-help-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(16, 185, 129, 0.06);
}

.landing-help-card:hover .landing-help-card__link {
    color: #34d399;
    gap: 0.6rem;
}

.landing-help-card:hover .landing-help-card__link i {
    transform: translateX(4px);
    opacity: 1;
}

.landing-help-card--accent {
    border-color: rgba(16, 185, 129, 0.22);
    background: linear-gradient(165deg, #1a2438 0%, #111827 50%, #0d1320 100%);
}

.landing-help-card--accent::before {
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.landing-help-card--accent:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(16, 185, 129, 0.08);
}

.landing-help-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    font-size: 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.06);
    flex-shrink: 0;
}

.landing-help-card--accent .landing-help-card__icon {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

.landing-help-card h3 {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.landing-help-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
    flex: 1;
}

.landing-help-card__link {
    font-size: 0.82rem;
    font-weight: 800;
    color: #34d399;
    margin-top: 0.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.landing-help-card__link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

/* ─── Multiplataforma / device mockups ─── */
.landing-section--devices {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 45%, #060a12 100%);
    max-width: none;
    padding: 5rem 1.5rem;
}

.landing-devices-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.landing-devices-head {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-devices-lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
    color: #94a3b8;
}

.landing-devices-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.75rem;
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.landing-devices-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 34, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.25);
    font-size: 0.78rem;
    font-weight: 800;
    color: #6ee7b7;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.landing-devices-pills li i {
    color: var(--lp-emerald);
    font-size: 0.85rem;
}

.landing-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: end;
}

.landing-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(15, 23, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.landing-device-card:hover {
    transform: translateY(-6px);
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 22px 48px rgba(16, 185, 129, 0.12);
}

.landing-device-card--featured {
    border-color: rgba(110, 231, 183, 0.35);
    background: linear-gradient(180deg, rgba(15, 23, 34, 0.8) 0%, rgba(6, 10, 18, 0.9) 100%);
    box-shadow: 0 20px 44px rgba(16, 185, 129, 0.14);
}

.landing-device-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 0;
}

.landing-device-mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.45));
    transition: transform 0.3s ease;
}

.landing-device-card:hover .landing-device-mockup img {
    transform: translateY(-4px) scale(1.02);
}

.landing-device-mockup--phone img {
    max-width: 200px;
}

.landing-device-mockup--tablet img {
    max-width: 100%;
}

.landing-device-mockup--desktop img {
    max-width: 100%;
}

.landing-device-meta {
    text-align: center;
    width: 100%;
}

.landing-device-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(6, 95, 70, 0.6));
    color: #6ee7b7;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.landing-device-meta h3 {
    margin: 0 0 0.45rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: #f1f5f9;
}

.landing-device-meta p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #94a3b8;
}

/* CORRECCIÓN GLOBAL DE IMÁGENES GIGANTES - Escala controlada en todas las pantallas */
.landing-devices-grid .landing-device-mockup img,
.dashboard-preview img {
    width: 100%;
    height: auto;
    max-width: 380px;
    margin: 0 auto;
    display: block;
}

/* Asegura escalado fluido en mobile sin romper rejilla */
@media (max-width: 900px) {
    .landing-devices-grid .landing-device-mockup img,
    .dashboard-preview img {
        max-width: 100%;
    }
}

/* Override para imagen de transparencia en la grid (mantiene estética) */
.landing-transparency .landing-transparency-hero-img,
.landing-transparency-hero-img {
    width: 100% !important;
    height: auto !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* ============================================
   EXTRACTED INLINE STYLES (Fase 3 - Technical Debt Cleanup)
   All rules moved from index.html style="" attributes.
   Visual result preserved exactly.
   ============================================ */

/* Hero specific typography overrides (other hero styles extracted below) */

.landing-hero-tagline--accent {
    font-size: 1.15rem;
    color: #a5f3fc;
}

.landing-hero-lead--hero {
    max-width: 620px;
    margin: 0.75rem auto 1.25rem;
}

.landing-btn-ghost-hero--accent {
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.4);
}

/* Why / Pillars section */
.landing-why-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    background: rgba(6, 10, 18, 0.6);
    position: relative;
    z-index: 1;
}

.landing-section-inner--wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-why-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.landing-why-kicker {
    color: #6ee7b7;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.landing-why-title {
    font-size: 2rem;
    font-weight: 900;
    margin: 0.35rem 0;
    color: #fff;
}

.landing-why-lead {
    max-width: 520px;
    margin: 0 auto;
    color: #94a3b8;
}

.landing-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.landing-pillar-card {
    padding: 1.5rem;
    border-radius: 1rem;
}

.landing-pillar-icon {
    width: 42px;
    height: 42px;
    background: rgba(52, 211, 153, 0.12);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: #34d399;
}

.landing-pillar-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: #fff;
}

.landing-pillar-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.landing-pillar-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: #6ee7b7;
    font-weight: 700;
}

/* Dashboard preview section */
.landing-dashboard-preview {
    position: relative;
    z-index: 1;
    padding: 2.25rem 1.5rem 1.25rem;
    background: rgba(6, 10, 18, 0.45);
}

.landing-dashboard-preview-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.landing-dashboard-kicker {
    color: #6ee7b7;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.landing-dashboard-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #fff;
    margin: 0.3rem 0 0.5rem;
}

.landing-dashboard-lead {
    max-width: 520px;
    margin: 0 auto 1.25rem;
    color: #94a3b8;
}

.landing-dashboard-caption {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.35rem;
}

/* Ecosystem status section */
.landing-ecosystem-status {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.5rem;
    background: rgba(10, 15, 28, 0.6);
    border-top: 1px solid rgba(52, 211, 153, 0.1);
}

.landing-ecosystem-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.landing-ecosystem-header {
    margin-bottom: 0.75rem;
}

.landing-ecosystem-kicker {
    color: #6ee7b7;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.landing-ecosystem-title {
    margin: 0.2rem 0;
    color: #fff;
    font-size: 1.35rem;
}

.landing-ecosystem-stable {
    color: #34d399;
    font-weight: 700;
}
.landing-ecosystem-alert {
    color: #fb7185;
    font-weight: 700;
}
.landing-ecosystem-watch {
    color: #fbbf24;
    font-weight: 700;
}

.stat-loading {
    animation: statPulse 1.6s ease-in-out infinite;
    color: rgba(110, 231, 183, 0.5);
}
@keyframes statPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.landing-ecosystem-update {
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.25rem;
    transition: color 0.4s ease;
}

/* Modal panel */
.landing-modal-panel {
    position: relative;
}

.landing-modal-text {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.landing-modal-cta {
    margin-top: 1.25rem;
}

/* Iris section */
.landing-iris-lead {
    margin-bottom: 0;
}

.landing-iris-cta {
    display: inline-flex;
    margin-top: 1.25rem;
}

/* Footer small texts */
.landing-footer-brand-note {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
}

.landing-footer-brand-strong {
    color: #c4b5fd;
}

.landing-footer-copyright {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    opacity: 0.7;
}

.landing-devices-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.75rem;
}

.landing-devices-cta-note {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .landing-devices-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .landing-device-card--featured {
        order: -1;
    }

    .landing-device-mockup--phone img {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .landing-section--devices {
        padding: 3.5rem 1rem;
    }

    .landing-devices-pills li {
        font-size: 0.72rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-device-card:hover,
    .landing-device-card:hover .landing-device-mockup img {
        transform: none;
    }
}

/* Social proof strip */
.landing-section--social {
    padding: 3.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-top: 1px solid rgba(52, 211, 153, 0.08);
    border-bottom: 1px solid rgba(52, 211, 153, 0.08);
}

.landing-social-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-social-proof-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(15, 23, 34, 0.55);
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.landing-social-proof-value {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #34d399;
    line-height: 1.1;
}

.landing-social-proof-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.4rem;
}

.landing-social-proof-note {
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 1.25rem;
}

/* Inline FAQ */
.landing-faq {
    max-width: 900px;
    margin: 0 auto;
}

.landing-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.15rem 0;
}

.landing-faq-question {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
}

.landing-faq-answer {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.landing-faq-answer strong {
    color: #6ee7b7;
}

@media (max-width: 680px) {
    .landing-faq-item {
        padding: 1rem 0;
    }

    .landing-faq-question {
        font-size: 0.98rem;
    }

    .landing-faq-answer {
        font-size: 0.85rem;
    }
}

/* Sticky mobile CTA */
.landing-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 34, 0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(52, 211, 153, 0.2);
    display: none;
    justify-content: center;
}

.landing-sticky-cta a {
    width: 100%;
    max-width: 420px;
    text-align: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .landing-sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

/* ============================================================
   BÓVEDA DIGITAL THEME OVERRIDES FOR INDEX (consistent with Aegis/BrawlSafe)
   Dark vault aesthetic + mesh + glass + cyan/emerald
   ============================================================ */

body.landing-page {
    background: radial-gradient(ellipse at top, #0f2f2a 0%, #0b1220 45%, #060a12 100%);
    color: #e2e8f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Vault mesh background */
.vault-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(52, 211, 153, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    animation: vault-mesh-drift 28s linear infinite;
}
.vault-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(52, 211, 153, 0.09) 1px, transparent 1.5px);
    background-size: 18px 18px;
    animation: vault-mesh-dots 22s ease-in-out infinite alternate;
}

@keyframes vault-mesh-drift { 0% { background-position: 0 0; } 100% { background-position: 42px 42px; } }
@keyframes vault-mesh-dots { 0% { opacity: 0.55; transform: translateY(0); } 100% { opacity: 0.85; transform: translateY(1px); } }

/* Glass cards */
.vault-glass {
    background: rgba(10, 15, 28, 0.62);
    border: 1px solid rgba(52, 211, 153, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(52, 211, 153, 0.06) inset;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vault-glass:hover {
    border-color: rgba(52, 211, 153, 0.32);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(52, 211, 153, 0.12) inset, 0 0 14px rgba(52, 211, 153, 0.12);
}

/* Monospace for numbers */
.vault-mono { 
    font-family: ui-monospace, "Roboto Mono", "Courier New", monospace; 
    font-feature-settings: "tnum" "zero";
    letter-spacing: 0.02em;
}

/* High contrast buttons with glow */
.landing-btn-play {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.3), 0 6px 20px rgba(5, 150, 105, 0.4);
}
.landing-btn-play:hover {
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.6), 0 10px 30px rgba(5, 150, 105, 0.6);
}

/* Constant glow for hero CTA */
.landing-btn-play--hero {
    position: relative;
    animation: vault-cta-glow 2.8s ease-in-out infinite;
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 8px 32px rgba(52, 211, 153, 0.35);
    will-change: box-shadow;
}
@keyframes vault-cta-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 8px 32px rgba(52, 211, 153, 0.35); }
    50% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25), 0 12px 48px rgba(52, 211, 153, 0.55); }
}

/* Dashboard preview mirror/reflection */
.dashboard-preview {
    position: relative;
    max-width: 820px;
    margin: 2rem auto;
}
.dashboard-preview img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dashboard-preview::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -12px;
    height: 35%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent);
    border-radius: 0 0 1rem 1rem;
    transform: scaleY(-0.4);
    opacity: 0.4;
    pointer-events: none;
}

/* Ecosystem status bar */
.ecosystem-status {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(10,15,28,0.55);
    border: 1px solid rgba(52,211,153,0.15);
    border-radius: 0.85rem;
}
.ecosystem-status .stat {
    text-align: center;
    min-width: 110px;
}
.ecosystem-status .stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ecfdf5;
    transition: color 0.6s ease;
}
.ecosystem-status .stat-value.stat-fresh {
    animation: statRefreshGlow 1.2s ease-out;
}
@keyframes statRefreshGlow {
    0% { color: #6ee7b7; text-shadow: 0 0 12px rgba(110, 231, 183, 0.5); }
    100% { color: #ecfdf5; text-shadow: none; }
}
.ecosystem-status .stat-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Note: Pillar redesign styles live near end of file. Step styles defined earlier. */

/* ============================================================
   IrisLabs Section - Vault Tech Contrast Fixes (solo color)
   ============================================================ */

/* Título principal luminoso */
#nosotros .landing-section-title {
    color: #f8fafc;
}

/* Párrafo descriptivo y lista legible */
.landing-iris-lead,
.landing-iris-list li {
    color: #cbd5e1;
}

/* Pills estilo cyberpunk */
.landing-iris-tag {
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #c084fc;
}

/* ============================================================
   Plantas & ROI - Vault Tech dark redesign (solo en #plantas)
   ============================================================ */

/* Fondo de sección oscuro (eliminar tema claro) */
#plantas.landing-section--alt {
    background: linear-gradient(180deg, #0f172a 0%, #02040a 100%);
}

/* 1. Contraste textos principales */
#plantas .landing-section-title {
    color: #f8fafc;
}

#plantas .landing-section-lead {
    color: #cbd5e1;
}

/* 2. Rediseño tarjetas plantas */
#plantas .landing-plant-card {
    background: rgba(15, 23, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transition: all 0.3s ease;
}

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

/* High tier plants feel more "coveted" */
#plantas .landing-plants-grid > div:nth-child(5) { border-color: rgba(251, 191, 36, 0.35); }

/* ROI disclaimer — premium legal text */
.landing-roi-disclaimer {
    font-size: 0.7rem;
    line-height: 1.55;
    color: #94a3b8;
    margin-top: 1.25rem;
    padding: 0.85rem 1.1rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.75rem;
    letter-spacing: 0.01em;
}
.landing-roi-disclaimer strong { color: #cbd5e1; }
#plantas .landing-plants-grid > div:nth-child(6) { border-color: rgba(251, 191, 36, 0.4); }
#plantas .landing-plants-grid > div:nth-child(7) { border-color: rgba(245, 158, 11, 0.45); }
#plantas .landing-plants-grid > div:nth-child(8) { border-color: rgba(245, 158, 11, 0.55); box-shadow: 0 0 0 1px rgba(245,158,11,0.2); }

/* 3. Textos internos de tarjetas */
#plantas .landing-plant-card h4 {
    color: #f8fafc;
}

#plantas .landing-plant-price {
    color: #94a3b8;
}

#plantas .landing-plant-desc {
    color: #cbd5e1;
    border-top-color: rgba(148, 163, 184, 0.18);
    font-weight: 600;
}

#plantas .landing-plant-roi {
    color: #34d399;
}

/* ============================================================
   Fixes Responsivos Solicitados
   ============================================================ */
@media (max-width: 768px) {
    /* 1. HEADER Y PORTADA SUPERPUESTOS & BOTÓN HEADER CENTRADO */
    .landing-nav-inner {
        flex-wrap: wrap;
        justify-content: space-between; /* Mantener logo e icono separados en la 1ra fila */
        gap: 0.85rem;
    }
    
    .landing-hero {
        padding-top: 7rem;
    }
    
    .landing-hero-kicker {
        font-size: 0.65rem;
        padding: 0.35rem 0.8rem;
        margin-top: 1rem;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    
    .landing-nav-inner .landing-btn-play {
        display: none !important;
    }
    
    /* 2. BOTÓN "Comenzar Granja" CENTRADO */
    .landing-hero-actions {
        flex-direction: column; /* Apilar botones verticalmente para centrado perfecto */
        width: 100%;
        text-align: center;
    }

    .landing-btn-play--hero {
        margin: 0 auto !important; /* Centrado absoluto */
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 280px; /* Evitar que ocupe todo el ancho si es muy largo */
    }
    
    .landing-btn-ghost-hero {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================================
   NEW: Redesigned "¿De qué se trata FarmBrawl?" — Premium Vault Pillars
   ============================================================ */

.landing-section--how {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 35%, #02040a 100%);
    max-width: none;
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
}

.landing-section--how .landing-section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-section--how .landing-section-kicker {
    color: #6ee7b7;
}

.landing-section--how .landing-section-title {
    color: #f8fafc;
    margin-bottom: 0.6rem;
}

.landing-section--how .landing-section-lead {
    color: #94a3b8;
    max-width: 620px;
    margin-bottom: 2rem;
}

/* 2x2 premium grid */
.landing-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    max-width: 1060px;
    margin: 0 auto 2.25rem;
}

@media (max-width: 720px) {
    .landing-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

/* Pillar Card */
.landing-pillar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 34, 0.78);
    border-radius: 18px;
    padding: 1.35rem 1.4rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    transition: transform .25s cubic-bezier(0.34,1.1,0.6,1), 
                box-shadow .25s ease, 
                border-color .2s ease;
    overflow: hidden;
}

.landing-pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.landing-pillar-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #34d399, #059669);
    opacity: 0.9;
}

.landing-pillar--cycle .landing-pillar-accent { background: linear-gradient(90deg, #34d399, #059669); }
.landing-pillar--expand .landing-pillar-accent { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.landing-pillar--raid .landing-pillar-accent { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.landing-pillar--safe .landing-pillar-accent { background: linear-gradient(90deg, #fbbf24, #d97706); }

.landing-pillar-head {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    margin-bottom: 0.9rem;
}

.landing-pillar-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.landing-pillar-icon--cycle {
    background: linear-gradient(145deg, #6ee7b7, #059669);
    color: #fff;
}
.landing-pillar-icon--expand {
    background: linear-gradient(145deg, #7dd3fc, #0284c8);
    color: #fff;
}
.landing-pillar-icon--raid {
    background: linear-gradient(145deg, #c4b5fd, #6d28d9);
    color: #fff;
}
.landing-pillar-icon--safe {
    background: linear-gradient(145deg, #fcd34d, #b45309);
    color: #1f2937;
}

.landing-pillar-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.03rem;
    line-height: 1.2;
    margin: 0;
    color: #f1f5f9;
    font-weight: 700;
}

.landing-pillar-card p {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.landing-pillar-card p strong {
    color: #f8fafc;
    font-weight: 700;
}

.landing-pillar-foot {
    margin-top: auto;
}

.landing-pillar-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    padding: 0.26rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.07);
}

.landing-pillar--cycle .landing-pillar-tag { color: #6ee7b7; border-color: rgba(52,211,153,0.25); }
.landing-pillar--expand .landing-pillar-tag { color: #7dd3fc; border-color: rgba(14,165,233,0.25); }
.landing-pillar--raid .landing-pillar-tag { color: #c4b5fd; border-color: rgba(124,58,237,0.25); }
.landing-pillar--safe .landing-pillar-tag { color: #fcd34d; border-color: rgba(245,158,11,0.3); }

.landing-pillar-foot a {
    color: #fcd34d;
    text-decoration: none;
    font-weight: 700;
}
.landing-pillar-foot a:hover {
    text-decoration: underline;
}

/* Improve the feature image placement inside the section */
#como-funciona .landing-feature-img {
    display: block;
    max-width: 620px;
    width: 100%;
    margin: 0.75rem auto 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Steps kicker */
#como-funciona .landing-steps-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #6ee7b7;
    text-align: center;
    margin: 0.65rem 0 1rem;
    opacity: 0.9;
}

@media (min-width: 860px) {
    #como-funciona .landing-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* AI Monitoring Banner */
.landing-ai-section {
    padding: 1.5rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.landing-ai-banner {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.landing-ai-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(52, 211, 153, 0.25));
    border-radius: 0.75rem;
    font-size: 1.35rem;
    color: #a5b4fc;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.landing-ai-banner-content {
    flex: 1;
}

.landing-ai-banner-kicker {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 0.35rem;
}

.landing-ai-banner-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

@media (max-width: 640px) {
    .landing-ai-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

/* ============================================================
   CÓMO SE JUEGA — Interactive Tutorial Timeline
   ============================================================ */

.howtoplay {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem 5.5rem;
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 40%, #02040a 100%);
    overflow: hidden;
}

/* Ambient glow behind the section */
.howtoplay::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.07) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

.howtoplay-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Header */
.howtoplay-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.howtoplay-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 0.75rem;
}

.howtoplay-kicker i {
    font-size: 0.85rem;
}

.howtoplay-title {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.howtoplay-title span {
    background: linear-gradient(135deg, #34d399, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.howtoplay-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 540px;
    margin: 0 auto;
}

/* ── Timeline container ── */
.howtoplay-timeline {
    position: relative;
    padding-left: 0;
}

/* Vertical line (center on desktop, left on mobile) */
.howtoplay-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 38px;
    width: 3px;
    height: 100%;
    background: rgba(52, 211, 153, 0.12);
    border-radius: 4px;
}

/* Animated progress fill inside the line */
.howtoplay-timeline-fill {
    position: absolute;
    top: 0;
    left: 38px;
    width: 3px;
    height: 0%;
    background: linear-gradient(180deg, #34d399, #06b6d4, #a78bfa);
    border-radius: 4px;
    transition: height 0.1s linear;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
    z-index: 1;
}

/* ── Step card ── */
.howtoplay-step {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;

    /* Scroll animation initial state */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.howtoplay-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.howtoplay-step:nth-child(1) { transition-delay: 0s; }
.howtoplay-step:nth-child(2) { transition-delay: 0.1s; }
.howtoplay-step:nth-child(3) { transition-delay: 0.15s; }
.howtoplay-step:nth-child(4) { transition-delay: 0.2s; }
.howtoplay-step:nth-child(5) { transition-delay: 0.25s; }

.howtoplay-step:last-child {
    margin-bottom: 0;
}

/* Step number badge */
.howtoplay-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #059669, #047857);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35), 0 0 0 3px rgba(52, 211, 153, 0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howtoplay-step:hover .howtoplay-num {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.5), 0 0 0 4px rgba(52, 211, 153, 0.25);
}

/* Glow pulse on the number */
.howtoplay-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
    animation: howtoplay-num-glow 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes howtoplay-num-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Step card body */
.howtoplay-card {
    flex: 1;
    background: rgba(15, 23, 34, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.34, 1.1, 0.6, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.howtoplay-card:hover {
    transform: translateY(-4px) translateX(4px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(52, 211, 153, 0.08);
}

/* Step image */
.howtoplay-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.howtoplay-card:hover .howtoplay-img {
    transform: scale(1.05);
}

/* Step text */
.howtoplay-text {
    flex: 1;
    min-width: 0;
}

.howtoplay-text h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.howtoplay-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 0.65rem;
}

.howtoplay-text p strong {
    color: #6ee7b7;
    font-weight: 700;
}

/* Tag pill under description */
.howtoplay-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.1);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.howtoplay-tag i {
    font-size: 0.65rem;
}

/* Connector arrow between steps (decorative) */
.howtoplay-connector {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
}

.howtoplay-step.is-visible ~ .howtoplay-connector,
.howtoplay-connector.is-visible {
    opacity: 1;
}

.howtoplay-connector i {
    color: rgba(52, 211, 153, 0.3);
    font-size: 0.85rem;
}

/* ── CTA at the bottom ── */
.howtoplay-cta {
    text-align: center;
    margin-top: 3.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.howtoplay-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.howtoplay-cta .landing-btn-play {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

/* ── Responsive ── */
@media (max-width: 680px) {
    .howtoplay {
        padding: 3.5rem 1rem 4rem;
    }

    .howtoplay-timeline::before,
    .howtoplay-timeline-fill {
        left: 26px;
    }

    .howtoplay-step {
        gap: 1rem;
    }

    .howtoplay-num {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .howtoplay-card {
        flex-direction: column;
        padding: 1.15rem 1.25rem;
        gap: 0.85rem;
    }

    .howtoplay-img {
        width: 100%;
        height: 140px;
        border-radius: 12px;
    }

    .howtoplay-text h3 {
        font-size: 1.05rem;
    }

    .howtoplay-text p {
        font-size: 0.85rem;
    }

    .howtoplay-header {
        margin-bottom: 2.5rem;
    }

    .howtoplay-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 400px) {
    .howtoplay-num {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .howtoplay-timeline::before,
    .howtoplay-timeline-fill {
        left: 22px;
    }

    .howtoplay-step {
        gap: 0.75rem;
    }
}

