:root {
    --bg-color: #0a0a0f;
    --surface-color: #161621;
    --primary-color: #4f46e5;
    --primary-hover: #6366f1;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-start: #38bdf8;
    --gradient-end: #818cf8;
}

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

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

h1, h2, h3 { font-family: 'Outfit', sans-serif; }

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px); position: fixed; width: 100%; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: 1.5rem; font-weight: 900; }
.logo span { color: var(--gradient-start); }
.nav-links a { color: var(--text-muted); text-decoration: none; margin: 0 1.5rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.btn-primary {
    background: var(--primary-color); color: white; padding: 0.8rem 1.8rem;
    border-radius: 50px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: 0.3s;
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 0 20px rgba(79, 70, 229, 0.4); }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.btn-primary.small { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: space-between;
    padding: 8rem 5% 4rem; gap: 4rem;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent 50%);
}
.hero-content { flex: 1.2; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(56, 189, 248, 0.1); color: var(--gradient-start); border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(56, 189, 248, 0.2); }
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 90%; }
.hero-cta { display: flex; gap: 1rem; }
.hero-visual { flex: 1; perspective: 1000px; }

/* Mockup */
.software-mockup {
    background: #1e1e2d; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg); transition: 0.5s;
}
.software-mockup:hover { transform: rotateY(0) rotateX(0); }
.mockup-header { background: rgba(0,0,0,0.5); padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.mockup-title { color: #888; font-size: 0.8rem; margin-left: auto; margin-right: auto; font-family: monospace;}

.mockup-body { display: flex; height: 380px; }
.sidebar { width: 45%; background: rgba(0,0,0,0.2); border-right: 1px solid rgba(255,255,255,0.05); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; overflow-y: auto;}
.chat-bubble { padding: 0.8rem; border-radius: 8px; font-size: 0.85rem; line-height: 1.4;}
.chat-bubble.ai { background: rgba(79, 70, 229, 0.15); color: #cbd5e1; border-left: 3px solid var(--primary-color);}
.chat-bubble.user { background: rgba(255,255,255,0.05); text-align: right; align-self: flex-end; color: #fff;}

.timeline-area { flex: 1; display: flex; flex-direction: column; background: #161621;}
.video-preview { flex: 2; background: #000; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;}
.play-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; padding-left: 3px; cursor: pointer;}
.timeline-tracks { flex: 1.2; padding: 1rem; display: flex; flex-direction: column; gap: 0.8rem; background: rgba(0,0,0,0.3);}
.track { height: 24px; border-radius: 4px; background: rgba(255,255,255,0.05); width: 100%; position: relative; display: flex; align-items: center;}
.track span { font-size: 0.65rem; color: #fff; z-index: 2; position: absolute; left: 10px; opacity: 0.8;}
.track::after { content:''; position:absolute; height:100%; border-radius:4px; z-index: 1;}
.block-1::after { width: 80%; left: 5%; background: linear-gradient(90deg, #4f46e5, #818cf8); opacity: 0.5;}
.block-2::after { width: 60%; left: 15%; background: linear-gradient(90deg, #0ea5e9, #38bdf8); opacity: 0.5;}
.block-3::after { width: 90%; left: 0%; background: linear-gradient(90deg, #10b981, #34d399); opacity: 0.5;}

/* Sections */
.features, .technology { padding: 6rem 5%; }
.section-title { font-size: 2.8rem; margin-bottom: 1.5rem; text-align: center;}
.section-title.left { text-align: left; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: var(--surface-color); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
.icon { font-size: 2rem; margin-bottom: 1rem; display: inline-block;}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5;}

.tech-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main);}
.tech-content p { color: var(--text-muted); font-size: 1.05rem;}

/* CTA */
.cta-section { padding: 6rem 5%; text-align: center; background: linear-gradient(0deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%); }
.cta-section h2 { font-size: 3rem; margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem;}
.waitlist-form { display: flex; justify-content: center; gap: 1rem; max-width: 500px; margin: 0 auto; }
.waitlist-form input { flex: 1; padding: 1rem 1.5rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.5); color: white; outline: none; }
.waitlist-form input:focus { border-color: var(--primary-color); }

footer { text-align: center; padding: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); }

@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 6rem;}
    .hero-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .software-mockup { transform: none; }
    .mockup-body { flex-direction: column; height: auto;}
    .sidebar { width: 100%; height: 250px;}
    .timeline-area { height: 300px;}
}
