/* ============================================================
   COLGYM — Landing Page
   Paleta: Naranja fuego (#ff6a00) + Oscuro profundo
   ============================================================ */

:root {
    --orange: #ff6a00;
    --orange-light: #ff9a3c;
    --orange-dark: #e05a00;
    --bg-dark: #0c0c10;
    --bg-section: #121218;
    --bg-card: #1a1a22;
    --bg-card-hover: #20202b;
    --text-white: #f5f5f7;
    --text-gray: #a8a8b3;
    --text-muted: #6e6e7a;
    --green: #25d366;
    --green-dark: #1eb85a;
    --red: #ff4757;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-orange: 0 10px 40px rgba(255, 106, 0, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --font-title: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 106, 0, 0.4);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange-light);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.45);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(12, 12, 16, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.logo-icon { font-size: 1.6rem; }

.logo-text em {
    font-style: normal;
    color: var(--orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.35);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 106, 0, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 106, 0, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 106, 0, 0.08) 0%, transparent 50%),
        var(--bg-dark);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.glow-1 {
    width: 420px;
    height: 420px;
    background: rgba(255, 106, 0, 0.18);
    top: -100px;
    right: -80px;
}

.glow-2 {
    width: 320px;
    height: 320px;
    background: rgba(255, 106, 0, 0.1);
    bottom: -60px;
    left: -60px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.35);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--orange-light);
    margin-bottom: 24px;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); }
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-gray);
    max-width: 540px;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

/* ---------- Dashboard Mockup ---------- */
.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 106, 0, 0.08);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0.7;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-title {
    margin-left: auto;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.mockup-title em {
    font-style: normal;
    color: var(--orange);
}

.mockup-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-row {
    display: flex;
    gap: 14px;
}

.mockup-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-card.wide { flex: 1 1 100%; }

.mockup-card-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.mockup-card-value {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
}

.mockup-card-value.up { color: var(--green); }

.mockup-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 70px;
    padding-top: 8px;
}

.mockup-bars span {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--orange-light), var(--orange-dark));
    border-radius: 4px 4px 0 0;
    animation: grow-bar 1.2s ease-out both;
}

.mockup-bars span:nth-child(2) { animation-delay: 0.1s; }
.mockup-bars span:nth-child(3) { animation-delay: 0.2s; }
.mockup-bars span:nth-child(4) { animation-delay: 0.3s; }
.mockup-bars span:nth-child(5) { animation-delay: 0.4s; }
.mockup-bars span:nth-child(6) { animation-delay: 0.5s; }
.mockup-bars span:nth-child(7) { animation-delay: 0.6s; }

@keyframes grow-bar {
    from { height: 0; }
    to { height: var(--h); }
}

.mockup-access {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.mockup-access.granted {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #4ade80;
}

/* ---------- Indicador de scroll ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.scroll-indicator span {
    width: 4px;
    height: 9px;
    background: var(--orange);
    border-radius: 4px;
    margin-top: 7px;
    animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Secciones generales ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange-light);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.08rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* ---------- Sección Problemas ---------- */
.pain {
    background: var(--bg-section);
    padding: 80px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 71, 87, 0.4);
    background: var(--bg-card-hover);
}

.pain-icon {
    font-size: 2.6rem;
    display: block;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-family: var(--font-title);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
}

.pain-conclusion {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 300;
}

.pain-conclusion strong {
    color: var(--orange-light);
    font-weight: 700;
}

/* ---------- Características ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 14px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 106, 0, 0.18);
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ---------- Biometría ---------- */
.biometric {
    background: var(--bg-section);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 60px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.4);
}

.step-card.success {
    border-color: rgba(37, 211, 102, 0.35);
}

.step-card.success:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.12);
}

.step-card.danger {
    border-color: rgba(255, 71, 87, 0.3);
}

.step-card.danger:hover {
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.1);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.4);
}

.step-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.step-card h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    font-weight: 700;
}

.biometric-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bio-benefit {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.bio-benefit:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.bio-icon {
    font-size: 2.6rem;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border: 2px solid rgba(255, 106, 0, 0.3);
    border-radius: 50%;
    font-family: var(--font-title);
    font-weight: 900;
}

.bio-icon.zero {
    font-size: 1.7rem;
    color: var(--red);
    border-color: rgba(255, 71, 87, 0.4);
    background: rgba(255, 71, 87, 0.08);
}

.bio-benefit h4 {
    font-family: var(--font-title);
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bio-benefit p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ---------- Asistente IA ---------- */
.ai-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-content .section-tag { margin-bottom: 20px; }

.ai-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
}

.ai-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: var(--transition);
}

.ai-list li:hover {
    transform: translateX(8px);
    border-color: rgba(255, 106, 0, 0.35);
}

.ai-list-icon {
    font-size: 1.6rem;
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 12px;
}

.ai-list strong {
    font-family: var(--font-title);
    font-size: 1.02rem;
    display: block;
    margin-bottom: 4px;
}

.ai-list p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Chat */
.ai-chat {
    display: flex;
    justify-content: center;
}

.chat-window {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(255, 106, 0, 0.05));
    border-bottom: 1px solid var(--border);
}

.chat-avatar {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.15);
    border-radius: 50%;
}

.chat-header strong {
    font-family: var(--font-title);
    display: block;
    font-size: 0.98rem;
}

.chat-status {
    font-size: 0.78rem;
    color: #4ade80;
}

.chat-body {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
}

.chat-msg {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    animation: msg-in 0.5s ease forwards;
}

.chat-msg:nth-child(1) { animation-delay: 0.3s; }
.chat-msg:nth-child(2) { animation-delay: 0.9s; }
.chat-msg:nth-child(3) { animation-delay: 1.6s; }
.chat-msg:nth-child(4) { animation-delay: 2.2s; }

@keyframes msg-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.chat-typing span {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ---------- Por qué ColGym ---------- */
.why {
    background: var(--bg-section);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.why-number {
    position: absolute;
    top: 14px;
    right: 22px;
    font-family: var(--font-title);
    font-size: 3.4rem;
    font-weight: 900;
    color: rgba(255, 106, 0, 0.12);
    line-height: 1;
}

.why-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(160deg, #17130e 0%, var(--bg-dark) 60%);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cta-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
    background: #08080b;
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 14px;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-white);
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    font-size: 0.92rem;
    margin-bottom: 10px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--orange-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* ---------- Botón flotante WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: pulse-wa 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- Animaciones de revelado ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-arrow { display: none; }

    .ai-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(78vw, 320px);
        height: 100vh;
        background: rgba(14, 14, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
    }

    .nav-menu.open { right: 0; }

    .nav-link { font-size: 1.15rem; }

    .pain-grid,
    .biometric-benefits,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero { padding-top: 120px; }

    .hero-stats { gap: 18px; }
    .stat-divider { display: none; }
    .stat { align-items: center; }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 540px) {
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Accesibilidad: movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .reveal { opacity: 1; transform: none; }
}