@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #111114;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c22;
    --bg-block: #1a1a20;
    --border-color: #2a2a32;
    --border-hover: #3a3a44;
    --text-primary: #e8e8ed;
    --text-secondary: #9a9aaa;
    --text-muted: #6a6a78;
    --accent-purple: #9d4edd;
    --accent-blue: #4361ee;
    --accent-gradient: linear-gradient(135deg, #9d4edd, #4361ee);
    --accent-gradient-soft: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(67, 97, 238, 0.15));
    --glow-purple: rgba(157, 78, 221, 0.3);
    --glow-blue: rgba(67, 97, 238, 0.3);
    --matte-overlay: rgba(255, 255, 255, 0.03);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ====== BACKGROUND EFFECTS ====== */
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-orb--purple {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    opacity: 0.4;
}

.bg-gradient-orb--blue {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    opacity: 0.3;
}

.bg-gradient-orb--center {
    width: 800px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
    opacity: 0.5;
}

/* ====== LAYOUT ====== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(10, 10, 12, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.navbar__logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar__logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.navbar__links a:hover {
    color: var(--text-primary);
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: width 0.3s;
}

.navbar__links a:hover::after {
    width: 100%;
}

/* ====== HERO (index) ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
}

.hero__content {
    max-width: 860px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--accent-gradient-soft);
    border: 1px solid rgba(157, 78, 221, 0.2);
    font-size: 13px;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c084fc;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero__title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ====== VERSION CARDS (index) ====== */
.versions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding-bottom: 120px;
    text-align: left;
}

.version-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.4s;
    color: inherit;
    display: block;
}

.version-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--matte-overlay) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.version-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow-purple);
}

.version-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(157, 78, 221, 0.06) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.version-card:hover .version-card__glow {
    opacity: 1;
}

.version-card__thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border-color);
}

.version-card__header {
    padding: 24px 32px 0;
    position: relative;
    z-index: 2;
}

.version-card__year {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--accent-gradient);
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.version-card__year--2024 {
    background: linear-gradient(135deg, #4361ee, #3a86ff);
}

.version-card__title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.version-card__version {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.version-card__body {
    padding: 24px 32px 32px;
    position: relative;
    z-index: 2;
}

.version-card__desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.version-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.version-card__tag {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.version-card__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.version-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, gap 0.3s;
}

.version-card__more:hover {
    color: #c084fc;
    gap: 12px;
}

.version-card__more svg {
    transition: transform 0.3s;
}

.version-card__more:hover svg {
    transform: translateX(4px);
}

.legal-notice {
    margin: 0 auto 70px;
    max-width: 1000px;
    padding: 24px 26px;
    border-radius: 14px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
    text-align: left;
}

.legal-notice__title {
    font-size: 18px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 8px;
}

.legal-notice__text {
    font-size: 14px;
    line-height: 1.7;
    color: #e6e6ee;
}

/* ====== DOWNLOAD BUTTON ====== */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.3);
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(157, 78, 221, 0.5);
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

.download-btn--sm {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 10px;
}

.download-btn--lg {
    padding: 18px 44px;
    font-size: 17px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.35);
}

.download-btn--lg:hover {
    box-shadow: 0 16px 50px rgba(157, 78, 221, 0.55);
}

/* ====== PRODUCT PAGE LAYOUT ====== */
.product-page {
    padding-top: 80px;
}

.cover-monolith {
    width: 100%;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: 360px;
    margin-bottom: 0;
}

.cover-monolith__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    filter: saturate(0.6);
}

.cover-monolith::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(67, 97, 238, 0.06) 50%, transparent 100%);
    z-index: 1;
}

.cover-monolith::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 12, 0.7) 100%);
    z-index: 2;
}

.cover-monolith__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cover-monolith__shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(157, 78, 221, 0.04) 90deg, transparent 180deg);
    animation: shimmer-rotate 20s linear infinite;
    z-index: 0;
}

@keyframes shimmer-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cover-monolith__content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.cover-monolith__icon-box {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: linear-gradient(135deg, #00005b 0%, #31009e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 20px 50px rgba(49, 0, 158, 0.4);
}

.cover-monolith__icon-box span {
    font-size: 32px;
    font-weight: 900;
    color: #9999ff;
    letter-spacing: -1px;
}

.cover-monolith__label {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.cover-monolith__sublabel {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ====== HERO STRIP (title + download CTA immediately visible) ====== */
.product-top {
    position: relative;
    z-index: 4;
    margin-top: -80px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
}

.product-top__card {
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.product-top__card--strict {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 32px;
    border-radius: 8px;
}

.product-top__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.product-top__title--strict {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-top__title--strict span {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: inherit;
}

.meta-pill--strict {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}

.download-btn--strict {
    background: #242428;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 4px;
}

.download-btn--strict:hover {
    transform: none;
    background: #2c2c32;
    border-color: var(--border-hover);
    box-shadow: none;
}

/* Compact setup guide under product header */
.setup-guide {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}

.setup-guide__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.setup-guide__steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setup-guide__step {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px 14px;
    align-items: start;
    font-size: 13px;
    line-height: 1.55;
    color: #b8b8c4;
}

.setup-guide__num {
    font-family: ui-monospace, 'Cascadia Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    padding-top: 1px;
}

.setup-guide__step-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 2px;
}

.setup-guide__step-body {
    font-size: 12px;
    color: #a8a8b4;
    line-height: 1.55;
    margin-top: 2px;
}

.setup-guide__important {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.setup-guide__important-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.setup-guide__important-text {
    font-size: 12px;
    line-height: 1.55;
    color: #a8a8b4;
}

/* Strict cover: no colored glow */
.cover-monolith--strict::before {
    background: rgba(10, 10, 12, 0.55);
}

.cover-monolith--strict .cover-monolith__shimmer {
    display: none;
}

.cover-monolith--strict .cover-monolith__icon-box {
    background: #1c1c22;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.cover-monolith--strict .cover-monolith__icon-box span {
    color: var(--text-primary);
}

/* Single main documentation block */
.content-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.content-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.content-section__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.content-section h3:not(.content-section__title) {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.content-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.block--main .block__label-line {
    background: var(--border-hover);
}

.block--main:hover::before {
    opacity: 0;
}

.feature-item--flat {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 14px 0;
}

.feature-item--flat:last-child {
    border-bottom: none;
}

.feature-item--flat:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.06);
}

.faq-item--flat {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 14px 0;
}

.faq-item--flat:last-child {
    border-bottom: none;
}

.code-inline--neutral {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: #d4d4dc;
}

.product-top__info {
    flex: 1;
    min-width: 280px;
}

.product-top__title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.product-top__title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-top__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-top__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 13px;
    padding-top: 16px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text-secondary);
}

.breadcrumb__sep {
    color: var(--text-muted);
    opacity: 0.4;
}

.breadcrumb__current {
    color: var(--text-secondary);
}

/* ====== CONTENT BLOCKS ====== */
.content-area {
    max-width: 100%;
    padding: 32px 0 60px;
}

.block {
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.block:hover {
    border-color: var(--border-hover);
}

.block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(157, 78, 221, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.block:hover::before {
    opacity: 1;
}

.block__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.block__label-line {
    width: 20px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

.block__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.block__text {
    font-size: 16px;
    color: #c8c8d4;
    line-height: 1.85;
}

.block__text p {
    margin-bottom: 12px;
}

.block__text p:last-child {
    margin-bottom: 0;
}

/* ====== PLAIN TEXT LINES ====== */
.plain-lines {
    font-size: 15px;
    color: #c8c8d4;
    line-height: 2;
}

.plain-lines .line {
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plain-lines .line:last-child {
    border-bottom: none;
}

.plain-lines .line-label {
    color: #fff;
    font-weight: 600;
}

.plain-lines .line-rec {
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 2px;
}

/* ====== LANGUAGES LIST ====== */
.lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-tag {
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ====== FEATURES (plain) ====== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s, border-color 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.feature-item__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

.feature-item__desc {
    font-size: 15px;
    color: #b0b0c0;
    line-height: 1.7;
}

/* ====== CONTENT IMAGE ====== */
.block-img {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0 4px;
    display: block;
    border: 1px solid var(--border-color);
}

.img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0 4px;
}

.img-row img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .img-row {
        grid-template-columns: 1fr;
    }
}

/* ====== INSTALLATION STEPS ====== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.steps-list--neutral .step__number {
    background: #2a2a32;
    color: var(--text-primary);
    border-radius: 4px;
    width: 28px;
    height: 28px;
    font-size: 12px;
    font-weight: 600;
}

.step__content {
    flex: 1;
    padding-top: 4px;
}

.step__title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.step__desc {
    font-size: 15px;
    color: #b0b0c0;
    line-height: 1.7;
}

.code-inline {
    display: inline;
    padding: 3px 10px;
    border-radius: 5px;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.15);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #c084fc;
}

.code-block {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    margin: 12px 0;
    overflow-x: auto;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ====== WARNING / IMPORTANT / TIP BLOCKS ====== */
.warning-block {
    background: rgba(251, 191, 36, 0.04);
    border-color: rgba(251, 191, 36, 0.15);
}

.warning-block .block__label {
    color: #fbbf24;
}

.warning-block .block__label-line {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.important-block {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.12);
}

.important-block .block__label {
    color: #f87171;
}

.important-block .block__label-line {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.tip-block {
    background: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.12);
}

.tip-block .block__label {
    color: #4ade80;
}

.tip-block .block__label-line {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* ====== FAQ ====== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-item__question {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.faq-item__answer {
    font-size: 15px;
    color: #b0b0c0;
    line-height: 1.7;
}

/* ====== FOOTER ====== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.footer__text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer__text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__text a:hover {
    color: #c084fc;
}

/* ====== BACK LINK ====== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, gap 0.3s;
    margin-bottom: 40px;
}

.back-link:hover {
    color: var(--text-secondary);
    gap: 12px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
    .product-top {
        padding: 0 20px;
        margin-top: -60px;
    }

    .product-top__card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .cover-monolith {
        border-radius: 16px;
        min-height: 240px;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .versions-grid {
        grid-template-columns: 1fr;
    }

    .navbar__links {
        display: none;
    }

    .block {
        padding: 24px;
    }

    .version-card__header,
    .version-card__body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .version-card__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .product-top__card {
        padding: 24px;
    }
}

/* ====== SCROLL ANIMATIONS ====== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
