:root {
    --bg: #050816;
    --bg-muted: #0f172a;
    --surface: rgba(15, 23, 42, 0.75);
    --surface-strong: rgba(30, 41, 59, 0.85);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-strong: #0ea5e9;
    --accent-soft: rgba(56, 189, 248, 0.1);
    --danger: #f87171;
    --success: #34d399;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(14, 116, 144, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.2), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(129, 140, 248, 0.95));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0f172a;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
    color: var(--text);
}

nav .cta {
    background: var(--accent);
    color: #02101f;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 24px 96px;
}

.hero {
    display: grid;
    gap: 28px;
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 40px 80px rgba(8, 47, 73, 0.25);
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero p.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.85rem;
    color: var(--accent);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: var(--accent);
    color: #02101f;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.35);
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
    text-decoration: none;
}

section {
    margin-top: 72px;
    display: grid;
    gap: 28px;
}

section h2 {
    font-size: 1.9rem;
    font-weight: 600;
}

p.subhead {
    color: var(--text-muted);
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--surface);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    display: grid;
    gap: 14px;
}

#search-results {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 12px;
}

#search-results .card {
    border-color: rgba(56, 189, 248, 0.18);
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
}

.card .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.stat-group {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat {
    padding: 20px 24px;
    border-radius: 18px;
    background: var(--surface-strong);
    border: 1px solid rgba(56, 189, 248, 0.18);
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

blockquote {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    padding: 22px;
    border-radius: 0 16px 16px 0;
    color: var(--text-muted);
}

form {
    display: grid;
    gap: 28px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.92));
    padding: 36px;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 30px 60px rgba(8, 47, 73, 0.28);
    max-width: 940px;
    margin-inline: auto;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

label span.field-title {
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.01em;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.75);
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

textarea {
    min-height: 170px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-section {
    display: grid;
    gap: 18px;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.form-step {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.form-section-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.form-section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
}

label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

label.checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.form-status {
    color: var(--text-muted);
}

ul.checklist {
    list-style: none;
    display: grid;
    gap: 10px;
}

ul.checklist li::before {
    content: '✔';
    color: var(--success);
    margin-right: 8px;
}

footer {
    background: rgba(5, 8, 22, 0.9);
    padding: 42px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

footer .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 720px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 36px;
    }

    form {
        padding: 26px;
    }

    .form-section-header {
        flex-direction: column;
    }
}
