/* Layout: layouts/landing — public marketing/landing shell. */
:root {
    --primary: #1e3a8a;
    --primary-dark: #0f1f5c;
    --accent: #f59e0b;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}

header.site {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
}
header.site .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
header.site .brand .badge {
    background: var(--accent);
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
header.site .brand .name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}
header.site .brand .name small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
}
header.site nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
header.site nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}
header.site nav a:hover { color: var(--accent); }
header.site nav a.cta {
    background: var(--accent);
    color: #0f172a;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
}
header.site nav a.cta:hover { background: #fbbf24; color: #0f172a; }

header.site nav .lang-switch {
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 3px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
header.site nav .lang-switch a {
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}
header.site nav .lang-switch a.active {
    background: var(--accent);
    color: #0f172a;
}
header.site nav .lang-switch a:hover:not(.active) { color: #fff; }

.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(245, 158, 11, 0.18), transparent 55%),
        radial-gradient(ellipse at 0% 90%, rgba(59, 130, 246, 0.30), transparent 60%),
        linear-gradient(135deg, #0f1f5c 0%, #1e3a8a 55%, #1e2a6a 100%);
    color: #fff;
    padding: 140px 32px 80px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.hero .eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero h1 .accent {
    background: linear-gradient(90deg, var(--accent) 0%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    max-width: 640px;
    font-size: 18px;
    color: #cbd5e1;
    margin: 0 0 32px;
}
.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(245,158,11,0.45); }
.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.hero .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 13px;
    color: #cbd5e1;
}
.hero .meta strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

main { flex: 1; }

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px;
}
.section h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.section .lead {
    color: var(--muted);
    margin: 0 0 40px;
    font-size: 16px;
    max-width: 600px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.feature:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.feature .ico {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 22px;
}
.feature h3 {
    margin: 0 0 6px;
    font-size: 17px;
}
.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.feature p small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
}

footer.site {
    background: #0f172a;
    color: #94a3b8;
    padding: 28px 32px;
    text-align: center;
    font-size: 13px;
}
footer.site strong { color: #fff; font-weight: 600; }

/* --- Mobile --------------------------------------------------------------
   The header is absolutely positioned over the hero on desktop. On small
   screens that overlaps the hero once the nav wraps, so we drop it into
   normal flow as a solid bar and let the brand + nav stack/wrap cleanly. */
@media (max-width: 720px) {
    header.site {
        position: static;
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 18px;
        background: #0f172a;
    }
    header.site .brand { flex: 1 1 auto; min-width: 0; }
    header.site nav {
        width: 100%;
        gap: 10px 14px;
        justify-content: flex-start;
    }
    header.site nav a { font-size: 13px; }
    header.site nav a.cta { padding: 8px 14px; }
    /* Push the language switch to the end of the nav row. */
    header.site nav .lang-switch { margin-left: auto; }

    /* No more fixed top padding to clear an overlay header. */
    .hero { padding: 40px 20px 56px; }
    .hero .actions { gap: 10px; }
    .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
    .section { padding: 48px 20px; }
    footer.site { padding: 24px 20px; }
}

@media (max-width: 380px) {
    /* Very narrow: let the brand and nav each take a full row. */
    header.site .brand .name { font-size: 14px; }
    header.site nav a.cta { padding: 8px 12px; }
}
