/* --- 1. DESIGN TOKENS & REFINEMENTS --- */
:root {
    --bg-body: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-dark: #161b22;
    --bg-dark-surf: #212936;
    --text-main: #1a1f2c;
    --text-inv: #ffffff;
    --text-sec: #64748b;
    --accent-safe: #7FB39B;
    --accent-warm: #E89E83;
    --accent-alert: #FF5252;
    --ease-spring: cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.08);
    --shadow-phone: 0 16px 32px -10px rgba(0, 0, 0, 0.15), 0 24px 60px -20px rgba(22, 27, 34, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    --font-stack: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    --nav-height: 72px;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.12);
}

/* --- 0. ATMÓSFERA GLOBAL --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.6;
}

/* --- 2. BASE & RESET --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring), opacity 0.2s ease, box-shadow 0.2s ease;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- ANIMACIONES REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* --- 3. TYPOGRAPHY --- */
h1 {
    font-size: clamp(38px, 8vw, 80px);
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-weight: 800;
    color: var(--bg-dark);
}

h2 {
    font-size: clamp(32px, 6vw, 56px);
    letter-spacing: -0.03em;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bg-dark);
}

h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p.lead {
    font-size: clamp(17px, 3vw, 20px);
    color: var(--text-sec);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.55;
}

.text-center {
    text-align: center;
}

.label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-warm);
    margin-bottom: 16px;
    display: block;
}

.caption-genz {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-sec);
    margin-top: 12px;
}

/* --- 4. LAYOUT --- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 30px 0 80px;
}

.grid-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-bento {
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-12 {
        grid-column: span 12;
    }

    .col-span-6 {
        grid-column: span 6;
    }

    .section-pad {
        padding: 120px 0;
    }
}

/* --- 5. BUTTONS & GLOWS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s var(--ease-spring);
    gap: 10px;
    text-align: center;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--bg-dark);
    color: var(--text-inv);
    box-shadow: var(--shadow-soft);
}

.glow-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(22, 27, 34, 0.25);
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: var(--bg-dark);
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 0.4;
}

.btn-white {
    background: #fff;
    color: var(--bg-dark);
    box-shadow: var(--shadow-soft);
}

.glow-effect-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--bg-dark);
    border: 2px solid var(--border-light);
    font-weight: 800;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--bg-dark);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 14px;
}

/* --- 6. NAVBAR --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(248, 249, 250, 0.85) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav.nav-open {
    background: transparent !important;
    border-bottom: none;
    backdrop-filter: none;
    box-shadow: none !important;
    z-index: 2500;
}

.nav-inner {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 900;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
    color: var(--bg-dark);
}

.logo-dot {
    color: var(--accent-safe);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

@media (min-width: 900px) {
    .nav-desktop {
        display: flex;
    }

    .hamburger {
        display: none !important;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    margin-right: -10px;
    z-index: 2001;
}

.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--bg-dark);
    transition: all 0.3s ease;
}

.hamburger.is-active .line {
    background-color: #ffffff;
}

.hamburger.is-active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.mobile-link {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-inv);
}

/* --- 7. HERO & PHONE --- */
.section-pad-hero {
    padding-top: 100px;
    padding-bottom: 10px;
}

.hero-container {
    position: relative;
    text-align: center;
}

.hero-title {
    font-size: clamp(36px, 7vw, 68px);
}

.hero-lead {
    font-size: clamp(17px, 2.5vw, 19px);
    margin-bottom: 16px;
}

/* Reducido un poco para equilibrar el botón */

/* MARGEN DEL BOTÓN EN MÓVIL AÑADIDO AQUÍ */
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

@media (min-width: 1024px) {
    .section-pad-hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
        gap: 40px;
    }

    .hero-container p.lead {
        margin: 0 0 32px 0;
    }

    /* Se reinicia el margen en desktop porque el layout en grid ya lo separa bien */
    .hero-btns {
        justify-content: flex-start;
        margin-top: 0;
    }
}

.hero-aura {
    position: absolute;
    top: 5%;
    left: calc(50% - 200px);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(127, 179, 155, 0.35) 0%, transparent 65%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

/* Mockup Teléfono */
.phone-mockup {
    width: 260px;
    height: 540px;
    margin: 40px auto 0;
    background: var(--bg-dark);
    border-radius: 48px;
    padding: 6px;
    box-shadow: var(--shadow-phone);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

@media (min-width: 768px) {
    .phone-mockup {
        width: 280px;
        height: 580px;
    }
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    user-select: none;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: calc(50% - 40px);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 16px;
    z-index: 20;
}

.map-bg {
    position: absolute;
    inset: 0;
    background: #FDFDFB;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.route-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke-linecap: round;
}

/* Elementos internos PIN */
.user-pin {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    color: white;
    border-radius: 50%;
    border: 3px solid #fff;
    position: absolute;
    top: calc(40% - 20px);
    left: 54%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.user-pulse-static {
    width: 120px;
    height: 120px;
    background: rgba(143, 179, 161, 0.25);
    border-radius: 50%;
    position: absolute;
    top: calc(40% - 60px);
    left: calc(50% - 60px);
    z-index: 1;
}

/* Utilidades Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-effect-heavy {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06);
}

.glass-effect-dark {
    background: rgba(32, 40, 48, 0.5);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.supervisor-bubble {
    position: absolute;
    top: 52px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.supervisor-bubble-dark {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.supervisor-info {
    flex: 1;
    text-align: left;
}

.supervisor-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.avatar-emoji {
    font-size: 20px;
}

.connection-dot-static {
    width: 6px;
    height: 6px;
    background: var(--accent-safe);
    border-radius: 50%;
    margin-right: 4px;
    display: inline-block;
}

.status-text {
    font-size: 10px;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    font-weight: 600;
}

.bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 16px 24px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    z-index: 10;
}

.bottom-sheet h4 {
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-dark);
}

.route-info {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-main);
    font-weight: 700;
    opacity: 0.8;
}

.slider-sos {
    margin-top: 16px;
    height: 52px;
    background: #f0f2f5;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    display: flex;
    align-items: center;
    padding: 4px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.slider-sos.triggered {
    background: var(--accent-alert);
    box-shadow: none;
}

.slider-knob {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
    cursor: grab;
    will-change: transform;
    transition: transform 0.1s linear;
    flex-shrink: 0;
}

.slider-knob:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.slider-text {
    position: absolute;
    left: 40px;
    right: 12px;
    text-align: center;
    font-weight: 700;
    color: #a0a0a0;
    font-size: 13px;
    transition: all 0.3s ease;
    pointer-events: none;
    letter-spacing: 0.02em;
}

/* --- 8. CARDS --- */
.card {
    background: var(--bg-surface);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.premium-border {
    position: relative;
    background-clip: padding-box;
    border: 1px solid transparent;
}

.premium-border::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.premium-border-light {
    border: 1px solid var(--border-light);
}

.premium-border-alert {
    border: 1px solid rgba(255, 82, 82, 0.3);
    box-shadow: 0 12px 32px rgba(255, 82, 82, 0.15);
}

.card-content {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.lead-genz {
    font-size: 16px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 380px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-safe);
    background: rgba(127, 179, 155, 0.15);
    padding: 8px 14px;
    border-radius: 99px;
    border: 1px solid rgba(127, 179, 155, 0.25);
    margin-bottom: 20px;
}

.badge-red {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.25);
}

.dot-live {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
}

.tags-row {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.glass-tag {
    font-family: monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.genz-card-dark {
    background: #121418;
    color: white;
}

.card-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.feature-row {
    display: flex;
    flex-direction: column;
}

@media(min-width: 768px) {
    .feature-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .feature-text {
        flex: 1;
        padding-right: 40px;
        z-index: 2;
    }

    .card-content {
        padding: 40px;
    }
}

.feature-visual-abstract {
    flex: 1;
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aura-blob {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}

.blob-1 {
    background: var(--accent-safe);
    top: 15%;
    left: 15%;
}

.blob-2 {
    background: #6C63FF;
    bottom: 15%;
    right: 15%;
}

.glass-pill-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    border-radius: 99px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    margin-top: 7%;
}

.glass-pill {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.pill-core {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.pill-left .pill-core {
    background: var(--accent-safe);
    box-shadow: 0 0 15px var(--accent-safe);
}

.genz-card-light {
    background: #ffffff;
    color: var(--bg-dark);
}

.icon-abstract-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pause-bars {
    display: flex;
    gap: 6px;
    height: 26px;
    align-items: center;
}

.bar {
    width: 6px;
    background: var(--accent-warm);
    border-radius: 4px;
}

.bar-1 {
    height: 100%;
}

.bar-2 {
    height: 60%;
}

.genz-card-alert {
    background: #1E0A0A;
    color: white;
    background-image: radial-gradient(circle at top right, rgba(255, 82, 82, 0.15), transparent 60%);
}

.wave-container {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 40px;
    margin-top: 24px;
    margin-left: 1%;
}

.wave {
    width: 6px;
    background: var(--accent-alert);
    border-radius: 4px;
    height: 10px;
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.4);
}

/* --- 9. NIGHT MODE --- */
.section-dark {
    background: var(--bg-dark);
    color: var(--text-inv);
    position: relative;
    overflow: hidden;
}

.night-aura {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(127, 179, 155, 0.2), transparent 70%);
    filter: blur(120px);
    opacity: 0.7;
}

.night-title {
    margin-bottom: 24px;
    color: var(--text-inv);
}

.night-lead {
    color: #a0aec0;
    opacity: 1;
    margin-bottom: 40px;
    margin-left: 0;
    max-width: 480px;
}

.night-feature {
    padding: 24px;
    border-radius: 28px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    max-width: 480px;
    box-shadow: var(--shadow-soft);
}

.night-card-ui {
    width: 100%;
    max-width: 375px;
    background: var(--bg-dark-surf);
    border-radius: 42px;
    padding: 26px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    position: relative;
}

.premium-border-dark {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nc-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20%;
    align-items: center;
}

.nc-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-safe);
    background: rgba(127, 179, 155, 0.15);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(127, 179, 155, 0.2);
}

.nc-avatar {
    width: 48px;
    height: 48px;
    background: #FFD60A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 3px solid var(--bg-dark-surf);
}

.nc-map-container {
    height: 140px;
    background: #13171c;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10%;
}

.nc-map-grid {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
}

.nc-user-pin {
    width: 40px;
    height: 40px;
    background: var(--accent-safe);
    color: var(--bg-dark);
    border-radius: 50%;
    border: 3px solid var(--bg-dark-surf);
    position: absolute;
    top: calc(44% - 20px);
    left: calc(60% - 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* --- 10. FOOTER --- */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-surface);
    text-align: center;
    color: var(--text-main);
    border-top: 1px solid var(--border-light);
}

.footer-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bg-dark);
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin: 40px 0;
}

@media(min-width: 480px) {
    .store-buttons {
        flex-direction: row;
        gap: 24px;
    }
}

.store-btn {
    padding: 12px 28px;
}

.footer-links {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sec);
}

@media(min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: space-between;
    }
}

.socials {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-weight: 700;
    color: var(--text-main);
}

.socials a:hover {
    color: var(--accent-safe);
}

/* --- 11. KEYFRAMES & MICRO-INTERACCIONES --- */
.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse-anim {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.breath-anim {
    animation: breath 8s ease-in-out infinite alternate;
}

@keyframes breath {
    0% {
        transform: scale(0.9);
        opacity: 0.4;
        filter: blur(50px);
    }

    100% {
        transform: scale(1.15);
        opacity: 0.7;
        filter: blur(90px);
    }
}

.accent-pulse {
    animation: accentPulse 3s ease-in-out infinite;
}

@keyframes accentPulse {

    0%,
    100% {
        color: var(--accent-safe);
    }

    50% {
        color: #A4D4BC;
    }
}

.wave {
    transition: height 0.2s ease;
}

.wave-anim-1 {
    animation: soundWave 1.2s ease-in-out infinite alternate;
}

.wave-anim-2 {
    animation: soundWave 1.5s ease-in-out infinite alternate 0.2s;
}

.wave-anim-3 {
    animation: soundWave 0.9s ease-in-out infinite alternate 0.4s;
}

.wave-anim-4 {
    animation: soundWave 1.3s ease-in-out infinite alternate 0.1s;
}

@keyframes soundWave {
    0% {
        height: 12px;
        background-color: #FF8A8A;
    }

    100% {
        height: 40px;
        background-color: #FF5252;
        box-shadow: 0 0 15px rgba(255, 82, 82, 0.6);
    }
}

/* --- CLASES DE UTILIDAD --- */
.full-width {
    width: 100%;
}

.center-items {
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.mt-24 {
    margin-top: 24px;
}

.mb-60 {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .mb-60 {
        margin-bottom: 60px;
    }
}

.alert-header {
    margin-bottom: auto;
}

.text-white {
    color: white;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.8);
}

.transport-icon {
    font-size: 38px;
    line-height: 1;
}

.transport-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-inv);
    margin-bottom: 4px;
}

.transport-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.4;
}