:root {
    --bg: #020617;
    --bg-elevated: #020817;
    --primary: #2563eb;
    --accent: #22c55e;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.35), transparent 55%),
        #020617;
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

main {
    max-width: 1120px;
    margin: 4.5rem auto 3rem auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-wrap img {
    width: 42px;
    height: 42px;
}

.logo-text span:first-child {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bfdbfe;
}

.logo-text span:last-child {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.nav-links a {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: var(--text-muted);
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(37, 99, 235, 0.2);
    color: var(--text-main);
    transform: translateY(-1px);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-live {
    font-size: 0.7rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #7dd3fc;
}

.nav-cta button {
    border-radius: 999px;
    border: none;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-toggle {
    display: none;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.6rem;
    background: rgba(15,23,42,0.9);
}

.section {
    margin-top: 2.6rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 1.2rem;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 26rem;
}

.section-card {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    padding: 1.6rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb .sep {
    opacity: 0.6;
    margin: 0 0.25rem;
}

/* Contact layout */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 1.4rem;
}

.contact-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
}

.ctag {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px dashed rgba(148,163,184,0.6);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-form {
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 1));
    border-radius: 14px;
    padding: 1.1rem;
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.form-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

input,
textarea,
select {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(34, 197, 94, 0.8);
}

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

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

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

.btn-send {
    border-radius: 999px;
    border: none;
    padding: 0.45rem 1.3rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #4ade80);
    color: #022c22;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-send[disabled] {
    opacity: 0.7;
    cursor: default;
}

.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem 1.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 0.8rem;
}

.footer-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* errors */
.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* responsive */
@media (max-width: 900px) {
    main {
        margin-top: 4rem;
    }
    .contact-layout {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 760px) {
    .navbar {
        flex-wrap: wrap;
        row-gap: 0.6rem;
    }
    .nav-links {
        display: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0.4rem;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .form-row {
        flex-direction: column;
    }
    .site-footer-inner {
        flex-direction: column;
    }
}
