/* VARIABLES DE COLOR */
:root {
    --bg: #0b0f0e;
    --panel: #141a18;
    --text: #e8e8e8;
    --muted: #9aa19f;
    --neon: #40ff8c;
    --app-nav-h: 72px;
}

/* ESTILOS BASE */
body {
    background: var(--bg);
    color: var(--text);
    /* La imagen de fondo ahora se aplica a toda la página */
    background-image: url('/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--bg);
}

a {
    color: var(--neon);
}

a:hover {
    color: #fff;
    text-decoration: none;
}

/* BARRA DE NAVEGACIÓN */
.backdrop-blur {
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    background-color: rgba(11, 15, 14, 0.65);
    border-bottom: 1px solid rgba(64, 255, 140, 0.1);
}

/* Estilos de nav-link en la navbar */
.navbar-nav .nav-link {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon) !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(64,255,140,0.6);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 12px rgba(255,255,255,0.8);
}

/* Link activo en navbar (página actual) */
.navbar-nav .nav-link.active {
    color: #00f3ff !important;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.9);
}

.navbar-nav .nav-link.active:hover {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(0, 243, 255, 1);
}

/* BOTONES NEÓN */
.btn-neon {
    background: var(--neon);
    color: var(--bg);
    font-weight: bold;
    border: 0;
    transition: all .2s ease;
}

.btn-neon:hover {
    background: #fff;
    color: var(--bg);
    transform: scale(1.05);
}

.btn-outline-neon {
    border: 1px solid var(--neon);
    color: var(--neon);
    transition: background .2s ease;
}

.btn-outline-neon:hover {
    background: rgba(64, 255, 140, .08);
}

/* ===== SECCIÓN HERO ===== */
.hero-matrix {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5vh;
    z-index: 0;
}

/* Hero heading: logo + title centered and revealed together */
.hero-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hero-logo {
    height: 220px; /* más grande */
    width: auto;
    margin-top: 1rem;
    filter: drop-shadow(0 0 15px rgba(64,255,140,.25));
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    animation: reveal 0.25s ease 3.6s forwards;
}

.slogan {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon);
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid var(--neon); /* El cursor */
    /* La animación de escritura dura 3.5s, luego el cursor parpadea 2 veces y finalmente desaparece */
    animation: typing 3.5s steps(50, end) forwards,
               blink-caret .75s step-end 3.5s 2,
               hide-cursor 0.01s linear 5s forwards; /* 3.5s + (0.75s * 2) */
    font-size: 1.8rem;
    margin: 1rem auto;
    width: max-content;
    text-transform: uppercase;
}

.main-title {
    font-size: 6rem;
    font-weight: 800;
    color: var(--neon);
    text-shadow: 0 0 5px var(--neon), 0 0 15px var(--neon), 0 0 30px #fff;
    text-align: center;
    display: block;
    /* start hidden; reveal after slogan typing finishes (delay matches .slogan animation) */
    opacity: 0;
    transform: translateY(-10px);
    animation: reveal 0.25s ease 3.6s forwards,
               pulse-glow 2s ease-in-out 4s infinite;
}

/* Estilo para el título EDKN animado */
.main-title-animated {
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    white-space: nowrap;
    /* hidden until reveal */
    opacity: 0;
    /* simple fade-in after the slogan finishes (delay matches .slogan) */
    animation: typing-slow 0.4s ease 3.6s forwards;
    /* also match parent reveal so text becomes fully visible in sync */
    animation-delay: 3.6s;
}

/* ===== SECCIÓN DE PLANES ===== */
.plans-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem 1rem 4rem 1rem;
    background: transparent;
    text-align: center;
    box-sizing: border-box;
}

/* Título de sección con efecto neón sin relleno */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem; /* Más grande */
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--neon);
    text-shadow: 0 0 10px rgba(64, 255, 140, 0.5);
    text-transform: uppercase; /* Mayúsculas */
    margin-bottom: 1rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

/* ===== TARJETAS DE PLANES (ESTILO LETRERO NEÓN) ===== */
.plan-board {
    --plan-accent: var(--neon);
    --plan-accent-soft: rgba(64, 255, 140, 0.45);
    --plan-text: #d9f6e6;
    position: relative;
    min-height: 340px;
    perspective: 1300px;
    border-radius: 16px;
}

.plan-board__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 340px;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}

.plan-board:hover .plan-board__inner,
.plan-board:focus-within .plan-board__inner {
    transform: rotateY(180deg);
}

.plan-board.is-flipped .plan-board__inner {
    transform: rotateY(180deg);
}

.plan-board__face {
    position: absolute;
    inset: 0;
    padding: 0.95rem 1.12rem 1rem;
    border-radius: 16px;
    border: 2px solid var(--plan-accent);
    background:
        linear-gradient(132deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.01) 22%, rgba(0, 0, 0, 0) 45%),
        linear-gradient(180deg, rgba(10, 16, 15, 0.94) 0%, rgba(7, 10, 9, 0.95) 100%);
    box-shadow:
        0 0 18px var(--plan-accent-soft),
        inset 0 0 22px rgba(0, 0, 0, 0.46),
        inset 0 2px 0 rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    pointer-events: none;
}

.plan-board__face--front {
    pointer-events: auto;
}

.plan-board:hover .plan-board__face--front,
.plan-board:focus-within .plan-board__face--front,
.plan-board.is-flipped .plan-board__face--front {
    pointer-events: none;
}

.plan-board:hover .plan-board__face--back,
.plan-board:focus-within .plan-board__face--back,
.plan-board.is-flipped .plan-board__face--back {
    pointer-events: auto;
}

.plan-board__face::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid color-mix(in srgb, var(--plan-accent) 65%, transparent);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0.8;
}

.plan-board__face::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,0) 35%),
        linear-gradient(320deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 25%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .26;
}

.plan-board__face--back {
    transform: rotateY(180deg);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plan-board__header {
    margin-bottom: 0.85rem;
    padding: 0.7rem 0.8rem;
    border: 2px solid var(--plan-accent);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 24%, rgba(0,0,0,0) 45%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.62) 100%);
    text-align: center;
    box-shadow: 0 0 12px var(--plan-accent-soft), inset 0 1px 0 rgba(255,255,255,0.15);
}

.plan-board__header h3 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    color: var(--plan-accent);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 0 0 8px var(--plan-accent-soft);
}

.plan-board__list {
    list-style: none;
    margin: 0;
    padding: 0.15rem 0.2rem 0;
    z-index: 1;
}

.plan-board__list li {
    position: relative;
    color: var(--plan-text);
    font-size: 1.22rem;
    line-height: 1.35;
    text-align: left;
    padding: 0.62rem 0 0.62rem 1.15rem;
    border-bottom: 1px solid color-mix(in srgb, var(--plan-accent) 20%, rgba(255,255,255,.08));
}

.plan-board__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.58rem;
    color: var(--plan-accent);
    text-shadow: 0 0 8px var(--plan-accent-soft);
}

.plan-board__list li:last-child {
    border-bottom: 0;
}

.plan-board__cta {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 0.85rem;
    z-index: 1;
}

.plan-board__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 0.55rem 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--plan-accent);
    background:
        linear-gradient(150deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 30%),
        rgba(0, 0, 0, 0.5);
    color: var(--plan-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 10px var(--plan-accent-soft);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

.plan-board__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 16px var(--plan-accent-soft);
    text-decoration: none;
}

.plan-board__sub {
    color: color-mix(in srgb, var(--plan-text) 84%, #fff 16%);
    font-size: 1.02rem;
    margin: 0.1rem 0 0.7rem;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.plan-board__price {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--plan-accent);
    line-height: 1.1;
    margin: 0.25rem 0 0.95rem;
    text-shadow: 0 0 10px var(--plan-accent-soft), 0 0 24px color-mix(in srgb, var(--plan-accent) 60%, #fff 40%);
}

.plan-board__price--pulse {
    animation: pulse-glow 2.3s ease-in-out infinite;
}

.plan-board--alfa {
    --plan-accent: #47ff7b;
    --plan-accent-soft: rgba(71, 255, 123, 0.55);
    --plan-text: #d6f4de;
}

.plan-board--bravo {
    --plan-accent: #ffd148;
    --plan-accent-soft: rgba(255, 209, 72, 0.52);
    --plan-text: #f6ebc4;
}

.plan-board--charlie {
    --plan-accent: #5af7ef;
    --plan-accent-soft: rgba(90, 247, 239, 0.52);
    --plan-text: #c9f2ef;
}

/* ===== ANIMACIONES ===== */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes typing-slow {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Plans should appear after hero reveal */
.plans-section {
    opacity: 0;
    transform: translateY(8px);
    animation: reveal 0.35s ease 4.1s forwards;
}

/* Features Carousel Section */
.features-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(180deg, rgba(11,15,14,0.8) 0%, rgba(11,15,14,0.4) 100%);
    padding: 1rem 0;
    margin-top: -2.8rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    animation: reveal 0.4s ease 3.8s forwards;
}

/* Marquee base */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.75rem 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon);
    text-shadow: 0 0 8px rgba(64,255,140,0.6), 0 0 16px rgba(64,255,140,0.3);
}

.marquee__content {
    display: inline-flex;
    gap: 2rem;
    animation: marquee-rtl 45s linear infinite;
}

.marquee--rtl .marquee__content {
    animation: marquee-rtl 45s linear infinite;
}

.marquee--ltr .marquee__content {
    animation: marquee-ltr 45s linear infinite;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 0 2rem;
    white-space: nowrap;
}

.marquee__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(64,255,140,0.5));
}

/* SVG icons for marquee */
.marquee__svg {
    width: 22px;
    height: 22px;
    stroke: var(--neon);
    fill: none;
    filter: drop-shadow(0 0 6px rgba(64,255,140,0.6));
}

/* Marquee Animations */
@keyframes marquee-rtl {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100vw); }
}

@keyframes marquee-ltr {
    from { transform: translateX(-100vw); }
    to { transform: translateX(100vw); }
}

/* Prices styled like the main title but smaller */
.price {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon);
    font-weight: 800;
    font-size: 2.2rem; /* más pequeño que el título */
    text-shadow: 0 0 4px rgba(64,255,140,0.7), 0 0 10px rgba(64,255,140,0.45);
    margin: .5rem 0;
}

/* Precio destacado (S/ 50) con resplandor y animación */
.price--glow {
    font-size: 3rem;
    text-shadow: 0 0 8px var(--neon), 0 0 20px var(--neon), 0 0 40px #fff;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon); }
}

@keyframes hide-cursor {
    to { border-color: transparent; }
}

/* Animación de pulso/resplandor para el título */
@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 5px var(--neon), 0 0 15px var(--neon), 0 0 30px #fff; }
    50% { text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon), 0 0 50px #fff; }
}

/* ===== HEADER UNIFICADO PARA HERRAMIENTAS ===== */
.tool-screen {
    padding-top: calc(var(--app-nav-h) + 1rem);
    min-height: 88vh;
    padding-bottom: 2rem;
    background-image:
        linear-gradient(180deg, rgba(3, 10, 8, .55) 0%, rgba(4, 12, 10, .72) 100%),
        url('/img/tools/warlibrary-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    color: #d8ffe8;
}

.tool-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 1rem 0;
    padding: .2rem 220px .2rem .15rem;
}

.tool-head__title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #53efff;
    text-shadow: 0 0 10px rgba(83, 239, 255, .65), 0 0 22px rgba(83, 239, 255, .35);
    line-height: 1;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.tool-head__desc {
    margin: .35rem 0 0;
    color: #a5e5ed;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.tool-head__back {
    position: absolute;
    top: .15rem;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .55rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(83, 239, 255, .55);
    background: rgba(5, 18, 12, .75);
    color: #9defff;
    font-family: 'Orbitron', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(83, 239, 255, .5);
    text-decoration: none;
}

.tool-head__back:hover {
    color: #fff;
    border-color: rgba(83, 239, 255, .9);
    box-shadow: 0 0 12px rgba(83, 239, 255, .35);
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .plan-board,
    .plan-board__inner {
        min-height: 320px;
    }

    .plan-board__header h3 {
        font-size: 1.75rem;
    }

    .plan-board__list li {
        font-size: 1.1rem;
    }

    .tool-screen {
        padding-top: calc(var(--app-nav-h) + 1.1rem);
        border-radius: 8px;
    }

    .tool-head__title {
        font-size: 2.2rem;
    }

    .tool-head__desc {
        font-size: 1rem;
    }

    .tool-head {
        padding-right: .15rem;
    }

    .tool-head__back {
        position: static;
        margin-top: .6rem;
    }
}

@media (hover: none) {
    .plan-board:hover .plan-board__inner,
    .plan-board:focus-within .plan-board__inner {
        transform: none;
    }
}

/* ================================================================
   LANDING PAGE (HOME – vista pública)
   ================================================================ */

.landing-page {
    padding-top: var(--app-nav-h);
}

/* ── HERO ── */
.landing-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('/img/hero-preview.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 75vh;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(6,10,8,.97) 0%,
        rgba(8,13,11,.93) 40%,
        rgba(8,13,11,.70) 65%,
        rgba(8,13,11,.30) 100%
    );
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 4rem 0 4.5rem;
    width: 100%;
    min-height: calc(73vh - var(--app-nav-h));
}

.hero-inner--single {
    justify-content: flex-start;
}

.hero-left { max-width: 660px; }

.hero-title-row {
    margin-bottom: 2.5rem;
}

.hero-brand-inline-icon {
    height: 2.4rem;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-left: .4rem;
    filter: drop-shadow(0 0 12px rgba(64,255,140,.7));
    display: inline-block;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.9rem, 2.8vw, 2.7rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0;
    letter-spacing: -0.3px;
    text-align: justify;
    text-shadow: 0 2px 20px rgba(0,0,0,.9);
}

.hero-green {
    color: var(--neon);
    text-shadow: 0 0 24px rgba(64,255,140,.55), 0 2px 14px rgba(0,0,0,.7);
    display: block;
}

.hero-title-impulso {
    display: block;
    margin-top: .2rem;
}

/* Subtítulo "CON EL IMPULSO DE" */
.hero-subtitle-green {
    color: var(--neon);
    font-size: clamp(.85rem, 1.5vw, 1.35rem);
    font-weight: 700;
    text-shadow: 0 0 18px rgba(64,255,140,.55), 0 2px 14px rgba(0,0,0,.7);
    display: block;
    margin-top: .6rem;
    letter-spacing: .5px;
    text-align: left;
}

/* Fila EDKN + icono al mismo nivel */
.hero-edkn-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .1rem;
}

/* Palabra EDKN gigante */
.hero-edkn-word {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4.5rem, 9.5vw, 8.5rem);
    font-weight: 900;
    color: var(--neon);
    line-height: .88;
    letter-spacing: -3px;
    text-shadow:
        0 0 22px rgba(64,255,140,.95),
        0 0 50px rgba(64,255,140,.6),
        0 0 100px rgba(64,255,140,.28);
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Casco al costado de EDKN, mismo alto que la tipografía */
.hero-helmet-right {
    height: clamp(4.5rem, 9.5vw, 8.5rem);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter:
        drop-shadow(0 0 14px rgba(64,255,140,.6))
        drop-shadow(0 0 32px rgba(64,255,140,.22));
}

.hero-brand-inline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}

.hero-brand-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(64,255,140,.6));
    vertical-align: middle;
}

.hero-desc-structured {
    margin-bottom: 2.5rem;
}

.hero-desc-intro {
    font-size: 1.08rem;
    color: #c8d8d2;
    margin-bottom: 1rem;
    text-shadow: 0 1px 8px rgba(0,0,0,.7);
    font-weight: 500;
}

.hero-desc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    max-width: 530px;
}

.hero-desc-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: #9ab5ae;
    font-size: 1.05rem;
    line-height: 1.55;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

.hdl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon);
    flex-shrink: 0;
    margin-top: .46rem;
    box-shadow: 0 0 8px rgba(64,255,140,.6);
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-lp-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1.05rem 2.6rem;
    background: var(--neon);
    color: #0b0f0e;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: .5px;
    box-shadow: 0 0 28px rgba(64,255,140,.42);
    transition: all .22s ease;
}

.btn-lp-primary:hover {
    background: #fff;
    color: #0b0f0e;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 0 44px rgba(64,255,140,.7);
}

.btn-lp-outline {
    display: inline-flex;
    align-items: center;
    padding: 1.05rem 2.1rem;
    border: 2px solid rgba(64,255,140,.6);
    color: #e0e8e4;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: .5px;
    transition: all .22s ease;
}

.btn-lp-outline:hover {
    border-color: var(--neon);
    color: var(--neon);
    text-decoration: none;
    background: rgba(64,255,140,.08);
    box-shadow: 0 0 22px rgba(64,255,140,.22);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #9ab5ae;
    font-size: .87rem;
}

.dot-sep { color: #3a5048; }

.edkn-panel {
    background: rgba(10,17,15,.9);
    border: 1px solid rgba(64,255,140,.28);
    border-radius: 14px;
    width: 100%;
    max-width: 380px;
    box-shadow:
        0 0 50px rgba(64,255,140,.08),
        inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
}

.edkn-panel-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .7rem 1rem;
    border-bottom: 1px solid rgba(64,255,140,.12);
}

.win-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.win-dot--r { background: #ff5f57; }
.win-dot--y { background: #febc2e; }
.win-dot--g { background: #28c840; }

.panel-name {
    font-family: 'Orbitron', sans-serif;
    font-size: .75rem;
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-left: .5rem;
    text-shadow: 0 0 8px rgba(64,255,140,.45);
}

.edkn-panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panel-menu {
    padding: 1rem .9rem;
    border-right: 1px solid rgba(64,255,140,.08);
}

.pm-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .48rem .55rem;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: .65rem;
    color: #516860;
    letter-spacing: .5px;
    margin-bottom: .15rem;
    transition: all .2s ease;
}

.pm-item--active {
    background: rgba(64,255,140,.09);
    color: var(--neon);
    text-shadow: 0 0 6px rgba(64,255,140,.35);
}

.pm-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    stroke: currentColor;
}

.panel-radar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.radar-svg { width: 140px; height: 140px; }

.radar-sweep {
    transform-origin: 100px 100px;
    animation: radar-rotate 4s linear infinite;
}

@keyframes radar-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Sección genérica de título con líneas ── */
.section-header-line {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.sh-line {
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64,255,140,.35));
}

.sh-line:last-child {
    background: linear-gradient(90deg, rgba(64,255,140,.35), transparent);
}

.sh-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #e0e8e4;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
    margin: 0;
}

/* ── Features section ── */
.features-section {
    padding: 4rem 0;
    background: rgba(9,13,12,.88);
    border-top: 1px solid rgba(64,255,140,.07);
    border-bottom: 1px solid rgba(64,255,140,.07);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fc-card {
    background: rgba(14,20,18,.85);
    border: 1px solid rgba(64,255,140,.18);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s ease;
}

.fc-card:hover {
    border-color: rgba(64,255,140,.45);
    box-shadow: 0 0 22px rgba(64,255,140,.07);
    transform: translateY(-5px);
}

.fc-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(64,255,140,.28);
    border-radius: 14px;
    background: rgba(64,255,140,.04);
    color: var(--neon);
}

.fc-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--neon);
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(64,255,140,.35));
}

.fc-name {
    font-family: 'Orbitron', sans-serif;
    font-size: .8rem;
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: .7rem;
    text-shadow: 0 0 8px rgba(64,255,140,.28);
}

.fc-desc {
    font-size: .9rem;
    color: #7a9990;
    line-height: 1.65;
    margin: 0;
}

/* ── Demo section ── */
.demo-section {
    padding: 4rem 0;
    background: rgba(11,16,14,.92);
}

.demo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: rgba(13,19,17,.85);
    border: 1px solid rgba(64,255,140,.18);
    border-radius: 16px;
    padding: 3rem;
}

.demo-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: .68rem;
    color: var(--neon);
    letter-spacing: 2.5px;
    margin-bottom: .9rem;
    text-shadow: 0 0 8px rgba(64,255,140,.4);
}

.demo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.demo-desc {
    color: #7a9990;
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}

.demo-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    color: #c0d4ce;
    letter-spacing: .5px;
    margin-bottom: .7rem;
}

.demo-textarea {
    width: 100%;
    background: rgba(8,13,11,.85);
    border: 1px solid rgba(64,255,140,.22);
    border-radius: 9px;
    color: #e0e8e4;
    padding: .9rem 1rem;
    font-size: .95rem;
    min-height: 100px;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: border-color .2s ease;
}

.demo-textarea:focus {
    border-color: rgba(64,255,140,.55);
    box-shadow: 0 0 12px rgba(64,255,140,.08);
}

.demo-textarea::placeholder { color: #3a5048; }

.demo-textarea-footer {
    text-align: right;
    font-size: .76rem;
    color: #3a5048;
    margin: .25rem 0 .8rem;
}

.btn-demo-generate {
    width: 100%;
    padding: .9rem;
    background: var(--neon);
    color: #0b0f0e;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    border-radius: 9px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 0 22px rgba(64,255,140,.22);
}

.btn-demo-generate:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(64,255,140,.4);
}

.btn-demo-generate:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.demo-loading {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    color: var(--neon);
    font-family: 'Orbitron', sans-serif;
    font-size: .8rem;
}

.demo-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(64,255,140,.2);
    border-top-color: var(--neon);
    border-radius: 50%;
    animation: lp-spin .75s linear infinite;
}

@keyframes lp-spin { to { transform: rotate(360deg); } }

/* Vista previa del documento demo */
.demo-preview-container {
    margin-top: 2rem;
    border: 1px solid rgba(64,255,140,.2);
    border-radius: 13px;
    overflow: hidden;
}

.demo-preview-header {
    display: flex;
    align-items: center;
    padding: .75rem 1.5rem;
    background: rgba(64,255,140,.04);
    border-bottom: 1px solid rgba(64,255,140,.12);
    font-size: .84rem;
    color: #7a9990;
}

.btn-demo-download {
    background: var(--neon);
    color: #0b0f0e;
    padding: .38rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    transition: all .2s ease;
}

.btn-demo-download:hover {
    background: #fff;
    color: #0b0f0e;
    text-decoration: none;
}

.demo-preview-doc {
    background: #ffffff;
    color: #1a1a1a;
    padding: 2.5rem 3rem;
    font-family: 'Times New Roman', serif;
    font-size: .9rem;
    line-height: 1.8;
    min-height: 320px;
    max-height: 520px;
    overflow-y: auto;
}

.demo-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: rgba(9,13,12,.85);
    border-top: 1px solid rgba(64,255,140,.08);
    font-size: .8rem;
    color: #516860;
}

.demo-footer-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.btn-demo-clear {
    background: transparent;
    border: 1.5px solid rgba(64,255,140,.4);
    color: #40ff8c;
    padding: .38rem .9rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: .78rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all .2s ease;
}

.btn-demo-clear:hover {
    background: rgba(64,255,140,.1);
}

.demo-limit-container {
    margin-top: 2rem;
    border: 1px solid rgba(64,255,140,.25);
    border-radius: 13px;
    background: rgba(9,13,12,.9);
    padding: 2.5rem 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
}

.demo-limit-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.demo-limit-title {
    color: #40ff8c;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.demo-limit-desc {
    color: #7a9990;
    font-size: .88rem;
    max-width: 480px;
    margin: 0;
    line-height: 1.6;
}

.demo-limit-btn {
    margin-top: .5rem;
    padding: .55rem 1.4rem;
    font-size: .85rem;
}

.btn-preview-register {
    background: var(--neon);
    color: #0b0f0e;
    padding: .38rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: .78rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    transition: all .2s ease;
}

.btn-preview-register:hover {
    background: #fff;
    color: #0b0f0e;
    text-decoration: none;
}

/* ── Trust section ── */
.trust-section {
    padding: 3rem 0;
    background: rgba(9,13,12,.95);
    border-top: 1px solid rgba(64,255,140,.07);
}

.trust-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.trust-title {
    font-family: 'Orbitron', sans-serif;
    font-size: .78rem;
    color: #7a9990;
    letter-spacing: 2px;
    white-space: nowrap;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.trust-icon { font-size: 1.9rem; }

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong { color: #e0e8e4; font-size: .9rem; }
.trust-text span   { color: #516860; font-size: .78rem; }

/* ── Tools section ── */
.tools-section {
    padding: 4rem 0 5rem;
    background: rgba(10,14,13,.97);
    border-top: 1px solid rgba(64,255,140,.07);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.tool-card {
    background: rgba(13,19,17,.75);
    border: 1px solid rgba(64,255,140,.13);
    border-radius: 11px;
    padding: 1.5rem;
    transition: all .3s ease;
}

.tool-card:hover {
    border-color: rgba(64,255,140,.38);
    box-shadow: 0 0 18px rgba(64,255,140,.05);
    transform: translateY(-3px);
}

.tool-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
}

.tool-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--neon);
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px rgba(64,255,140,.3));
}

.tool-card-name {
    font-family: 'Orbitron', sans-serif;
    font-size: .75rem;
    color: var(--neon);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: .5rem;
    text-shadow: 0 0 6px rgba(64,255,140,.25);
}

.tool-card-desc {
    font-size: .84rem;
    color: #516860;
    line-height: 1.55;
    margin: 0;
}

/* ── Responsive landing ── */
@media (max-width: 992px) {
    .landing-hero {
        background-position: 70% center;
        min-height: 85vh;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 3.5rem 0 3rem;
        min-height: auto;
    }

    .hero-left { max-width: 100%; }

    .hero-title { font-size: clamp(1.5rem, 4vw, 2.1rem); text-align: center; }

    .hero-subtitle-green { font-size: clamp(.8rem, 2.5vw, 1.1rem); }

    .hero-edkn-word {
        font-size: clamp(3rem, 10vw, 5.5rem);
        letter-spacing: -1px;
    }

    .hero-helmet-right { height: clamp(3rem, 10vw, 5.5rem); width: auto; }

    .hero-brand-inline-icon { height: 1.8rem; }

    .hero-desc-list { align-items: center; }

    .hero-cta    { justify-content: center; }
    .hero-badges { justify-content: center; }

    .feature-cards { grid-template-columns: repeat(2, 1fr); }

    .demo-inner { grid-template-columns: 1fr; }

    .trust-items { gap: 1.5rem; }

    .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .landing-hero { min-height: 80vh; }

    .hero-title { font-size: 1.5rem; }

    .hero-edkn-word {
        font-size: clamp(2.6rem, 14vw, 4rem);
        letter-spacing: -1px;
    }

    .hero-helmet-right { height: clamp(2.6rem, 14vw, 4rem); width: auto; }

    .hero-brand-inline-icon { height: 1.55rem; }

    .feature-cards,
    .tools-grid { grid-template-columns: 1fr; }

    .demo-inner { padding: 2rem; }

    .demo-title { font-size: 1.3rem; }
}
