/* 
VoiceFill Pro — Design System (Gold Edition)
Premium, Dark Mode, Glassmorphism, Modern Typography
*/

:root {
    --primary: #d4af37; /* Gold */
    --primary-glow: rgba(212, 175, 55, 0.4);
    --secondary: #b8860b; /* Dark Goldenrod */
    --accent: #f9d71c;
    --bg: #050505;
    --card-bg: rgba(20, 20, 22, 0.7);
    --text: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --nav-height: 80px;
    --section-pad: 120px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

.section-padding {
    padding: var(--section-pad) 0;
}

.center { text-align: center; }

/* Utilities */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

/* Navbar */
nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto; /* Push links to the right */
    margin-right: 32px;
}

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

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000 !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-primary.lg { padding: 18px 40px; font-size: 17px; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary.lg { padding: 18px 40px; font-size: 17px; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { bottom: -8px; }

/* Hero */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.HeroGrid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--primary);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.mockup-frame {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

.mockup-frame img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Features */
.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

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

.feature-card {
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255,255,255,0.02);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

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

/* Compatibility */
.gray-bg {
    background: rgba(255, 255, 255, 0.02);
}

.comp-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.comp-item:hover {
    border-color: white;
    transform: scale(1.05);
}

.comp-item img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.comp-item span {
    font-weight: 600;
    font-size: 14px;
    color: #f1f1f1;
}

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

.step-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-num {
    font-size: 64px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    line-height: 1;
}

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

.step-content p {
    color: var(--text-muted);
}

/* CTA */
.cta-box {
    padding: 80px;
    border-radius: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 240px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: white;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.developer-tag {
    font-size: 14px;
    color: var(--text-muted);
}

.developer-tag span {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 1024px) {
    .HeroGrid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 56px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 40px; }
    .nav-links { 
        display: none; 
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: var(--bg);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        z-index: 1000;
    }
    .nav-links.active { display: flex; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-links { gap: 40px; }
    .cta-box { padding: 40px 20px; }
}
