:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-elevated: #1a1a24;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --success: #10b981;
    --warning: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}
[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-elevated: #f1f5f9;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; }

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

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(16, 185, 129, 0.1), transparent),
        var(--bg-dark);
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

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

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

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

/* Language Selector */
.lang-selector { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
}

.lang-dropdown::-webkit-scrollbar { width: 6px; }
.lang-dropdown::-webkit-scrollbar-track { background: var(--bg-elevated); }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.lang-selector:hover .lang-dropdown,
.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.lang-dropdown a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-ghost:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

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

.hero-content { max-width: 900px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i { font-size: 16px; }

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), #3b82f6, var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Animated Typing Showcase */
.typing-showcase {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
    margin: 0 auto 40px;
    max-width: 700px;
    animation: fadeInUp 0.6s ease 0.25s both;
}

.typing-showcase-label {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.typing-showcase-label i { animation: pulse 2s ease infinite; }

.typing-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text .cursor {
    display: inline-block;
    width: 3px;
    height: 28px;
    background: var(--accent);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.typing-showcase-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.typing-stat { text-align: center; }
.typing-stat-value { font-size: 22px; font-weight: 700; color: var(--accent); }
.typing-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Language Flags Grid */
.lang-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.lang-flag {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default;
    overflow: hidden;
}

.lang-flag img { width: 28px; height: 21px; object-fit: cover; border-radius: 3px; }

.lang-flag:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Highlights Bar */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
}

.highlight-item i { color: var(--success); }

/* Features Section */
.features { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-secondary); }

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* Pricing Section */
.pricing {
    padding: 100px 24px;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-name { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.pricing-words { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .amount { font-size: 48px; font-weight: 700; }
.pricing-price .currency { font-size: 20px; color: var(--text-muted); }
.pricing-price .period { color: var(--text-muted); font-size: 16px; }
.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.pricing-features li i { color: var(--success); font-size: 14px; }

/* Comparison Section */
.comparison {
    padding: 100px 24px;
    background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, transparent 100%);
}
.comparison .section-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; } }
.comparison-col h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.comparison-col.problems h3 { color: #f85149; }
.comparison-col.solutions h3 { color: #3fb950; }
.comparison-cards { display: flex; flex-direction: column; gap: 12px; }

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 110px;
}
@media (min-width: 769px) { .comparison-card { min-height: 115px; } }
.comparison-col.problems .comparison-card { border-left: 3px solid rgba(248,81,73,0.5); }
.comparison-col.solutions .comparison-card { border-left: 3px solid rgba(63,185,80,0.5); }
.comparison-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.comparison-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; flex: 1; }

.time-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 600px) { .time-compare { grid-template-columns: 1fr; } }

.time-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}
.time-card.highlight { border-color: var(--accent); background: rgba(37,99,235,0.08); }
.time-card h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.time-value { font-size: 42px; font-weight: 800; margin-bottom: 8px; }
.time-card:not(.highlight) .time-value { color: #f85149; }
.time-card.highlight .time-value { color: #3fb950; }
.time-label { font-size: 13px; color: var(--text-muted); }
.comparison-cta { text-align: center; margin-top: 40px; }

/* How It Works */
.how-it-works { padding: 100px 24px; }

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

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

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 15px; }

/* Pricing CTA Banner */
.pricing-cta-banner {
    text-align: center;
    padding: 40px 32px;
    margin-bottom: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.pricing-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.pricing-cta-banner h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.pricing-cta-banner p { color: var(--text-secondary); font-size: 16px; margin-bottom: 20px; position: relative; z-index: 1; }
.pricing-cta-banner .btn { position: relative; z-index: 1; font-size: 16px; padding: 14px 32px; }

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.05));
}
.cta-section h2 { font-size: 40px; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 18px; margin-bottom: 32px; }

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { color: var(--text-muted); font-size: 14px; }
.footer-payment { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.footer-payment i { color: var(--success); }
.footer-payment a { color: var(--accent); text-decoration: none; font-weight: 500; }
.footer-payment a:hover { text-decoration: underline; }

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 48px);
    max-width: 520px;
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.98), rgba(20, 20, 35, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 40px rgba(37, 99, 235, 0.1);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.cookie-banner-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cookie-banner h4 { font-size: 17px; font-weight: 600; margin: 0; }
.cookie-banner p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.cookie-banner a { color: var(--accent); text-decoration: none; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; padding: 12px 16px; font-size: 14px; border-radius: 10px; }

.cookie-actions .btn-settings {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    flex: 0 0 auto;
    padding: 12px 16px;
}

.cookie-actions .btn-settings:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cookie-settings-modal.show { display: flex; }

.cookie-settings-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-content h3 { font-size: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child { border-bottom: none; }
.cookie-option-info h4 { font-size: 15px; margin-bottom: 4px; }
.cookie-option-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

.cookie-toggle { position: relative; width: 48px; height: 26px; flex-shrink: 0; margin-left: 16px; }

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: 0.3s;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--accent); border-color: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle-slider:before { transform: translateX(22px); background: white; }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-settings-actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-settings-actions .btn { flex: 1; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu.show { display: flex; }

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.mobile-menu a:hover { background: var(--bg-elevated); color: var(--text-primary); }
.mobile-menu .btn { width: 100%; justify-content: center; }

/* Theme Toggle */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}
.theme-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .mobile-menu-toggle { display: block; }
    .lang-btn span:last-of-type { display: none; }
    .lang-dropdown { position: fixed; top: 72px; right: 16px; left: auto; max-height: calc(100vh - 100px); }
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; }
    .typing-showcase { padding: 16px 20px; margin: 0 16px 32px; }
    .typing-text { font-size: 18px; min-height: 28px; }
    .typing-text .cursor { height: 22px; }
    .typing-showcase-stats { gap: 20px; flex-wrap: wrap; }
    .typing-stat-value { font-size: 18px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
    .cookie-banner { left: 16px; right: 16px; transform: translateY(150%); width: auto; max-width: none; }
    .cookie-banner.show { transform: translateY(0); }
}

/* Light Mode Overrides */
[data-theme="light"] .bg-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(16, 185, 129, 0.06), transparent),
        #f8fafc;
}
[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.85); }
[data-theme="light"] .mobile-menu { background: rgba(255, 255, 255, 0.98); }
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .pricing-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
[data-theme="light"] .pricing-card.featured { box-shadow: 0 0 60px rgba(37, 99, 235, 0.1); }
[data-theme="light"] .cookie-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
    box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 40px rgba(37, 99, 235, 0.05);
}
[data-theme="light"] .cookie-settings-content { box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
[data-theme="light"] .typing-showcase-stats { border-top-color: rgba(0,0,0,0.1); }

/* ====== Demo Preview Section ====== */
.demo-preview { padding: 80px 24px 100px; }
.demo-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25);
    border-radius: 50px; color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.demo-window {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3), 0 0 60px rgba(37,99,235,0.08);
    margin-top: 40px;
}
.demo-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--border);
}
.demo-dots span:first-child { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #f59e0b; }
.demo-dots span:last-child { background: #10b981; }
.demo-url {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 6px 16px; border-radius: 8px;
    font-size: 12px; color: var(--text-muted); font-family: var(--font-mono);
}
.demo-url i { color: var(--success); font-size: 10px; }
.demo-topbar-right { width: 60px; }
.demo-body {
    display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.demo-form-panel {
    padding: 24px; border-right: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 16px;
}
.demo-card {
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 12px; padding: 16px;
}
.demo-card-header {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 14px; color: var(--text-primary);
    margin-bottom: 12px;
}
.demo-step {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.demo-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.demo-type {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 6px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    font-size: 11px; color: var(--text-muted);
    cursor: default; transition: all 0.3s;
}
.demo-type i { font-size: 16px; }
.demo-type.active {
    border-color: var(--accent); color: var(--accent);
    background: rgba(37,99,235,0.1);
}
.demo-input-group { margin-bottom: 10px; }
.demo-input-group label {
    display: block; font-size: 12px; font-weight: 500;
    color: var(--text-secondary); margin-bottom: 4px;
}
.demo-input {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px 14px;
    font-size: 13px; color: var(--text-primary);
    min-height: 40px; overflow: hidden; white-space: nowrap;
}
.demo-input i { color: var(--accent); font-size: 12px; flex-shrink: 0; }
.demo-cursor-blink { animation: blink 1s step-end infinite; color: var(--accent); font-weight: 300; }
.demo-lang-row { margin-top: 10px; }
.demo-lang-row label {
    display: block; font-size: 12px; font-weight: 500;
    color: var(--text-secondary); margin-bottom: 6px;
}
.demo-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-flags .demo-flag {
    width: 32px; height: 24px; border-radius: 4px; overflow: hidden;
    border: 2px solid transparent; opacity: 0.5; transition: all 0.3s;
}
.demo-flags .demo-flag.active {
    border-color: var(--accent); opacity: 1;
    box-shadow: 0 0 8px rgba(37,99,235,0.4);
}
.demo-flags .demo-flag img { width: 100%; height: 100%; object-fit: cover; }
.demo-options-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.demo-option {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 10px 6px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    text-align: center; cursor: default; transition: all 0.3s;
}
.demo-option i { font-size: 14px; color: var(--text-muted); }
.demo-option span { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.demo-option small { font-size: 10px; color: var(--text-muted); }
.demo-option.active { border-color: var(--accent); background: rgba(37,99,235,0.08); }
.demo-option.active i { color: var(--accent); }
.demo-generate-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white; border: none; border-radius: 12px;
    font-size: 15px; font-weight: 600; font-family: var(--font-main);
    cursor: default; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.demo-generate-btn::after {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s ease infinite;
}
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

/* Output Panel */
.demo-output-panel {
    padding: 24px; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--bg-card), rgba(37,99,235,0.02));
}
.demo-output-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.demo-output-status {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--success); font-weight: 500;
}
.demo-spinner {
    width: 16px; height: 16px; border: 2px solid var(--border);
    border-top-color: var(--accent); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-output-meta {
    display: flex; gap: 16px; font-size: 12px; color: var(--text-muted);
}
.demo-output-meta span { display: flex; align-items: center; gap: 4px; }
.demo-output-content {
    flex: 1; overflow: hidden;
}
.demo-output-title {
    font-size: 18px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px; line-height: 1.3;
}
.demo-output-text {
    font-size: 14px; line-height: 1.8; color: var(--text-secondary);
}
.demo-output-text h3 {
    font-size: 15px; font-weight: 600; color: var(--text-primary);
    margin: 16px 0 8px; display: flex; align-items: center; gap: 6px;
}
.demo-output-text h3::before {
    content: ''; width: 3px; height: 16px; background: var(--accent);
    border-radius: 2px; flex-shrink: 0;
}
.demo-output-text p { margin-bottom: 10px; }
.demo-output-features {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding-top: 12px; margin-top: auto; border-top: 1px solid var(--border);
}
.demo-feature-tag {
    display: flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.15);
    font-size: 11px; font-weight: 600; color: var(--accent);
}
.demo-feature-tag i { font-size: 10px; }
.demo-cta { text-align: center; margin-top: 40px; }

/* Demo Responsive */
@media (max-width: 768px) {
    .demo-body { grid-template-columns: 1fr; }
    .demo-form-panel { border-right: none; border-bottom: 1px solid var(--border); }
    .demo-types-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-url { display: none; }
}

/* Demo Light Mode */
[data-theme="light"] .demo-window {
    box-shadow: 0 40px 80px rgba(0,0,0,0.08), 0 0 60px rgba(37,99,235,0.04);
}
[data-theme="light"] .demo-generate-btn {
    box-shadow: 0 4px 20px rgba(37,99,235,0.2);
}
