:root {
    --bg: #0b1226;
    --bg-soft: #111c3a;
    --card: #ffffff;
    --muted: #64748b;
    --text: #0f172a;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --line: #e2e8f0;
    --ok: #047857;
    --error: #dc2626;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #f4f6fb;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
}

input,
textarea {
    user-select: text;
    -webkit-user-select: text;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 640px;
}

.site-header {
    background: rgba(11, 18, 38, 0.92);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.4px;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: #cbd5e1;
    margin-left: 20px;
    text-decoration: none;
    font-size: 15px;
}

.main-nav a:hover {
    color: #fff;
}

.login-link {
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 7px 14px;
    border-radius: 999px;
}

.lang-switch {
    margin-left: 20px;
    display: inline-flex;
    gap: 8px;
}

.lang-switch button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}

.lang-switch button:hover {
    color: #fff;
    border-color: #fff;
}

.hero {
    background: radial-gradient(900px 420px at 15% 10%, #1d4ed8 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    color: #fff;
    padding: 84px 0 72px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #bfdbfe;
    border: 1px solid rgba(191, 219, 254, 0.35);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -1px;
}

.lede {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 520px;
    margin: 0;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn.block {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 30px;
}

.hero-stats strong {
    display: block;
    font-size: 20px;
}

.hero-stats span {
    color: #94a3b8;
    font-size: 13px;
}

.hero-stack {
    display: grid;
    gap: 14px;
}

.hero-card {
    background: var(--card);
    color: var(--text);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.35);
}

.hero-card.small {
    opacity: 0.94;
}

.hero-card-title {
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.hero-card-body {
    color: #334155;
    margin-bottom: 12px;
}

.hero-card-foot {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.section h2 {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: -0.5px;
}

.muted {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.feature-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.feature-grid article:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
}

.card-form {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 18px;
}

form label {
    display: block;
    margin: 12px 0;
    font-weight: 600;
    font-size: 14px;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
}

form input:focus,
form textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    border-color: var(--primary);
}

.form-note {
    min-height: 22px;
    margin: 12px 0 0;
    font-size: 14px;
}

.form-note[data-state="ok"] {
    color: var(--ok);
}

.form-note[data-state="error"] {
    color: var(--error);
}

.form-note[data-state="pending"],
.form-note[data-state="idle"] {
    color: var(--muted);
}

.site-footer {
    padding: 24px 0 34px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        height: auto;
        padding: 12px 0;
        flex-direction: column;
        gap: 8px;
    }
}
