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

body {
    background-color: #0a0a0f;
    color: #e0e0e0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

:root {
    --red-primary: #cc0000;
    --red-dark: #990000;
    --red-light: #ff1a1a;
    --red-glow: rgba(204, 0, 0, 0.4);
}

#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 30%, #1a0a0a 0%, #0a0a0f 100%);
}

.glow-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 40%, rgba(204, 0, 0, 0.15), transparent 60%);
    animation: breathe-glow 4s ease-in-out infinite alternate;
}

@keyframes breathe-glow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1450px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    text-decoration: none;
}
.logo span { color: var(--red-primary); }

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
    padding: 6px 0;
}
.nav a:hover, .nav a.active { color: #fff; }

.nav .btn-primary,
.btn-primary {
    background: var(--red-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}
.nav .btn-primary:hover,
.btn-primary:hover { background: var(--red-dark); }

.hero {
    text-align: center;
    padding: 60px 0 40px 0;
}

.hero .badge,
.badge {
    display: inline-block;
    background: var(--red-primary);
    color: #fff;
    font-weight: 700;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
    box-shadow: 0 0 30px var(--red-glow);
    animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {
    0% { box-shadow: 0 0 20px var(--red-glow); }
    50% { box-shadow: 0 0 50px var(--red-glow); }
    100% { box-shadow: 0 0 20px var(--red-glow); }
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #fff, var(--red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.btn-hero {
    background: var(--red-primary);
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 40px var(--red-glow);
    text-decoration: none;
    display: inline-block;
}
.btn-hero:hover {
    background: var(--red-dark);
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(204, 0, 0, 0.6);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10%;
    width: 80%;
    height: calc(100% + 40px);
    background: radial-gradient(ellipse at center, rgba(204, 0, 0, 0.10), transparent 70%);
    filter: blur(40px);
    animation: breathe-stats 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
    border-radius: 100%;
}

@keyframes breathe-stats {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.9; transform: scale(1.05); }
}

.stats div { text-align: center; }
.stats .number { font-size: 36px; font-weight: 700; color: #fff; }
.stats .label { font-size: 14px; color: #888; }

.carousel-section { padding: 60px 0 40px 0; text-align: center; position: relative; }
.carousel-section h2, .cheat-section h2, .page-title { font-size: 38px; margin-bottom: 16px; color: #fff; }
.carousel-section .subtitle, .cheat-section .subtitle { color: #aaa; font-size: 18px; margin-bottom: 40px; }

.carousel-wrapper { position: relative; overflow: hidden; max-width: 1120px; margin: 0 auto; padding: 0 34px; }
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: stretch;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
}
.carousel-item:hover {
    transform: translateY(-5px);
    border-color: var(--red-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.carousel-item img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #111116;
}
.carousel-item .caption {
    padding: 10px 14px;
    color: #aaa; font-size: 13px; text-align: left;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 22px; font-weight: 700;
    cursor: pointer; z-index: 10;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.3);
}
.carousel-arrow:hover {
    background: var(--red-primary);
    transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.hidden { opacity: 0; pointer-events: none; }
.carousel-arrow.prev { left: -12px; }
.carousel-arrow.next { right: -12px; }

.cheat-section { padding: 60px 0 40px 0; text-align: center; }
.cheat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.feature-card, .card {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #cc0000, #ff1a1a, #cc0000, transparent);
    filter: blur(1px); opacity: 0.6;
}
.feature-card:hover, .card:hover {
    border-color: rgba(204, 0, 0, 0.25);
    transform: translateY(-2px);
}
.feature-card h3, .card h3 {
    color: #fff; font-size: 17px; font-weight: 700;
    margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.feature-card .desc, .card p { color: #71717a; font-size: 13px; line-height: 1.4; margin-bottom: 18px; }
.card p { font-size: 15px; color: #aaa; margin-bottom: 12px; }

.feature-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.feature-list li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: #d4d4d8; font-size: 13px; font-weight: 500;
}
.feature-list .check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px;
    background: #cc0000; border-radius: 3px;
    color: #fff; font-size: 10px; font-weight: 700;
}

.faq { padding: 60px 0 80px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.faq h2 { font-size: 36px; text-align: center; margin-bottom: 50px; color: #fff; }
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 30px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.faq-item:hover { border-color: rgba(204, 0, 0, 0.2); }
.faq-item h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.faq-item p { color: #aaa; font-size: 15px; }

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666; font-size: 14px;
    flex-wrap: wrap; gap: 15px;
}
.footer .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer .legal-links a { color: #888; text-decoration: none; }
.footer .legal-links a:hover { color: #fff; text-decoration: underline; }

.breadcrumb { font-size: 13px; color: #666; margin: 24px 0 8px; }
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.page-hero { text-align: center; padding: 40px 0 20px; }
.page-hero h1 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p { color: #aaa; font-size: 18px; max-width: 760px; margin: 0 auto 24px; }

.prose {
    max-width: 860px;
    margin: 0 auto 60px;
    color: #c4c4c8;
    font-size: 16px;
}
.prose h2 { color: #fff; font-size: 26px; margin: 32px 0 12px; }
.prose h3 { color: #fff; font-size: 20px; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red-light); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 50px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 50px; }
.card a.more { color: var(--red-light); font-weight: 600; text-decoration: none; font-size: 14px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0 40px; }
.btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}
.btn-ghost:hover { border-color: var(--red-primary); }

.product-meta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; color: #888; font-size: 14px; margin-bottom: 20px; }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header { flex-direction: column; align-items: stretch; text-align: center; }
    .nav { justify-content: center; }
    .hero h1, .page-hero h1 { font-size: 32px; }
    .cheat-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer { flex-direction: column; text-align: center; }
}

/* Modern header + scroll motion */
html { scroll-behavior: smooth; }
body { padding-top: 0; }
.header {
    position: sticky;
    top: 12px;
    z-index: 50;
    margin-bottom: 6px;
    padding: 16px 18px 22px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: padding .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.header.scrolled {
    padding: 10px 18px;
    background: rgba(10,10,15,.82);
    border-color: rgba(204,0,0,.18);
    box-shadow: 0 14px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(16px);
}
.nav a { transition: color .25s ease, transform .25s ease, opacity .25s ease; }
.nav a:not(.btn-primary):hover { transform: translateY(-1px); }
.nav .btn-primary { transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.nav .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(204,0,0,.25); }

.hero-split {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    align-items: center;
    gap: 56px;
    text-align: left;
    padding: 72px 0 54px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; }
.hero-copy p { margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: #8e8e98; font-size: 13px; }
.hero-points span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.025); }

.hero-preview { position: relative; min-width: 0; }
.preview-glow {
    position: absolute; inset: 10% -8% -10%;
    background: radial-gradient(circle, rgba(204,0,0,.25), transparent 62%);
    filter: blur(32px); pointer-events: none;
}
.preview-frame {
    position: relative; overflow: hidden; border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: #101014; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 55px rgba(204,0,0,.12);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
    transition: transform .45s ease, border-color .35s ease;
}
.preview-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-5px); border-color: rgba(204,0,0,.35); }
.preview-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #151519; border-bottom: 1px solid rgba(255,255,255,.06); }
.preview-bar span { width: 7px; height: 7px; border-radius: 50%; background: #555; }
.preview-bar span:first-child { background: #cc0000; }
.preview-bar b { margin-left: auto; color: #777; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.preview-frame img { width: 100%; display: block; aspect-ratio: 1476 / 830; object-fit: cover; }
.preview-tag {
    position: absolute; right: -12px; bottom: -18px; z-index: 2;
    padding: 13px 17px; border: 1px solid rgba(204,0,0,.28); border-radius: 12px;
    background: rgba(14,14,18,.9); backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.preview-tag strong { display: block; color: #fff; font-size: 13px; }
.preview-tag small { color: #888; font-size: 11px; }

.hero .btn-ghost { display: inline-block; }
.btn-ghost { transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.btn-ghost:hover { background: rgba(204,0,0,.07); transform: translateY(-1px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .preview-frame { transform: none; }
}
@media (max-width: 600px) {
    .header { top: 6px; padding: 12px 12px 16px; }
    .header.scrolled { padding: 8px 12px; }
    .nav { gap: 12px; }
    .nav a { font-size: 14px; }
    .nav .btn-primary { padding: 9px 15px; }
    .hero-split { min-height: auto; padding-top: 46px; }
    .hero h1 { font-size: 42px; }
    .preview-tag { right: 8px; bottom: 8px; }
}

/* Screenshot readability: never crop the application UI. */
.preview-frame img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; background: #0f1014; display: block; }
.carousel-item { background: #111116; aspect-ratio: auto; }
@media (max-width: 768px) { .preview-frame { transform: none; } .preview-frame img { width: 100%; height: auto; } }

/* Browse cards: balanced two-column layout with centered content and no orphaned grid space. */
.browse-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 980px;
    margin: 24px auto 44px;
    align-items: stretch;
}
.browse-grid .card {
    min-height: 170px;
    justify-content: center;
    padding: 28px 34px;
}
.browse-grid .card h3 { margin-bottom: 8px; }
.browse-grid .card p { margin-bottom: 14px; }
.browse-grid .card .more { align-self: flex-start; }
@media (max-width: 700px) {
    .browse-grid { grid-template-columns: 1fr; }
    .browse-grid .card { min-height: 0; }
}

.header.scrolled { transform: translateY(-2px); }


/* Final polish: lightweight motion, compact readable previews, no artificial black bars. */
.glow-overlay { animation: none; opacity: .55; }
.header { will-change: padding, background, box-shadow; }
.header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
.preview-frame {
    animation: hero-float 6s ease-in-out infinite;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
    will-change: transform;
}

@keyframes hero-float {
    0%,100% { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translate3d(0,0,0); }
    50% { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translate3d(0,-9px,0); }
}
.preview-frame img {
    width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center;
    background: transparent;
}
.preview-tag { right: 12px; bottom: 12px; }
.carousel-wrapper { max-width: 980px; padding: 0 22px; }
.carousel-item { aspect-ratio: auto; }
.carousel-item img { width: 100%; height: auto; object-fit: contain; background: #111116; }
.carousel-item .caption { text-align: center; }
.browse-grid { max-width: 920px; margin: 24px auto 44px; }
.browse-grid .card { min-height: 180px; align-items: center; text-align: center; justify-content: center; }
.browse-grid .card .more { align-self: center; }
@media (prefers-reduced-motion: reduce) { .preview-frame { animation: none; } }
@media (max-width: 900px) { .preview-frame { animation: hero-float-mobile 6s ease-in-out infinite; transform: none; } }

/* Compact screenshot gallery: keep wide interface previews readable without dominating the viewport. */
.carousel-wrapper { max-width: 820px; padding: 0 18px; }
.carousel-item { max-width: 780px; margin: 0 auto; }
.carousel-item img { max-height: 438px; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 900px) { .carousel-wrapper { max-width: 92vw; padding: 0 12px; } .carousel-item { max-width: 100%; } .carousel-item img { max-height: none; } }

/* Floating hero preview: continuous motion, including hover. */
.preview-frame:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translate3d(0,-9px,0); }
@keyframes hero-float-mobile {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-7px,0); }
}
/* Lightweight floating stars: canvas stays GPU-friendly; movement is handled by requestAnimationFrame. */
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -2; }


/* Screenshot gallery: exactly one complete preview is visible at a time. */
.carousel-wrapper {
    position: relative;
    width: min(780px, calc(100vw - 120px));
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    width: 100%;
    gap: 0;
    align-items: flex-start;
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
}
.carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}
.carousel-item .caption { text-align: center; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-counter {
    margin-top: 14px;
    color: #888;
    font-size: 13px;
    letter-spacing: .04em;
}
@media (max-width: 900px) {
    .carousel-wrapper {
        width: calc(100vw - 100px);
        max-width: none;
    }
    .carousel-arrow.prev { left: 6px; }
    .carousel-arrow.next { right: 6px; }
}
@media (max-width: 600px) {
    .carousel-wrapper { width: calc(100vw - 72px); }
    .carousel-arrow.prev { left: 2px; }
    .carousel-arrow.next { right: 2px; }
}

/* Faster, more visible falling comet-like background particles. */
#starfield { z-index: -2; }

/* Gallery usability: no neighboring slide can peek through, and screenshots can be enlarged. */
.carousel-wrapper:focus-visible {
    outline: 1px solid rgba(204,0,0,.7);
    outline-offset: 8px;
    border-radius: 18px;
}
.carousel-hint {
    margin-top: 8px;
    color: #666;
    font-size: 12px;
}
body.lightbox-open { overflow: hidden; }
.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 72px;
    box-sizing: border-box;
    background: rgba(5,5,9,.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.screenshot-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.lightbox-image {
    display: block;
    max-width: calc(100vw - 150px);
    max-height: calc(100vh - 105px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0,0,0,.55);
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: rgba(20,20,25,.85);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: rgba(204,0,0,.9);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.lightbox-arrow:disabled { opacity: .2; cursor: default; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #aaa;
    font-size: 13px;
}
@media (max-width: 700px) {
    .screenshot-lightbox { padding: 50px 48px; }
    .lightbox-image { max-width: calc(100vw - 90px); max-height: calc(100vh - 95px); }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* Download page */
.download-hero { text-align:center; padding:56px 0 26px; }
.download-hero h1 { font-size:52px; line-height:1.08; font-weight:800; color:#fff; margin:0 0 16px; letter-spacing:-1.5px; }
.download-hero h1 span { background:linear-gradient(135deg,#fff,var(--red-light)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.download-hero p { color:#9a9aa4; font-size:18px; max-width:650px; margin:0 auto; }
.download-card-wrap { max-width:900px; margin:10px auto 48px; position:relative; }
.download-card-wrap::before { content:''; position:absolute; inset:10% 8% -10%; background:radial-gradient(circle,rgba(204,0,0,.20),transparent 68%); filter:blur(45px); pointer-events:none; }
.download-card { position:relative; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); border:1px solid rgba(255,255,255,.10); border-radius:22px; padding:34px; box-shadow:0 28px 80px rgba(0,0,0,.48),0 0 50px rgba(204,0,0,.08); overflow:hidden; }
.download-card::after { content:''; position:absolute; left:8%; right:8%; bottom:0; height:2px; background:linear-gradient(90deg,transparent,var(--red-primary),var(--red-light),var(--red-primary),transparent); opacity:.8; }
.download-card-top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.download-kicker { color:#777783; font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; margin-bottom:8px; }
.download-card h2 { color:#fff; font-size:28px; margin-bottom:4px; }
.download-card-top p { color:#898992; margin:0; }
.download-icon { width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:rgba(204,0,0,.12); border:1px solid rgba(204,0,0,.25); color:#fff; font-size:28px; box-shadow:0 0 30px rgba(204,0,0,.12); }
.download-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px 0 20px; }
.download-meta > div { padding:15px 16px; border-radius:12px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.055); }
.download-meta span { display:block; color:#666671; font-size:11px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:5px; }
.download-meta strong { color:#ddd; font-size:14px; }
.download-main-btn { display:flex; align-items:center; justify-content:center; flex-direction:column; min-height:72px; width:100%; background:var(--red-primary); color:#fff; border-radius:12px; text-decoration:none; box-shadow:0 14px 40px rgba(204,0,0,.22); transition:transform .25s ease,background .25s ease,box-shadow .25s ease; }
.download-main-btn span { font-size:18px; font-weight:750; }
.download-main-btn small { color:rgba(255,255,255,.7); font-size:11px; margin-top:1px; }
.download-main-btn:hover { background:var(--red-dark); transform:translateY(-2px); box-shadow:0 18px 48px rgba(204,0,0,.32); }
.download-note { display:flex; gap:11px; align-items:flex-start; margin-top:18px; padding:14px 16px; border:1px solid rgba(255,255,255,.055); border-radius:12px; background:rgba(0,0,0,.16); color:#8d8d96; font-size:13px; }
.download-note strong { color:#ddd; font-size:13px; }
.download-note code { color:#fff; background:rgba(204,0,0,.18); border:1px solid rgba(204,0,0,.22); border-radius:5px; padding:2px 7px; }
.note-dot { width:8px; height:8px; border-radius:50%; background:var(--red-primary); box-shadow:0 0 12px rgba(204,0,0,.65); margin-top:6px; flex:0 0 auto; }
.download-grid { max-width:1050px; margin:0 auto 58px; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.download-info-card { position:relative; padding:24px; border:1px solid rgba(255,255,255,.06); border-radius:15px; background:rgba(255,255,255,.02); overflow:hidden; }
.download-info-card::after { content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:linear-gradient(90deg,transparent,rgba(204,0,0,.7),transparent); }
.info-number { color:var(--red-light); font-size:12px; font-weight:800; letter-spacing:.12em; margin-bottom:15px; }
.download-info-card h3 { color:#fff; font-size:18px; margin-bottom:7px; }
.download-info-card p { color:#85858f; font-size:14px; line-height:1.55; margin:0; }
.download-bottom { max-width:1050px; margin:0 auto 65px; padding:30px; border:1px solid rgba(255,255,255,.06); border-radius:18px; background:linear-gradient(100deg,rgba(204,0,0,.07),rgba(255,255,255,.018)); display:flex; align-items:center; justify-content:space-between; gap:30px; }
.download-bottom h2 { color:#fff; font-size:25px; margin-bottom:7px; }
.download-bottom p { color:#85858f; max-width:600px; margin:0; }
.download-bottom .cta-row { margin:0; flex-shrink:0; }
@media (max-width:768px) { .download-hero h1{font-size:38px}.download-card{padding:22px}.download-card-top{align-items:flex-start}.download-icon{display:none}.download-meta{grid-template-columns:1fr}.download-grid{grid-template-columns:1fr}.download-bottom{flex-direction:column;align-items:flex-start}.download-bottom .cta-row{justify-content:flex-start} }


/* Hero media preview: video first, followed by the supplied screenshots in order. */
.hero-media-frame {
    position: relative;
    aspect-ratio: 16 / 9;
}
.hero-media-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-media-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease;
    background: #0b0b10;
}
.hero-media-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.hero-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #0b0b10;
}
.hero-media-slide img.hero-media {
    object-fit: contain;
}
.hero-media-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(10,10,15,.72);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.hero-media-arrow:hover {
    background: rgba(204,0,0,.9);
    transform: translateY(-50%) scale(1.08);
}
.hero-media-arrow.prev { left: 12px; }
.hero-media-arrow.next { right: 12px; }
.hero-media-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
.hero-media-fullscreen {
    /* Visible only while the video slide is active. */
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;
    background: rgba(10,10,15,.78);
    color: #fff;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease;
}
.hero-media-fullscreen:hover {
    background: rgba(204,0,0,.9);
    transform: scale(1.06);
}

.hero-media-fullscreen.hidden { opacity: 0; pointer-events: none; }
.hero-media-counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 5;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(10,10,15,.72);
    color: #ddd;
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(8px);
}
@media (max-width: 600px) {
    .hero-media-arrow { width: 36px; height: 36px; }
    .hero-media-arrow.prev { left: 8px; }
    .hero-media-arrow.next { right: 8px; }
}


/* Hero video polish: no floating caption over the content, larger media, and a real full-screen viewer. */
.hero-media-frame { z-index: 4; }
.hero-media-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 7; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
    padding: 13px 20px; background: rgba(8,8,12,.88); color: #fff;
    font: inherit; font-weight: 700; cursor: pointer; backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .2s ease, background .2s ease;
}
.hero-media-play:hover { transform: translate(-50%, -50%) scale(1.04); background: rgba(204,0,0,.92); }
.hero-media-play span { margin-left: 7px; }
.hero-media-play.hidden { opacity: 0; pointer-events: none; }
.preview-tag { display: none !important; }
.hero-video-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
    padding: 28px; background: rgba(0,0,0,.94);
}
.hero-video-lightbox.is-open { display: flex; }
.hero-video-stage { width: min(96vw, 1600px); height: min(92vh, 900px); display:flex; align-items:center; justify-content:center; }
.hero-video-stage video { width: 100%; height: 100%; object-fit: contain; display:block; background:#000; }
.hero-video-close {
    position:absolute; top:20px; right:24px; z-index:2; width:46px; height:46px;
    border:1px solid rgba(255,255,255,.18); border-radius:50%; background:rgba(20,20,24,.85);
    color:#fff; font-size:30px; line-height:1; cursor:pointer;
}
.hero-video-close:hover { background:rgba(204,0,0,.9); }
body.hero-video-open { overflow:hidden; }
@media (max-width: 900px) {
    .hero-split { gap: 30px; }
    .hero-preview { width: 100%; }
}
