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

:root {
    --bg: #0a0a0f;
    --bg-surface: #111118;
    --bg-card: #16161f;
    --bg-elevated: #1c1c28;
    --border: #2a2a3a;
    --border-light: #1e1e2e;
    --text: #e8e8ef;
    --text-secondary: #a3a3b8; /* 6.6:1 on --bg-elevated */
    --text-muted: #8a8aa2; /* 5.0:1 on --bg-elevated */
    --cyan: #00E5CC;
    --cyan-dim: #00b8a3;
    --cyan-glow: rgba(0, 229, 204, 0.4);
    --cyan-subtle: rgba(0, 229, 204, 0.08);
    --red: #ff4d6a;
    --orange: #ff8c42;
    --yellow: #ffd166;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    scroll-padding-top: 88px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

::selection {
    background: var(--cyan);
    color: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.cyan { color: var(--cyan); }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--cyan);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: var(--radius-xs);
    font-weight: 600;
}

.skip-link:focus { top: 16px; }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.steps, .logo-strip-logos, .reactions-demo { list-style: none; }
.mono { font-family: var(--mono); }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan);
    background: var(--cyan-subtle);
    border: 1px solid rgba(0, 229, 204, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg);
    padding: 14px 28px;
}

.btn-primary:hover {
    background: #00f0d6;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 14px 28px;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-pulse {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover .btn-pulse {
    opacity: 1;
}

/* ==================== STORE BADGES ==================== */
/* .store-badge is written so it works identically on a <button disabled>
   (current, apps unpublished) and on an <a href> (once the stores are live). */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.store-badges-center {
    justify-content: center;
    margin: 0 auto 36px;
}

.store-badge-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.store-badges-center .store-badge-item {
    align-items: center;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 208px;
    padding: 11px 22px;
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    text-align: left;
    text-decoration: none;
}

/* Unpublished state: visibly inert. Text stays at AA contrast. */
.store-badge[disabled],
.store-badge[aria-disabled="true"] {
    cursor: not-allowed;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border-style: dashed;
    border-color: var(--border);
}

/* Live state (once these become <a href>): full colour + hover. */
a.store-badge {
    cursor: pointer;
    transition: var(--transition);
}

a.store-badge:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.store-badge-icon {
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-badge-small {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.store-badge-big {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.store-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--yellow);
}

.store-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
}

.text-link {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover { color: #6ff5e4; }

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--cyan);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-menu-cta { display: none; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: -10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.2; transform: translateX(-50%) scale(1.1); }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 204, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 640px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--cyan);
    background: var(--cyan-subtle);
    border: 1px solid rgba(0, 229, 204, 0.12);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--cyan-glow); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.glow-text {
    text-shadow: 0 0 40px var(--cyan-glow), 0 0 80px rgba(0, 229, 204, 0.2);
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

.hero-note {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-visual {
    position: relative;
    flex-shrink: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 620px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 229, 204, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 229, 204, 0.08);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0a0f;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== LOGO STRIP ==================== */
.logo-strip {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-surface);
}

.logo-strip-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.logo-strip-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.logo-strip-logos .dot {
    color: var(--text-muted);
    font-size: 8px;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 140px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(0, 229, 204, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan-subtle);
    border-radius: 14px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Check-in demo */
.check-in-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
}

.demo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 229, 204, 0.06);
    border: 2px solid rgba(0, 229, 204, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font: inherit;
    color: inherit;
    transition: var(--transition);
    animation: demoPulse 3s ease-in-out infinite;
}

.demo-circle:hover {
    background: rgba(0, 229, 204, 0.12);
    border-color: var(--cyan);
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--cyan-glow);
}

.demo-circle.confirmed {
    background: rgba(0, 229, 204, 0.2);
    border-color: var(--cyan);
    box-shadow: 0 0 60px var(--cyan-glow);
    animation: none;
}

@keyframes demoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 204, 0.1); }
    50% { box-shadow: 0 0 0 20px transparent; }
}

.demo-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--mono);
    transition: var(--transition);
}

.demo-label.confirmed { color: var(--cyan); }

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 140px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 40px;
    padding: 48px 0;
    position: relative;
}

.js .step.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .step.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.step-number {
    font-family: var(--mono);
    font-size: 64px;
    font-weight: 800;
    color: rgba(0, 229, 204, 0.35);
    line-height: 1;
    flex-shrink: 0;
    min-width: 100px;
    transition: var(--transition);
}

.step:hover .step-number {
    color: rgba(0, 229, 204, 0.55);
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== APP SCREENS ==================== */
.screens {
    padding: 140px 0;
}

.screens-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.js .screen-item.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js .screen-item.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.screen-item:nth-child(2) { transition-delay: 0.15s; }
.screen-item:nth-child(3) { transition-delay: 0.3s; }

.screen-phone {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.phone-frame-sm {
    width: 240px;
    height: 500px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 10px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.phone-frame-sm:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 204, 0.06);
    border-color: rgba(0, 229, 204, 0.15);
}

.phone-notch-sm {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #0a0a0f;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.phone-screen-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.screen-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.screen-info p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 280px;
    margin: 0 auto;
}

/* ==================== NOTIFICATIONS ==================== */
.notifications {
    padding: 140px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.notif-timeline {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.notif-group-title {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-stage {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stage-soft {
    background: rgba(0, 229, 204, 0.1);
    color: var(--cyan);
}

.stage-warning {
    background: rgba(255, 140, 66, 0.1);
    color: var(--orange);
}

.stage-alert {
    background: rgba(255, 77, 106, 0.1);
    color: var(--red);
}

.stage-contact {
    background: rgba(255, 209, 102, 0.1);
    color: var(--yellow);
}

.notif-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.notif-card:hover {
    border-color: var(--border);
    transform: translateX(4px);
}

.notif-warning { border-left: 3px solid var(--orange); }
.notif-alert { border-left: 3px solid var(--red); }
.notif-contact { border-left: 3px solid var(--yellow); }

.notif-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.notif-app-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    object-fit: contain;
}

.notif-app-name {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.notif-time {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--mono);
}

.notif-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==================== REACTIONS ==================== */
.reactions-section {
    padding: 140px 0;
}

.reactions-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.reactions-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.reactions-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 16px;
    margin-top: 16px;
}

.reactions-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.reactions-demo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.reaction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.reaction-help {
    border-color: rgba(255, 77, 106, 0.5);
}

.reaction-emoji {
    font-size: 32px;
    transition: var(--transition);
}

.reaction-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    font-family: var(--mono);
}

/* ==================== FAQ ==================== */
.faq {
    padding: 140px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-heading {
    font-size: inherit;
    letter-spacing: normal;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--cyan);
}

.faq-chevron {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--cyan);
}

.js .faq-answer {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s ease-out, visibility 0.4s;
}

.js .faq-item.open .faq-answer {
    max-height: 400px;
    visibility: visible;
    transition: max-height 0.4s ease-out, visibility 0s;
}

.faq-answer a {
    color: var(--cyan);
    text-decoration: underline;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== WAITLIST ==================== */
.waitlist {
    padding: 140px 0;
}

.waitlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.waitlist-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    opacity: 0.08;
    pointer-events: none;
}

.waitlist-content {
    position: relative;
    z-index: 1;
}

.waitlist-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 32px;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.waitlist-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.waitlist-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form-heading {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.waitlist-form {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--cyan);
}

.form-consent a {
    color: var(--cyan);
    text-decoration: underline;
}

.form-status {
    min-height: 1.6em;
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.form-status.is-success { color: var(--cyan); }
.form-status.is-error { color: #ff8a9c; }

.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading { display: inline-flex; }
.btn-loading[hidden] { display: none; }

/* ==================== FOOTER ==================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    overflow-wrap: anywhere;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 6px 0 10px;
}

.footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.5;
}

.footer-disclaimer strong { color: var(--text); }

.footer-disclaimer svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--orange);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
}

.footer-legal-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-legal-links a:hover { color: var(--cyan); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle,
    .hero-note {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta,
    .hero .store-badges {
        justify-content: center;
    }

    .hero .store-badge-item {
        align-items: center;
    }

    .hero-visual {
        margin-top: 60px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: 1 / -1;
    }

    .screens-showcase {
        gap: 30px;
    }

    .reactions-card {
        padding: 60px 40px;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        height: 100vh;
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
        visibility: visible;
        /* become visible immediately so focus can move into the menu */
        transition: transform 0.3s ease, visibility 0s;
    }

    .nav-menu-cta {
        display: inline-flex;
        padding: 14px 28px;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: clamp(40px, 10vw, 60px);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .store-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .phone-frame {
        width: 260px;
        height: 540px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 16px;
    }

    .step-number {
        font-size: 48px;
    }

    .screens-showcase {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .phone-frame-sm {
        width: 220px;
        height: 460px;
    }

    .reactions-card {
        grid-template-columns: 1fr;
        padding: 48px 28px;
    }

    .reactions-demo {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .reaction-emoji {
        font-size: 24px;
    }

    .reaction-label {
        font-size: 10px;
    }

    .waitlist-card {
        padding: 60px 28px;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
    }

}

@media (max-width: 480px) {
    .reactions-demo {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .notif-timeline {
        padding: 0 8px;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    html { scroll-behavior: auto; }

    .js .step.reveal,
    .js .screen-item.reveal {
        opacity: 1;
        transform: none;
    }

    .btn-primary:hover,
    .feature-card:hover,
    .phone-frame-sm:hover,
    .notif-card:hover,
    .footer-col a:hover,
    .demo-circle:hover {
        transform: none;
    }
}
