:root {
    --mark-color: #3d638e;
    --mark-color-hover: #1d415f;
    --accent: #55a6ea;
    --bg: #f8f9fa;
    --font-color: #424242;
    --muted: #666;
    --light-muted: #888;
    --border: #eaeaea;
    --radius: 4px;
    --radius-card: 12px;
    --shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.1);
    --cta-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --container: 1200px;
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--font-color);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.7rem 1.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    line-height: 1;
}
.btn-primary { background: var(--mark-color); color: #fff; }
.btn-primary:hover { background: var(--mark-color-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--mark-color); }
.btn-light:hover { background: #f0f4f8; transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}
.site-header[data-scrolled="true"] {
    background: #fff;
    border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark {
    width: 22px; height: 22px; border-radius: 6px;
    background: linear-gradient(135deg, var(--mark-color), var(--accent));
    display: inline-block;
}
.brand-mark.small { width: 18px; height: 18px; }
.brand-text { font-weight: 800; font-size: 1.1rem; color: #1a1a2e; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 70px;
    background: #fff;
}
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow {
    position: absolute; top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(85, 166, 234, 0.18) 0%, rgba(61, 99, 142, 0.06) 40%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: start;
}
.hero-copy { padding-top: 0.5rem; }
.badge {
    display: inline-block;
    background: rgba(61, 99, 142, 0.1);
    color: var(--mark-color);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
}
.hero-accent {
    background: linear-gradient(100deg, #3d638e 0%, #55a6ea 45%, #8fd0ff 50%, #55a6ea 55%, #3d638e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--muted);
    max-width: 36rem;
    margin-bottom: 1.75rem;
}
.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.9rem; color: var(--font-color); }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mark-color); display: inline-block; }

/* ---------- Form card ---------- */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}
.form-title { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.4rem; }
.form-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--font-color); margin-bottom: 0.35rem; }
.field .req { color: var(--mark-color); }
.field input, .field select {
    width: 100%;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--font-color);
    padding: 0.65rem 0.75rem;
    border: 1px solid #d7dbe0;
    border-radius: var(--radius);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--mark-color);
    box-shadow: 0 0 0 3px rgba(61, 99, 142, 0.12);
}
.field input.invalid, .field select.invalid { border-color: var(--mark-color); box-shadow: 0 0 0 3px rgba(200, 11, 11, 0.12); border-color: #c80b0b; }
.field-error {
    display: none;
    font-size: 0.75rem;
    color: #c80b0b;
    margin-top: 0.3rem;
}
.field-error.show { display: block; }
.consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0.4rem 0 1.1rem;
    cursor: pointer;
}
.consent input { margin-top: 0.15rem; flex-shrink: 0; }
.form-fine { font-size: 0.72rem; color: var(--light-muted); text-align: center; margin-top: 0.8rem; }
.form-message { margin-top: 1rem; font-size: 0.9rem; font-weight: 500; text-align: center; display: none; }
.form-message.show { display: block; }
.form-message.success { color: #1f7a4d; }
.form-message.error { color: #c80b0b; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; background: #fff; }
.section-light { background: #fafafa; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mark-color);
    margin-bottom: 0.8rem;
}
.section-title { font-size: 2.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #1a1a2e; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; font-weight: 400; line-height: 1.7; color: var(--muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.875rem; }

.step { text-align: center; }
.step-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(61, 99, 142, 0.1);
    border: 1px solid rgba(61, 99, 142, 0.15);
    box-shadow: 0 4px 12px rgba(61, 99, 142, 0.1);
    color: var(--mark-color);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.step-title { font-size: 1.1rem; font-weight: 600; color: #1a1a2e; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.type-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.type-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-card);
    background: color-mix(in srgb, var(--type) 15%, transparent);
    color: var(--type);
    font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.type-name { font-size: 1.05rem; font-weight: 600; color: #1a1a2e; margin-bottom: 0.4rem; }
.type-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { background: var(--cta-gradient); padding: 100px 0; position: relative; overflow: hidden; }
.cta::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(85, 166, 234, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 75% 60%, rgba(212, 57, 57, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: 2.3rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.cta-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fafafa; border-top: 1px solid var(--border); padding: 50px 0 36px; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.footer-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.footer-address { font-size: 0.8rem; color: var(--light-muted); margin-bottom: 0.75rem; }
.footer-copy { font-size: 0.8rem; color: var(--light-muted); }
.footer-copy a { color: var(--muted); text-decoration: none; }
.footer-copy a:hover { color: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-title { font-size: 2.4rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hero { padding: 110px 0 50px; }
    .hero-title { font-size: 1.9rem; }
    .hero-subtitle { font-size: 1.02rem; }
    .section-title, .cta-title { font-size: 1.8rem; }
    .grid-4 { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .header-cta { display: none; }
    .section { padding: 64px 0; }
}
