:root {
    --bg-primary: #0b1224;
    --bg-secondary: #111b33;
    --bg-card: #142040;
    --bg-elevated: #1a2a52;
    --primary: #c9a227;
    --primary-light: #e2c255;
    --primary-glow: rgba(201, 162, 39, 0.2);
    --accent: #d4af37;
    --text-main: #eef0f4;
    --text-heading: #ffffff;
    --text-muted: #8b95ad;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(201, 162, 39, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo,
.logo-small {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-heading);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(26, 42, 82, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(20, 32, 64, 0.5) 0%, transparent 50%),
        var(--bg-primary);
}

/* ─── Nav ─── */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 18, 36, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo span,
.logo-small span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* ─── Buttons ─── */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b1224;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
    border-radius: 10px;
}

/* ─── Hero ─── */
.hero {
    padding: 120px 0 140px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 520px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* ─── Phone Mockup ─── */
.phone-mockup {
    width: 320px;
    height: 650px;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 12px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 60px 120px -20px rgba(0, 0, 0, 0.6),
        0 0 60px -10px rgba(201, 162, 39, 0.08);
    margin: 0 auto;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    width: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.score {
    color: #34d399;
    font-weight: 700;
    font-size: 14px;
}

.intro-card h3 {
    margin: 16px 0 10px;
    font-size: 18px;
}

.intro-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.transcript-preview {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-family: 'SF Mono', 'Menlo', monospace;
    color: #64748b;
    line-height: 1.6;
}

.transcript-preview .line+.line {
    margin-top: 4px;
}

.card-footer {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.btn-action {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-action:hover {
    opacity: 0.85;
}

.accept {
    background: var(--primary);
    color: #0b1224;
}

.reject {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

/* ─── Sections ─── */
section {
    padding: 140px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 20px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Concept Cards ─── */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-card);
    padding: 44px 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 44px;
    margin-bottom: 28px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── Steps ─── */
.how-it-works {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.step {
    position: relative;
    padding: 40px 36px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: 20px;
}

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

.step p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ─── Vision / Roadmap ─── */
.vision-box {
    background: var(--bg-secondary);
    padding: 80px 72px;
    border-radius: 28px;
    border: 1px solid var(--border);
}

.vision-box h2 {
    font-size: 42px;
    margin-bottom: 64px;
    text-align: center;
    letter-spacing: -0.02em;
}

.vision-box h2 span {
    color: var(--primary);
}

.roadmap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.roadmap-item {
    flex: 1;
    padding: 28px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.phase {
    display: block;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.roadmap-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.roadmap-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.roadmap-item.current {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px -10px var(--primary-glow);
}

.roadmap-item.current h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px var(--primary);
}

/* ─── CTA ─── */
.cta {
    text-align: center;
}

.cta h2 {
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta h2 span {
    color: var(--primary);
}

.cta>.container>p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

#waitlist-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    gap: 10px;
}

#waitlist-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 18px 22px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
}

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

#waitlist-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.investor-note {
    margin-top: 32px;
    font-size: 14px !important;
    color: var(--text-muted);
}

.investor-note a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.investor-note a:hover {
    text-decoration: underline;
}

/* ─── Investor Modal ─── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    max-width: 640px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.modal h2 {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal h2 span {
    color: var(--primary);
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

.form-hint.error {
    color: #f87171;
}

.form-hint.success {
    color: #34d399;
}

.form-group input.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 32px 24px;
    }
}

/* ─── Footer ─── */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.logo-small {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

.delay-3 {
    transition-delay: 0.36s;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .grid,
    .steps {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .roadmap {
        flex-direction: column;
    }

    .vision-box {
        padding: 48px 32px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta h2 {
        font-size: 36px;
    }

    #waitlist-form {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
}