/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-darkest: #0a0a1a;
    --bg-dark: #0f0f23;
    --bg-card: #16213e;
    --accent: #00d4ff;
    --accent-hover: #00b8d9;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --text: #ffffff;
    --text-secondary: #999999;
    --text-muted: #666666;
    --border: #1a1a3e;
    --green: #4dff88;
    --orange: #f97316;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--bg-darkest);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--accent);
}

/* ─── Nav ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links .nav-cta {
    background: var(--accent);
    color: var(--bg-darkest);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.nav-links .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--bg-darkest);
    transform: translateY(-1px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-lang {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
}

.nav-lang a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-lang a:hover {
    color: var(--text);
}

.nav-lang a.lang-active {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    z-index: 99;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 0;
}

.mobile-menu .nav-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-darkest);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    background: rgba(0, 212, 255, 0.05);
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.hero-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.hero-form input::placeholder {
    color: var(--text-muted);
}

.hero-form input:focus {
    border-color: var(--accent);
}

.hero-form button {
    padding: 14px 28px;
    background: var(--accent);
    color: var(--bg-darkest);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.hero-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.hero-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ─── Features ─── */
.features {
    padding: 120px 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-glow);
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── App Preview ─── */
.app-preview {
    padding: 120px 0;
}

.preview-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.preview-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}

.preview-tab:hover {
    color: var(--text);
    border-color: rgba(0, 212, 255, 0.3);
}

.preview-tab.active {
    background: var(--accent);
    color: var(--bg-darkest);
    border-color: var(--accent);
    font-weight: 600;
}

.preview-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.preview-tab.active svg {
    stroke: var(--bg-darkest);
}

.preview-device-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.preview-device {
    width: 340px;
}

.preview-device .device-screen {
    min-height: 440px;
}

.preview-scene {
    display: none;
    flex-direction: column;
}

.preview-scene.active {
    display: flex;
    animation: previewFadeIn 0.35s ease;
}

@keyframes previewFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.preview-fade {
    opacity: 0;
    transform: translateY(8px);
}

.preview-fade.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Voice indicator */
.preview-voice-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
}

.voice-wave span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
    animation: wave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 32px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 24px; animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { height: 16px; animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { height: 8px; animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.voice-label {
    font-size: 0.6rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* System message */
.preview-system-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: 4px 12px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 8px;
    font-size: 0.6rem;
    color: var(--orange);
    font-weight: 600;
}

/* Action log */
.preview-action-log {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
    margin: 4px 0;
    align-self: flex-start;
    max-width: 88%;
}

.action-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(77, 255, 136, 0.04);
    border: 1px solid rgba(77, 255, 136, 0.15);
    border-radius: 8px;
    font-size: 0.6rem;
    color: var(--green);
    font-weight: 500;
}

.action-step svg {
    flex-shrink: 0;
}

/* Progress dots */
.preview-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.preview-dot:hover {
    transform: scale(1.3);
}

.preview-dot.active {
    background: var(--accent);
}

/* Caption */
.preview-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── Use Cases ─── */
.usecases {
    padding: 120px 0;
    background: var(--bg-dark);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s, border-color 0.3s;
}

.usecase-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.usecase-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.usecase-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.usecase-emoji {
    font-size: 2rem;
}

.usecase-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.usecase-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.usecase-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.usecase-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.usecase-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ─── Privacy ─── */
.privacy-section {
    padding: 120px 0;
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.privacy-content.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.privacy-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.privacy-text > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

/* ─── Device Mockup ─── */
.device-mockup {
    width: 300px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 36px;
    border: 3px solid #2a2a4a;
    padding: 10px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.device-screen {
    background: var(--bg-darkest);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Force ALL svgs inside mockup to be tiny */
.device-mockup svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
    display: block;
}

/* Header */
.device-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border);
}

.device-header-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3px;
}

.device-header-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.device-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* Domain Tabs */
.device-tabs {
    display: flex;
    gap: 6px;
    padding: 8px 16px;
}

.device-tab {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    white-space: nowrap;
}

/* Chat area */
.device-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    flex: 1;
}

.device-msg {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.68rem;
    line-height: 1.4;
    max-width: 88%;
}

.device-msg.user {
    background: var(--accent);
    color: var(--bg-darkest);
    align-self: flex-end;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.device-msg.assistant {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

/* Appointment cards */
.device-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-self: flex-start;
    max-width: 88%;
}

.device-card {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.device-card-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.device-card-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
}

.device-card-detail {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.device-card-badge {
    font-size: 0.5rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.device-card-badge.confirmed {
    color: var(--green);
    background: rgba(77, 255, 136, 0.12);
    border: 1px solid rgba(77, 255, 136, 0.25);
}

.device-card-badge.pending {
    color: var(--orange);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.device-card-badge.new {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

/* Input bar */
.device-input-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
}

.device-input-field {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.58rem;
    color: var(--text-muted);
    min-width: 0;
}

.device-input-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.device-input-icon.send {
    background: var(--accent);
}

.device-input-icon.send svg {
    stroke: var(--bg-darkest);
}

.device-input-icon.muted svg {
    stroke: var(--text-muted);
}

/* Bottom tab bar */
.device-tab-bar {
    display: flex;
    justify-content: space-around;
    padding: 6px 0 10px;
    border-top: 1px solid var(--border);
}

.device-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.5rem;
    color: var(--text-muted);
    position: relative;
}

.device-tab-item.active {
    color: var(--accent);
}

.device-tab-item.active svg {
    stroke: var(--accent);
}

.device-tab-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-darkest);
    font-size: 0.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* On-device badge */
.device-privacy-badge {
    text-align: center;
    font-size: 0.6rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    background: rgba(77, 255, 136, 0.08);
    border-radius: 100px;
    display: inline-block;
    margin: 8px auto 0;
}

/* ─── Waitlist ─── */
.waitlist {
    padding: 120px 0;
    background: var(--bg-dark);
}

.waitlist-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.waitlist-content.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.waitlist-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.waitlist-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto 48px;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input::placeholder {
    color: var(--text-muted);
}

.waitlist-form input:focus {
    border-color: var(--accent);
}

.waitlist-form button {
    padding: 16px 28px;
    background: var(--accent);
    color: var(--bg-darkest);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.waitlist-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.waitlist-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ─── Footer ─── */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Form success state ─── */
.form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(77, 255, 136, 0.08);
    border: 1px solid rgba(77, 255, 136, 0.2);
    border-radius: 10px;
    color: var(--green);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .privacy-visual {
        order: -1;
    }

    .preview-device {
        width: 300px;
    }

    .preview-device .device-screen {
        min-height: 400px;
    }

    .footer-links {
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .hero-form {
        flex-direction: column;
    }

    .hero-form button {
        width: 100%;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }

    .waitlist-stats {
        gap: 32px;
    }

    .preview-tab svg {
        display: none;
    }

    .preview-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .preview-device {
        width: 280px;
    }

    .preview-device .device-screen {
        min-height: 380px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .privacy-text h2 {
        font-size: 1.6rem;
    }
}
