/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a0a0b;
    --color-bg-elevated: #141417;
    --color-bg-card: #1a1a1f;
    --color-border: #2a2a30;
    --color-text: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-primary: #6366f1;
    --color-primary-hover: #818cf8;
    --color-accent: #8b5cf6;
    --color-success: #22c55e;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-text) !important;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--color-primary-hover);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    font-size: 18px;
    padding: 18px 36px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ===== Phone Mockup ===== */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1c1c1e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 48px 16px 16px;
    height: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.preview-title {
    font-size: 28px;
    font-weight: 700;
}

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

.preview-recording {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-card);
    padding: 14px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.recording-icon {
    font-size: 20px;
}

.recording-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recording-name {
    font-size: 15px;
    font-weight: 500;
}

.recording-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

.recording-badge {
    width: 24px;
    height: 24px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.preview-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 80px;
    margin-top: 24px;
}

.waveform-bar {
    width: 6px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    animation: waveform 1.2s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; }
.waveform-bar:nth-child(9) { animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes waveform {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* ===== Features Section ===== */
.features {
    padding: 120px 24px;
    background: var(--color-bg-elevated);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ===== Privacy Section ===== */
.privacy {
    padding: 120px 24px;
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-text h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.privacy-text > p {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.privacy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privacy-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.privacy-list svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-success);
    flex-shrink: 0;
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-shield {
    width: 280px;
    height: 280px;
}

.privacy-shield svg {
    width: 100%;
    height: 100%;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 120px 24px;
    background: var(--color-bg-elevated);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-top: 64px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 24px;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 120px 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== Download Section ===== */
.download {
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download > .download-content > p {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.download-note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    padding: 64px 24px 32px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .features {
        padding: 80px 20px;
    }

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

    .privacy {
        padding: 80px 20px;
    }

    .privacy-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .privacy-visual {
        order: -1;
    }

    .privacy-shield {
        width: 200px;
        height: 200px;
    }

    .how-it-works {
        padding: 80px 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .faq {
        padding: 80px 20px;
    }

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

    .download {
        padding: 80px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }
}
