/* Lightweight shared shell for organic-search landing pages. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #08080d;
    --bg-secondary: #0e0e16;
    --bg-card: #14141e;
    --bg-card-hover: #1a1a28;
    --bg-elevated: #1e1e2c;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #f59e0b;
    --accent-glow: rgba(245, 158, 11, .12);
    --green: #10b981;
    --border: rgba(255, 255, 255, .06);
    --border-light: rgba(255, 255, 255, .1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, .15);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .25);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .4);
}

[data-theme="light"] {
    --bg-primary: #f8f8fb;
    --bg-secondary: #eeeef4;
    --bg-card: #fff;
    --bg-card-hover: #f4f4fa;
    --bg-elevated: #fff;
    --text-primary: #111118;
    --text-secondary: #55556a;
    --text-muted: #8a8a9a;
    --accent-glow: rgba(245, 158, 11, .1);
    --border: rgba(0, 0, 0, .08);
    --border-light: rgba(0, 0, 0, .12);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
}

html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    overflow-x: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

nav {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 8, 13, .82);
    backdrop-filter: blur(24px) saturate(1.5);
    transition: padding .3s ease, background .3s ease;
}
nav.scrolled { padding: 10px 0; background: rgba(8, 8, 13, .96); }
[data-theme="light"] nav { background: rgba(248, 248, 251, .9); border-bottom-color: rgba(0, 0, 0, .08); }
[data-theme="light"] nav.scrolled { background: rgba(248, 248, 251, .97); }
nav .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-logo-icon { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; }
.nav-logo-brand { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text { color: var(--text-primary); font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.nav-logo-byline { margin-top: 2px; color: var(--text-secondary); font-size: 11.5px; font-weight: 600; letter-spacing: .3px; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.nav-links a:hover { background: rgba(255, 255, 255, .05); color: var(--text-primary); }
[data-theme="light"] .nav-links a:hover { background: rgba(0, 0, 0, .04); }
.nav-cta { padding: 8px 18px !important; background: var(--accent) !important; color: #111118 !important; font-weight: 800 !important; }
.nav-cta:hover { background: var(--accent-light) !important; transform: translateY(-1px); }
.lang-switcher { display: flex; align-items: center; gap: 1px; }
.lang-switcher a { padding: 6px; }
.nav-mobile-actions, .nav-mobile-theme, .nav-mobile-toggle { display: none; }

.theme-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
}
.theme-toggle:hover { border-color: var(--border-light); background: var(--bg-card-hover); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 0;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: #111118; }
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 8px 30px rgba(245, 158, 11, .3); transform: translateY(-2px); }
.btn-secondary { border: 1px solid var(--border-light); background: var(--bg-card); color: var(--text-primary); }
.btn-secondary:hover { background: var(--bg-card-hover); transform: translateY(-2px); }

footer { padding: 44px 0; border-top: 1px solid var(--border); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--text-muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; }
.footer-links a:hover { color: var(--text-primary); }

@media (max-width: 900px) {
    .container { padding-inline: 18px; }
    .nav-mobile-actions { display: flex; align-items: center; gap: 8px; }
    .nav-mobile-theme, .nav-mobile-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        background: var(--bg-card);
        color: var(--text-primary);
        font-size: 18px;
    }
    .nav-links { display: none; }
    .nav-links.open {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 18px 18px;
        border-bottom: 1px solid var(--border);
        background: rgba(8, 8, 13, .98);
    }
    [data-theme="light"] .nav-links.open { background: rgba(248, 248, 251, .98); }
    .nav-links.open li, .nav-links.open a { width: 100%; }
    .nav-links.open a { padding: 11px 14px; text-align: center; }
    .nav-links.open .lang-switcher { display: flex; width: 100%; justify-content: center; }
    .nav-links.open .lang-switcher a { width: auto; }
    .nav-links.open li:has(.theme-toggle) { display: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
    .container { padding-inline: 16px; }
    section { padding: 58px 0; }
}
