/* ============================================
   VoiceType Landing Page Styles
   ============================================ */

:root {
    --bg: #0a0a0c;
    --bg-card: #111114;
    --bg-card-hover: #16161a;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #e8e8ed;
    --text-secondary: #8e8e93;
    --text-muted: #636366;
    --accent: #ff9500;
    --accent-glow: rgba(255, 149, 0, 0.15);
    --green: #30d158;
    --purple: #bf5af2;
    --blue: #0a84ff;
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

/* ============ NAV ============ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

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

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.lang-btn.active {
    background: var(--accent);
    color: #000;
}

.lang-btn:hover:not(.active) {
    color: var(--text);
}

/* ============ BUTTONS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background: #ffaa33;
    transform: translateY(-1px);
    box-shadow: 0 4px 30px rgba(255, 149, 0, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ============ HERO ============ */

.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

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

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

/* App Mockup */
.app-mockup {
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.traffic-lights {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}

.tl {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tl.red { background: #ff5f56; }
.tl.yellow { background: #ffbd2e; }
.tl.green { background: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.status-indicator {
    position: relative;
    width: 60px;
    height: 60px;
}

.pulse-dot {
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse-ring {
    width: 60px;
    height: 60px;
    border: 2px solid var(--green);
    border-radius: 50%;
    position: absolute;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

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

.mockup-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.wave-bars {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 30px;
}

.wave-bars span {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: wave 0.6s ease-in-out infinite alternate;
}

.wave-bars span:nth-child(1) { animation-delay: 0s; }
.wave-bars span:nth-child(2) { animation-delay: 0.1s; }
.wave-bars span:nth-child(3) { animation-delay: 0.2s; }
.wave-bars span:nth-child(4) { animation-delay: 0.3s; }
.wave-bars span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    from { height: 6px; }
    to { height: 24px; }
}

/* ============ SECTIONS ============ */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

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

/* ============ FEATURES ============ */

.features {
    border-top: 1px solid var(--border);
}

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

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

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

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

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ LANGUAGES ============ */

.languages {
    border-top: 1px solid var(--border);
}

.lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.lang-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.lang-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============ PROVIDERS ============ */

.providers {
    border-top: 1px solid var(--border);
}

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

.provider-card {
    position: relative;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.provider-card:hover {
    border-color: var(--border-hover);
}

.provider-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.provider-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
}

.provider-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.provider-speed {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.provider-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.provider-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.provider-card li:last-child { border: none; }

/* ============ PRICING ============ */

.pricing {
    border-top: 1px solid var(--border);
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 60px var(--accent-glow);
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin: 12px 0 4px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: var(--accent);
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.price-cents {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: var(--accent);
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border: none; }

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.email-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s;
}

.email-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

.btn-buy {
    width: 100%;
}

.pricing-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============ HOW IT WORKS ============ */

.how-it-works {
    border-top: 1px solid var(--border);
}

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

.step {
    text-align: center;
    padding: 28px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ FAQ ============ */

.faq {
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    padding: 18px 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-q::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 200px;
}

.faq-a p {
    padding-bottom: 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ FOOTER ============ */

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-container {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .features-grid,
    .providers-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title { font-size: 1.8rem; }
    
    .pricing-card { padding: 28px; }
    .price-value { font-size: 3rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
}

/* Use Cases */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.case-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; text-align: center; }
.case-icon { font-size: 3rem; margin-bottom: 20px; }
.case-card h3 { color: #fff; margin-bottom: 15px; font-size: 1.4rem; }
.case-card p { color: #a1a1aa; line-height: 1.6; }

/* Blog Preview */
.blog-grid-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-preview-card { background: rgba(139, 92, 246, 0.05); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px; padding: 24px; display: block; text-decoration: none; transition: 0.3s; }
.blog-preview-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); }
.blog-preview-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.blog-preview-card p { color: #a1a1aa; font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* Checkboxes */
.legal-checkboxes { text-align: left; margin: 15px 0 25px; display: flex; flex-direction: column; gap: 12px; }
.legal-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: #a1a1aa; font-size: 0.85rem; line-height: 1.4; }
.legal-label input[type="checkbox"] { margin-top: 3px; accent-color: #8b5cf6; }
.legal-label a { color: #8b5cf6; text-decoration: underline; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100px; left: 0; right: 0; background: rgba(10, 10, 12, 0.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; z-index: 1000; transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-content p { color: #a1a1aa; font-size: 0.9rem; margin: 0; line-height: 1.5; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
}

/* Comparison */
.comparison-split { display: flex; gap: 40px; align-items: stretch; justify-content: center; margin-top: 40px; }
.comp-side { flex: 1; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); padding: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.comp-old { opacity: 0.7; }
.comp-new { background: rgba(139, 92, 246, 0.05); border-color: rgba(139, 92, 246, 0.2); }
.comp-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.comp-header h3 { font-size: 1.5rem; color: #fff; margin-bottom: 20px; }
.comp-time { font-size: 4rem; font-weight: 700; color: #fff; margin-bottom: 30px; line-height: 1; }
.comp-new .comp-time { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.comp-time span { font-size: 1.5rem; color: #666; -webkit-text-fill-color: initial; }
.comp-list { list-style: none; text-align: left; width: 100%; padding: 0; }
.comp-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #a1a1aa; }
.comp-list li:last-child { border-bottom: none; }
.comp-new .comp-list li { color: #d8b4fe; }
.comp-vs { display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: #666; width: 60px; }

@media (max-width: 768px) {
    .comparison-split { flex-direction: column; gap: 20px; }
    .comp-vs { width: 100%; padding: 10px 0; }
}

/* Screenshots Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.gallery-item { text-align: center; }
.gallery-item img { max-width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; transition: transform 0.3s; }
.gallery-item img:hover { transform: translateY(-5px); }
.gallery-item p { color: #a1a1aa; font-size: 1.1rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.testimonial-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.testi-text { color: #d4d4d8; font-size: 1.1rem; line-height: 1.6; font-style: italic; margin-bottom: 25px; }
.testi-author { display: flex; align-items: center; gap: 15px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: rgba(139, 92, 246, 0.2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.testi-info h4 { color: #fff; margin: 0 0 5px; font-size: 1.1rem; }
.testi-info span { color: #8b5cf6; font-size: 0.9rem; font-weight: 600; }
