/* ═══════════════════════════════════════════════════════════
   CRYPTEX — Futuristic Crypto Website Template
   ═══════════════════════════════════════════════════════════ */

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');


/* 2. CSS CUSTOM PROPERTIES */
:root {
    /* Background layers */
    --c-bg:         #030712;
    --c-surface:    #080f1e;
    --c-card:       #0d1626;
    --c-card-hover: #111d35;

    /* Primary — Neon Cyan */
    --c-primary:       #00d4ff;
    --c-primary-dark:  #0099cc;
    --c-primary-light: #66e5ff;
    --c-primary-glow:  rgba(0, 212, 255, 0.25);

    /* Secondary — Purple */
    --c-secondary:      #8b5cf6;
    --c-secondary-dark: #6d28d9;

    /* Accent — Neon Green */
    --c-accent:      #00ff88;
    --c-accent-glow: rgba(0, 255, 136, 0.2);

    /* Text */
    --c-text:       #e2e8f0;
    --c-text-muted: #94a3b8;
    --c-text-dim:   #475569;
    --c-white:      #ffffff;

    /* Borders */
    --c-border:        rgba(0, 212, 255, 0.12);
    --c-border-bright: rgba(0, 212, 255, 0.35);
    --c-border-subtle: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'Space Mono', 'Courier New', monospace;
    --font-size-base: 1rem;
    --line-height: 1.65;

    /* Layout */
    --container-max: 1200px;
    --container-px:  1.5rem;
    --section-py:    5rem;

    /* Spacing */
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2.5rem;

    /* Radius */
    --radius-sm:   0.375rem;
    --radius-md:   0.75rem;
    --radius-lg:   1.25rem;
    --radius-xl:   2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,.5);
    --shadow-md: 0 8px 32px rgba(0,0,0,.6);
    --shadow-lg: 0 16px 64px rgba(0,0,0,.7);

    /* Glows */
    --glow-xs: 0 0 8px rgba(0,212,255,.2);
    --glow-sm: 0 0 16px rgba(0,212,255,.25);
    --glow-md: 0 0 32px rgba(0,212,255,.3);
    --glow-lg: 0 0 64px rgba(0,212,255,.35);

    --transition: all .2s ease;
    --transition-slow: all .4s ease;
}


/* 3. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--c-white);
    font-weight: 700;
}


/* 4. LAYOUT HELPERS */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
    position: relative;
    z-index: 1;
}
.container--narrow { max-width: 760px; }

.section { padding-block: var(--section-py); }
.section--surface { background: var(--c-surface); }
.section--dark    { background: var(--c-bg); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 1rem;
    padding: .3rem .9rem;
    border: 1px solid var(--c-border-bright);
    border-radius: var(--radius-full);
    background: rgba(0,212,255,.05);
    font-family: var(--font-mono);
}
.section-label::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--c-primary);
    box-shadow: 0 0 6px var(--c-primary);
    flex-shrink: 0;
}
.section-label--light { color: var(--c-primary-light); border-color: rgba(102,229,255,.3); }

.section-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 20%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: var(--c-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}
.section-title--light    { -webkit-text-fill-color: #fff; background: none; color: #fff; }
.section-subtitle--light { color: rgba(255,255,255,.75); }

.section-cta-row { text-align: center; margin-top: 3rem; }


/* 5. COMPONENTS — Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .95rem;
    font-family: var(--font-heading);
    border: 1.5px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .01em;
    cursor: pointer;
}
.btn-lg   { padding: .9rem 2.2rem; font-size: 1rem; }
.btn-sm   { padding: .45rem 1.1rem; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #000;
    border-color: var(--c-primary);
    box-shadow: 0 0 20px rgba(0,212,255,.3), inset 0 1px 0 rgba(255,255,255,.15);
    font-weight: 700;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
    box-shadow: 0 0 32px rgba(0,212,255,.5), 0 4px 20px rgba(0,0,0,.3);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-border-bright);
}
.btn-outline:hover {
    background: rgba(0,212,255,.08);
    border-color: var(--c-primary);
    box-shadow: var(--glow-sm);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.btn-ghost {
    background: rgba(255,255,255,.04);
    color: var(--c-text-muted);
    border-color: var(--c-border-subtle);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--c-text); border-color: var(--c-border); }

.btn-text {
    color: var(--c-primary);
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: var(--transition);
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.btn-text:hover { color: var(--c-primary-light); gap: .6rem; }


/* 6. COMPONENTS — Badge */
.badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: var(--radius-full);
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .05em;
    background: rgba(0,212,255,.1);
    color: var(--c-primary);
    border: 1px solid rgba(0,212,255,.2);
    font-family: var(--font-mono);
}


/* 7. COMPONENTS — Forms */
.form-group   { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-label   { font-size: .8rem; font-weight: 700; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); }
.required     { color: #f87171; }

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--c-text);
    background: rgba(0,212,255,.03);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    appearance: none;
}
.form-control::placeholder { color: var(--c-text-dim); }
.form-control:focus {
    border-color: var(--c-primary);
    background: rgba(0,212,255,.06);
    box-shadow: 0 0 0 3px rgba(0,212,255,.1), var(--glow-xs);
}
textarea.form-control { resize: vertical; min-height: 8rem; }
select.form-control { cursor: pointer; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; font-size: .9rem; }
.alert-success { background: rgba(0,255,136,.07); color: #4ade80; border: 1px solid rgba(0,255,136,.2); }
.alert-error   { background: rgba(248,113,113,.07); color: #f87171; border: 1px solid rgba(248,113,113,.2); }
.alert ul { padding-left: 1.2rem; list-style: disc; }


/* 8. HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3,7,18,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
    border-bottom-color: rgba(0,212,255,.25);
    box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 32px rgba(0,212,255,.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
    gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-logo img { max-height: 2.25rem; width: auto; }
.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.01em;
}

.site-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
    padding: .45rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--c-primary); background: rgba(0,212,255,.07); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + .75rem);
    left: 0;
    min-width: 13rem;
    background: var(--c-card);
    border: 1px solid var(--c-border-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--glow-sm);
    padding: .5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.5rem);
    transition: opacity .15s, transform .15s;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: none; }
.nav-dropdown-menu a {
    display: block;
    padding: .55rem .85rem;
    font-size: .875rem;
    border-radius: var(--radius-sm);
    color: var(--c-text-muted);
    transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: rgba(0,212,255,.08); color: var(--c-primary); }

.nav-cta { margin-left: .75rem; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem; height: 1.2rem;
    background: none; border: none; padding: 0;
    z-index: 200; flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--c-primary);
    transition: var(--transition);
    box-shadow: 0 0 6px rgba(0,212,255,.6);
}


/* 9. FOOTER */
.site-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    color: var(--c-text-muted);
    padding-block: 4rem 2rem;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
    opacity: .3;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-brand p { font-size: .875rem; margin-top: .85rem; line-height: 1.75; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-text-muted); display: flex; align-items: center; justify-content: center; font-size: .875rem; transition: all .2s; }
.footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: translateY(-2px); }
.footer-logo { max-height: 2rem; width: auto; }
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-heading {
    color: var(--c-text);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: var(--font-mono);
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: var(--c-text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--c-primary); }
.footer-bottom {
    border-top: 1px solid var(--c-border-subtle);
    padding-top: 1.5rem;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}


/* 10. SECTION — Hero (fullscreen) */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-block: 7rem;
    background: var(--c-bg);
}
.section-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(0,212,255,.12) 0%, rgba(139,92,246,.07) 40%, transparent 70%);
    pointer-events: none;
}
.section-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { max-width: 820px; margin-inline: auto; text-align: center; position: relative; z-index: 1; }

.hero-badge { margin-bottom: 1.75rem; }
.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(0,212,255,.08);
    color: var(--c-primary);
    padding: .45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    font-family: var(--font-mono);
    border: 1px solid var(--c-border-bright);
    box-shadow: var(--glow-xs);
}
.hero-badge span::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 8px var(--c-accent);
    display: inline-block;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.75rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -.02em;
}
.hero-subtitle {
    font-size: 1.15rem;
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 2.75rem;
    color: var(--c-text-muted);
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero split */
.section-hero-split {
    padding-block: 5rem;
    background: var(--c-surface);
    overflow: hidden;
    position: relative;
}
.section-hero-split::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-split-grid img {
    border-radius: var(--radius-xl);
    width: 100%;
    border: 1px solid var(--c-border-bright);
    box-shadow: var(--shadow-lg), var(--glow-md);
}


/* 11. PAGE HEADER */
.page-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding-block: 3.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,212,255,.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-header__title {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff 20%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* 12. SECTION — Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: var(--gap-lg); }
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s, transform .3s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.feature-card:hover { border-color: var(--c-border-bright); box-shadow: var(--shadow-md), var(--glow-sm); transform: translateY(-4px); }
.feature-card:hover::before { opacity: .6; }
.feature-card__icon {
    width: 3rem; height: 3rem;
    background: rgba(0,212,255,.1);
    border: 1px solid rgba(0,212,255,.2);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--c-primary);
    font-size: 1.3rem;
    box-shadow: var(--glow-xs);
}
.feature-card__title { font-size: 1.1rem; margin-bottom: .5rem; color: var(--c-white); }
.feature-card__desc  { color: var(--c-text-muted); font-size: .9rem; line-height: 1.7; }


/* 13. SECTION — Blog / Articles */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: var(--gap-lg); }
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s;
}
.blog-card:hover { border-color: var(--c-border-bright); box-shadow: var(--shadow-md), var(--glow-xs); }
.blog-card__img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--c-surface); }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.blog-card__img-wrap:hover img { transform: scale(1.06); }
.blog-card__body { padding: 1.5rem; }
.blog-card__meta {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .85rem;
    font-size: .78rem; color: var(--c-text-dim);
    font-family: var(--font-mono);
}
.blog-card__title { font-size: 1rem; margin-bottom: .5rem; line-height: 1.45; }
.blog-card__title a { color: var(--c-text); transition: color .2s; }
.blog-card__title a:hover { color: var(--c-primary); }
.blog-card__excerpt { font-size: .875rem; color: var(--c-text-muted); margin-bottom: 1.1rem; line-height: 1.65; }


/* 14. SECTION — Shop */
.category-filter { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-pill {
    padding: .4rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--c-border);
    font-size: .82rem; font-weight: 500;
    color: var(--c-text-muted);
    transition: var(--transition);
    font-family: var(--font-mono);
}
.filter-pill:hover, .filter-pill.active {
    background: rgba(0,212,255,.08);
    border-color: var(--c-primary);
    color: var(--c-primary);
    box-shadow: var(--glow-xs);
}

/* Product Categories (sections/product_categories.blade.php — was missing entirely) */
.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: var(--gap-md);
}
.category-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.category-card:hover {
    border-color: var(--c-border-bright);
    box-shadow: var(--shadow-md), var(--glow-xs);
    transform: translateY(-4px);
}
.category-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-surface);
}
.category-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4,8,14,.92) 0%, rgba(4,8,14,.25) 55%, rgba(4,8,14,0) 100%);
}
.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.category-card:hover .category-card__image { transform: scale(1.08); }
.category-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    padding: 1.25rem 1.35rem;
}
.category-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .35rem;
}
.category-card__desc {
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    line-height: 1.55;
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; gap: var(--gap-md); }
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s, transform .3s;
    display: block;
}
.product-card:hover { border-color: var(--c-border-bright); box-shadow: var(--shadow-md), var(--glow-xs); transform: translateY(-4px); }
.product-card__image-wrap,
.product-card__img-wrap {
    display: block; position: relative;
    aspect-ratio: 1/1; overflow: hidden;
    background: var(--c-surface);
}
.product-card__image-wrap img,
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-card__image-wrap img,
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }
.product-card__image-placeholder,
.product-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-text-dim); }
.product-card__image-wrap .badge,
.product-badge {
    position: absolute; top: .75rem; left: .75rem;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    color: #000; font-size: .68rem; font-weight: 800;
    padding: .2rem .65rem; border-radius: var(--radius-full);
    border: none;
    font-family: var(--font-mono); letter-spacing: .04em;
}
.product-card__body { padding: 1rem; }
.product-card__category { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-primary); font-weight: 700; font-family: var(--font-mono); }
.product-card__name { font-size: .95rem; font-weight: 600; margin-block: .4rem; line-height: 1.35; color: var(--c-text); }
.product-card__name a:hover { color: var(--c-primary); }
.product-card__desc { font-size: .8rem; color: var(--c-text-muted); margin-bottom: .65rem; line-height: 1.6; }
.product-card__price { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.product-card__price--current  { font-size: .95rem; font-weight: 700; color: var(--c-primary); font-family: var(--font-mono); }
.product-card__price--original { font-size: .8rem; color: var(--c-text-dim); text-decoration: line-through; font-family: var(--font-mono); }
.price          { font-size: .95rem; font-weight: 700; color: var(--c-primary); font-family: var(--font-mono); }
.price-discount { font-size: .95rem; font-weight: 700; color: var(--c-accent); font-family: var(--font-mono); }
.price-original { font-size: .8rem; color: var(--c-text-dim); text-decoration: line-through; font-family: var(--font-mono); }


/* 15. SECTION — Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: var(--gap-lg); }
.testimonial-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: 1rem; right: 1.5rem;
    font-size: 5rem; line-height: 1;
    color: var(--c-primary); opacity: .08;
    font-family: var(--font-heading); font-weight: 800;
}
.testimonial-card:hover { border-color: var(--c-border-bright); }
.testimonial-stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.star-filled { color: #fbbf24; font-size: 1rem; }
.star-empty  { color: var(--c-text-dim); font-size: 1rem; }
.testimonial-quote { font-style: italic; color: var(--c-text); margin-bottom: 1.5rem; font-size: .95rem; line-height: 1.75; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--c-border-bright); }
.testimonial-avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,212,255,.1); color: var(--c-primary);
    font-weight: 800; font-size: 1.1rem;
    font-family: var(--font-heading);
    border: 2px solid var(--c-border-bright);
    box-shadow: var(--glow-xs);
}
.testimonial-author-info strong { display: block; font-size: .875rem; color: var(--c-text); }
.testimonial-author-info span { font-size: .775rem; color: var(--c-text-muted); }


/* 16. SECTION — FAQ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s; }
.faq-item.open, .faq-item:hover { border-color: var(--c-border-bright); }
.faq-question {
    width: 100%; text-align: left;
    padding: 1.15rem 1.5rem;
    background: var(--c-card);
    font-size: .95rem; font-weight: 600;
    color: var(--c-text);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    border: none; transition: background .2s, color .2s;
    font-family: var(--font-heading);
}
.faq-question:hover, .faq-item.open .faq-question { background: var(--c-card-hover); color: var(--c-primary); }
.faq-icon { font-size: 1.2rem; font-weight: 300; flex-shrink: 0; color: var(--c-primary); transition: transform .25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: .9rem; color: var(--c-text-muted); line-height: 1.75; background: var(--c-card-hover); }


/* 17. SECTION — Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); justify-content: center; gap: var(--gap-lg); text-align: center; }
.stat-item {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s;
}
.stat-item:hover { border-color: var(--c-border-bright); box-shadow: var(--glow-sm); }
.stat-value {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: .5rem;
    font-family: var(--font-mono);
    text-shadow: 0 0 20px rgba(0,212,255,.35);
}
.stat-label { font-size: .82rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; font-family: var(--font-mono); }
.section--dark .stat-value { color: var(--c-primary); }
.section--dark .stat-label { color: var(--c-text-muted); }


/* 18. SECTION — Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; gap: var(--gap-lg); }
.team-card { text-align: center; }
.team-card__photo {
    width: 7rem; height: 7rem;
    border-radius: 50%; object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--c-border-bright);
    box-shadow: 0 0 24px rgba(0,212,255,.2);
}
.team-card__photo-placeholder {
    width: 7rem; height: 7rem;
    border-radius: 50%;
    background: rgba(0,212,255,.08);
    border: 2px solid var(--c-border-bright);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem; font-weight: 800;
    color: var(--c-primary); font-family: var(--font-heading);
    box-shadow: 0 0 20px rgba(0,212,255,.2);
}
.team-card__name { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; color: var(--c-white); }
.team-card__role { font-size: .78rem; color: var(--c-primary); font-weight: 700; margin-bottom: .6rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.team-card__bio  { font-size: .825rem; color: var(--c-text-muted); line-height: 1.65; }


/* 19. SECTION — Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: 1rem; }
.gallery-item {
    position: relative; aspect-ratio: 1/1;
    border-radius: var(--radius-md); overflow: hidden;
    background: var(--c-surface); border: 1px solid var(--c-border);
    transition: border-color .3s;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover { border-color: var(--c-border-bright); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(0,212,255,.25); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; color: #fff; font-size: 1.6rem; cursor: pointer; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(3, 6, 12, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.lightbox-modal.active { opacity: 1; pointer-events: all; }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-caption { color: var(--c-text-muted); font-size: .9rem; margin-top: .85rem; }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    color: rgba(255,255,255,.75); font-size: 1.25rem;
    width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
    transition: all .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.1); color: var(--c-primary); border-color: var(--c-primary); }
.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,.75); font-size: 1.25rem;
    width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
    transition: all .2s ease;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-nav:hover { background: rgba(255,255,255,.1); color: var(--c-primary); border-color: var(--c-primary); }
@media (max-width: 640px) {
    .lightbox-close { top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; font-size: 1.05rem; }
    .lightbox-nav { width: 2.25rem; height: 2.25rem; font-size: 1.05rem; }
    .lightbox-prev { left: .75rem; }
    .lightbox-next { right: .75rem; }
}


/* 20. SECTION — Clients */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 180px)); justify-content: center; gap: 1.5rem; align-items: center; }
.client-logo {
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem; border-radius: var(--radius-md);
    background: var(--c-card); border: 1px solid var(--c-border);
    filter: grayscale(1); opacity: .45; transition: var(--transition);
}
.client-logo:hover { filter: none; opacity: 1; border-color: var(--c-border-bright); box-shadow: var(--glow-xs); }
.client-logo img { max-height: 2.75rem; object-fit: contain; }
.client-name { font-weight: 600; color: var(--c-text-muted); text-align: center; font-size: .875rem; font-family: var(--font-mono); }


/* 21. SECTION — Timeline */
.timeline-list { position: relative; padding-left: 2.75rem; }
.timeline-list::before {
    content: '';
    position: absolute; left: .3rem; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    opacity: .25;
}
.timeline-item { position: relative; padding-bottom: 2.75rem; }
.timeline-item::before {
    content: '';
    position: absolute; left: -2.75rem; top: .35rem;
    width: .875rem; height: .875rem;
    border-radius: 50%;
    background: var(--c-primary);
    border: 2px solid var(--c-bg);
    box-shadow: 0 0 10px var(--c-primary), 0 0 20px rgba(0,212,255,.3);
}
.timeline-year { font-size: .75rem; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; font-family: var(--font-mono); }
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; color: var(--c-white); }
.timeline-desc  { font-size: .875rem; color: var(--c-text-muted); line-height: 1.7; }


/* 22. SECTION — Values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; gap: var(--gap-lg); }
.value-card {
    text-align: center; padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--c-card); border: 1px solid var(--c-border);
    transition: border-color .3s, box-shadow .3s;
}
.value-card:hover { border-color: var(--c-border-bright); box-shadow: var(--glow-sm); }
.value-icon { font-size: 2.5rem; margin-bottom: 1.1rem; }
.value-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--c-white); }
.value-desc  { font-size: .875rem; color: var(--c-text-muted); line-height: 1.7; }


/* 23. SECTION — Vision / Mission */
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
.vm-card { padding: 2.75rem; border-radius: var(--radius-xl); border: 1px solid var(--c-border); }
.vm-card--vision  { background: linear-gradient(135deg, rgba(0,212,255,.08) 0%, rgba(139,92,246,.08) 100%); border-color: rgba(0,212,255,.2); }
.vm-card--mission { background: var(--c-card); }
.vm-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--c-white); }


/* 24. SECTION — Contact (section partial) */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: var(--gap-lg); margin-bottom: 3rem; }
.contact-info-card {
    text-align: center; padding: 2rem 1.5rem;
    background: rgba(255,255,255,.02);
    border-radius: var(--radius-lg); border: 1px solid var(--c-border);
    transition: border-color .3s;
}
.contact-info-card:hover { border-color: var(--c-border-bright); }
.contact-info-icon { font-size: 2rem; margin-bottom: 1rem; }
.contact-info-card strong { display: block; color: var(--c-white); margin-bottom: .4rem; font-family: var(--font-heading); }
.contact-info-card a, .contact-info-card span { color: var(--c-text-muted); font-size: .9rem; }
.contact-info-card a:hover { color: var(--c-primary); }


/* 25. SECTION — CTA */
.section-cta {
    padding-block: 5rem;
    background: var(--c-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,.1) 0%, rgba(139,92,246,.05) 40%, transparent 70%);
    pointer-events: none;
}
.cta-title { font-size: clamp(1.85rem, 4vw, 2.85rem); color: #fff; margin-bottom: 1rem; font-weight: 800; position: relative; z-index: 1; }
.cta-desc  { color: var(--c-text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 560px; margin-inline: auto; margin-bottom: 2.5rem; position: relative; z-index: 1; line-height: 1.75; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }


/* 26. CONTACT PAGE */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-form-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 2.5rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.contact-detail-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.contact-detail-item strong { display: block; color: var(--c-text); margin-bottom: .25rem; }
.contact-detail-item a { color: var(--c-text-muted); font-size: .95rem; }
.contact-detail-item a:hover { color: var(--c-primary); }
.contact-detail-item span { color: var(--c-text-muted); font-size: .95rem; }


/* 27. ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-xl); width: 100%; border: 1px solid var(--c-border-bright); box-shadow: var(--shadow-lg), var(--glow-md); }
.about-stat {
    position: absolute; bottom: 1.5rem; left: -1.5rem;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #000; padding: 1.1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), var(--glow-sm);
}
.about-stat__value { font-size: 1.85rem; font-weight: 800; line-height: 1; font-family: var(--font-mono); }
.about-stat__label { font-size: .72rem; opacity: .75; font-weight: 700; margin-top: .15rem; text-transform: uppercase; letter-spacing: .05em; }
.about-checklist { list-style: none; margin-block: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.about-checklist li { display: flex; align-items: flex-start; gap: .85rem; font-size: .95rem; color: var(--c-text); }
.about-checklist li::before { content: '▸'; color: var(--c-primary); font-weight: 700; flex-shrink: 0; text-shadow: 0 0 8px var(--c-primary); margin-top: .05rem; }


/* 28. SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: var(--gap-lg); }
.service-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--c-card); border: 1px solid var(--c-border); transition: border-color .3s, box-shadow .3s; }
.service-card:hover { border-color: var(--c-border-bright); box-shadow: var(--shadow-md), var(--glow-xs); }
.service-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.service-card__body { padding: 1.75rem; }
.service-card__icon { font-size: 2.25rem; margin-bottom: 1rem; }
.service-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--c-white); }
.service-card__desc  { font-size: .875rem; color: var(--c-text-muted); margin-bottom: 1.1rem; line-height: 1.7; }


/* 29. PAGINATION */
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination__link {
    width: 2.25rem; height: 2.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); border: 1px solid var(--c-border);
    font-size: .875rem; font-weight: 500; color: var(--c-text-muted);
    transition: var(--transition); font-family: var(--font-mono);
}
.pagination__link:hover, .pagination__link.active {
    background: var(--c-primary); border-color: var(--c-primary);
    color: #000; box-shadow: var(--glow-xs);
}


/* 30. EMPTY STATE */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--c-text-muted); }
.empty-state p { font-size: 1.05rem; }


/* 31. ARTICLE */
.article-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding-block: 3.75rem; position: relative; overflow: hidden; }
.article-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,212,255,.05) 0%, transparent 70%); pointer-events: none; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; font-size: .82rem; color: var(--c-text-muted); position: relative; z-index: 1; flex-wrap: wrap; font-family: var(--font-mono); }
.article-title { font-size: clamp(1.85rem, 4vw, 2.85rem); margin-bottom: .85rem; font-weight: 800; position: relative; z-index: 1; line-height: 1.15; }
.article-excerpt { color: var(--c-text-muted); font-size: 1.05rem; position: relative; z-index: 1; line-height: 1.75; }
.article-cover { padding-block: 2rem; }
.article-cover img { border-radius: var(--radius-xl); width: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--c-border); }
.article-body { padding-block: 3rem; }
.article-body h2,.article-body h3 { margin-block: 1.75rem .85rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--c-text); line-height: 1.8; }
.article-body ul,.article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--c-text-muted); }
.article-body a { color: var(--c-primary); text-decoration: underline; }
.article-body code { font-family: var(--font-mono); background: var(--c-card); padding: .15rem .45rem; border-radius: var(--radius-sm); font-size: .88em; color: var(--c-accent); border: 1px solid var(--c-border); }
.article-body pre { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 1.5rem; overflow-x: auto; margin-bottom: 1.5rem; }
.article-footer { padding-block: 2rem; border-top: 1px solid var(--c-border); }


/* 32. SHOP DETAIL */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-gallery__main {
    aspect-ratio: 1/1; border-radius: var(--radius-xl);
    overflow: hidden; background: var(--c-surface);
    border: 1px solid var(--c-border); margin-bottom: 1rem;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .75rem; flex-wrap: wrap; }
.product-gallery__thumb { width: 5rem; height: 5rem; border-radius: var(--radius-md); overflow: hidden; border: 1.5px solid var(--c-border); cursor: pointer; transition: border-color .2s; }
.product-gallery__thumb:hover, .product-gallery__thumb.active { border-color: var(--c-primary); box-shadow: var(--glow-xs); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__category { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-primary); font-weight: 700; font-family: var(--font-mono); margin-bottom: .75rem; }
.product-detail__name { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.product-detail__sku { font-size: .8rem; color: var(--c-text-dim); font-family: var(--font-mono); margin-bottom: 1rem; }
.product-detail__price { margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.product-detail__price .price { font-size: 1.85rem; }
.product-detail__price .price-discount { font-size: 1.85rem; }
.product-detail__desc { color: var(--c-text-muted); line-height: 1.8; margin-bottom: 1.75rem; font-size: .95rem; }
.variant-group { margin-bottom: 1.25rem; }
.variant-group-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--c-text-muted); margin-bottom: .65rem; font-family: var(--font-mono); }
.variant-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-btn { padding: .45rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--c-border); background: var(--c-card); color: var(--c-text-muted); font-size: .875rem; font-weight: 500; cursor: pointer; transition: var(--transition); font-family: var(--font-heading); }
.variant-btn:hover { border-color: var(--c-border-bright); color: var(--c-text); }
.variant-btn.active { border-color: var(--c-primary); color: var(--c-primary); background: rgba(0,212,255,.08); box-shadow: var(--glow-xs); }
.variant-btn.unavailable { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; width: fit-content; margin-bottom: 1.25rem; }
.qty-selector button { width: 2.5rem; height: 2.5rem; background: var(--c-card); border: none; color: var(--c-text); font-size: 1.1rem; transition: background .2s, color .2s; }
.qty-selector button:hover { background: rgba(0,212,255,.1); color: var(--c-primary); }
.qty-selector span { padding: 0 1rem; font-size: 1rem; font-weight: 600; font-family: var(--font-mono); min-width: 3rem; text-align: center; }
.product-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-actions .btn { flex: 1; min-width: 140px; }
.product-meta { padding: 1.25rem; background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-lg); font-size: .875rem; }
.product-meta div { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--c-border-subtle); }
.product-meta div:last-child { border-bottom: none; }
.product-meta span:first-child { color: var(--c-text-muted); }
.product-meta span:last-child { color: var(--c-text); font-weight: 600; font-family: var(--font-mono); }
.related-products { padding-top: 4rem; border-top: 1px solid var(--c-border); margin-top: 4rem; }
.related-products h3 { font-size: 1.4rem; margin-bottom: 2rem; }


/* 33. CART PANEL */
.cart-panel { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.cart-panel.open { pointer-events: all; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.cart-panel.open .cart-overlay { opacity: 1; }
.cart-drawer {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: min(100vw, 420px);
    background: var(--c-card);
    border-left: 1px solid var(--c-border-bright);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg), -4px 0 32px rgba(0,212,255,.07);
}
.cart-panel.open .cart-drawer { transform: none; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--c-border); }
.cart-header h3 { font-size: 1.1rem; font-family: var(--font-heading); color: var(--c-white); letter-spacing: -.01em; }
.cart-close { width: 2rem; height: 2rem; background: rgba(255,255,255,.06); border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-text-muted); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-close:hover { background: rgba(255,255,255,.1); color: var(--c-text); border-color: var(--c-border-bright); }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; color: var(--c-text-muted); text-align: center; padding: 3rem 1.5rem; }
.cart-empty-icon { font-size: 3rem; opacity: .4; }
.cart-empty p { font-size: .95rem; }
.cart-item { display: flex; gap: .85rem; padding: 1rem; background: var(--c-surface); border-radius: var(--radius-md); border: 1px solid var(--c-border); margin-bottom: .75rem; }
.cart-item__img { width: 4rem; height: 4rem; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; border: 1px solid var(--c-border); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-size: .875rem; font-weight: 600; color: var(--c-text); margin-bottom: .2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__variant { font-size: .775rem; color: var(--c-text-muted); margin-bottom: .4rem; font-family: var(--font-mono); }
.cart-item__price { font-size: .875rem; font-weight: 700; color: var(--c-primary); font-family: var(--font-mono); margin-bottom: .6rem; }
.cart-item__controls { display: flex; align-items: center; justify-content: space-between; }
.cart-item__qty { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.cart-item__qty button { width: 1.75rem; height: 1.75rem; background: transparent; border: none; color: var(--c-text-muted); font-size: .9rem; transition: background .2s, color .2s; }
.cart-item__qty button:hover { background: rgba(0,212,255,.1); color: var(--c-primary); }
.cart-item__qty span { padding: 0 .6rem; font-size: .85rem; font-family: var(--font-mono); }
.cart-item__remove { font-size: .78rem; color: #f87171; background: none; border: none; cursor: pointer; padding: 0; transition: color .2s; }
.cart-item__remove:hover { color: #ef4444; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--c-border); background: var(--c-surface); display: flex; flex-direction: column; gap: .75rem; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; color: var(--c-text-muted); margin-bottom: .25rem; }
.cart-total strong { font-size: 1.3rem; color: var(--c-primary); font-family: var(--font-mono); font-weight: 800; }

/* Cart floating button */
.cart-float-btn {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 3.5rem; height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #000;
    border: none;
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,212,255,.4), var(--shadow-md);
    transition: transform .2s, box-shadow .2s;
    z-index: 999;
}
.cart-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,212,255,.55), var(--shadow-md); }
.cart-float-btn [data-cart-count] {
    position: absolute; top: -.25rem; right: -.25rem;
    min-width: 1.2rem; height: 1.2rem;
    border-radius: var(--radius-full);
    background: #fff; color: #000;
    font-size: .65rem; font-weight: 800;
    display: none; align-items: center; justify-content: center;
    font-family: var(--font-mono); border: 2px solid var(--c-bg);
}


/* 34. SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border-bright); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }


/* 35. RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 3.5rem; }

    .site-nav {
        position: fixed; inset: 0 0 0 auto;
        width: min(100vw, 288px);
        flex-direction: column; align-items: flex-start;
        gap: .25rem; padding: 5.5rem 1.25rem 2rem;
        background: var(--c-card);
        border-left: 1px solid var(--c-border-bright);
        box-shadow: var(--shadow-lg), var(--glow-md);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        overflow-y: auto; z-index: 99;
    }
    .site-nav.nav-open { transform: none; }
    .nav-hamburger { display: flex; }
    .nav-link      { width: 100%; padding: .65rem .9rem; }
    .nav-cta       { margin-left: 0; margin-top: .5rem; width: 100%; }
    .nav-dropdown  { width: 100%; }
    .nav-dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; background: rgba(0,212,255,.04); margin-top: .25rem; }

    .hero-split-grid   { grid-template-columns: 1fr; gap: 2rem; }
    .vision-mission-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-grid        { grid-template-columns: 1fr; }
    .footer-grid       { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .about-stat        { left: 1rem; }
}

@media (max-width: 480px) {
    .hero-actions    { flex-direction: column; align-items: center; }
    .cta-actions     { flex-direction: column; align-items: center; }
    .product-actions { flex-direction: column; }
    .cart-float-btn  { bottom: 1.25rem; right: 1.25rem; }
}
