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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-primary: #f0f0f5;
    --text-secondary: #9090a0;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --success: #22c55e;
    --border: #2a2a3a;
    --terminal-bg: #0d0d12;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

main {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-secondary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.terminal {
    background: var(--terminal-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: var(--success);
}

.command {
    color: var(--text-primary);
}

.output {
    color: var(--text-secondary);
    padding-left: 1rem;
}

.output.success {
    color: var(--success);
}

.voice-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.voice-text {
    color: var(--accent-light);
    font-style: italic;
}

.tagline-section {
    text-align: center;
    padding: 4rem 2rem;
}

.big-tagline {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.use-cases {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.use-cases-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.use-case-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.use-case h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: var(--text-secondary);
}

.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-sub {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* Legal pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.legal-page section {
    margin-bottom: 2.5rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-page p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--accent-light);
}

.legal-page a:hover {
    text-decoration: underline;
}

a.logo {
    text-decoration: none;
    color: var(--text-primary);
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        margin: 0 auto 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

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

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

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

    .terminal-body {
        font-size: 0.75rem;
    }

    .big-tagline {
        font-size: 1.75rem;
    }
}
