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

:root {
    --bg: #050816;
    --bg-alt: #0b1023;
    --accent: #5b8def;
    --accent-soft: rgba(91, 141, 239, 0.1);
    --text: #f5f5f7;
    --muted: #a0a3b1;
    --border: #1e2238;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.35);
    --transition-fast: 0.2s ease;
    --max-width: 1080px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top left, #141b3a 0, #050816 40%, #020308 100%);
    color: var(--text);
    line-height: 1.6;
}

/* Layout */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 40px 16px 80px;
}

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

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: conic-gradient(from 140deg, #5b8def, #4ff2c5, #ffdd66, #5b8def);
    padding: 1px;
}

.brand-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, #111426, #050816);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text span:first-child {
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.86rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    border-color: var(--accent);
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: linear-gradient(120deg, rgba(91, 141, 239, 0.2), rgba(91, 141, 239, 0.05));
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(120deg, rgba(91, 141, 239, 0.35), rgba(91, 141, 239, 0.08));
}

/* Mobile nav */

.nav-toggle {
    display: none;
    width: 28px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-card {
    background: radial-gradient(circle at top left, #151b38 0, #070a1b 40%, #050816 100%);
    border-radius: 30px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(20, 29, 64, 0.9);
    border: 1px solid rgba(91, 141, 239, 0.4);
    color: var(--muted);
    font-size: 0.74rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-gradient {
    background: linear-gradient(120deg, #ffffff, #9fb5ff, #4ff2c5);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 36rem;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, #5b8def, #4ff2c5);
    color: #050816;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(17, 24, 52, 0.8);
}

/* Feature grid */

.section {
    margin-top: 60px;
}

.section-header {
    margin-bottom: 24px;
}

.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.section-description {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 36rem;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: rgba(10, 14, 35, 0.95);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px 18px 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.card p {
    font-size: 0.88rem;
    color: var(--muted);
}

.card-meta {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.8;
}

/* Content pages */

.page-hero {
    margin-bottom: 24px;
}

.page-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 0.96rem;
    color: var(--muted);
}

.content-block {
    background: rgba(10, 14, 35, 0.96);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 24px 22px;
    box-shadow: var(--shadow-soft);
    font-size: 0.94rem;
    color: var(--muted);
}

.content-block h2,
.content-block h3 {
    color: #ffffff;
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.content-block p,
.content-block li {
    margin-bottom: 10px;
}

.content-block ul {
    padding-left: 18px;
    list-style: disc;
}

/* Contact */

.form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.form-row {
    display: grid;
    gap: 14px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 4px;
    display: inline-block;
}

input,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(5, 7, 18, 0.9);
    padding: 10px 11px;
    font-size: 0.88rem;
    color: #ffffff;
    outline: none;
    transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(91, 141, 239, 0.35);
    background: rgba(7, 10, 24, 0.98);
}

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

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: radial-gradient(circle at top, #131a3a 0, #050816 50%, #020309 100%);
    padding: 20px 16px 26px;
    font-size: 0.78rem;
    color: var(--muted);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

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

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 18px;
    right: 18px;
    max-width: 320px;
    background: rgba(9, 12, 30, 0.98);
    border-radius: 18px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    font-size: 0.8rem;
    color: var(--muted);
    z-index: 80;
}

.cookie-banner h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.cookie-banner p {
    margin-bottom: 10px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-banner button {
    border-radius: 999px;
    border: none;
    padding: 7px 14px;
    font-size: 0.78rem;
    cursor: pointer;
}

.cookie-accept {
    background: linear-gradient(135deg, #5b8def, #4ff2c5);
    color: #050816;
}

.cookie-decline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

/* Responsive */

@media (max-width: 880px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(5, 8, 22, 0.98);
    }

    .nav-links-mobile a {
        color: var(--muted);
        text-decoration: none;
    }

    .nav-links-mobile a:hover {
        color: #ffffff;
    }

    main {
        padding-top: 28px;
    }
}
