/* ============================================================
   N.A.T.A — Unified Stylesheet
   Single source of truth for the landing page.
   ============================================================ */

/* ----------------------------------------------------------
   0a. Screen-reader only utility
   ---------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    z-index: 10000;
    padding: 10px 24px;
    background: var(--nata-indigo);
    color: var(--nata-cream);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ----------------------------------------------------------
   0. Custom Properties
   ---------------------------------------------------------- */
:root {
    /* N.A.T.A brand tokens */
    --nata-cream:  #FAF7F2;
    --nata-indigo: #4F46E5;
    --nata-coral:  #FF6B6B;
    --nata-turq:   #2EC4B6;
    --nata-yellow: #FFD166;

    /* Palette */
    --cream:          var(--nata-cream);
    --cream-mid:      #F0EBE3;
    --cream-dark:     #E5DFD5;
    --indigo:         #4F46E5;
    --indigo-deep:    #3730A3;
    --indigo-dark:    #1E1B4B;
    --indigo-darkest: #0f0e2a;
    --coral:          #FF6B6B;
    --turquoise:      #2EC4B6;
    --text-dark:      var(--nata-indigo);
    --text-muted:     rgba(250, 247, 242, 0.55);
    --accent:         var(--nata-coral);

    /* Glass effects */
    --glass-bg:       rgba(250, 247, 242, 0.08);
    --glass-border:   rgba(250, 247, 242, 0.12);
    --glass-strong:   rgba(250, 247, 242, 0.14);

    /* Typography */
    --serif:   'Georgia', serif;
    --sans:    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Phone dimensions */
    --phone-w:        280px;
    --phone-h:        570px;
    --phone-r:        50px;
    --phone-screen-r: 44px;
    --phone-bezel:    8px;

    /* Easings */
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ----------------------------------------------------------
   1. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: auto;
}

body {
    font-family: var(--sans);
    background: var(--indigo-darkest);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* Focus-visible outlines for keyboard users */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="option"]:focus-visible {
    outline: 2px solid var(--nata-turq);
    outline-offset: 2px;
}

/* ----------------------------------------------------------
   2. Loader
   ---------------------------------------------------------- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(55, 48, 163, 0.85);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-wordmark {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--cream);
    margin-bottom: 2rem;
}

.loader-bar {
    width: 120px;
    height: 2px;
    background: rgba(250, 247, 242, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--cream);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ----------------------------------------------------------
   3. Progress Bar
   ---------------------------------------------------------- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1000;
    pointer-events: none;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--indigo), var(--turquoise));
    border-radius: 0 1px 1px 0;
    will-change: width;
}

/* ----------------------------------------------------------
   4. Film Grain
   ---------------------------------------------------------- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s;
}

.grain.visible {
    opacity: 1;
}

.grain::before {
    content: '';
    position: fixed;
    inset: -200%;
    width: 400%;
    height: 400%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
    opacity: 0.25;
    animation: grainShift 6s steps(8) infinite;
}

@keyframes grainShift {
    0%   { transform: translate(0, 0); }
    12%  { transform: translate(-5%, -8%); }
    25%  { transform: translate(3%, -12%); }
    37%  { transform: translate(-8%, 5%); }
    50%  { transform: translate(6%, -3%); }
    62%  { transform: translate(-3%, 10%); }
    75%  { transform: translate(8%, -6%); }
    87%  { transform: translate(-6%, 3%); }
    100% { transform: translate(0, 0); }
}

/* ----------------------------------------------------------
   5. Scroll Container & Scene
   ---------------------------------------------------------- */
.scroll-container {
    height: 400vh;
    position: relative;
}

.scene {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------------------------
   6. Background Video
   ---------------------------------------------------------- */
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    transform-origin: center center;
    transform: translate3d(0, 0, 0);
}

.video-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(255, 183, 120, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(193, 154, 107, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #2a2548 0%, #1a1a2e 40%, #0f0e2a 100%);
    animation: fallbackShift 12s ease-in-out infinite alternate;
}

@keyframes fallbackShift {
    0%   { filter: hue-rotate(0deg) brightness(1); }
    100% { filter: hue-rotate(8deg) brightness(1.05); }
}

.blur-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(15, 14, 42, 0.5);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    opacity: 0;
    will-change: opacity;
    pointer-events: none;
}

.video-scrim {
    position: fixed;
    top: 0;
    left: 0;
    width: 55vw;
    height: 100vh;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* ----------------------------------------------------------
   7. Phone Device
   ---------------------------------------------------------- */
.phone-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-device {
    perspective: 1200px;
    position: relative;
}

.phone-frame {
    position: relative;
    width: var(--phone-w);
    height: var(--phone-h);
    background: #0a0a1a;
    border-radius: var(--phone-r);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: rotateY(-3deg) rotateX(2deg);
    box-shadow:
        inset 0 0 0 var(--phone-bezel) #0a0a1a,
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 12px 28px -8px rgba(0, 0, 0, 0.4);
}

.phone-screen-container {
    position: absolute;
    top: var(--phone-bezel);
    left: var(--phone-bezel);
    right: var(--phone-bezel);
    bottom: var(--phone-bezel);
    border-radius: var(--phone-screen-r);
    overflow: hidden;
}

.phone-reflection {
    position: absolute;
    inset: 0;
    border-radius: var(--phone-r);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.03) 100%
    );
    pointer-events: none;
    z-index: 60;
}

.phone-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(12px);
    z-index: -1;
}

/* ----------------------------------------------------------
   8. Phone Screens
   ---------------------------------------------------------- */
.screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: none;
    will-change: opacity;
    display: flex;
    flex-direction: column;
}

.screen.active {
    opacity: 1;
}

.screen-splash {
    background: var(--cream);
}

/* ----------------------------------------------------------
   9. Screen Capture (screenshot images)
   ---------------------------------------------------------- */
.screen-capture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 10;
}

/* ----------------------------------------------------------
   10. Floating Text
   ---------------------------------------------------------- */
.floating-text {
    position: absolute;
    z-index: 20;
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.floating-text p {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 1.25;
    color: var(--cream);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* All floating texts centered on screen (no phone to offset from) */
.text-1, .text-2, .text-3 {
    top: 50%;
    left: 50%;
    text-align: center;
}

.text-1 p, .text-2 p, .text-3 p {
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
}

/* Glass effect for floating texts */
.text-1, .text-2, .text-3 {
    z-index: 10;
    background: rgba(79, 70, 229, 0.35) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(250, 247, 242, 0.2) !important;
    color: var(--nata-cream) !important;
    border-radius: 24px;
    padding: 1.4rem 1.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.text-1 *, .text-2 *, .text-3 * {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* ----------------------------------------------------------
   11. Scroll Indicator
   ---------------------------------------------------------- */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.6s;
    pointer-events: none;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.80rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nata-cream);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.scroll-indicator-line {
    width: 3px;
    height: 40px;
    background: rgba(250, 247, 242, 0.12);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.scroll-indicator-dot {
    width: 3px;
    height: 12px;
    background: var(--cream);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { transform: translateY(-12px); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: translateY(40px); opacity: 0; }
}

/* ----------------------------------------------------------
   11b. Hero Intro (State 0 — before scroll)
   ---------------------------------------------------------- */
.hero-intro-left,
.hero-intro-right {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    line-height: 1.35;
    color: var(--nata-cream) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    white-space: normal;
    background: rgba(79, 70, 229, 0.25) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 247, 242, 0.2) !important;
    border-radius: 22px;
    padding: 1.4rem 1.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    min-width: 280px;
    max-width: 420px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-intro-left {
    right: calc(50% + var(--phone-w) / 2 + 40px);
    text-align: right;
}

.hero-intro-right {
    left: calc(50% + var(--phone-w) / 2 + 40px);
    text-align: center;
}

/* ----------------------------------------------------------
   12. Fixed Header & Language Switcher
   ---------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    pointer-events: none;
}

.site-header > * {
    pointer-events: auto;
}

.header-waitlist-btn {
    display: flex;
    align-items: center;
    background: rgba(30, 27, 75, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--nata-cream);
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(250, 247, 242, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 36px;
    box-sizing: border-box;
}

.header-waitlist-btn:hover {
    background: var(--nata-indigo);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.lang-switcher {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 27, 75, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--nata-cream);
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(250, 247, 242, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 36px;
    box-sizing: border-box;
}

.lang-trigger:hover {
    background: var(--nata-indigo);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.lang-globe {
    flex-shrink: 0;
    opacity: 0.8;
}

.lang-code {
    line-height: 1;
}

.lang-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.25s ease;
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: rgba(30, 27, 75, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(250, 247, 242, 0.15);
    border-radius: 10px;
    padding: 4px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(250, 247, 242, 0.75);
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown li:hover,
.lang-dropdown li.kb-focus {
    background: rgba(250, 247, 242, 0.1);
    color: var(--nata-cream);
}

.lang-dropdown li[aria-selected="true"] {
    color: var(--nata-cream);
    font-weight: 600;
}

/* ----------------------------------------------------------
   13. Shared Section Styles
   ---------------------------------------------------------- */
.section-dark {
    background: var(--text-dark);
    color: var(--cream);
}

.section-light {
    background: var(--cream);
    color: var(--text-dark);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 32px;
}

.section-heading {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--cream);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   13b. Pain Points Section
   ---------------------------------------------------------- */
.section-pain {
    text-align: center;
    padding: 100px 32px 80px;
    margin-bottom: -1px;
}

.pain-inner {
    max-width: 640px;
    margin: 0 auto;
}

.pain-line {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(250, 247, 242, 0.55);
    margin-bottom: 16px;
    letter-spacing: -0.005em;
}

.pain-divider {
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(250, 247, 242, 0.2);
    margin: 48px auto;
}

.pain-survey {
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    line-height: 1.7;
    color: rgba(250, 247, 242, 0.7);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.pain-resolution {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.3;
    color: var(--nata-cream);
    margin-top: 16px;
    letter-spacing: -0.01em;
}

/* ----------------------------------------------------------
   14. V2 Slide Layout
   ---------------------------------------------------------- */
.v2-slide {
    position: relative;
    overflow: hidden;
    margin-bottom: -1px;
}

.v2-slide--dark {
    background: var(--text-dark);
    color: var(--cream);
}

.v2-slide--light {
    background: var(--cream);
    color: var(--text-dark);
}

.v2-slide-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: auto;
}

.v2-slide-inner--reverse {
    direction: rtl;
}

.v2-slide-inner--reverse > * {
    direction: ltr;
}

.v2-slide-text {
    display: flex;
    flex-direction: column;
}

.v2-slide-number {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.v2-slide--dark .v2-slide-number {
    color: var(--turquoise);
}

.v2-slide--light .v2-slide-number {
    color: var(--indigo);
}

.v2-slide-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
}

.v2-slide--dark .v2-slide-title {
    color: var(--cream);
}

.v2-slide--light .v2-slide-title {
    color: var(--text-dark);
}

.v2-slide-subtitle {
    color: var(--nata-turq);
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    font-weight: 400;
    line-height: 1.7;
    max-width: 440px;
}

.v2-slide--dark .v2-slide-subtitle {
    color: var(--text-muted);
}

.v2-slide--light .v2-slide-subtitle {
    color: #2EC4B6;
}

.v2-slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

/* ----------------------------------------------------------
   15. Slide Phone Mockup
   ---------------------------------------------------------- */
.slide-phone-mockup {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

.slide-phone-mockup .phone-screen-container {
    background: var(--cream);
    will-change: transform; /* Firefox: force proper overflow:hidden + border-radius clipping */
}

.slide-phone-mockup .screen-capture {
    object-fit: cover;
    top: 6px;
}

.slide-phone-mockup .phone-frame {
    transform: none;
}

/* ----------------------------------------------------------
   16. City Showcase
   ---------------------------------------------------------- */
.section-cities {
    background-color: var(--nata-cream) !important;
}

.section-cities .section-heading {
    color: var(--nata-indigo) !important;
}

/* Featured City (Barcelona) */
.city-featured {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15);
}

.city-featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.city-featured-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.city-featured-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    width: 100%;
}

.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--turquoise);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    background-color: var(--nata-indigo) !important;
    color: var(--nata-cream) !important;
}

.city-badge svg {
    flex-shrink: 0;
}

.city-name {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: white;
    margin-bottom: 8px;
}

.city-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

/* Coming Soon */
.city-coming {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.city-coming-label {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 360px;
}

.city-coming-line {
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    background-color: var(--nata-indigo) !important;
    opacity: 0.3 !important;
}

.city-coming-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    color: var(--nata-indigo) !important;
}

/* City Cards Row */
.city-cards-row {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.city-cards-row::-webkit-scrollbar {
    display: none;
}

/* Swipe hint — mobile only */
.city-swipe-hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--nata-indigo);
    opacity: 0.5;
    margin-top: 16px;
    animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Individual City Card */
.city-card {
    position: relative;
    flex: 0 0 220px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: default;
}

.city-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.75);
    transition: filter 0.4s ease;
}

.city-card:hover .city-card-img {
    filter: brightness(0.92) saturate(0.85);
}

.city-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.city-card-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #64748B;
    transition: transform 0.3s ease;
    background-color: rgba(250, 247, 242, 0.9) !important;
    color: var(--nata-indigo) !important;
}

.city-card:hover .city-card-lock {
    transform: translate(-50%, -50%) scale(1.08);
}

.city-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
}

.city-card-country {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.city-card-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.city-card-status {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

/* Text on photos — cream with shadow */
.city-featured-content .city-name,
.city-featured-content .city-desc,
.city-card-content .city-card-country,
.city-card-content .city-card-name,
.city-card-content .city-card-status {
    color: var(--nata-cream) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ----------------------------------------------------------
   16b. Manifesto / Brand Promise
   ---------------------------------------------------------- */
/* ----------------------------------------------------------
   15b. FAQ
   ---------------------------------------------------------- */
.section-faq {
    padding: 48px 0;
}

.section-faq .section-heading {
    color: var(--text-dark);
}

.faq-inner {
    max-width: 760px;
    padding: 0 32px;
}

.faq-eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--indigo);
    text-align: center;
    margin-bottom: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(30, 27, 75, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(30, 27, 75, 0.12);
    padding: 24px 0;
}

.faq-question {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    line-height: 1.4;
    padding-right: 8px;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-family: var(--sans);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-dark);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: rgba(30, 27, 75, 0.75);
}

.faq-answer {
    font-family: var(--sans);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: rgba(30, 27, 75, 0.75);
    margin-top: 16px;
    padding-right: 40px;
}

.section-manifesto {
    text-align: center;
    padding: 120px 32px 30px;
    margin-bottom: -1px;
}

.manifesto-text {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.35;
    color: var(--nata-cream);
    max-width: 720px;
    margin: 0 auto;
    opacity: 1;
    letter-spacing: -0.01em;
}

.manifesto-char {
    opacity: 0;
}

.manifesto-line {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(250, 247, 242, 0.25);
    margin: 48px auto 0;
}

/* ----------------------------------------------------------
   17. CTA / Waitlist
   ---------------------------------------------------------- */
.section-cta {
    text-align: center;
}

.section-cta .section-inner {
    padding: 60px 32px 60px;
}

.cta-content {
    max-width: 560px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nata-coral);
    margin-bottom: 16px;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
    font-weight: 300;
    color: var(--nata-cream);
}

.cta-subtitle {
    color: rgba(250, 247, 242, 0.8);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-pricing {
    margin-top: 2rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.waitlist-form {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.waitlist-input-wrap {
    display: flex;
    background: var(--nata-cream);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.3s;
}

.waitlist-input-wrap:focus-within {
    border-color: var(--nata-indigo);
}

.waitlist-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--nata-indigo);
    background: transparent;
}

.waitlist-input::placeholder {
    color: rgba(79, 70, 229, 0.5);
}

.waitlist-btn {
    padding: 16px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--nata-cream);
    background: var(--nata-indigo);
    border-radius: 12px;
    margin: 4px;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.waitlist-btn:hover {
    background: var(--indigo-deep);
    transform: scale(1.02);
}

.waitlist-btn-text,
.waitlist-btn-success {
    transition: opacity 0.3s, transform 0.3s;
}

.waitlist-btn-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
}

.waitlist-btn.success .waitlist-btn-text {
    opacity: 0;
    transform: scale(0.8);
}

.waitlist-btn.success .waitlist-btn-success {
    opacity: 1;
    transform: scale(1);
}

.waitlist-btn.success {
    background: var(--turquoise);
    pointer-events: none;
}

.waitlist-note {
    font-size: 0.72rem;
    color: rgba(250, 247, 242, 0.5);
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* Consent checkbox */
.consent-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    cursor: pointer;
    text-align: left;
}
.consent-check input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid rgba(250, 247, 242, 0.4);
    border-radius: 3px;
    background: var(--cream);
    cursor: pointer;
    position: relative;
}
.consent-check input[type="checkbox"]:checked {
    border-color: var(--cream);
}
.consent-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--indigo);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.consent-text {
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.5);
    font-weight: 300;
    line-height: 1.4;
}
.consent-text a {
    color: rgba(250, 247, 242, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.consent-text a:hover {
    color: var(--cream);
}
.modal-form .consent-check {
    margin-top: 0;
    justify-content: flex-start;
}

/* ----------------------------------------------------------
   18. Download Section & Store Buttons & QR
   ---------------------------------------------------------- */
.ui-download {
    display: none;
}
.dl-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nata-yellow);
    margin-bottom: 16px;
}
.dl-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    font-weight: 300;
    color: var(--nata-cream);
}
.dl-subtitle {
    color: rgba(250, 247, 242, 0.8);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.download-hidden {
    display: none;
}
.qr-img {
    width: 140px;
    height: 140px;
    display: block;
    border-radius: 8px;
}
.qr-text {
    margin-top: 16px;
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}
.store-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    width: 160px;
    box-sizing: border-box;
}

.store-badge:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-sub {
    font-size: 0.55rem;
    line-height: 1.1;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box {
    background: var(--nata-cream);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ----------------------------------------------------------
   19. Footer
   ---------------------------------------------------------- */
.site-footer {
    background: var(--indigo-darkest);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 32px;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.25);
    background-color: var(--nata-indigo) !important;
    color: var(--nata-cream) !important;
    border-top: 1px solid rgba(250, 247, 242, 0.1) !important;
}

.footer-copy {
    flex-shrink: 0;
}

.footer-partner-link {
    font-size: 11px;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.55) !important;
    transition: color 0.3s;
    letter-spacing: 0.01em;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-legal-link {
    font-size: 11px;
    font-weight: 300;
    color: rgba(250, 247, 242, 0.55) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.footer-legal-link:hover {
    color: var(--nata-cream) !important;
}

.footer-sep {
    font-size: 11px;
    color: rgba(250, 247, 242, 0.4);
    margin: 0 8px;
}

footer a, .footer a, .site-footer a {
    color: rgba(250, 247, 242, 0.7) !important;
    transition: color 0.3s ease;
}

footer a:hover, .footer a:hover, .site-footer a:hover {
    color: var(--nata-cream) !important;
}

.footer-partner-link:hover {
    color: var(--nata-cream) !important;
}

/* ----------------------------------------------------------
   19b. Legal Modal (Privacy / Terms)
   ---------------------------------------------------------- */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.35);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.legal-modal.open .modal-backdrop {
    opacity: 1;
}

.legal-modal-content {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: rgba(250, 247, 242, 0.06);
    border: 1px solid rgba(250, 247, 242, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(40px) saturate(1.2);
    -webkit-backdrop-filter: blur(40px) saturate(1.2);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.legal-modal.open .legal-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(20px, 4vw, 32px) clamp(28px, 5vw, 48px);
    border-bottom: 1px solid rgba(250, 247, 242, 0.08);
    flex-shrink: 0;
}

.legal-modal-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--nata-cream);
    margin: 0;
    line-height: 1.2;
}

.legal-modal-header .modal-close {
    position: static;
    flex-shrink: 0;
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 40px) clamp(28px, 5vw, 48px);
    color: var(--nata-cream);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
}

.legal-modal-body::-webkit-scrollbar {
    width: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(250, 247, 242, 0.15);
    border-radius: 4px;
}

.legal-modal-body h2 {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--nata-cream);
}

.legal-modal-body h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.8rem 0 0.6rem;
    color: var(--nata-cream);
}

.legal-modal-body p {
    margin: 0 0 0.8rem;
    color: rgba(250, 247, 242, 0.8);
}

.legal-modal-body ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.legal-modal-body li {
    margin-bottom: 0.4rem;
    color: rgba(250, 247, 242, 0.75);
}

.legal-modal-body strong {
    font-weight: 500;
    color: var(--nata-cream);
}

.legal-modal-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    color: rgba(250, 247, 242, 0.4);
}

.legal-modal-error {
    text-align: center;
    padding: 32px 0;
    color: rgba(250, 247, 242, 0.5);
    font-size: 0.85rem;
}

/* ----------------------------------------------------------
   20. Partner Modal
   ---------------------------------------------------------- */
.partner-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.partner-modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.35);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.partner-modal.open .modal-backdrop {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(250, 247, 242, 0.06);
    border: 1px solid rgba(250, 247, 242, 0.1);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 48px);
    backdrop-filter: blur(40px) saturate(1.2);
    -webkit-backdrop-filter: blur(40px) saturate(1.2);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo);
}

.partner-modal.open .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(250, 247, 242, 0.15);
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 247, 242, 0.4);
    border-radius: 50%;
    transition: color 0.3s, background 0.3s;
}

.modal-close:hover {
    color: var(--cream);
    background: rgba(250, 247, 242, 0.08);
}

.modal-header {
    margin-bottom: 32px;
}

.modal-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--turquoise);
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 400;
    color: var(--nata-cream);
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--nata-cream);
    line-height: 1.5;
}

/* Modal Form */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--nata-cream);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--nata-indigo) !important;
    background: var(--nata-cream);
    border: 1px solid rgba(250, 247, 242, 0.15);
    border-radius: 12px;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--nata-cream);
    background: var(--nata-cream);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(79, 70, 229, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Custom Dropdown */
.custom-select {
    position: relative;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--nata-indigo) !important;
    background: var(--nata-cream);
    border: 1px solid rgba(250, 247, 242, 0.15);
    border-radius: 12px;
    text-align: left;
    transition: border-color 0.3s, background 0.3s;
}

.select-trigger:focus {
    border-color: var(--nata-cream);
    background: var(--nata-cream);
}

.select-value[data-placeholder="true"] {
    color: rgba(79, 70, 229, 0.5);
}

.select-chevron {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}

.custom-select.open .select-chevron {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    list-style: none;
    background: var(--nata-cream);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease-out-expo);
    z-index: 100;
}

.custom-select.open .select-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.select-dropdown li {
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--nata-indigo);
    cursor: pointer;
    transition: color 0.2s;
}

.select-dropdown li:hover {
    background: transparent;
    color: var(--nata-turq);
}

.select-dropdown li.kb-focus {
    background: transparent;
    color: var(--nata-turq);
}

.select-dropdown li[aria-selected="true"] {
    color: var(--nata-turq);
    font-weight: 400;
}

/* Modal Submit */
.modal-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
    background: var(--indigo);
    border-radius: 14px;
    margin-top: 8px;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    min-height: 52px;
}

.modal-submit:hover {
    background: var(--indigo-deep);
    transform: scale(1.01);
}

.modal-submit-text,
.modal-submit-loading,
.modal-submit-success {
    transition: opacity 0.3s, transform 0.3s;
}

.modal-submit-loading,
.modal-submit-success {
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
}

.modal-submit.loading .modal-submit-text {
    opacity: 0;
    transform: scale(0.8);
}

.modal-submit.loading .modal-submit-loading {
    opacity: 1;
    transform: scale(1);
}

.modal-submit.success .modal-submit-text {
    opacity: 0;
    transform: scale(0.8);
}

.modal-submit.success .modal-submit-loading {
    opacity: 0;
}

.modal-submit.success .modal-submit-success {
    opacity: 1;
    transform: scale(1);
}

.modal-submit.success {
    background: var(--turquoise);
    pointer-events: none;
}

/* ----------------------------------------------------------
   21. Responsive — Tablet (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .scene {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .phone-wrapper {
        padding-top: 0;
    }

    .floating-text p {
        font-size: clamp(0.9rem, 4.5vw, 1.2rem) !important;
    }

    .text-1, .text-2, .text-3 {
        position: absolute;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        width: calc(100% - 48px);
        max-width: 320px;
        padding: 0.8rem 1.2rem;
        background: rgba(79, 70, 229, 0.55) !important;
    }

    .text-1 { top: 35%; }
    .text-2 { top: 50%; }
    .text-3 { top: 65%; }

    .hero-intro-left,
    .hero-intro-right {
        position: static;
        top: auto;
        transform: none;
        text-align: center;
        font-size: clamp(0.9rem, 4.5vw, 1.2rem) !important;
        padding: 0.8rem 1.2rem;
        border-radius: 14px;
        white-space: normal;
        width: calc(100% - 48px);
        max-width: 320px;
        margin: 20px auto;
        background: rgba(79, 70, 229, 0.55) !important;
    }

    /* Scale down scroll indicator on mobile */
    .scroll-indicator {
        bottom: 12px;
        gap: 4px;
    }

    .scroll-indicator span {
        font-size: 0.55rem;
        letter-spacing: 0.15em;
    }

    .scroll-indicator-line {
        height: 20px;
    }

    .v2-slide-inner,
    .v2-slide-inner--reverse {
        grid-template-columns: 1fr;
        gap: 48px;
        direction: ltr;
        text-align: center;
    }

    .v2-slide-text {
        order: 1;
    }

    .v2-slide-visual {
        order: 0;
        min-height: 320px;
    }

    .v2-slide-subtitle {
        margin: 0 auto;
    }
}

/* ----------------------------------------------------------
   22. Responsive — Mobile (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --phone-w: 220px;
        --phone-h: 450px;
        --phone-r: 40px;
        --phone-screen-r: 35px;
        --phone-bezel: 6px;
    }

    .section-pain {
        padding: 64px 24px 56px;
    }

    .pain-line {
        margin-bottom: 12px;
    }

    .pain-divider {
        margin: 32px auto;
    }



    .waitlist-input-wrap {
        flex-direction: column;
    }

    .waitlist-btn {
        margin: 4px;
    }

    .section-inner {
        padding: 80px 20px;
    }

    .city-featured {
        min-height: 260px;
    }

    .city-card {
        flex: 0 0 180px;
        height: 240px;
    }

    .city-swipe-hint {
        display: block;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
        padding: 16px 24px;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 24px;
    }

    .v2-slide-inner {
        padding: 40px 24px;
        min-height: auto;
    }

    .v2-slide-visual {
        min-height: 280px;
    }

    .slide-phone-mockup .phone-frame {
        width: 220px;
        height: 448px;
    }
}

/* ----------------------------------------------------------
   23. Responsive — Small Mobile (≤ 400px)
   ---------------------------------------------------------- */
@media (max-width: 400px) {
    :root {
        --phone-w: 190px;
        --phone-h: 390px;
        --phone-r: 36px;
        --phone-screen-r: 30px;
    }

    .section-inner {
        padding: 64px 16px;
    }

    .city-featured {
        min-height: 220px;
    }

    .city-featured-content {
        padding: 24px;
    }

    .city-card {
        flex: 0 0 160px;
        height: 220px;
    }

    .city-card-name {
        font-size: 1.25rem;
    }

    .v2-slide-inner {
        padding: 64px 16px;
    }

    .slide-phone-mockup .phone-frame {
        width: 190px;
        height: 387px;
    }

    .hero-intro-left,
    .hero-intro-right {
        font-size: clamp(0.8rem, 4vw, 1rem) !important;
        padding: 0.6rem 1rem;
        max-width: 280px;
        margin: 12px auto;
    }

    .scroll-indicator {
        bottom: 8px;
        gap: 3px;
    }

    .scroll-indicator span {
        font-size: 0.5rem;
    }

    .scroll-indicator-line {
        height: 14px;
    }
}

/* ----------------------------------------------------------
   24. Reduced Motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .grain::before { animation: none; }
    .scroll-indicator-dot { animation: none; }
    .video-fallback { animation: none; }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ----------------------------------------------------------
   25. Custom Scrollbar
   ---------------------------------------------------------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(250, 247, 242, 0.08);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 247, 242, 0.15);
}
