:root {
    --bg: #0c0f14;
    --bg-dim: #11161e;
    --surface: #161c26;
    --surface-2: #1d2531;
    --border: #232c3a;
    --text: #e6ecf3;
    --text-dim: #9aa5b6;
    --accent: #4cc9f0;
    --accent-2: #7c5cff;
    --gold: #d6a85a;
    --danger: #ef4444;
    --radius: 10px;
    --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--text); margin: 0 0 .6em; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small { color: var(--text-dim); font-weight: 400; font-size: .9rem; }

/* Navbar */
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12, 15, 20, .85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    max-width: var(--max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 1.5rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 1.3rem; }
.brand-name { font-size: 1.15rem; letter-spacing: .04em; }
.brand-logo { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.nav-links a { color: var(--text-dim); font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-switcher select {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border); border-radius: 6px;
    padding: .4rem .6rem; font-size: .85rem; cursor: pointer;
}

/* Hero */
.hero {
    background:
        radial-gradient(800px circle at 20% 10%, rgba(76,201,240,.15), transparent 40%),
        radial-gradient(700px circle at 80% 20%, rgba(124,92,255,.13), transparent 40%),
        var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 5rem 1.5rem;
}
.hero-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.eyebrow {
    display: inline-block; padding: .35rem .85rem;
    background: rgba(76,201,240,.1); color: var(--accent);
    border: 1px solid rgba(76,201,240,.25); border-radius: 999px;
    font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.lede { font-size: 1.15rem; color: var(--text); max-width: 820px; margin: 0 auto 1rem; }
.lede.dim { color: var(--text-dim); }
.hero-cta { margin-top: 2rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block; padding: .85rem 1.5rem; border-radius: var(--radius);
    font-weight: 600; font-size: .95rem; transition: all .15s;
    border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0a1018; }
.btn-primary:hover { background: #7ad7f5; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 4.5rem 1.5rem; }
.section.bg-dim { background: var(--bg-dim); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner.center { text-align: center; }
.cta-section {
    background:
        radial-gradient(600px circle at 50% 50%, rgba(124,92,255,.12), transparent 60%),
        var(--bg-dim);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Grid */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Cards */
.card, .step, .plan, .bullet {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
}
.card:hover { border-color: var(--accent); }
.card h3, .step h3 { color: var(--accent); }
.card p, .step p, .bullet p { color: var(--text-dim); margin: 0; }

.step { position: relative; padding-left: 4rem; }
.step-num {
    position: absolute; left: 1.2rem; top: 1.2rem;
    width: 2rem; height: 2rem; display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--accent); color: #0a1018;
    border-radius: 50%; font-weight: 700;
}

/* Plans */
.plan { display: flex; flex-direction: column; gap: .8rem; position: relative; }
.plan h3 { font-size: 1.4rem; margin: .3rem 0; }
.plan-highlight {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 8px 30px rgba(214,168,90,.1);
}
.badge {
    display: inline-block; padding: .2rem .65rem;
    background: rgba(76,201,240,.15); color: var(--accent);
    border-radius: 999px; font-size: .75rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
}
.badge-alt { background: rgba(124,92,255,.15); color: var(--accent-2); }
.badge-premium { background: rgba(214,168,90,.18); color: var(--gold); }
.plan-desc { color: var(--text-dim); font-size: .92rem; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1rem; }
.plan-features li { padding: .4rem 0; border-bottom: 1px dashed var(--border); font-size: .9rem; color: var(--text-dim); }
.plan-features li:last-child { border-bottom: none; }
.price { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-top: auto; }
.price span { font-size: .9rem; font-weight: 400; color: var(--text-dim); }
.price-yearly { color: var(--text-dim); font-size: .85rem; }

.callout {
    margin-top: 2.5rem; padding: 1.5rem;
    background: var(--surface-2); border: 1px solid var(--border);
    border-left: 3px solid var(--accent); border-radius: var(--radius);
}
.callout strong { color: var(--text); display: block; margin-bottom: .4rem; }
.callout .muted { color: var(--text-dim); font-size: .85rem; margin: 0; }

.addon-price { margin-top: .8rem; font-weight: 600; color: var(--text); }
.addon-price span { font-size: .8rem; color: var(--text-dim); font-weight: 400; }

.bullet h4 { color: var(--text); margin: 0 0 .4rem; }

.muted { color: var(--text-dim); }
.center { text-align: center; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-dim);
    padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-col strong { display: block; margin-bottom: .6rem; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); padding: .2rem 0; font-size: .9rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-col p { color: var(--text-dim); font-size: .9rem; margin: 0; }
.footer-bottom {
    max-width: var(--max); margin: 2rem auto 0;
    padding-top: 1.4rem; border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: .85rem; text-align: center;
}
.lang-list { color: var(--text-dim); font-size: .9rem; }

/* Forms */
.form-card {
    max-width: 640px; margin: 2rem auto;
    background: var(--surface); border: 1px solid var(--border);
    padding: 2rem; border-radius: var(--radius);
}
.form-card label { display: block; margin: 1rem 0 .35rem; color: var(--text-dim); font-size: .9rem; }
.form-card input, .form-card textarea, .form-card select {
    width: 100%; padding: .7rem .9rem;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border); border-radius: 8px;
    font-family: inherit; font-size: .95rem;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card .form-actions { margin-top: 1.5rem; display: flex; justify-content: flex-end; }
.form-feedback { margin: 1rem 0; padding: 1rem; border-radius: 8px; }
.form-feedback.ok { background: rgba(76,201,240,.1); border: 1px solid rgba(76,201,240,.3); color: var(--accent); }
.form-feedback.err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--danger); }

/* Legal / about typographic pages */
.prose {
    max-width: 820px; margin: 0 auto;
    color: var(--text); line-height: 1.7;
}
.prose h1 { margin-bottom: 1.5rem; }
.prose h2 { margin-top: 2.5rem; color: var(--accent); font-size: 1.3rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.4rem; color: var(--text-dim); }
.prose p { color: var(--text-dim); }
.prose a { color: var(--accent); }

/* Founders */
.founders { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2rem; }
.founder {
    background: var(--surface); border: 1px solid var(--border);
    padding: 1.5rem; border-radius: var(--radius);
}
.founder h3 { color: var(--accent); margin-bottom: .2rem; }
.founder .role { color: var(--gold); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8rem; display: block; }
.founder p { color: var(--text-dim); margin: 0; }

@media (max-width: 720px) {
    .navbar-inner { flex-wrap: wrap; }
    .nav-links { gap: .9rem; font-size: .85rem; }
    .hero { padding: 3.5rem 1rem; }
    .section { padding: 3rem 1rem; }
}
