:root {
    --bg: #0b1220;
    --surface: #111a2b;
    --surface-2: #17243a;
    --surface-3: #1b2c45;
    --text: #e5ecf5;
    --muted: #a6b4c8;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --brand: #7dd3fc;
    --brand-2: #38bdf8;
    --accent: #c4f1be;
    --danger: #fda4af;
    --success: #86efac;
    --warning: #fde68a;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 10px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(196, 241, 190, 0.10), transparent 24%),
        linear-gradient(180deg, #0b1220 0%, #0e1728 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: var(--accent);
}

.site-container {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 18, 32, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--white);
}

.site-logo:hover {
    color: var(--white);
}

.site-nav-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 999px;
    color: var(--text);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: #08111f;
    background: linear-gradient(135deg, var(--accent), var(--brand));
}

.site-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.site-lang__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.site-lang__link:hover {
    border-color: rgba(125, 211, 252, 0.45);
    background: rgba(125, 211, 252, 0.12);
    color: var(--white);
}

.site-lang__link.is-current {
    color: #08111f;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    border-color: transparent;
}

.site-nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.site-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    border-radius: 999px;
}

.site-main {
    padding: 2.5rem 0 4rem;
}

.site-banner {
    margin-bottom: 2rem;
}

.site-banner__image,
.site-banner__image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
}

.site-footer__brand {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.site-footer__text,
.site-footer__meta {
    color: var(--muted);
}

.site-footer__meta {
    text-align: right;
}

.site-footer__meta a {
    color: var(--text);
}

.center-shell {
    max-width: 820px;
    margin: 0 auto;
}

.narrow-shell {
    max-width: 960px;
    margin: 0 auto;
}

.site-stack {
    display: grid;
    gap: 1.5rem;
}

.layout-grid {
    display: grid;
    gap: 1.5rem;
}

.layout-grid--sidebar {
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
    align-items: start;
}

.cards-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

.page-header {
    margin: 0 0 1.5rem;
    max-width: 760px;
}

.page-header--compact {
    margin-bottom: 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.2);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title {
    margin: 0 0 0.75rem;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-title--sm {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.page-intro {
    margin: 0;
    font-size: 1.08rem;
    color: var(--muted);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-title {
    margin: 0 0 0.5rem;
    color: var(--white);
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.15;
}

.section-title--sm {
    font-size: 1.25rem;
}

.section-subtitle {
    margin: 0;
    color: var(--muted);
}

.surface-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.surface-card > :first-child {
    margin-top: 0;
}

.surface-card > :last-child {
    margin-bottom: 0;
}

.surface-card--accent {
    background:
        linear-gradient(180deg, rgba(27, 44, 69, 0.95), rgba(17, 26, 43, 0.96));
}

.surface-card--center {
    text-align: center;
}

.hero-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(circle at top right, rgba(196, 241, 190, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(20, 33, 53, 0.98), rgba(16, 25, 41, 0.98));
    box-shadow: var(--shadow);
}

.hero-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hero-copy,
.rich-text,
.stream-content {
    color: var(--text);
}

.hero-copy p,
.rich-text p,
.stream-content p,
.rich-text li,
.stream-content li {
    color: var(--muted);
}

.hero-copy p:last-child,
.rich-text p:last-child {
    margin-bottom: 0;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button-row--center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.05rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1;
    transition: 0.2s ease;
    cursor: pointer;
}

.btn--lg {
    min-height: 54px;
    padding: 0 1.35rem;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--brand));
    color: #08111f;
    box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
    color: #08111f;
    transform: translateY(-1px);
}

.btn--secondary {
    border-color: rgba(125, 211, 252, 0.32);
    background: rgba(125, 211, 252, 0.12);
    color: var(--white);
}

.btn--secondary:hover {
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(125, 211, 252, 0.2);
    color: var(--white);
}

.btn--ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    transform: translateY(-50%);
}

.feature-list--compact {
    gap: 0.6rem;
    font-size: 0.96rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.22rem;
    line-height: 1.2;
    color: var(--white);
}

.event-card__title a {
    color: inherit;
}

.event-card__title a:hover {
    color: var(--brand);
}

.event-card__intro {
    margin: 0 0 1rem;
    color: var(--muted);
}

.event-card__details {
    margin-bottom: 1.25rem;
}

.event-card__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-list {
    display: grid;
    gap: 0.9rem;
}

.info-list__item {
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.info-list__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.info-list__term {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}

.info-list__desc {
    margin: 0.25rem 0 0;
    color: var(--white);
}

.price-box {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.65rem;
}

.price-box__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text);
}

.price-box__label {
    color: var(--muted);
}

.stream-content > * + * {
    margin-top: 1.25rem;
}

.stream-content h2,
.rich-text h2 {
    margin: 0 0 0.85rem;
    color: var(--white);
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.15;
}

.stream-content h3,
.rich-text h3 {
    margin: 0 0 0.65rem;
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1.2;
}

.stream-content ul,
.stream-content ol,
.rich-text ul,
.rich-text ol {
    padding-left: 1.2rem;
}

.stream-content a,
.rich-text a {
    color: var(--brand);
}

.stream-content blockquote,
.rich-text blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--brand-2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 14px 14px 0;
}

.stream-content img,
.rich-text img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.faq-item {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item__question {
    margin: 0 0 0.6rem;
    color: var(--white);
    font-size: 1.05rem;
}

.faq-item__answer > :last-child {
    margin-bottom: 0;
}

.form-shell {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-label {
    color: var(--white);
    font-weight: 700;
}

.form-help {
    font-size: 0.92rem;
    color: var(--muted);
}

.form-error {
    font-size: 0.92rem;
    color: var(--danger);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="number"],
.form-field input[type="password"],
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    padding: 0.9rem 1rem;
    font: inherit;
    outline: none;
    transition: 0.2s ease;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgba(125, 211, 252, 0.6);
    box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.14);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(229, 236, 245, 0.5);
}

.message-box {
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.message-box--success {
    background: rgba(134, 239, 172, 0.1);
    border-color: rgba(134, 239, 172, 0.25);
}

.message-box--info {
    background: rgba(125, 211, 252, 0.1);
    border-color: rgba(125, 211, 252, 0.24);
}

.message-box--warning {
    background: rgba(253, 230, 138, 0.1);
    border-color: rgba(253, 230, 138, 0.24);
}

.message-box > :last-child {
    margin-bottom: 0;
}

.empty-state {
    padding: 1.2rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.quick-links {
    display: grid;
    gap: 1.25rem;
}

.quick-link {
    display: block;
    height: 100%;
    color: inherit;
}

.quick-link:hover {
    color: inherit;
    border-color: rgba(125, 211, 252, 0.35);
    transform: translateY(-2px);
}

.quick-link__title {
    margin: 0 0 0.5rem;
    color: var(--white);
    font-size: 1.15rem;
}

.quick-link__text {
    margin: 0;
    color: var(--muted);
}

.sticky-panel {
    position: sticky;
    top: 96px;
}

@media (max-width: 980px) {
    .layout-grid--sidebar,
    .hero-panel__grid,
    .cards-grid--3,
    .cards-grid--2 {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 920px) {
    .site-nav-toggle {
        display: inline-block;
    }

    .site-header__inner {
        flex-wrap: wrap;
        padding: 0.75rem 0;
    }

    .site-nav-wrap {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 0.75rem;
    }

    .site-nav-wrap.is-open {
        display: flex;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav__link {
        justify-content: center;
    }

    .site-lang {
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .site-footer__inner {
        flex-direction: column;
    }

    .site-footer__meta {
        text-align: left;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}
