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

:root {
    --color-bg: #14002b;
    --color-bg-elevated: #26004f;
    --color-accent: #9d6cff;
    --color-accent-soft: #f0e8ff;
    --color-text: #ffffff;
    --color-text-muted: #d5c9ff;
    --color-border-subtle: #3f1e70;
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.18s ease-out;
    --max-width: 1040px;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top left, #3c0f83 0, #14002b 55%, #050013 100%);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

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

/* Header & navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(7, 0, 20, 0.95), rgba(7, 0, 20, 0.85));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(157, 108, 255, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

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

.brand-title {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 0.4rem 0.55rem;
    cursor: pointer;
}

.nav-toggle-line {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
}

.nav-toggle-line + .nav-toggle-line {
    margin-top: 4px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding-block: 0.3rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

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

/* Hero */

.hero-section {
    padding: 4.5rem 0 3.5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0 0 0.75rem;
}

.hero-lead {
    margin: 0 0 1.75rem;
    font-size: 1.02rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(240, 232, 255, 0.5);
    background: radial-gradient(circle at top left, #f0e8ff 0, #d0c0ff 40%, #a588ff 100%);
    color: #26004f;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Hero panel */

.hero-panel {
    position: relative;
}

.hero-card {
    background: linear-gradient(135deg, rgba(38, 0, 79, 0.96), rgba(11, 0, 40, 0.96));
    border-radius: 24px;
    padding: 1.4rem 1.5rem 1.7rem;
    border: 1px solid rgba(225, 215, 255, 0.25);
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-card li {
    padding-block: 0.15rem;
    position: relative;
    padding-left: 1rem;
}

.hero-card li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-accent);
}

.hero-metric-row {
    display: flex;
    gap: 1.1rem;
    margin-top: 1rem;
}

.metric {
    flex: 1;
    background: rgba(11, 0, 40, 0.9);
    border-radius: 18px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border-subtle);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Sections */

.privacy-section {
    background: radial-gradient(circle at top, #2f0b65 0, #14002b 65%);
    border-top: 1px solid rgba(225, 215, 255, 0.18);
    border-bottom: 1px solid rgba(225, 215, 255, 0.18);
    padding: 3.5rem 0;
}

.privacy-section h2 {
    font-size: 1.6rem;
    margin-top: 0;
}

.section-intro {
    color: var(--color-text-muted);
    max-width: 46rem;
}

.privacy-section h3 {
    margin-top: 2rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.privacy-section p {
    line-height: 1.6;
    margin: 0.25rem 0 0.6rem;
}

.privacy-section ul {
    padding-left: 1.2rem;
    margin: 0.15rem 0 0.75rem;
}

.privacy-section li {
    margin-bottom: 0.25rem;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Contact */

.contact-section {
    padding: 3.5rem 0 3.75rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-text p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.contact-highlights li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 2px solid var(--color-accent);
}

/* Form */

.contact-form-wrapper {
    background: linear-gradient(140deg, rgba(240, 232, 255, 0.1), rgba(157, 108, 255, 0.06));
    border-radius: 24px;
    padding: 1.6rem 1.7rem;
    border: 1px solid rgba(225, 215, 255, 0.35);
    box-shadow: var(--shadow-soft);
}

.support-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-field.full {
    flex-basis: 100%;
}

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

input,
textarea {
    font: inherit;
    border-radius: 12px;
    border: 1px solid rgba(225, 215, 255, 0.6);
    padding: 0.7rem 0.8rem;
    background: rgba(9, 0, 30, 0.9);
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea {
    resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(157, 108, 255, 0.4);
    background: rgba(9, 0, 30, 1);
}

.btn-primary {
    margin-top: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ffffff, #f0e8ff);
    color: #26004f;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.form-status {
    min-height: 1.1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(225, 215, 255, 0.18);
    padding: 1.3rem 0 1.5rem;
    background: radial-gradient(circle at top, #2f0b65 0, #080016 60%);
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-inner a {
    color: inherit;
    text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
    color: var(--color-text);
}

.footer-domain {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Links */

a {
    color: #e3d7ff;
}

a:hover,
a:focus-visible {
    color: #ffffff;
}

/* Responsive */

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

    .hero-panel {
        order: -1;
    }

    .header-inner {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        inset-inline: 0.75rem;
        top: 100%;
        margin-top: 0.4rem;
        border-radius: 20px;
        background: rgba(7, 0, 20, 0.95);
        border: 1px solid rgba(157, 108, 255, 0.4);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.6rem 0.9rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition: max-height 0.2s ease-out, opacity 0.18s ease-out, transform 0.18s ease-out;
    }

    .nav-links.open {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
    }

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

@media (max-width: 600px) {
    .hero-section {
        padding-top: 3.5rem;
    }

    .brand-title {
        font-size: 0.98rem;
    }

    .brand-tagline {
        display: none;
    }

    .contact-form-wrapper {
        padding: 1.3rem 1.3rem 1.5rem;
    }
}
