/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #05070b;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --accent: #7ef8ff;
    --accent-2: #c084fc;
    --text: #e8edf7;
    --muted: #9ea7ba;
    --radius: 18px;
    --shadow: 0 25px 90px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

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

.page-shell {
    position: relative;
    min-height: 100vh;
    padding: 32px 24px 64px;
}

.content-width {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background */
.bg-grid {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 248, 255, 0.2), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(192, 132, 252, 0.18), transparent 35%),
        linear-gradient(135deg, rgba(126, 248, 255, 0.12), rgba(192, 132, 252, 0.12));
    opacity: 0.9;
    z-index: 0;
}

.bg-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 70%);
    opacity: 0.35;
}

.orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
    z-index: 1;
}

.orb-1 { top: -80px; left: -120px; background: #7ef8ff; }
.orb-2 { bottom: -120px; right: -80px; background: #c084fc; }
.orb-3 { bottom: 30%; left: 15%; background: #7ef8ff; opacity: 0.35; }

/* Top bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 18px;
    z-index: 5;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(126, 248, 255, 0.3), rgba(192, 132, 252, 0.45));
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.brand-mark .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.brand-mark .dot-1 { top: 10px; left: 10px; }
.brand-mark .dot-2 { bottom: 10px; right: 10px; }

.brand-name {
    font-size: 1.05rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7ef8ff, #c084fc);
    color: #05070b;
    font-weight: 700;
    box-shadow: 0 12px 40px rgba(126, 248, 255, 0.35);
    transition: transform 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(40px, 8vw, 80px) 0;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.lede {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(126, 248, 255, 0), rgba(126, 248, 255, 0.8));
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0 16px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    min-width: 210px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(12px);
}

.download-btn .btn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.download-btn .btn-name {
    font-weight: 700;
}

.download-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 248, 255, 0.5);
    box-shadow: 0 12px 30px rgba(126, 248, 255, 0.2);
}

.ghost-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ghost-link:hover {
    color: var(--text);
    transform: translateX(4px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.stat {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    display: grid;
    gap: 14px;
}

.glass {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.call-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(126, 248, 255, 0.2), rgba(192, 132, 252, 0.25));
    border: 1px solid rgba(126, 248, 255, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
}

.status-pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7ef8ff;
    box-shadow: 0 0 0 6px rgba(126, 248, 255, 0.18);
}

.pulse {
    position: relative;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px solid rgba(126, 248, 255, 0.45);
    animation: pulse 2s infinite;
}

.call-destination {
    color: var(--muted);
    font-weight: 600;
}

.call-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.call-bubbles {
    display: grid;
    gap: 10px;
}

.bubble {
    padding: 14px;
    border-radius: 14px;
    line-height: 1.5;
}

.bubble.user {
    background: rgba(126, 248, 255, 0.08);
    border: 1px solid rgba(126, 248, 255, 0.25);
}

.bubble.ai {
    background: rgba(192, 132, 252, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.25);
}

.bubble.remote {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.live-wave {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 36px;
}

.live-wave span {
    flex: 1;
    height: 10px;
    background: linear-gradient(180deg, rgba(126, 248, 255, 0.8), rgba(192, 132, 252, 0.8));
    border-radius: 8px;
    animation: wave 1.4s ease-in-out infinite;
}

.live-wave span:nth-child(2) { animation-delay: 0.1s; }
.live-wave span:nth-child(3) { animation-delay: 0.2s; }
.live-wave span:nth-child(4) { animation-delay: 0.3s; }
.live-wave span:nth-child(5) { animation-delay: 0.4s; }
.live-wave span:nth-child(6) { animation-delay: 0.5s; }
.live-wave span:nth-child(7) { animation-delay: 0.6s; }

.call-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
}

.action-chip.ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
}

.secondary-card {
    padding: 18px;
}

.secondary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--muted);
}

.dot-stack {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 6px;
}

.dot-stack span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(126, 248, 255, 0.6);
}

.secondary-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text);
}

.secondary-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
}

/* Sections */
.section {
    padding: clamp(40px, 6vw, 72px) 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.feature-card {
    padding: 18px;
    display: grid;
    gap: 10px;
}

.feature-card h3 {
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.5;
}

.icon-pill {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(126, 248, 255, 0.2), rgba(192, 132, 252, 0.3));
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
    width: fit-content;
}

.steps {
    display: grid;
    gap: 12px;
}

.step {
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
}

.step-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
}

.step h3 {
    margin-bottom: 4px;
}

.step p {
    color: var(--muted);
}

/* CTA */
.cta-inner {
    padding: 22px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: center;
}

.cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cta .download-buttons {
    margin-top: 12px;
}

/* Footer */
.footer {
    padding: 32px 0 0;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.footer-left {
    display: grid;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer .social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 248, 255, 0.5);
}

.footer-link {
    color: var(--muted);
}

.copyright {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Toast */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(120%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Privacy */
.container {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.privacy-content {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.privacy-title {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #7ef8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-intro {
    text-align: center;
    color: var(--muted);
    margin-bottom: 24px;
}

.privacy-section {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.privacy-section h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.privacy-section h3 {
    margin: 12px 0 6px;
    font-size: 1.05rem;
}

.privacy-section p {
    color: var(--muted);
    line-height: 1.55;
}

.privacy-section ul {
    padding-left: 18px;
    color: var(--muted);
}

.privacy-section li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.back-nav {
    margin: 12px 0 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

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

/* Keyframes */
@keyframes pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.08); }
    100% { opacity: 0.8; transform: scale(1); }
}

@keyframes wave {
    0%, 100% { height: 10px; }
    50% { height: 28px; }
}

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

/* Responsive */
@media (max-width: 960px) {
    .top-bar {
        position: static;
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .call-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 24px 18px 48px;
    }

    .hero {
        padding-top: 24px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .call-meta {
        gap: 6px;
    }

    .cta-row {
        align-items: stretch;
    }
}
