:root {
    --bg-main: #050816;
    --bg-alt: #0b1020;
    --bg-card: rgba(17, 24, 39, 0.92);
    --bg-chip: rgba(31, 41, 55, 0.9);
    --accent: #ff4b8b;
    --accent-soft: rgba(255, 75, 139, 0.12);
    --accent-alt: #4f46e5;
    --accent-gradient: linear-gradient(135deg, #ff4b8b, #ff7d4b);
    --accent-gradient-alt: linear-gradient(135deg, #4f46e5, #22c1c3);
    --border-subtle: rgba(148, 163, 184, 0.25);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-soft: #6b7280;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
    --shadow-chip: 0 10px 30px rgba(15, 23, 42, 0.9);
}

/* Global */

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

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

body.page {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, #1d2337 0, transparent 55%),
        radial-gradient(circle at 80% 0, #312e81 0, transparent 50%),
        radial-gradient(circle at bottom, #111827 0, #020617 70%);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

/* Container */

.container {
    width: min(1200px, 100% - 32px);
    margin-inline: auto;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.4));
    border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-main);
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.header-cta {
    flex-shrink: 0;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease,
        background 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 12px 26px;
    font-size: 15px;
}

.btn-primary {
    background-image: var(--accent-gradient);
    color: #0f172a;
    box-shadow: 0 14px 30px rgba(248, 113, 113, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248, 113, 113, 0.6);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 250, 252, 0.7);
}

/* Hero */

.hero {
    padding: 48px 0 40px;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.45), transparent 60%);
    color: var(--text-muted);
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(28px, 3.1vw, 34px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero-subtitle {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--text-muted);
    max-width: 32rem;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-soft);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-image: var(--accent-gradient-alt);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-footnote {
    font-size: 12px;
    color: var(--text-soft);
}

/* Hero media */

.hero-media {
    position: relative;
    display: grid;
    gap: 16px;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.75), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.hero-card-main {
    transform: translateX(4%);
}

.hero-card-secondary {
    transform: translateX(-4%);
    background: radial-gradient(circle at top, rgba(236, 72, 153, 0.45), rgba(15, 23, 42, 0.96));
}

.hero-slot-img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.hero-card-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow-chip);
    font-size: 12px;
    color: var(--text-main);
}

.hero-card-row {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    font-size: 11px;
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-icon {
    width: 16px;
    height: 16px;
}

.hero-floating {
    position: absolute;
    inset: auto 0 -6px auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(50%);
}

.hero-floating-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-chip);
    font-size: 11px;
    color: var(--text-muted);
}

/* Sections */

.section {
    padding: 34px 0;
}

.section-alt {
    background: radial-gradient(circle at top right, rgba(30, 64, 175, 0.55), rgba(15, 23, 42, 0.95));
}

.section-title {
    font-size: 24px;
    margin: 0 0 10px;
}

.section-subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 40rem;
}

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

.section-cta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section-cta.center {
    justify-content: center;
}

.section-cta-note {
    font-size: 12px;
    color: var(--text-soft);
}

/* Feature cards */

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

.feature-card {
    background: radial-gradient(circle at top left, rgba(55, 65, 81, 0.7), rgba(15, 23, 42, 0.96));
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.feature-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    margin-bottom: 10px;
}

.feature-icon {
    width: 18px;
    height: 18px;
}

.feature-title {
    font-size: 16px;
    margin: 0 0 6px;
}

.feature-text {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Slots */

.section-slots {
    background: radial-gradient(circle at center, rgba(30, 64, 175, 0.4), rgba(3, 7, 18, 0.98));
}

.slots-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.slot-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.slot-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.slot-info {
    padding: 10px 12px 12px;
}

.slot-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.slot-meta {
    font-size: 12px;
    color: var(--text-soft);
}

/* Steps */

.steps {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background-image: var(--accent-gradient-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #0b1120;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.6);
}

.step-title {
    font-size: 15px;
    margin: 0 0 4px;
}

.step-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* App section */

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

.app-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.app-list li::before {
    content: "•";
    margin-right: 6px;
    color: #a855f7;
}

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

.app-media {
    display: flex;
    justify-content: flex-end;
}

.app-card {
    max-width: 320px;
    width: 100%;
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.app-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.app-badge-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px 0;
    gap: 6px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 11px;
    color: var(--text-muted);
}

.app-meta {
    padding: 8px 12px 12px;
    font-size: 12px;
    color: var(--text-soft);
}

/* SEO block */

.seo-block {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(3, 7, 18, 1));
    border-top: 1px solid rgba(15, 23, 42, 0.95);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 14px;
}

.seo-subtitle {
    font-size: 15px;
    margin: 0 0 8px;
}

.seo-text {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.seo-bottom {
    margin-top: 10px;
}

/* FAQ */

.section-faq {
    padding-bottom: 40px;
}

.faq {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item + .faq-item {
    border-top: 1px solid rgba(55, 65, 81, 0.9);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: inherit;
    text-align: left;
    padding: 12px 14px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-answer {
    padding: 0 14px 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.faq-toggle {
    font-size: 18px;
    color: var(--text-soft);
}

.faq-cta {
    margin-top: 18px;
}

/* Footer */

.footer {
    border-top: 1px solid rgba(15, 23, 42, 0.98);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 1), #020617);
    margin-top: 16px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 10px;
    align-items: flex-start;
}

.footer-main {
    max-width: 420px;
}

.footer-text {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.95);
    text-align: center;
    padding: 10px 0 12px;
    font-size: 11px;
    color: var(--text-soft);
}

/* Registration page */

.page-reg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-card {
    width: min(380px, 100% - 32px);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    padding: 22px 22px 20px;
}

.reg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.reg-title {
    margin: 0 0 14px;
    font-size: 20px;
}

.reg-form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 4px;
}

.field-label {
    font-size: 12px;
    color: var(--text-soft);
}

.field-input {
    border-radius: 10px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.96);
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field-input::placeholder {
    color: rgba(107, 114, 128, 0.9);
}

.field-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
    background: rgba(15, 23, 42, 1);
}

.checkbox {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-soft);
    align-items: flex-start;
}

.checkbox input {
    margin-top: 2px;
}

.reg-submit {
    width: 100%;
    margin-top: 4px;
}

/* Responsive */

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

    .hero-media {
        order: -1;
    }

    .hero-card-main {
        transform: translateX(0);
    }

    .hero-card-secondary {
        transform: translateX(0);
    }

    .hero-floating {
        position: static;
        transform: none;
        margin-top: 8px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-floating-item {
        font-size: 11px;
    }

    .grid-3,
    .slots-row,
    .seo-grid,
    .app-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-media {
        justify-content: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 10px 0;
    }

    .nav {
        display: none;
    }

    .hero {
        padding-top: 28px;
    }

    .section {
        padding: 26px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .slot-img {
        height: 150px;
    }

    .hero-slot-img {
        height: 180px;
    }

    .faq-question {
        font-size: 13px;
    }
}
