:root {
    --base: #303446;
    --surface0: #414559;
    --text: #c6d0f5;
    --subtext: #a5adce;
    --mauve: #ca9ee6;
    --sky: #99d1db;
    --red: #e78284;
    --yellow: #e5c890;
    --green: #a6d189;
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    background-color: var(--base);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

.bg-glow {
    min-height: 100vh;
    background-image: radial-gradient(
        circle at 50% -10%,
        rgba(202, 158, 230, 0.15) 0%,
        rgba(48, 52, 70, 0) 70%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nav */
.nav-container {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-box {
    background: var(--mauve);
    color: var(--base);
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
}
.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
}
.nav-links {
    display: flex;
    gap: 30px;
    opacity: 0.6;
    font-size: 0.9rem;
}
.nav-links a {
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 900px;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(202, 158, 230, 0.2);
    border-radius: 50px;
    color: var(--mauve);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 1.5rem 0;
}
.gradient-text {
    background: linear-gradient(135deg, #babbf1, #ca9ee6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--subtext);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Waitlist Form - 核心修复点 */
.waitlist-container {
    margin-bottom: 5rem;
}
.waitlist-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 16px;
    background: rgba(65, 69, 89, 0.4);
    border: 1px solid rgba(202, 158, 230, 0.2);
}
.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: var(--text);
    outline: none;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--mauve);
    color: var(--base);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.btn-primary:hover {
    background: #babbf1;
}
.launch-text {
    font-size: 0.7rem;
    opacity: 0.4;
    margin-top: 1rem;
    font-family: "JetBrains Mono";
    letter-spacing: 0.1em;
}

/* Terminal */
.terminal-window {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: rgba(48, 52, 70, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.terminal-header {
    background: var(--surface0);
    padding: 12px 20px;
    display: flex;
    align-items: center;
}
.dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red {
    background: var(--red);
}
.yellow {
    background: var(--yellow);
}
.green {
    background: var(--green);
}
.terminal-title {
    margin-left: 20px;
    font-size: 0.7rem;
    opacity: 0.4;
    font-family: "JetBrains Mono";
}

.terminal-body {
    padding: 30px;
    font-family: "JetBrains Mono", monospace;
    line-height: 1.7;
    font-size: 0.95rem;
}
.prompt {
    color: var(--green);
    margin-right: 10px;
}
.path {
    color: var(--sky);
}
.ai-block {
    margin: 20px 0;
    display: flex;
    gap: 15px;
}
.ai-label {
    color: var(--mauve);
    font-weight: 700;
}
.highlight-sky {
    color: var(--sky);
}
.highlight-yellow {
    color: var(--yellow);
}
.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2rem;
    background: var(--mauve);
    animation: blink 1s infinite;
    vertical-align: middle;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.footer {
    padding: 4rem 0;
    opacity: 0.2;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-family: "JetBrains Mono";
}
