:root {
    --bg: #0b0d0f;
    --panel: #12161a;
    --panel-alt: #0f1317;
    --muted: #9aa3ad;
    --text: #f5f7f9;
    --accent: #2b6cff;
    --accent-soft: #3f7dff;
    --border: #1d232a;
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --font-title: 'Bebas Neue', sans-serif;
    --font-body: 'Sora', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: radial-gradient(circle at top, #1a1f27 0%, #0b0d0f 55%, #0a0c0f 100%);
    color: var(--text);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(9, 12, 15, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.site-header.compact {
    position: static;
}

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

.brand {
    font-family: var(--font-title);
    font-size: 28px;
    letter-spacing: 1px;
}

.nav {
    display: none;
    gap: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--accent-soft);
}

.btn.ghost {
    background: transparent;
    border-color: var(--border);
    box-shadow: none;
}

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

.hero-grid {
    display: grid;
    gap: 32px;
}

.hero-copy h1 {
    font-family: var(--font-title);
    font-size: clamp(40px, 8vw, 72px);
    margin: 8px 0 16px;
}

.hero-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-panel {
    display: grid;
    gap: 16px;
}

.stat-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.stat-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--muted);
}

.stat-value {
    font-family: var(--font-title);
    font-size: 32px;
    margin: 8px 0;
}

.section {
    padding: 56px 0;
}

.section.alt {
    background: linear-gradient(180deg, #0f1317 0%, #0b0d0f 100%);
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2 {
    font-family: var(--font-title);
    font-size: clamp(32px, 6vw, 52px);
    margin: 8px 0 12px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--accent-soft);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.tab.is-active {
    background: var(--accent);
    color: #fff;
}

.category-panel {
    display: none;
    margin-top: 28px;
}

.category-panel.is-active {
    display: block;
}

.product-grid {
    display: grid;
    gap: 18px;
}

.product-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
}

.product-media {
    background: #0b0d0f;
    padding: 18px;
    display: grid;
    place-items: center;
}

.product-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.product-body {
    padding: 18px;
    display: grid;
    gap: 10px;
}

.product-body h3 {
    font-size: 18px;
    margin: 0;
}

.price {
    font-family: var(--font-title);
    font-size: 28px;
    margin: 0;
}

.stock {
    font-size: 14px;
    font-weight: 600;
}

.stock.in {
    color: #69f0ae;
}

.stock.out {
    color: #ff8a80;
}

.link {
    color: var(--accent-soft);
    font-weight: 600;
}

.empty-state {
    padding: 32px;
    background: var(--panel);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.benefit-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.benefit-list {
    display: grid;
    gap: 18px;
}

.benefit-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.contact-cta {
    display: grid;
    gap: 20px;
    align-items: center;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: #0a0c0f;
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--muted);
}

.brand-footer {
    font-family: var(--font-title);
    font-size: 28px;
    margin: 0 0 8px;
}

.footer-inner p {
    margin: 0 0 6px;
    color: var(--muted);
}

.footer-inner a {
    color: var(--text);
    font-weight: 600;
    display: inline-flex;
    margin-bottom: 6px;
}

.footer-inner a:hover {
    color: var(--accent-soft);
}

.footer-title {
    color: var(--text);
    margin-bottom: 10px;
}

.product-page .product-hero {
    display: grid;
    gap: 32px;
}

.gallery {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.main-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.thumb {
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
}

.thumb.is-active {
    border-color: var(--accent);
}

.thumb img {
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info h1 {
    font-family: var(--font-title);
    font-size: clamp(36px, 6vw, 60px);
    margin: 8px 0;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.product-detail-grid {
    display: grid;
    gap: 24px;
}

.detail-block h2 {
    font-family: var(--font-title);
    font-size: 32px;
    margin-bottom: 12px;
}

.rich-text {
    color: var(--muted);
    line-height: 1.7;
}

.spec-grid {
    display: grid;
    gap: 12px;
}

.spec-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}

.spec-key {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
}

.spec-value {
    margin: 0;
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }

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

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

    .contact-cta {
        grid-template-columns: 1fr auto;
    }

    .product-page .product-hero {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .product-detail-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }

    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 14, 0.92);
    display: grid;
    place-items: center;
    z-index: 50;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: min(1000px, 92vw);
}

.lightbox-image {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 16px;
    background: #0b0d0f;
}

.lightbox-nav {
    border: 1px solid var(--border);
    background: rgba(18, 22, 26, 0.8);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 1px solid var(--border);
    background: rgba(18, 22, 26, 0.8);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
}

.lightbox-caption {
    margin-top: 16px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.pager {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.pagination {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.pagination li.active span {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.pagination li a:hover {
    color: #fff;
    border-color: var(--accent);
}

.pagination li.disabled span {
    opacity: 0.5;
}
