/* ════════════════════════════════════════════════════════════
   Awen Mini Market — Landing Page v2
   Theme: Dark Hero · Frosted Nav · Blue Glow System
   ════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
    /* Brand */
    --blue:           #034694;
    --blue-mid:       #0554b8;
    --blue-dark:      #02326b;
    --blue-deeper:    #011d40;
    /* Glow */
    --glow-sm:        0 0 18px rgba(3, 70, 148, 0.28);
    --glow-md:        0 0 40px rgba(3, 70, 148, 0.35);
    --glow-lg:        0 0 80px rgba(3, 70, 148, 0.45);
    --glow-btn:       0 4px 20px rgba(3, 70, 148, 0.5), 0 0 0 0 rgba(3,70,148,0);
    /* Light surfaces */
    --white:          #ffffff;
    --surface:        #ffffff;
    --surface-2:      #f7fafd;
    --surface-3:      #eef4fc;
    /* Text */
    --text:           #0f172a;
    --text-2:         #475569;
    --text-3:         #94a3b8;
    /* Hero dark */
    --hero-bg:        #060d1c;
    --hero-bg-2:      #09132a;
    --hero-border:    rgba(255,255,255,0.07);
    --hero-text:      rgba(255,255,255,0.92);
    --hero-text-2:    rgba(255,255,255,0.60);
    /* Borders */
    --border:         rgba(3, 70, 148, 0.12);
    --border-light:   rgba(15, 23, 42, 0.08);
    /* Motion */
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast:         0.18s;
    --t-base:         0.28s;
    --t-slow:         0.45s;
    /* Radius */
    --r-sm:           8px;
    --r-md:           14px;
    --r-lg:           20px;
    --r-xl:           28px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes orb-pulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.55; }
    33%       { transform: scale(1.12) translate(2%, -3%); opacity: 0.70; }
    66%       { transform: scale(0.92) translate(-2%, 2%); opacity: 0.50; }
}
@keyframes device-bob {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50%       { transform: translateY(-10px) rotate(-6deg); }
}
@keyframes scanner-bob {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50%       { transform: translateY(8px) rotate(12deg); }
}
@keyframes mockup-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes chip-slide {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
@keyframes wheel-scroll {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        padding var(--t-base) var(--ease),
        background var(--t-slow) var(--ease),
        border-color var(--t-slow) var(--ease),
        box-shadow var(--t-slow) var(--ease);
}

/* Frosted glass on scroll */
#site-header.sticky {
    padding: 0.65rem 5%;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(3, 70, 148, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    transition: opacity var(--t-fast);
}
.logo:hover { opacity: 0.82; }

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform var(--t-base) var(--ease);
    /* Keep blue trefoil visible on dark bg */
    filter: none;
}
.logo:hover .logo-img { transform: rotate(10deg) scale(1.08); }

/* On dark hero, invert to white */
#site-header:not(.sticky) .logo-img {
    filter: brightness(0) invert(1);
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.logo-brand {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    transition: color var(--t-base);
    line-height: 1.1;
}
.logo-sub {
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--blue);
    transition: color var(--t-base);
    line-height: 1;
}

/* White text on dark hero */
#site-header:not(.sticky) .logo-brand { color: rgba(255,255,255,0.95); }
#site-header:not(.sticky) .logo-sub   { color: rgba(255,255,255,0.50); }

/* ── Nav ───────────────────────────────────────────────────── */
nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }

nav a {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-2);
    text-decoration: none;
    padding: 6px 13px;
    border-radius: 8px;
    background: transparent;
    transition:
        color var(--t-base),
        background var(--t-base);
}
nav a:hover {
    color: var(--blue);
    background: rgba(3,70,148,0.07);
}

/* White nav on dark hero */
#site-header:not(.sticky) nav a { color: rgba(255,255,255,0.68); }
#site-header:not(.sticky) nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.10);
}

/* ── Hamburger ─────────────────────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: background var(--t-base), transform 0.3s, opacity 0.3s;
}
#site-header:not(.sticky) .menu-toggle span { background: rgba(255,255,255,0.85); }

/* ════════════════════════════════════════════════════════════
   HERO — DARK PREMIUM
   ════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg-2) 55%, #071224 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
}

/* Ambient glow orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(3,70,148,0.45) 0%, transparent 70%);
    top: -150px; left: -100px;
    animation: orb-pulse 9s ease-in-out infinite;
}
.hero-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(5,84,184,0.35) 0%, transparent 70%);
    bottom: 0; right: -80px;
    animation: orb-pulse 12s ease-in-out infinite reverse;
}
.hero-orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(3,70,148,0.20) 0%, transparent 70%);
    top: 50%; left: 40%;
    transform: translate(-50%,-50%);
    animation: orb-pulse 7s ease-in-out infinite 2s;
}

/* ── Hero Inner Layout ─────────────────────────────────────── */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ── Hero Text ─────────────────────────────────────────────── */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: fade-up 0.7s var(--ease) both;
}

/* ── Product identity row ──────────────────────────────────── */
.hero-product {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-product__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.10),
        0 4px 16px rgba(0,0,0,0.40),
        0 0 28px rgba(3,70,148,0.35);
}

.hero-product__name {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    letter-spacing: -0.01em;
}

/* ────────────────────────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
    width: fit-content;
    backdrop-filter: blur(4px);
}
.hero-badge__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: dot-pulse 2.5s ease-in-out infinite;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.07;
    color: var(--hero-text);
    margin-bottom: 22px;
}

.hero-highlight {
    background: linear-gradient(135deg, #4a8fd8 0%, #6eb8ff 45%, #034694 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--hero-text-2);
    line-height: 1.72;
    max-width: 480px;
    margin-bottom: 36px;
}

/* ── Hero CTAs ─────────────────────────────────────────────── */
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: var(--blue);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--r-sm);
    border: 1.5px solid rgba(255,255,255,0.10);
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    box-shadow: var(--glow-btn), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-hero:hover {
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(3, 70, 148, 0.65), 0 0 60px rgba(3, 70, 148, 0.25);
    color: #fff;
}
.btn-hero:active { transform: translateY(0); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: var(--r-sm);
    transition: all var(--t-base) var(--ease);
    background: rgba(255,255,255,0.04);
}
.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.40);
    background: rgba(255,255,255,0.08);
}

/* ── Hero Stats ────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}
.hero-stat span {
    font-size: 0.75rem;
    color: var(--hero-text-2);
    font-weight: 400;
    letter-spacing: 0.02em;
}
.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: 1px;
}

/* ── Hero Visual ───────────────────────────────────────────── */
.hero-visual {
    position: relative;
    animation: fade-up 0.7s var(--ease) 0.15s both;
}

/* Browser mockup */
.hero-mockup {
    position: relative;
    z-index: 3;
    border-radius: var(--r-lg);
    background: #0f1929;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        0 0 0 1px rgba(3,70,148,0.20),
        0 20px 60px rgba(0,0,0,0.55),
        0 0 80px rgba(3,70,148,0.15);
    overflow: hidden;
    animation: mockup-float 5s ease-in-out infinite;
}

.hero-mockup__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }
.mockup-url {
    margin-left: 8px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    font-family: monospace;
    letter-spacing: 0.02em;
}

.hero-mockup__img {
    width: 100%;
    display: block;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    opacity: 0.95;
}

/* Floating POS terminal */
.hero-device {
    position: absolute;
    bottom: -30px;
    right: -50px;
    width: 150px;
    filter: drop-shadow(0 16px 40px rgba(3,70,148,0.40));
    animation: device-bob 4s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
}

/* Floating scanner */
.hero-scanner {
    position: absolute;
    top: -30px;
    right: -35px;
    width: 90px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.40));
    animation: scanner-bob 3.5s ease-in-out infinite 0.8s;
    z-index: 4;
    pointer-events: none;
    opacity: 0.90;
}

/* Floating chip */
.hero-chip {
    position: absolute;
    bottom: 40px;
    left: -32px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.30);
    animation: chip-slide 0.8s var(--ease) 0.6s both;
}
.hero-chip strong {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.82rem;
}

/* ── Scroll indicator ──────────────────────────────────────── */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 5;
    opacity: 0.45;
    transition: opacity var(--t-base);
}
.hero-scroll:hover { opacity: 0.8; }

.hero-scroll__wheel {
    display: block;
    width: 22px; height: 34px;
    border: 1.5px solid rgba(255,255,255,0.40);
    border-radius: 11px;
    position: relative;
}
.hero-scroll__wheel::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 6px;
    background: rgba(255,255,255,0.60);
    border-radius: 3px;
    animation: wheel-scroll 1.6s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════
   FEATURES STRIP — INFINITE CAROUSEL (truly seamless)
   ════════════════════════════════════════════════════════════ */
@keyframes ticker {
    /* JS duplica el track → -50% = exactamente el ancho original */
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.features-strip {
    background: var(--surface);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    /* Hard clip — los items aparecen del otro lado sin fade */
    overflow: hidden;
    position: relative;
}

.features-strip__track {
    display: flex;
    align-items: center;
    gap: 14px;
    /* max-content es CRÍTICO para que translateX(-50%) = ancho original */
    width: max-content;
    animation: ticker 36s linear infinite;
    will-change: transform;
    /* Pequeño pad para que el primer/último ítem no quede cortado */
    padding: 4px 7px;
}

/* Pausa sólo cuando el mouse está sobre la tira completa */
.features-strip:hover .features-strip__track {
    animation-play-state: paused;
}

/* ── Pill ───────────────────────────────────────────────────── */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    white-space: nowrap;
    cursor: default;
    flex-shrink: 0;
    transition: all var(--t-base) var(--ease);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature-pill:hover {
    border-color: rgba(3,70,148,0.30);
    background: var(--surface-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(3,70,148,0.14);
}

.fp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(3, 70, 148, 0.09);
    color: var(--blue);
    flex-shrink: 0;
    transition: background var(--t-base);
}
.feature-pill:hover .fp-icon { background: rgba(3, 70, 148, 0.18); }

.fp-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    transition: color var(--t-base);
}
.feature-pill:hover .fp-label { color: var(--blue); }

/* ════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
   ════════════════════════════════════════════════════════════ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    position: relative;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '—';
    margin: 0 8px;
    opacity: 0.4;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.15;
}
.section-title p {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   DEMO VIDEO SECTION
   ════════════════════════════════════════════════════════════ */
@keyframes fi-bob-l {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50%       { transform: translateY(-12px) rotate(-8deg); }
}
@keyframes fi-bob-r {
    0%, 100% { transform: translateY(0) rotate(6deg); }
    50%       { transform: translateY(10px) rotate(6deg); }
}
@keyframes chip-enter {
    from { opacity: 0; transform: translateY(10px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-video-section {
    position: relative;
    padding: 100px 5% 110px;
    background: var(--surface-2);
    overflow: hidden;
}

/* Light ambient orbs — very subtle on white */
.demo-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.demo-orb--1 {
    width: 560px; height: 460px;
    background: radial-gradient(circle, rgba(3,70,148,0.07) 0%, transparent 70%);
    top: -100px; left: -80px;
    animation: orb-pulse 11s ease-in-out infinite;
}
.demo-orb--2 {
    width: 480px; height: 380px;
    background: radial-gradient(circle, rgba(3,70,148,0.06) 0%, transparent 70%);
    bottom: -60px; right: -60px;
    animation: orb-pulse 13s ease-in-out infinite reverse;
}
.demo-orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(3,70,148,0.05) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: orb-pulse 9s ease-in-out infinite 1.5s;
}

/* ── Trefoil watermarks (brand marks sutiles) ─────────────── */
.demo-trefoil {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.demo-trefoil img {
    width: 100%;
    display: block;
    opacity: 0.14;
}
.demo-trefoil--1 {
    width: 320px;
    top: -40px;
    left: -60px;
    transform: rotate(-18deg);
    animation: fi-bob-l 10s ease-in-out infinite;
    filter: blur(1.5px);
}
.demo-trefoil--2 {
    width: 220px;
    bottom: 0;
    right: -30px;
    transform: rotate(22deg);
    animation: fi-bob-r 12s ease-in-out infinite 1s;
    filter: blur(1px);
}
.demo-trefoil--3 {
    width: 130px;
    top: 45%;
    right: 5%;
    transform: rotate(-8deg);
    animation: fi-bob-l 8s ease-in-out infinite 2.5s;
    filter: blur(0.5px);
    opacity: 0.10;
}

/* Title accent */
.demo-title-accent {
    background: linear-gradient(135deg, var(--blue) 0%, #1a6fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Video wrap + floating chips ──────────────────────────── */
.demo-video-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

/* Floating stat chips */
.demo-chip {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(3, 70, 148, 0.12);
    border-radius: 14px;
    box-shadow:
        0 4px 16px rgba(3,70,148,0.10),
        0 1px 4px rgba(0,0,0,0.06);
    white-space: nowrap;
    animation: chip-enter 0.7s var(--ease) 0.4s both;
}

.demo-chip--tl {
    top: -22px;
    left: -130px;
    animation: device-bob 5s ease-in-out infinite, chip-enter 0.7s var(--ease) 0.3s both;
}
.demo-chip--tr {
    top: 22px;
    right: -130px;
    animation: scanner-bob 4.5s ease-in-out infinite 0.8s, chip-enter 0.7s var(--ease) 0.5s both;
}
.demo-chip--br {
    bottom: -22px;
    right: -100px;
    animation: device-bob 6s ease-in-out infinite 1.2s, chip-enter 0.7s var(--ease) 0.7s both;
}

.demo-chip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
}
.demo-chip__icon--green {
    background: rgba(74, 222, 128, 0.15);
    color: #16a34a;
}
.demo-chip__icon--blue {
    background: rgba(3, 70, 148, 0.10);
    color: var(--blue);
}

.demo-chip__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: dot-pulse 2s ease-in-out infinite;
}

.demo-chip__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}
.demo-chip__text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.demo-chip__text span {
    font-size: 0.70rem;
    color: var(--text-2);
    font-weight: 400;
}

/* ── Video Container ───────────────────────────────────────── */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #000;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 0 0 1px var(--border),
        0 8px 24px rgba(0,0,0,0.10),
        0 32px 80px -16px rgba(3,70,148,0.18);
    transition: box-shadow var(--t-slow) var(--ease);
}
.video-container:hover {
    box-shadow:
        0 0 0 1px rgba(3,70,148,0.25),
        0 8px 24px rgba(0,0,0,0.12),
        0 32px 80px -16px rgba(3,70,148,0.32);
}
.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ════════════════════════════════════════════════════════════
   SYSTEM FEATURES — BENTO GRID
   ════════════════════════════════════════════════════════════ */
.system-features {
    position: relative;
    padding: 100px 5% 80px;
    background: var(--surface-2);
    overflow: hidden;
}

/* Background orbs for the section */
.sf-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.sf-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(3,70,148,0.09) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: orb-pulse 12s ease-in-out infinite;
}
.sf-orb--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(3,70,148,0.07) 0%, transparent 70%);
    bottom: 0; left: -80px;
    animation: orb-pulse 9s ease-in-out infinite reverse;
}

/* Title accent gradient */
.sf-title-accent {
    background: linear-gradient(135deg, var(--blue) 0%, #1a6fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Bento grid ────────────────────────────────────────────── */
.sf-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Dashboard hero card spans 2 columns */
.sf-card--hero { grid-column: span 2; }

/* ── Base card ─────────────────────────────────────────────── */
.sf-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    overflow: hidden;
    transition:
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sf-card:hover {
    transform: translateY(-5px);
    border-color: rgba(3,70,148,0.28);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.05),
        0 16px 48px -8px rgba(3,70,148,0.22),
        0 0 60px -20px rgba(3,70,148,0.15);
}

/* ── Dark hero card ────────────────────────────────────────── */
.sf-card--hero {
    background: linear-gradient(140deg, #060d1c 0%, #0b1830 55%, #071020 100%);
    border-color: rgba(255,255,255,0.08);
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    min-height: 220px;
}
.sf-card--hero:hover {
    border-color: rgba(3,70,148,0.45);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.10),
        0 20px 60px -8px rgba(3,70,148,0.40),
        0 0 80px -20px rgba(3,70,148,0.25);
}

/* Subtle grid pattern overlay on hero card */
.sf-card--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(3,70,148,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3,70,148,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sf-card__body {
    position: relative;
    z-index: 2;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 55%;
}
.sf-card--hero h3 {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.sf-card--hero p {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    line-height: 1.65;
}

.sf-card__img-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
/* Left fade so the screenshot blends into the dark card */
.sf-card__img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0b1830 0%, transparent 35%);
    z-index: 1;
    pointer-events: none;
}
.sf-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    opacity: 0.75;
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.sf-card--hero:hover .sf-card__img {
    opacity: 0.90;
    transform: scale(1.02);
}

/* ── Feature tags inside hero card ────────────────────────── */
.sf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.sf-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.60);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── Accent card ───────────────────────────────────────────── */
.sf-card--accent {
    background: linear-gradient(145deg, #f4f8ff 0%, #edf3ff 100%);
    border-color: rgba(3,70,148,0.12);
}
.sf-card--accent:hover {
    background: linear-gradient(145deg, #edf3ff 0%, #e2ecff 100%);
}

/* ── Roles card ────────────────────────────────────────────── */
.sf-card--roles {
    background: linear-gradient(145deg, #060d1c 0%, #0b1830 100%);
    border-color: rgba(255,255,255,0.07);
}
.sf-card--roles:hover {
    border-color: rgba(3,70,148,0.45);
}
.sf-card--roles h3 { color: rgba(255,255,255,0.92); }
.sf-card--roles p  { color: rgba(255,255,255,0.50); }

.sf-roles-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.sf-roles-row span {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(3,70,148,0.25);
    color: #6eb8ff;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(3,70,148,0.30);
}

/* ── Icon badge ────────────────────────────────────────────── */
.sf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(3,70,148,0.10);
    color: var(--blue);
    flex-shrink: 0;
    transition: all var(--t-base) var(--ease);
}
.sf-card:hover .sf-icon {
    background: rgba(3,70,148,0.18);
    box-shadow: 0 0 20px rgba(3,70,148,0.20);
}
/* White icon variant (on dark cards) */
.sf-icon--light {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
}
.sf-card--roles:hover .sf-icon--light,
.sf-card--hero:hover .sf-icon--light {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 20px rgba(255,255,255,0.10);
}

/* Card titles & text — base (light cards) */
.sf-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
}
.sf-card p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.65;
    flex-grow: 1;
}

/* Dark card overrides — higher specificity so they win */
.sf-bento .sf-card--hero .sf-card__body h3,
.sf-bento .sf-card--roles h3 {
    color: rgba(255, 255, 255, 0.95) !important;
}
.sf-bento .sf-card--hero .sf-card__body p,
.sf-bento .sf-card--roles p {
    color: rgba(255, 255, 255, 0.58) !important;
}

/* ── Badge chip on cards ───────────────────────────────────── */
.sf-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 2px 10px rgba(3,70,148,0.35);
}
.sf-badge--outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    box-shadow: none;
}

/* ── Stats row below bento ─────────────────────────────────── */
.sf-stats-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 52px;
    padding: 32px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(3,70,148,0.06);
}

.sf-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.sf-stat-item strong {
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.05em;
    line-height: 1;
}
.sf-stat-item span {
    font-size: 0.78rem;
    color: var(--text-2);
    font-weight: 500;
    text-align: center;
}

.sf-stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border-light);
    border-radius: 1px;
}

/* ════════════════════════════════════════════════════════════
   PRICING — REDISEÑADO
   ════════════════════════════════════════════════════════════ */
.pricing {
    position: relative;
    padding: 100px 5% 80px;
    background: var(--surface-2);
    overflow: hidden;
}

/* ── Ambient orbs ──────────────────────────────────────────── */
.pricing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.pricing-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(3,70,148,0.12) 0%, transparent 70%);
    top: -80px; left: -100px;
    animation: orb-pulse 10s ease-in-out infinite;
}
.pricing-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(3,70,148,0.10) 0%, transparent 70%);
    bottom: -60px; right: -60px;
    animation: orb-pulse 13s ease-in-out infinite reverse;
}

/* ── Trefoil watermarks ────────────────────────────────────── */
.pricing-trefoil {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.pricing-trefoil img { width: 100%; opacity: 0.12; }

.pricing-trefoil--1 {
    width: 300px;
    top: 40px; left: -60px;
    transform: rotate(-22deg);
    filter: blur(1px);
    animation: fi-bob-l 9s ease-in-out infinite;
}
.pricing-trefoil--2 {
    width: 200px;
    bottom: 60px; right: -30px;
    transform: rotate(15deg);
    opacity: 0.03;
    animation: fi-bob-r 11s ease-in-out infinite 1s;
}

/* ── Floating badges ───────────────────────────────────────── */
.pricing-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    background: rgba(255,255,255,0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(3,70,148,0.13);
    border-radius: 14px;
    white-space: nowrap;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 8px 28px rgba(3,70,148,0.14),
        0 0 0 1px rgba(255,255,255,0.60) inset;
}

.pricing-float__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(3,70,148,0.10);
    color: var(--blue);
    flex-shrink: 0;
}
.pricing-float__icon--gold {
    background: rgba(234,179,8,0.12);
    color: #ca8a04;
}
.pricing-float__icon--green {
    background: rgba(34,197,94,0.12);
    color: #16a34a;
}

.pricing-float__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.pricing-float__body strong {
    font-size: 0.80rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.pricing-float__body span {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-3);
    line-height: 1.2;
}

/* Positions — close to the plan card (card is max-width 640px, centered) */
.pricing-float--a {
    top: 230px;
    right: calc(50% + 330px);
}
.pricing-float--b {
    top: 200px;
    left: calc(50% + 330px);
}
.pricing-float--c {
    bottom: 230px;
    right: calc(50% + 310px);
}

/* ── Plan card ─────────────────────────────────────────────── */
.plan-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.plan-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(3,70,148,0.20);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 20px 60px -12px rgba(3,70,148,0.20),
        0 0 0 1px rgba(3,70,148,0.06);
    transition: box-shadow var(--t-slow) var(--ease), transform var(--t-base) var(--ease);
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 28px 80px -12px rgba(3,70,148,0.32),
        0 0 80px -20px rgba(3,70,148,0.18);
}

/* Dark header */
.plan-card__head {
    position: relative;
    background: linear-gradient(145deg, #060d1c 0%, #0b1830 60%, #071020 100%);
    padding: 36px 36px 32px;
    overflow: hidden;
}

/* Grid pattern overlay */
.plan-card__head-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(3,70,148,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3,70,148,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
/* Bottom fade on pattern */
.plan-card__head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #0b1830);
    pointer-events: none;
}

.plan-head-inner {
    position: relative;
    z-index: 1;
}

.plan-popular {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(3,70,148,0.35);
    border: 1px solid rgba(3,70,148,0.50);
    color: #6eb8ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 0 16px rgba(3,70,148,0.30);
}

.plan-card__head h3 {
    color: rgba(255,255,255,0.92);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 10px;
}
.plan-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.60);
    line-height: 1;
}
.plan-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 1;
}
.plan-period {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    margin-left: 4px;
}

.plan-note {
    font-size: 0.80rem;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.01em;
}

/* White body */
.plan-card__body {
    background: var(--surface);
    padding: 32px 36px 36px;
}

/* Features en 2 columnas */
.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 28px;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 500;
}
.plan-feature:nth-last-child(-n+2) { border-bottom: none; }

.plan-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(3,70,148,0.10);
    color: var(--blue);
    flex-shrink: 0;
}

.plan-cta {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 0.95rem;
    box-shadow:
        0 2px 8px rgba(3,70,148,0.20),
        0 8px 28px rgba(3,70,148,0.32);
}
.plan-cta:hover {
    box-shadow:
        0 4px 12px rgba(3,70,148,0.25),
        0 12px 40px rgba(3,70,148,0.50),
        0 0 80px rgba(3,70,148,0.18);
}

/* ── Annual plan gold variant ──────────────────────────────── */
.plan-card--annual {
    border-color: rgba(202,138,4,0.35);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 20px 60px -12px rgba(202,138,4,0.18),
        0 0 0 1px rgba(202,138,4,0.08);
}
.plan-card--annual:hover {
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 28px 80px -12px rgba(202,138,4,0.34),
        0 0 80px -20px rgba(202,138,4,0.20);
}
.plan-card--annual .plan-card__head {
    background: linear-gradient(145deg, #120d00 0%, #1e1500 60%, #110a00 100%);
}
.plan-card--annual .plan-card__head::after {
    background: linear-gradient(to bottom, transparent, #1e1500);
}

.plan-popular--gold {
    background: rgba(202,138,4,0.22);
    border-color: rgba(202,138,4,0.50);
    color: #d4a017;
    box-shadow: 0 0 16px rgba(202,138,4,0.28);
}

.plan-price-equiv {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.52);
    margin-top: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.plan-feature__icon--gold {
    background: rgba(202,138,4,0.15);
    color: #ca8a04;
}

.plan-feature--premium {
    font-weight: 600;
}

.plan-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    margin-bottom: 20px;
    border-radius: var(--r-sm);
    background: rgba(202,138,4,0.08);
    border: 1px solid rgba(202,138,4,0.22);
    font-size: 0.80rem;
    font-weight: 700;
    color: #ca8a04;
    letter-spacing: 0.01em;
}

.plan-cta--annual {
    background: linear-gradient(135deg, #b45309 0%, #ca8a04 100%);
    box-shadow:
        0 2px 8px rgba(202,138,4,0.22),
        0 8px 28px rgba(202,138,4,0.32);
}
.plan-cta--annual:hover {
    background: linear-gradient(135deg, #ca8a04 0%, #d97706 100%);
    box-shadow:
        0 4px 12px rgba(202,138,4,0.28),
        0 12px 40px rgba(202,138,4,0.48),
        0 0 80px rgba(202,138,4,0.18);
}

/* ── Connector ─────────────────────────────────────────────── */
.plan-connector {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1040px;
    margin: 36px auto;
}
.plan-connector__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
}
.plan-connector__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.80rem;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--surface);
}

/* ── Hardware add-on ───────────────────────────────────────── */
.hardware-wrap {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
}

.hardware-card {
    background: var(--surface);
    border: 1.5px dashed rgba(3,70,148,0.20);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.hardware-card:hover {
    border-color: rgba(3,70,148,0.40);
    border-style: solid;
    box-shadow: 0 8px 32px -8px rgba(3,70,148,0.18);
}

.hardware-lock-notice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(3,70,148,0.06);
    border: 1px solid rgba(3,70,148,0.15);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.hardware-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}
.hardware-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 3px;
}
.hardware-header p {
    font-size: 0.78rem;
    color: var(--text-3);
    font-weight: 500;
}

.hardware-tagline {
    font-size: 0.875rem;
    color: var(--text-2, #444);
    line-height: 1.55;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.hardware-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.hardware-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 12px 16px;
    background: var(--surface-2);
    border-radius: var(--r-md);
    border: 1px solid var(--border-light);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.hardware-item:hover {
    border-color: rgba(3,70,148,0.28);
    box-shadow: 0 4px 16px -4px rgba(3,70,148,0.12);
}
.hardware-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: rgba(3,70,148,0.08);
    color: var(--blue);
    flex-shrink: 0;
}
.hardware-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.hardware-item span {
    font-size: 0.72rem;
    color: var(--text-3);
    font-weight: 400;
    line-height: 1.4;
}

.hardware-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.hardware-benefit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(3,70,148,0.06);
    border: 1px solid rgba(3,70,148,0.13);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hardware-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
}

/* ── Card ──────────────────────────────────────────────────── */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.8rem 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition:
        transform var(--t-base) var(--ease),
        box-shadow var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(3,70,148,0.35);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.05),
        0 20px 60px -10px rgba(3,70,148,0.30),
        0 0 60px -20px rgba(3,70,148,0.20);
}

/* Featured variant */
.card--featured {
    border-color: rgba(3,70,148,0.25);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.03),
        0 0 0 1px rgba(3,70,148,0.08);
}
.card--featured:hover {
    box-shadow:
        0 4px 8px rgba(0,0,0,0.05),
        0 24px 80px -10px rgba(3,70,148,0.40),
        0 0 80px -20px rgba(3,70,148,0.25);
}

/* Featured badge */
.card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(3,70,148,0.40);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 1.4rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 6px;
}

.price-sub {
    color: var(--text-3);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.features-list {
    list-style: none;
    width: 100%;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}
.features-list li:last-child { border-bottom: none; }
.features-list li::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(3,70,148,0.10);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23034694' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 1px;
}

.card-quote {
    font-size: 0.82rem;
    color: var(--text-3);
    font-style: italic;
    margin-bottom: 1.6rem;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   BUTTONS (light sections)
   ════════════════════════════════════════════════════════════ */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    box-shadow:
        0 2px 8px rgba(3,70,148,0.20),
        0 6px 20px rgba(3,70,148,0.28);
}
.btn-glow:hover {
    background: var(--blue-mid);
    transform: translateY(-3px);
    color: #fff;
    box-shadow:
        0 4px 12px rgba(3,70,148,0.25),
        0 10px 40px rgba(3,70,148,0.45),
        0 0 60px rgba(3,70,148,0.15);
}
.btn-glow:active { transform: translateY(0); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--blue);
    padding: 13px 24px;
    border: 1.5px solid var(--blue);
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--t-base) var(--ease);
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(3,70,148,0.35);
}

/* ════════════════════════════════════════════════════════════
   TRAINING — VIDEO GALLERY
   ════════════════════════════════════════════════════════════ */

/* Animación para las barras de "reproduciendo" */
@keyframes eq-bar {
    0%, 100% { transform: scaleY(0.35); }
    50%       { transform: scaleY(1); }
}

.training {
    padding: 100px 5%;
    background: var(--surface-2);
}

.training-accent {
    background: linear-gradient(135deg, var(--blue) 0%, #1a6fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Layout container ──────────────────────────────────────── */
.training-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 20px 60px -12px rgba(0,0,0,0.16),
        0 0 0 1px rgba(0,0,0,0.06);
}

/* ════════════════════════════════════════════════════════════
   LEFT PANEL — Video list
   ════════════════════════════════════════════════════════════ */
.training-list {
    background: #070e1d;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    /* Scrollbar personalizado */
    scrollbar-width: thin;
    scrollbar-color: rgba(3,70,148,0.35) transparent;
}
.training-list::-webkit-scrollbar       { width: 3px; }
.training-list::-webkit-scrollbar-track { background: transparent; }
.training-list::-webkit-scrollbar-thumb { background: rgba(3,70,148,0.35); border-radius: 2px; }

/* Header de la lista */
.training-list__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 18px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    background: #070e1d;
    z-index: 3;
    flex-shrink: 0;
}
.training-list__count {
    margin-left: auto;
    padding: 2px 8px;
    background: rgba(3,70,148,0.22);
    border-radius: 999px;
    color: rgba(255,255,255,0.40);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

/* ── Training item button ──────────────────────────────────── */
.training-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition:
        background var(--t-fast),
        border-left-color var(--t-fast);
    flex-shrink: 0;
}
.training-item:last-child     { border-bottom: none; }
.training-item:hover          { background: rgba(255,255,255,0.04); border-left-color: rgba(3,70,148,0.40); }
.training-item.active         { background: rgba(3,70,148,0.13); border-left-color: var(--blue); }

/* Thumbnail */
.ti-thumb {
    position: relative;
    width: 88px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}
.ti-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.training-item:hover .ti-thumb img { transform: scale(1.05); }

/* Play overlay */
.ti-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.38);
    opacity: 0;
    transition: opacity 0.2s;
}
.training-item:hover .ti-play  { opacity: 1; }
.training-item.active .ti-play {
    opacity: 1;
    background: rgba(3,70,148,0.65);
}

/* Duration badge */
.ti-duration {
    position: absolute;
    bottom: 4px;
    right: 5px;
    background: rgba(0,0,0,0.78);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

/* Text info */
.ti-info {
    flex: 1;
    min-width: 0;
}
.ti-num {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.06em;
    margin-bottom: 3px;
    transition: color var(--t-fast);
}
.training-item.active .ti-num { color: var(--blue); }

.ti-info h4 {
    font-size: 0.80rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    transition: color var(--t-fast);
}
.training-item:hover .ti-info h4  { color: rgba(255,255,255,0.85); }
.training-item.active .ti-info h4 { color: rgba(255,255,255,0.95); }

.ti-info p {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.26);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}
.training-item.active .ti-info p { color: rgba(255,255,255,0.42); }

/* Equalizer "reproduciendo" icon */
.ti-playing {
    display: none;
    flex-shrink: 0;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}
.ti-playing span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: var(--blue);
    transform-origin: bottom;
    animation: eq-bar 0.8s ease-in-out infinite;
}
.ti-playing span:nth-child(1) { height: 10px; animation-delay: 0s; }
.ti-playing span:nth-child(2) { height: 14px; animation-delay: 0.18s; }
.ti-playing span:nth-child(3) { height: 8px;  animation-delay: 0.34s; }

.training-item.active .ti-playing { display: inline-flex; }

/* ════════════════════════════════════════════════════════════
   RIGHT PANEL — Player
   ════════════════════════════════════════════════════════════ */
.training-player {
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

/* 16:9 video */
.training-player__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}
.training-player__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Meta area below player */
.training-player__meta {
    padding: 20px 26px 24px;
    border-top: 1px solid var(--border-light);
    flex-grow: 1;
}

.training-player__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* Counter "01 / 08" */
.training-player__counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tpc-sep { color: var(--text-3); font-weight: 400; }

/* Progress dots */
.training-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.training-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
    cursor: default;
}
.training-dot.active {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 8px rgba(3,70,148,0.50);
    transform: scale(1.2);
}

/* Title and desc */
.training-player__meta h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-bottom: 6px;
    transition: color 0.2s;
}
.training-player__meta p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════ */
.cta-banner {
    position: relative;
    padding: 110px 5%;
    text-align: center;
    background: linear-gradient(145deg, #040b18 0%, var(--hero-bg-2) 50%, #060f20 100%);
    color: #fff;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}
.cta-orb--1 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(3,70,148,0.50) 0%, transparent 70%);
    top: -100px; left: -80px;
    animation: orb-pulse 8s ease-in-out infinite;
}
.cta-orb--2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(5,84,184,0.40) 0%, transparent 70%);
    bottom: -80px; right: -60px;
    animation: orb-pulse 10s ease-in-out infinite reverse;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 14px;
}
.cta-banner > .cta-inner > p {
    color: rgba(255,255,255,0.58);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-cta-primary {
    background: #fff;
    color: var(--blue);
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 4px 20px rgba(0,0,0,0.20), 0 0 40px rgba(255,255,255,0.06);
}
.btn-cta-primary:hover {
    background: #f0f6ff;
    color: var(--blue-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 0 60px rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.cta-banner .btn-outline {
    border-color: rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.85);
}
.cta-banner .btn-outline:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 4px 18px rgba(0,0,0,0.20);
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq {
    position: relative;
    padding: 110px 5%;
    background: var(--surface-2);
    overflow: hidden;
}

/* Ambient orbs */
.faq-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}
.faq-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(3,70,148,0.10) 0%, transparent 70%);
    top: -120px; right: -100px;
}
.faq-orb--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(3,70,148,0.07) 0%, transparent 70%);
    bottom: -80px; left: -80px;
}

.faq-accent {
    background: linear-gradient(135deg, var(--blue) 0%, #1a6fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    position: relative;
    z-index: 2;
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    background: var(--surface);
    overflow: hidden;
    transition:
        border-color var(--t-base),
        box-shadow var(--t-base);
}
.faq-item:hover {
    border-color: rgba(3,70,148,0.22);
    box-shadow: 0 4px 20px rgba(3,70,148,0.10);
}
.faq-item.active {
    border-color: rgba(3,70,148,0.35);
    box-shadow: 0 4px 24px rgba(3,70,148,0.16);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--t-base);
    font-family: inherit;
    letter-spacing: -0.01em;
}
.faq-item.active .faq-question,
.faq-item:hover .faq-question { color: var(--blue); }

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-3);
    transition: all var(--t-base) var(--ease);
    line-height: 1;
}
.faq-item.active .faq-icon,
.faq-item:hover .faq-icon {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(3,70,148,0.07);
    box-shadow: 0 0 10px rgba(3,70,148,0.20);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.40s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
    padding: 16px 24px 22px;
    color: var(--text-2);
    font-size: 0.925rem;
    line-height: 1.72;
    border-top: 1px solid var(--border-light);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
    background: #040b18;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
}

/* Inner 3-col grid */
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 56px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 5% 56px;
    align-items: start;
}

/* ── Brand column ───────────────────────────────────────── */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-logo-link img {
    filter: brightness(0) invert(1);
    opacity: 0.88;
    flex-shrink: 0;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.footer-logo-brand {
    font-size: 0.96rem;
    font-weight: 800;
    color: rgba(255,255,255,0.90);
    letter-spacing: -0.02em;
}
.footer-logo-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.36);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.40);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* WhatsApp CTA button */
.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r-sm);
    background: rgba(37,211,102,0.10);
    border: 1px solid rgba(37,211,102,0.22);
    color: #4cd97b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition:
        background var(--t-base),
        border-color var(--t-base),
        color var(--t-base);
}
.footer-wa-btn:hover {
    background: rgba(37,211,102,0.18);
    border-color: rgba(37,211,102,0.45);
    color: #6ee898;
}

/* ── Nav / contact columns ──────────────────────────────── */
.footer-col__label {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-links a {
    color: rgba(255,255,255,0.52);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--t-fast);
}
.footer-links a:hover { color: rgba(255,255,255,0.90); }

/* Contact list */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.52);
    font-size: 0.875rem;
}
.fci-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.38);
    flex-shrink: 0;
}
.footer-contact-list a {
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--t-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer-contact-list a:hover { color: #6eb8ff; }

/* ── Bottom bar ─────────────────────────────────────────── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 5%;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.24);
}
.footer-bottom-link {
    color: rgba(255,255,255,0.32);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast);
}
.footer-bottom-link:hover { color: rgba(255,255,255,0.65); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .hero-device { width: 120px; right: -30px; }
}

@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-content { align-items: center; }
    .hero-content p { max-width: 100%; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .hero-chip { left: 0; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 1024px) {
    /* Bento: collapse hero card to single col */
    .sf-card--hero {
        grid-column: span 3;
        flex-direction: column;
    }
    .sf-card__img-wrap {
        border-radius: 0 0 var(--r-lg) var(--r-lg);
        max-height: 200px;
    }
    .sf-card__img-wrap::before {
        background: linear-gradient(to bottom, #0b1830 0%, transparent 40%);
    }
    .sf-card__body { flex: none; }

    /* Demo chips */
    .demo-chip--tr { right: -60px; }
    .demo-chip--tl { left: -60px; }

    /* Trefoils: reduce on medium screens */
    .demo-trefoil--1 { width: 220px; }
    .demo-trefoil--2 { width: 160px; }
    .demo-trefoil--3 { display: none; }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    /* Bento: 1 col on mobile */
    .sf-bento { grid-template-columns: 1fr; }
    .sf-card--hero { grid-column: span 1; }
    .sf-card--hero { flex-direction: column; }
    .sf-card__img-wrap { max-height: 160px; }
    .sf-stats-row { gap: 24px; padding: 24px 20px; }

    /* Pricing */
    .plan-wrap { grid-template-columns: 1fr; max-width: 520px; }
    .plan-features-grid { grid-template-columns: 1fr; }
    .plan-feature:last-child { border-bottom: none; }
    .plan-feature:nth-last-child(2) { border-bottom: 1px solid var(--border-light); }
    .plan-card__head, .plan-card__body { padding: 28px 24px; }
    .plan-amount { font-size: 2.6rem; }
    .hardware-card { padding: 22px 20px; }
    .hardware-items { grid-template-columns: 1fr; }
    .hardware-item { flex-direction: row; text-align: left; padding: 14px; }
    .hardware-item__icon { width: 38px; height: 38px; flex-shrink: 0; }
    .pricing-float { display: none; }
    .pricing-trefoil { display: none; }

    /* Plan connector — cartelito centrado en mobile */
    .plan-connector {
        padding: 0 5%;
        box-sizing: border-box;
        margin: 28px auto;
    }
    .plan-connector__label {
        font-size: 0.72rem;
        padding: 5px 10px;
        white-space: normal;
        text-align: center;
    }

    /* Tutorials — stack en mobile: player arriba, lista abajo */
    .training-layout {
        grid-template-columns: 1fr;
    }
    .training-list {
        order: 2;
        max-height: 320px;
        overflow-y: auto;
    }
    .training-player {
        order: 1;
    }

    /* Demo section */
    .demo-chip { display: none; }
    .demo-trefoil--1, .demo-trefoil--2, .demo-trefoil--3 { display: none; }

    .menu-toggle { display: flex; }

    nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(6, 13, 28, 0.97);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        padding: 24px 5% 32px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        box-shadow: 0 20px 40px rgba(0,0,0,0.30);
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; gap: 4px; text-align: center; }
    nav a { color: rgba(255,255,255,0.80); font-size: 1rem; border-radius: 10px; }
    nav a:hover { color: #fff; background: rgba(255,255,255,0.10); }

    #site-header.sticky nav {
        background: rgba(255,255,255,0.96);
    }
    #site-header.sticky nav a { color: var(--text); }

    .hero { padding: 100px 5% 60px; }
    .hero-device, .hero-scanner { display: none; }

    .features-strip__track { animation-duration: 22s; }

    .btn-outline { margin-left: 0; }

    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn-cta-primary,
    .cta-buttons .btn-outline { width: 100%; max-width: 280px; }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 52px 5% 40px;
    }
    .footer-brand { text-align: center; grid-column: 1; }
    .footer-logo-link { justify-content: center; }
    .footer-tagline { max-width: 320px; margin-left: auto; margin-right: auto; }
    .footer-wa-btn { margin: 0 auto; }
    .footer-col { text-align: center; }
    .footer-links, .footer-contact-list { align-items: center; }
    .footer-contact-list li { justify-content: center; flex-wrap: wrap; gap: 4px; }
    .footer-contact-list a { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .footer-bottom { justify-content: center; text-align: center; gap: 6px; flex-direction: column; }
    .footer-bottom-link::before { content: none; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.1rem; }
    .hero-chip { display: none; }
    .card { padding: 2.2rem 1.5rem 2rem; }
    .price { font-size: 2.3rem; }
    .section-eyebrow::before,
    .section-eyebrow::after { display: none; }

    /* Tutoriales en mobile chico */
    .training-list { max-height: 260px; }
    .ti-thumb { display: none; }
    .ti-info { padding-right: 0; }

    /* Footer bottom en mobile */
    .footer-bottom { font-size: 0.75rem; }
}

/* ── Floating WhatsApp button ─────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.45);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37,211,102,.6);
}
@media (max-width: 480px) {
    .wa-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }
    .wa-float svg { width: 24px; height: 24px; }
}
