/* ═══════════════════════════════════════════════════════════════════
   NEXOSOUL — Editorial de Lujo (Concepto 3)
   Vogue/Wallpaper: tipografía gigante, números, espacio en blanco
   ═══════════════════════════════════════════════════════════════════ */

/* ── FUENTE LOCAL: Mont-Heavy ── */
@font-face {
    font-family: 'MontHeavy';
    src: url('fonts/Mont-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── RESET & ROOT ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bone: #F5F0E8;
    --bone2: #EDE5D4;
    --navy: #0A1E3C;
    --navy2: #0F2849;
    --scarlet: #C0392B;
    --scarlet2: #A93226;
    --text: #0A1E3C;
    --muted: #6B7280;
    --dim: #9CA3AF;
    --surface: rgba(10, 30, 60, 0.04);

    --heavy: 'MontHeavy', 'DM Serif Display', sans-serif;
    --serif: 'DM Serif Display', serif;
    --italic: 'Fraunces', serif;
    --impact: 'Playfair Display', serif;
    --ui: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--ui);
    background: var(--bone);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-style: italic;
}

::selection {
    background: var(--scarlet);
    color: var(--bone);
}


.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 45%, rgba(245, 240, 232, 0.35) 50%, transparent 55%);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: translate(-30%, -30%);
    }

    100% {
        transform: translate(30%, 30%);
    }
}

.logo-text {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
}

/* ═══════════════════════════════════════════════════════════════════
   NAV PILL — ULTRA PREMIUM
   ═══════════════════════════════════════════════════════════════════ */

.nav-pill {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    min-width: 320px;
}

.nav-pill-inner {
    background: rgba(10, 30, 60, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(245, 240, 232, 0.1);
    padding: 8px 12px 8px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-pill-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bone);
}

.nav-pill-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-pill-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(245, 240, 232, 0.7);
    transition: color 0.3s;
}

.nav-pill-link:hover {
    color: var(--bone);
}

.nav-pill-cta {
    background: var(--scarlet);
    color: var(--bone);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.3);
}

.nav-pill-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(192, 57, 43, 0.5);
    background: var(--scarlet2);
}

/* Decoración — Blobs */
.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    top: -200px;
    right: -200px;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes blobFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO — EDITORIAL DE LUJO
   ═══════════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 48px 80px;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero left */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(245, 240, 232, 0.5);
    margin-bottom: 48px;
}

.eyebrow-sep {
    opacity: 0.3;
}

.hero-headline {
    font-family: var(--heavy);
    font-size: clamp(72px, 10vw, 140px);
    line-height: 0.92;
    letter-spacing: -2px;
    color: var(--bone);
    margin-bottom: 48px;
}

/* Reveal animation por línea */
.line-reveal {
    display: block;
    overflow: hidden;
}

.line-reveal .line {
    display: block;
    animation: lineReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(110%);
}

.line-reveal:nth-child(1) .line {
    animation-delay: 0.1s;
}

.line-reveal:nth-child(2) .line {
    animation-delay: 0.3s;
}

.line-reveal:nth-child(3) .line {
    animation-delay: 0.5s;
}

.line-reveal.accent em {
    font-family: var(--italic);
    font-weight: 300;
    color: var(--scarlet);
    -webkit-text-stroke: 0;
    background: linear-gradient(90deg, var(--scarlet) 0%, var(--scarlet2) 50%, var(--scarlet) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(192, 57, 43, 0.3));
    animation: textShimmer 4s infinite linear;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes lineReveal {
    to {
        transform: translateY(0);
    }
}

.hero-body {
    max-width: 500px;
    margin-bottom: 48px;
    animation: fadeUp 1s ease 0.7s both;
}

.hero-rule {
    width: 48px;
    height: 2px;
    background: var(--scarlet);
    margin-bottom: 20px;
}

.hero-sub {
    font-family: var(--italic);
    font-style: italic;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.75);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
    animation: fadeUp 1s ease 0.9s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 44px;
    background: var(--bone);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 240, 232, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: var(--bone2);
}

.btn-primary span {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 18px;
}

.btn-primary:hover span {
    transform: translateX(8px);
}

.btn-ghost {
    font-size: 14px;
    font-weight: 600;
    color: rgba(245, 240, 232, 0.8);
    border-bottom: 2px solid rgba(192, 57, 43, 0.5);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-ghost:hover {
    color: var(--bone);
    border-bottom-color: var(--scarlet);
    padding-bottom: 8px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: rgba(245, 240, 232, 0.4);
    letter-spacing: 0.5px;
    animation: fadeUp 1s ease 1.1s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--scarlet);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--scarlet);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-store-mobile {
    display: none;
    gap: 12px;
    margin-top: 32px;
    animation: fadeUp 1s ease 1.1s both;
}

.hero-store-mobile .hsr-btn {
    flex: 1;
    min-width: unset;
    padding: 14px 12px;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.hero-store-mobile svg {
    width: 18px;
    height: 18px;
}

.hero-phone-scene {
    position: relative;
    width: 440px;
    height: 640px;
}

.hero-phone-scene::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.2) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    animation: fadeUp 1s ease 0.5s both;
    z-index: 2;
    position: relative;
}

.hero-left {
    z-index: 2;
    position: relative;
}

.hero-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(10deg);
    width: 260px;
    height: 540px;
    background: var(--navy);
    border-radius: 48px;
    padding: 12px;
    box-shadow:
        -20px 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(245, 240, 232, 0.2),
        inset 0 0 20px rgba(245, 240, 232, 0.05);
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    border: 1px solid rgba(192, 57, 43, 0.4);
}

.hero-phone:hover {
    transform: translate(-50%, -55%) rotateY(-5deg) rotateX(5deg);
}

.hero-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--navy);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    background: radial-gradient(circle at center, var(--navy2) 0%, var(--navy) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(245, 240, 232, 0.08) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
}

.hero-phone-reflection {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg,
            rgba(245, 240, 232, 0) 0%,
            rgba(245, 240, 232, 0.04) 45%,
            rgba(245, 240, 232, 0.12) 50%,
            rgba(245, 240, 232, 0.04) 55%,
            rgba(245, 240, 232, 0) 100%);
    transform: rotate(-45deg);
    animation: reflectionSweep 8s infinite linear;
    z-index: 5;
    pointer-events: none;
}

@keyframes reflectionSweep {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }

    20% {
        transform: translateX(100%) rotate(-45deg);
    }

    100% {
        transform: translateX(100%) rotate(-45deg);
    }
}

.hero-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    filter: contrast(1.05) brightness(0.95);
}

.hero-phone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hpp-brand {
    font-family: var(--heavy);
    font-size: 20px;
    color: var(--bone);
    letter-spacing: 4px;
    opacity: 0.15;
}

.hpp-sub {
    font-family: var(--italic);
    font-style: italic;
    font-size: 13px;
    color: var(--bone);
    opacity: 0.3;
}

/* Notificaciones */
.notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(10, 30, 60, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(245, 240, 232, 0.12);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 240, 232, 0.05);
    z-index: 5;
    white-space: nowrap;
    opacity: 0;
    animation: notifCycle 12s ease-in-out infinite;
}

.notif-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.notif-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--bone);
    letter-spacing: 0.2px;
}

.notif-time {
    font-size: 10px;
    color: rgba(245, 240, 232, 0.45);
    font-weight: 500;
}

.notif-1 {
    top: -20px;
    right: -60px;
    animation-delay: 0s;
}

.notif-2 {
    top: 100px;
    left: -120px;
    animation-delay: 2.4s;
}

.notif-3 {
    bottom: 120px;
    right: -80px;
    animation-delay: 4.8s;
}

.notif-4 {
    bottom: 10px;
    left: -100px;
    animation-delay: 7.2s;
}

.notif-5 {
    top: 220px;
    right: -40px;
    animation-delay: 9.6s;
}

@keyframes notifCycle {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }

    4% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    16% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    20% {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    100% {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Franja bone derecha del hero */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(180deg, var(--bone2) 0%, #e8dec8 100%);
    z-index: 0;
    pointer-events: none;
}

/* Texto ambiental */
.hero-bg-text {
    position: absolute;
    font-family: var(--heavy);
    color: rgba(10, 30, 60, 0.04);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    letter-spacing: 15px;
    text-transform: uppercase;
}

.hb-1 {
    top: 15%;
    left: 5%;
    font-size: 110px;
    transform: rotate(-5deg);
}

.hb-2 {
    top: 45%;
    left: -10%;
    font-size: 90px;
    transform: rotate(90deg);
}

.hb-3 {
    top: 75%;
    left: 10%;
    font-size: 120px;
    transform: rotate(-2deg);
}

.hb-4 {
    top: 25%;
    right: 0%;
    font-size: 80px;
    transform: rotate(-90deg);
}

.hb-5 {
    bottom: 10%;
    right: 5%;
    font-size: 100px;
    transform: rotate(5deg);
}

/* Phone Slider */
.phone-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: slideCycle 16s infinite linear;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s1 {
    animation-delay: 0s;
}

.s2 {
    animation-delay: 4s;
}

.s3 {
    animation-delay: 8s;
}

.s4 {
    animation-delay: 12s;
}

@keyframes slideCycle {

    0%,
    20% {
        opacity: 1;
        transform: scale(1);
    }

    25%,
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--bone);
}

.slide-placeholder span:first-child {
    font-family: var(--heavy);
    font-size: 24px;
    letter-spacing: 4px;
    opacity: 0.8;
}

.slide-placeholder span:last-child {
    font-family: var(--italic);
    font-size: 14px;
    opacity: 0.4;
}

.s1 .slide-placeholder {
    background: var(--navy);
}

.s2 .slide-placeholder {
    background: var(--scarlet);
}

.s3 .slide-placeholder {
    background: var(--navy2);
}

.s4 .slide-placeholder {
    background: var(--bone2);
    color: var(--navy);
}

/* Hero tags */
.hero-tag {
    position: absolute;
    padding: 10px 20px;
    background: rgba(245, 240, 232, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 240, 232, 0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--navy);
    z-index: 4;
    white-space: nowrap;
    animation: tagFloat 6s ease-in-out infinite alternate;
    box-shadow: 0 10px 25px rgba(10, 30, 60, 0.1);
}

.ht-1 {
    top: 12%;
    left: -40px;
    animation-delay: 0s;
}

.ht-2 {
    top: 65%;
    right: -40px;
    animation-delay: -2s;
}

.ht-3 {
    bottom: 20%;
    left: -20px;
    animation-delay: -4s;
}

@keyframes tagFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

/* Store buttons */
.hero-store-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.hsr-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 170px;
    position: relative;
    overflow: hidden;
}

.hsr-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.hsr-apple {
    background: var(--bone);
    color: var(--navy);
    border: 1px solid rgba(10, 30, 60, 0.1);
    box-shadow: 0 15px 35px rgba(10, 30, 60, 0.1);
}

.hsr-apple:hover {
    box-shadow: 0 20px 50px rgba(10, 30, 60, 0.2);
    background: var(--bone2);
}

.hsr-google {
    background: var(--bone);
    color: var(--navy);
    border: 1px solid rgba(10, 30, 60, 0.1);
    box-shadow: 0 15px 35px rgba(10, 30, 60, 0.1);
}

.hsr-google:hover {
    box-shadow: 0 20px 50px rgba(10, 30, 60, 0.2);
    background: var(--bone2);
}

.hsr-text {
    display: flex;
    flex-direction: column;
}

.hsr-sm {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.65;
    letter-spacing: 0.3px;
}

.hsr-lg {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-store-mobile {
        display: flex;
        width: 100%;
        max-width: 400px;
    }

    .hero-right,
    .hero-bg-text,
    .hero-tag {
        display: none;
    }

    .hero::after {
        display: none;
    }

    .nav-pill {
        width: calc(100% - 40px);
        min-width: unset;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 24px 60px;
    }

    .hero-headline {
        font-size: clamp(60px, 16vw, 90px);
        letter-spacing: -3px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .hero-store-mobile {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════════ */
.marquee-bar {
    background: var(--scarlet);
    overflow: hidden;
    padding: 14px 0;
    border-top: 2px solid var(--scarlet2);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: marquee 30s linear infinite;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--bone);
    white-space: nowrap;
}

.ms {
    opacity: 0.6;
    font-size: 8px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-bar:hover .marquee-track {
    animation-play-state: paused;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES — MINIMALIST BENTO
   ═══════════════════════════════════════════════════════════════════ */
.features {
    padding: 0 48px 140px;
    background: var(--bone);
}

.features-header {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding-top: 100px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: var(--scarlet);
    display: block;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--navy);
}

.section-title em {
    font-family: var(--italic);
    color: var(--scarlet);
    font-weight: 300;
}

.features-bento {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fb-card {
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
    box-shadow: 0 20px 40px rgba(10, 30, 60, 0.04);
}

.fb-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(10, 30, 60, 0.1);
}

.fb-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.bg-navy { background: var(--navy); color: var(--bone); }
.bg-bone { background: var(--bone); color: var(--navy); border: 1px solid rgba(10,30,60,0.05); }
.bg-scarlet { background: var(--scarlet); color: var(--bone); }
.bg-bone2 { background: var(--bone2); color: var(--navy); border: 1px solid rgba(10,30,60,0.05); }
.bg-navy2 { background: var(--navy2); color: var(--bone); }

.fb-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.fb-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.light .fb-icon-box {
    background: rgba(10,30,60,0.05);
}

.fb-num {
    font-family: var(--impact);
    font-size: 24px;
    opacity: 0.4;
}

.fb-body {
    margin-top: auto;
}

.fb-title {
    font-family: var(--heavy);
    font-size: clamp(28px, 2.5vw, 42px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.fb-desc {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Minimalist tiny shapes */
.fb-dot {
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 50%;
}

.fb-sq {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.fb-tri {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid currentColor;
}

.fb-bar {
    width: 16px;
    height: 6px;
    background: currentColor;
    border-radius: 10px;
}

.fb-circ {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.fb-plus {
    position: relative;
    width: 16px;
    height: 16px;
}
.fb-plus::before, .fb-plus::after {
    content: '';
    position: absolute;
    background: currentColor;
}
.fb-plus::before {
    top: 7px; left: 0; width: 16px; height: 2px;
}
.fb-plus::after {
    top: 0; left: 7px; width: 2px; height: 16px;
}

@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-bento {
        grid-template-columns: 1fr;
    }
    .fb-card {
        aspect-ratio: auto;
        padding: 32px;
        min-height: 280px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   HOW
   ═══════════════════════════════════════════════════════════════════ */
.how {
    background: var(--navy);
    padding: 140px 48px;
    color: var(--bone);
}

.how-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 120px;
    align-items: start;
}

.how-left .section-title {
    color: var(--bone);
}

.how-left .section-title em {
    color: rgba(245, 240, 232, 0.5);
}

.how-right {
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding: 40px 0;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.step:first-child {
    border-top: 2px solid var(--scarlet);
}

.step-n {
    font-family: var(--impact);
    font-size: 64px;
    line-height: 1;
    color: rgba(245, 240, 232, 0.12);
    letter-spacing: -2px;
    flex-shrink: 0;
    min-width: 80px;
}

.step:first-child .step-n {
    color: var(--scarlet);
}

.step-t {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.step-d {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.65);
}

@media (max-width: 1024px) {
    .how-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .how {
        padding: 80px 24px;
    }

    .step {
        gap: 20px;
        padding: 28px 0;
    }

    .step-n {
        font-size: 44px;
        min-width: 60px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   SECURITY
   ═══════════════════════════════════════════════════════════════════ */
.security {
    background: var(--navy);
    padding: 120px 48px;
    color: var(--bone);
}

.security-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sec-title {
    font-family: var(--serif);
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 50px;
}

.sec-point {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.sec-point:last-child {
    margin-bottom: 0;
}

.sec-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(245, 240, 232, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--bone);
    flex-shrink: 0;
    margin-top: 2px;
}

.sec-text h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--bone);
    text-transform: uppercase;
}

.sec-text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.6);
}

.sec-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec-lock-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.sec-ring-1 {
    width: 220px;
    height: 220px;
    border-color: rgba(255, 255, 255, 0.6);
    animation: pulseRing 3s infinite;
}

.sec-ring-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(255, 255, 255, 0.3);
    animation: pulseRing 3s infinite 1s;
}

.sec-ring-3 {
    width: 420px;
    height: 420px;
    border-color: rgba(255, 255, 255, 0.1);
    animation: pulseRing 3s infinite 2s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
    }
}

.sec-lock-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--scarlet) 0%, #ff4d4d 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bone);
    position: relative;
    z-index: 2;
    animation: floatLock 4s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.sec-lock-icon svg {
    width: 64px;
    height: 64px;
}

@keyframes floatLock {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .security-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .sec-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    .security {
        padding: 80px 24px;
    }
    .sec-title {
        font-size: clamp(32px, 8vw, 40px);
    }
    .sec-lock-container {
        width: 260px;
        height: 260px;
    }
    .sec-ring-3 {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════════════ */
.download {
    background: var(--bone);
    padding: 160px 48px;
    position: relative;
    overflow: hidden;
}

.dl-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 100px;
    align-items: center;
}

.section-eyebrow.light {
    color: var(--muted);
}

.dl-title {
    font-family: var(--serif);
    font-size: clamp(64px, 8vw, 120px);
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 32px;
}

.dl-title em {
    font-family: var(--italic);
    color: var(--scarlet);
    font-weight: 300;
}

.dl-sub {
    font-family: var(--italic);
    font-style: italic;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.5;
}

.dl-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
    background: var(--navy);
    color: var(--bone);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(10, 30, 60, 0.2);
    border: 1px solid rgba(245, 240, 232, 0.1);
}

.store-btn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(10, 30, 60, 0.4);
    background: var(--navy2);
}

.store-btn div {
    display: flex;
    flex-direction: column;
}

.s-sm {
    font-size: 11px;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.s-lg {
    font-size: 18px;
    font-weight: 600;
}

.dl-trust {
    font-size: 12px;
    color: var(--dim);
    letter-spacing: 0.5px;
    text-align: center;
}

.dl-bg {
    position: absolute;
    bottom: -60px;
    right: -40px;
    z-index: 1;
    font-family: var(--impact);
    font-size: clamp(200px, 28vw, 400px);
    color: rgba(10, 30, 60, 0.04);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -10px;
}

@media (max-width: 1024px) {
    .dl-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dl-title {
        font-size: clamp(56px, 12vw, 100px);
    }
}

@media (max-width: 600px) {
    .download {
        padding: 80px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--navy);
    color: var(--bone);
    padding: 80px 48px 40px;
}

.ft-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.ft-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ft-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
}

.ft-name {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 3px;
    display: block;
}

.ft-tag {
    font-family: var(--italic);
    font-style: italic;
    font-size: 13px;
    color: rgba(245, 240, 232, 0.5);
    display: block;
}

.ft-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ft-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--scarlet);
    margin-bottom: 6px;
}

.ft-col a {
    font-size: 14px;
    color: rgba(245, 240, 232, 0.65);
    transition: color 0.2s;
}

.ft-col a:hover {
    color: var(--bone);
}

.ft-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    font-size: 12px;
    color: rgba(245, 240, 232, 0.4);
    text-align: center;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 24px 32px;
    }

    .ft-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ft-cols {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Scroll reveal ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .line-reveal .line {
        animation: none;
        transform: none;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}