:root {
    color-scheme: dark;
    --bg: #08090c;
    --panel: #12141a;
    --panel-strong: #191c23;
    --text: #f4f7fb;
    --muted: #a9b1bf;
    --line: rgba(255, 255, 255, 0.13);
    --red: #ff3b32;
    --red-dark: #9f1717;
    --cyan: #55e7ff;
    --gold: #f8c34b;
    --green: #46f08f;
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 59, 50, 0.18), transparent 32rem),
        radial-gradient(circle at 90% 8%, rgba(85, 231, 255, 0.12), transparent 34rem),
        linear-gradient(180deg, #08090c 0%, #111218 48%, #090a0e 100%);
    color: var(--text);
    font-family: "Rajdhani", "Orbitron", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 59, 50, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 231, 255, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

body::after {
    z-index: -1;
    background:
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.035) 48%, transparent 52%),
        radial-gradient(circle at 14% 22%, rgba(255, 59, 50, 0.13), transparent 22rem),
        radial-gradient(circle at 86% 68%, rgba(85, 231, 255, 0.1), transparent 24rem);
    background-size: 100% 6px, auto, auto;
    mix-blend-mode: screen;
    opacity: 0.55;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    padding: 0.7rem 1rem;
    background: var(--red);
    color: white;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 12, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 59, 50, 0.42));
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--red), var(--cyan));
    transition: transform 160ms ease;
}

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

.nav a:hover::after,
.nav a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 9, 12, 0.96), rgba(8, 9, 12, 0.74), rgba(8, 9, 12, 0.92)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), var(--cyan), transparent);
    opacity: 0.85;
}

.hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 620px;
    padding: 5.5rem 0 4.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
    align-items: center;
    gap: 3rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
}

h1 {
    max-width: 860px;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    text-transform: uppercase;
    text-shadow:
        0 0 24px rgba(255, 59, 50, 0.3),
        0 0 42px rgba(85, 231, 255, 0.12);
}

h2 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    text-transform: uppercase;
}

h3 {
    font-size: 1.35rem;
}

.lead {
    max-width: 760px;
    margin: 1.35rem 0 0;
    color: #dce2ea;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.82rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-115%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transition: transform 420ms ease;
}

.btn.primary {
    border-color: rgba(255, 59, 50, 0.75);
    background: linear-gradient(180deg, #ff463e, #ab1718);
    box-shadow: 0 16px 36px rgba(255, 59, 50, 0.24);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.06);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(255, 59, 50, 0.28);
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: translateX(115%);
}

.hero-card,
.panel,
.feature,
.rank-card,
.faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(25, 28, 35, 0.94), rgba(13, 15, 20, 0.94));
    box-shadow: 0 22px 70px var(--shadow);
}

.hero-card::before,
.panel::before,
.feature::before,
.rank-card::before,
.faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 59, 50, 0.13), transparent 38%, rgba(85, 231, 255, 0.1));
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.feature:hover::before,
.rank-card:hover::before,
.panel:hover::before,
.faq-item:hover::before {
    opacity: 1;
}

.feature:hover,
.rank-card:hover,
.panel:hover,
.faq-item:hover {
    border-color: rgba(255, 59, 50, 0.32);
}

.hero-card {
    padding: 1rem;
}

.hero-card video,
.hero-card img {
    width: 100%;
    display: block;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #050506;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.stat {
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.stat strong {
    display: block;
    color: var(--cyan);
    font-size: 1.35rem;
    line-height: 1;
}

.stat span {
    color: var(--muted);
    font-size: 0.88rem;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 4.5rem 0;
}

.section.compact {
    padding: 3rem 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
}

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

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

.feature,
.panel,
.rank-card,
.faq-item {
    padding: 1.25rem;
}

.feature p,
.panel p,
.rank-card p,
.faq-item p,
li {
    color: var(--muted);
}

.feature h3,
.rank-card h3 {
    margin-bottom: 0.6rem;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
}

.rank-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.rank {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 59, 50, 0.18);
    border: 1px solid rgba(255, 59, 50, 0.45);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(85, 231, 255, 0.24);
    border-radius: 999px;
    background: rgba(85, 231, 255, 0.07);
    color: #dffaff;
    font-weight: 800;
    font-size: 0.9rem;
}

.comparison-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.signal {
    min-height: 128px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(255, 59, 50, 0.14), transparent 10rem);
}

.signal strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--cyan);
    font-size: 1.5rem;
    line-height: 1;
}

.signal span {
    color: var(--muted);
}

.notice {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--gold);
    background: rgba(248, 195, 75, 0.08);
    color: #f5e4bc;
}

.page-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.page-link {
    min-height: 88px;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    text-decoration: none;
    color: var(--text);
}

.page-link span {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.page-link:hover,
.page-link:focus-visible {
    border-color: rgba(85, 231, 255, 0.42);
    background: rgba(85, 231, 255, 0.08);
}

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

.list-clean li {
    padding-left: 1.1rem;
    position: relative;
}

.list-clean li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0 12px rgba(255, 59, 50, 0.8);
}

.callout {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 4.5rem;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 50, 0.32);
    background: linear-gradient(135deg, rgba(255, 59, 50, 0.18), rgba(85, 231, 255, 0.09));
}

.callout p {
    max-width: 800px;
    color: #dce2ea;
}

.faq {
    display: grid;
    gap: 1rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0;
    color: var(--muted);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner a {
    color: var(--text);
}

@media (max-width: 880px) {
    .header-inner {
        min-height: auto;
        padding: 0.8rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: flex-start;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .grid,
    .grid.two,
    .comparison-strip,
    .page-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body::before {
        animation: grid-drift 18s linear infinite;
    }

    .brand img {
        animation: logo-pulse 3.8s ease-in-out infinite;
    }
}

@keyframes grid-drift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 72px 72px, 72px 72px;
    }
}

@keyframes logo-pulse {
    0%,
    100% {
        filter: drop-shadow(0 0 14px rgba(255, 59, 50, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(85, 231, 255, 0.34));
    }
}

@media (max-width: 560px) {
    .header-inner,
    .section,
    .callout,
    .footer-inner,
    .hero-inner {
        width: min(100% - 22px, 1180px);
    }

    .nav {
        gap: 0.7rem;
    }

    .nav a {
        font-size: 0.88rem;
    }

    h1 {
        font-size: 2.45rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}
