/* Typography - Local Fonts */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-ExtraBold.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

:root {
    /* Color Palette - Midnight Emerald & Gold */
    --bg-main: #010d0c;
    --bg-secondary: #021a18;
    --brand-primary: #10b981;
    --brand-secondary: #059669;
    --brand-dark: #064e3b;
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.15);
    
    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* UI Elements */
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    
    /* Effects & Layout */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1240px;
    
    /* Reveal Variables */
    --reveal-dist: 40px;

    /* Font Tokens */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Theme-aware UI Tokens */
    --header-bg: rgba(1, 13, 12, 0.7);
    --header-bg-scrolled: rgba(1, 13, 12, 0.85);
    --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --hero-title-gradient: linear-gradient(to bottom right, #ffffff, #9ca3af);
    --hero-side-bg: rgba(6, 78, 59, 0.8);
    --hero-side-border: rgba(16, 185, 129, 0.2);
    --surface-elevated: var(--surface);
    --surface-soft: var(--bg-secondary);
    --stats-card-bg: var(--surface);
    --category-card-bg: var(--bg-secondary);
    --panel-shadow: none;
    --panel-shadow-strong: var(--shadow-soft);
    --theme-switcher-shadow: none;
    --theme-active-shadow: 0 10px 24px -14px rgba(16, 185, 129, 0.65);
    --button-primary-bg: var(--brand-primary);
    --button-primary-hover-bg: #34d399;
    --button-primary-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4);
    --button-primary-shadow-hover: 0 15px 40px -5px rgba(16, 185, 129, 0.5);
    --button-secondary-bg: var(--surface);
    --button-secondary-hover-bg: var(--surface-hover);
    --button-secondary-border: var(--glass-border);
    --hero-media-filter: saturate(1.1) brightness(0.9);
    --contact-panel-bg: linear-gradient(135deg, var(--brand-dark), var(--bg-secondary));
    --contact-orb-bg: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    --footer-bg: rgba(0, 0, 0, 0.5);
    --footer-link-hover: #10b981;
    --mouse-glow-color: rgba(16, 185, 129, 0.06);
    --police-mark-filter: none;
    --product-card-hover-bg: var(--surface-hover);
    --product-card-hover-border: rgba(16, 185, 129, 0.3);
    --product-card-hover-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    --product-card-hover-overlay: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    --body-backdrop:
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(2, 44, 34, 1) 0%, var(--bg-main) 100%);
}

/* Explicit Light Theme Override */
:root[data-theme="light"] {
    --bg-main: #f9fafb;
    --bg-secondary: #f3f4f6;
    --brand-primary: #059669;
    --brand-secondary: #047857;
    --brand-dark: #064e3b;
    --accent: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.1);

    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;

    --surface: #ffffff;
    --surface-hover: #f3f4f6;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shine: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(5, 150, 105, 0.1);

    --header-bg: rgba(249, 250, 251, 0.72);
    --header-bg-scrolled: rgba(249, 250, 251, 0.92);
    --header-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --hero-title-gradient: linear-gradient(to bottom right, #111827, #374151);
    --hero-side-bg: rgba(255, 255, 255, 0.84);
    --hero-side-border: rgba(5, 150, 105, 0.2);
    --surface-elevated: rgba(255, 255, 255, 0.88);
    --surface-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 247, 0.92));
    --stats-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 247, 0.9));
    --category-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 248, 244, 0.94));
    --panel-shadow: 0 20px 40px -32px rgba(15, 23, 42, 0.22), 0 12px 24px -24px rgba(5, 150, 105, 0.16);
    --panel-shadow-strong: 0 28px 50px -34px rgba(15, 23, 42, 0.22), 0 18px 36px -28px rgba(5, 150, 105, 0.24);
    --theme-switcher-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.18);
    --theme-active-shadow: 0 14px 28px -18px rgba(5, 150, 105, 0.42);
    --button-primary-bg: #059669;
    --button-primary-hover-bg: #047857;
    --button-primary-shadow: 0 18px 34px -22px rgba(5, 150, 105, 0.42);
    --button-primary-shadow-hover: 0 22px 38px -22px rgba(4, 120, 87, 0.42);
    --button-secondary-bg: rgba(255, 255, 255, 0.78);
    --button-secondary-hover-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 243, 0.98));
    --button-secondary-border: rgba(5, 150, 105, 0.16);
    --hero-media-filter: saturate(1.03) brightness(1.02);
    --contact-panel-bg: linear-gradient(135deg, #e2f3ec, #f9fafb);
    --contact-orb-bg: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
    --footer-bg: rgba(255, 255, 255, 0.82);
    --footer-link-hover: #059669;
    --mouse-glow-color: rgba(5, 150, 105, 0.08);
    --police-mark-filter: none;
    --product-card-hover-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 242, 0.98));
    --product-card-hover-border: rgba(5, 150, 105, 0.28);
    --product-card-hover-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.22), 0 18px 38px -30px rgba(5, 150, 105, 0.32);
    --product-card-hover-overlay: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(59, 130, 246, 0.04) 58%, transparent);
    --body-backdrop:
        radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.94) 0%, var(--bg-main) 100%);
}

/* System Theme Follows OS Preference */
@media (prefers-color-scheme: light) {
    :root:not([data-theme]),
    :root[data-theme="system"] {
        --bg-main: #f9fafb;
        --bg-secondary: #f3f4f6;
        --brand-primary: #059669;
        --brand-secondary: #047857;
        --brand-dark: #064e3b;
        --accent: #d97706;
        --accent-glow: rgba(245, 158, 11, 0.1);

        --text-primary: #111827;
        --text-secondary: #374151;
        --text-muted: #6b7280;

        --surface: #ffffff;
        --surface-hover: #f3f4f6;
        --glass-border: rgba(0, 0, 0, 0.08);
        --glass-shine: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);

        --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
        --shadow-glow: 0 0 30px rgba(5, 150, 105, 0.1);

        --header-bg: rgba(249, 250, 251, 0.72);
        --header-bg-scrolled: rgba(249, 250, 251, 0.92);
        --header-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
        --hero-title-gradient: linear-gradient(to bottom right, #111827, #374151);
        --hero-side-bg: rgba(255, 255, 255, 0.84);
        --hero-side-border: rgba(5, 150, 105, 0.2);
        --surface-elevated: rgba(255, 255, 255, 0.88);
        --surface-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 250, 247, 0.92));
        --stats-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 247, 0.9));
        --category-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 248, 244, 0.94));
        --panel-shadow: 0 20px 40px -32px rgba(15, 23, 42, 0.22), 0 12px 24px -24px rgba(5, 150, 105, 0.16);
        --panel-shadow-strong: 0 28px 50px -34px rgba(15, 23, 42, 0.22), 0 18px 36px -28px rgba(5, 150, 105, 0.24);
        --theme-switcher-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.18);
        --theme-active-shadow: 0 14px 28px -18px rgba(5, 150, 105, 0.42);
        --button-primary-bg: #059669;
        --button-primary-hover-bg: #047857;
        --button-primary-shadow: 0 18px 34px -22px rgba(5, 150, 105, 0.42);
        --button-primary-shadow-hover: 0 22px 38px -22px rgba(4, 120, 87, 0.42);
        --button-secondary-bg: rgba(255, 255, 255, 0.78);
        --button-secondary-hover-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 243, 0.98));
        --button-secondary-border: rgba(5, 150, 105, 0.16);
        --hero-media-filter: saturate(1.03) brightness(1.02);
        --contact-panel-bg: linear-gradient(135deg, #e2f3ec, #f9fafb);
        --contact-orb-bg: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
        --footer-bg: rgba(255, 255, 255, 0.82);
        --footer-link-hover: #059669;
        --mouse-glow-color: rgba(5, 150, 105, 0.08);
        --police-mark-filter: none;
        --product-card-hover-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 242, 0.98));
        --product-card-hover-border: rgba(5, 150, 105, 0.28);
        --product-card-hover-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.22), 0 18px 38px -30px rgba(5, 150, 105, 0.32);
        --product-card-hover-overlay: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(59, 130, 246, 0.04) 58%, transparent);
        --body-backdrop:
            radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.12) 0%, transparent 38%),
            radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.08) 0%, transparent 30%),
            radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.94) 0%, var(--bg-main) 100%);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Base Grain & Noise Effect */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 50;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3BaseFilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Glowing Background Gradients */
body::after {
    content: "";
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -1;
    background: var(--body-backdrop);
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 88px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand-copy small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-nav {
    display: flex;
    gap: 32px;
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: var(--surface-elevated);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--theme-switcher-shadow);
}

.theme-switcher-mobile {
    display: none;
}

.theme-switcher-desktop {
    display: inline-flex;
}

.theme-option {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-option svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-option:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
    transform: translateY(-1px);
}

.theme-option.is-active,
.theme-option[aria-pressed="true"] {
    color: #ffffff;
    background: var(--brand-primary);
    box-shadow: var(--theme-active-shadow);
}

.site-header.is-scrolled {
    padding: 4px 0;
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow);
}

.site-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.site-nav a:hover {
    color: var(--brand-primary);
}

.site-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px auto;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 200px 0 100px;
    position: relative;
}

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

.hero-copy .eyebrow {
    color: var(--brand-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy h1 span {
    display: block;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.breadcrumb a:hover {
    color: var(--brand-primary);
}

.breadcrumb [aria-current="page"] {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-copy p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.button {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.button-primary {
    background: var(--button-primary-bg);
    color: #ffffff;
    box-shadow: var(--button-primary-shadow);
}

.button-primary:hover {
    background: var(--button-primary-hover-bg);
    transform: translateY(-2px);
    box-shadow: var(--button-primary-shadow-hover);
}

.button-secondary {
    background: var(--button-secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--button-secondary-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--panel-shadow);
}

.button-secondary:hover {
    background: var(--button-secondary-hover-bg);
    transform: translateY(-2px);
    border-color: var(--brand-primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
}

.hero-stats li {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--stats-card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--panel-shadow);
}

.hero-stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.hero-stats span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-stack {
    position: relative;
}

.hero-media-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--panel-shadow-strong);
    background: var(--surface-soft);
}

body:not(.product-page) .hero-media-card {
    aspect-ratio: 4 / 5;
}

.hero-cover {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
    filter: var(--hero-media-filter);
    transform-origin: center center;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.8s ease;
}

.hero-media-card:hover .hero-cover {
    transform: scale(1.05);
}

.product-page .hero-media-card:hover .hero-cover {
    transform: none;
}

.hero-side-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 280px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--hero-side-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--hero-side-border);
    box-shadow: var(--panel-shadow-strong);
}

.hero-side-card h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--brand-primary);
}

.product-page {
    --product-glow: rgba(16, 185, 129, 0.16);
    --product-sheen: rgba(255, 255, 255, 0.08);
    --product-surface-light-start: #17342d;
    --product-surface-light-end: #0f2420;
    --product-surface-light-core: #0b1c19;
    --product-surface-light-border: rgba(5, 150, 105, 0.16);
    --product-art-light-filter: saturate(1.02) brightness(0.98) contrast(1.01);
}

.product-sign,
.product-card--sign {
    --brand-primary: #4fc3ff;
    --brand-secondary: #6d82ff;
    --accent: #7e8fff;
    --product-glow: rgba(79, 195, 255, 0.18);
    --product-surface-light-start: #17354f;
    --product-surface-light-end: #0f253a;
    --product-surface-light-core: #0a1927;
    --product-surface-light-border: rgba(79, 195, 255, 0.2);
    --product-art-light-filter: saturate(1.03) brightness(0.98) contrast(1.01);
}

.product-vote,
.product-card--vote {
    --brand-primary: #4fc3ff;
    --brand-secondary: #7d90ff;
    --accent: #7d90ff;
    --product-glow: rgba(125, 144, 255, 0.18);
    --product-surface-light-start: #232d5d;
    --product-surface-light-end: #161d3f;
    --product-surface-light-core: #0f132a;
    --product-surface-light-border: rgba(125, 144, 255, 0.2);
    --product-art-light-filter: saturate(1.02) brightness(0.98) contrast(1.01);
}

.product-lottery,
.product-card--lottery {
    --brand-primary: #62d59c;
    --brand-secondary: #ffb56b;
    --accent: #ffb56b;
    --product-glow: rgba(255, 181, 107, 0.18);
    --product-surface-light-start: #4a2e18;
    --product-surface-light-end: #2f1f13;
    --product-surface-light-core: #1d130d;
    --product-surface-light-border: rgba(255, 181, 107, 0.22);
    --product-art-light-filter: saturate(1.02) brightness(0.99) contrast(1.01);
}

.product-relay,
.product-card--relay {
    --brand-primary: #6ec5ff;
    --brand-secondary: #5ed8c2;
    --accent: #5ed8c2;
    --product-glow: rgba(94, 216, 194, 0.18);
    --product-surface-light-start: #17433f;
    --product-surface-light-end: #0f2f2c;
    --product-surface-light-core: #091d1b;
    --product-surface-light-border: rgba(94, 216, 194, 0.22);
    --product-art-light-filter: saturate(1.02) brightness(0.98) contrast(1.01);
}

.product-checkin,
.product-card--checkin {
    --brand-primary: #a79bff;
    --brand-secondary: #5ccfff;
    --accent: #5ccfff;
    --product-glow: rgba(167, 155, 255, 0.18);
    --product-surface-light-start: #372d63;
    --product-surface-light-end: #221c42;
    --product-surface-light-core: #141026;
    --product-surface-light-border: rgba(167, 155, 255, 0.22);
    --product-art-light-filter: saturate(1.02) brightness(0.98) contrast(1.01);
}

.product-draw,
.product-card--draw {
    --brand-primary: #ffb36b;
    --brand-secondary: #8a92ff;
    --accent: #ffb36b;
    --product-glow: rgba(255, 179, 107, 0.18);
    --product-surface-light-start: #4b3120;
    --product-surface-light-end: #2e1f16;
    --product-surface-light-core: #1c130d;
    --product-surface-light-border: rgba(255, 179, 107, 0.22);
    --product-art-light-filter: saturate(1.02) brightness(0.98) contrast(1.01);
}

.product-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
    gap: 48px;
    align-items: stretch;
}

.product-page .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-page .hero-copy p {
    margin-bottom: 24px;
}

.product-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 36px;
    padding: 0;
}

.product-highlights li {
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 14px 28px -24px var(--product-glow);
    backdrop-filter: blur(14px);
}

.product-page .hero-stack {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 10px;
}

.product-page .hero-media-card {
    width: 100%;
    position: relative;
    top: -18px;
    padding: 18px;
    border-radius: 44px;
    overflow: hidden;
    transform: translateZ(0);
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
    background: transparent;
    border: 1px solid var(--glass-border);
    box-shadow: var(--panel-shadow-strong);
}

.product-page .hero-media-card:hover {
    transform: translateY(-4px) scale(1.018);
}

.product-page .hero-media-card::before {
    content: "";
    position: absolute;
    inset: -12px 10% auto;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--product-glow) 0%, transparent 72%);
    filter: blur(20px);
    pointer-events: none;
}

.product-page .hero-cover {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    background: transparent;
}

.hero-cover-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 32px;
    overflow: hidden;
}

.product-page .hero-side-card {
    width: 296px;
    left: auto;
    right: -26px;
    bottom: -18px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        var(--hero-side-bg);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 44px -28px rgba(0, 0, 0, 0.42), 0 10px 34px -24px var(--product-glow);
}

.product-page .section-kicker,
.product-page .hero-copy .eyebrow,
.product-page .contact-panel a,
.product-page .category-card h3 {
    color: var(--brand-primary);
}

.product-page .category-card:hover,
.product-page .button-secondary:hover {
    border-color: var(--brand-primary);
}

:root[data-theme="light"] .product-highlights {
    color-scheme: light;
}

:root[data-theme="light"] .product-highlights li {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 244, 0.96));
    border-color: rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .product-page .hero-cover {
    filter: var(--product-art-light-filter);
}

:root[data-theme="light"] .product-page .hero-media-card {
    background: transparent;
    border-color: var(--product-surface-light-border);
    box-shadow: 0 28px 54px -34px rgba(15, 23, 42, 0.28), 0 20px 42px -34px var(--product-glow);
}

:root[data-theme="light"] .product-page .hero-side-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 244, 0.92));
    border-color: rgba(15, 23, 42, 0.08);
}

.meta-list {
    list-style: none;
    font-size: 0.85rem;
}

.meta-list li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.meta-list strong {
    color: var(--text-primary);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-kicker {
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--surface-elevated);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--panel-shadow);
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--product-card-hover-overlay);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    background: var(--product-card-hover-bg);
    transform: translateY(-8px);
    border-color: var(--product-card-hover-border);
    box-shadow: var(--product-card-hover-shadow);
}

.product-card:hover::before {
    opacity: 1;
}

.product-cover {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    background: transparent;
    filter: var(--product-art-filter, none);
    transform-origin: center center;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.35s ease, filter 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.product-cover-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.product-card:hover .product-cover {
    transform: translateY(-2px);
}

:root[data-theme="light"] .product-cover {
    background: transparent;
    filter: var(--product-art-light-filter);
    box-shadow: 0 16px 26px -24px rgba(15, 23, 42, 0.28);
}

:root[data-theme="light"] .product-cover-frame {
    border-color: var(--product-surface-light-border);
}

@media (prefers-color-scheme: light) {
    :root[data-theme="system"] .product-page .hero-cover,
    :root:not([data-theme]) .product-page .hero-cover {
        filter: var(--product-art-light-filter);
    }

    :root[data-theme="system"] .product-page .hero-media-card,
    :root:not([data-theme]) .product-page .hero-media-card {
        background: transparent;
        border-color: var(--product-surface-light-border);
        box-shadow: 0 28px 54px -34px rgba(15, 23, 42, 0.28), 0 20px 42px -34px var(--product-glow);
    }

    :root[data-theme="system"] .product-cover,
    :root:not([data-theme]) .product-cover {
        background: transparent;
        filter: var(--product-art-light-filter);
        box-shadow: 0 16px 26px -24px rgba(15, 23, 42, 0.28);
    }

    :root[data-theme="system"] .product-cover-frame,
    :root:not([data-theme]) .product-cover-frame {
        border-color: var(--product-surface-light-border);
    }
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-links a, .product-links span {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.product-card:hover .product-links span {
    gap: 10px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.category-card {
    background: var(--category-card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: var(--panel-shadow);
}

.category-card:hover {
    border-color: var(--brand-primary);
    transform: scale(1.02);
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--brand-primary);
}

.category-card p {
    color: var(--text-secondary);
}

.related-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.related-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--surface);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.related-link-list a:hover {
    transform: translateY(-2px);
    color: var(--brand-primary);
    border-color: rgba(16, 185, 129, 0.24);
    background: var(--surface-hover);
}

/* Contact Panel */
.contact-panel {
    background: var(--contact-panel-bg);
    border-radius: var(--radius-xl);
    padding: 80px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--panel-shadow-strong);
    position: relative;
    overflow: hidden;
}

.contact-panel::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: var(--contact-orb-bg);
}

.contact-panel .section-kicker {
    margin-bottom: 16px;
}

.contact-panel h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-panel .meta-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-panel .meta-list li {
    font-size: 1.1rem;
}

.contact-panel a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.experience-qrcode {
    width: 240px;
    margin: 32px auto;
    border-radius: 16px;
    border: 4px solid rgba(16, 185, 129, 0.2);
}

/* Footer */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--footer-bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.footer-inner a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-inner > div > p:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.footer-inner p a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

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

.police-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -3px;
    filter: var(--police-mark-filter);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(var(--reveal-dist));
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay { transition-delay: 0.15s; }
.reveal-delay-large { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-copy p {
        margin: 0 auto 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-stack {
        max-width: 500px;
        margin: 60px auto 0;
    }
    
    .hero-side-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }

    .product-page .hero-grid {
        grid-template-columns: 1fr;
    }

    .product-page .hero-stack {
        justify-content: center;
        padding-top: 0;
    }

    .product-page .hero-media-card {
        top: 0;
    }

    .product-page .hero-side-card {
        left: 50%;
        right: auto;
        bottom: -36px;
        transform: translateX(-50%);
        width: min(320px, calc(100% - 40px));
    }

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

@media (max-width: 768px) {
    .site-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 24px;
        right: 24px;
        width: auto;
        background: var(--surface-elevated);
        padding: 40px;
        border-bottom: 1px solid var(--glass-border);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav .theme-switcher-mobile {
        display: inline-flex;
        width: fit-content;
        margin-top: 6px;
    }
    
    .nav-toggle {
        display: block;
    }

    .header-inner {
        gap: 12px;
    }

    .header-actions {
        gap: 10px;
    }

    .theme-switcher {
        padding: 4px;
    }

    .theme-switcher-desktop {
        display: none;
    }

    .theme-option {
        width: 40px;
        height: 40px;
    }
    
    .product-page .hero-side-card {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        margin-top: 0;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .product-page .hero-stack {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 18px;
        width: 100%;
        max-width: none;
        margin: 32px auto 0;
        padding-top: 0;
    }

    .product-page .hero-media-card {
        top: 0;
        width: 100%;
    }

    .product-page .hero-cover-frame {
        border-radius: 28px;
    }

    .product-highlights {
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 28px;
    }

    .product-highlights li {
        padding: 8px 14px;
        font-size: 0.84rem;
        line-height: 1.2;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: none;
    }

    .hero-stats li {
        padding: 16px 18px;
        text-align: left;
    }

    .hero-stats strong {
        font-size: 1.2rem;
    }

    .hero-stats span {
        font-size: 0.82rem;
    }

    .product-grid, .category-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-panel {
        padding: 60px 20px;
    }
    
    .contact-panel h2 {
        font-size: 2rem;
    }
    
    .contact-panel .meta-list {
        flex-direction: column;
        gap: 16px;
    }

    .breadcrumb {
        gap: 8px;
        font-size: 0.86rem;
    }

    .related-link-list {
        gap: 8px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-inner > div > p:last-child {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .theme-switcher {
        max-width: 190px;
    }

    .theme-option {
        width: 36px;
        height: 36px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: 0.94rem;
        letter-spacing: -0.02em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-page .hero-stack {
        gap: 14px;
        margin-top: 24px;
    }

    .product-page .hero-media-card {
        padding: 12px;
        border-radius: 32px;
    }

    .product-page .hero-cover-frame {
        border-radius: 22px;
    }

    .product-highlights {
        gap: 8px;
        margin-bottom: 24px;
    }

    .product-highlights li {
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats li {
        padding: 14px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
