:root {
    --bg-main: #0A0D18;
    --bg-card: #131826;
    --bg-card-hover: #1A2234;
    --border-color: #233048;
    --border-focus: #00E5FF;
    --accent: #00E5FF;
    --accent-glow: rgba(0, 229, 255, 0.25);
    --accent-emerald: #00E5A3;
    --accent-red: #FF5252;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Ambient glow backgrounds */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 {
    top: -100px;
    left: 20%;
    width: 500px;
    height: 500px;
    background: rgba(0, 229, 255, 0.12);
}
.glow-2 {
    bottom: 10%;
    right: 15%;
    width: 600px;
    height: 600px;
    background: rgba(0, 229, 163, 0.08);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 24, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 229, 163, 0.2));
    border: 1px solid var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}
.brand-text h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}
.brand-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--accent);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}
.btn-primary:hover {
    background: #40EEFF;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    z-index: 1;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, #00E5FF 0%, #00E5A3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
}
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* Interactive Waveform Showcase Box */
.waveform-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}
.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.showcase-header .title {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.showcase-stats {
    display: flex;
    gap: 24px;
}
.stat-pill {
    text-align: right;
}
.stat-pill .val {
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-mono);
}
.stat-pill .lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.wave-canvas-container {
    height: 120px;
    background: #0B0F1C;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.wave-bar {
    flex: 1;
    border-radius: 3px;
    background: var(--accent);
    transition: height 0.3s;
}
.wave-bar.silence {
    background: var(--accent-red);
    opacity: 0.4;
    height: 8px !important;
}
.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.legend {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.legend-speech { background: var(--accent); }
.legend-silence { background: var(--accent-red); }

/* Features Grid */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--accent);
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Screenshots Gallery */
.screenshots-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}
.screenshots-scroll::-webkit-scrollbar {
    height: 8px;
}
.screenshots-scroll::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}
.screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.screenshot-item {
    flex: 0 0 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    scroll-snap-align: start;
    transition: transform 0.2s;
}
.screenshot-item:hover {
    transform: scale(1.03);
    border-color: var(--accent);
}
.screenshot-item img {
    width: 100%;
    display: block;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-top: 40px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    background: #0D1322;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.highlight-col {
    background: rgba(0, 229, 255, 0.05);
    color: var(--accent);
    font-weight: 700;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}
.faq-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.faq-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #070912;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 14px;
    max-width: 300px;
}
.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
}
.legal-hero {
    text-align: center;
    margin-bottom: 50px;
}
.legal-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 12px;
}
.legal-hero .subtitle {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 0.95rem;
}
.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.toc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}
.toc-card h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}
.toc-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toc-card a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}
.toc-card a:hover {
    color: var(--accent);
}
.legal-body section {
    margin-bottom: 40px;
}
.legal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--accent);
}
.legal-body p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}
.legal-body ul {
    margin-left: 20px;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
    .legal-sidebar { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
