/**
 * ThatEvangelionGuy - Evangelion Merchandise Shop
 * Dark theme with EVA color accents
 */

/* ============================================
   CSS Variables
============================================ */
:root {
    /* EVA Unit Colors */
    --eva-purple: #7b2d8e;
    --eva-purple-light: #9b4dae;
    --eva-green: #00ff41;
    --eva-green-dark: #00cc33;
    --eva-orange: #ff6600;
    --eva-orange-light: #ff8833;
    --eva-blue: #00a8ff;
    --eva-red: #cc0000;
    --eva-yellow: #ffcc00;

    /* Primary Accent (Unit-01 Purple/Green) */
    --accent: var(--eva-green);
    --accent-dark: var(--eva-green-dark);
    --accent-secondary: var(--eva-purple);

    /* Background */
    --bg-primary: #0a0a0c;
    --bg-secondary: #111114;
    --bg-card: #16161a;
    --bg-elevated: #1c1c22;

    /* Text */
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 255, 65, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 255, 65, 0.2);

    /* Sizing */
    --nav-height: 72px;
    --container-max: 1400px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

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

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.accent {
    color: var(--accent);
}

/* ============================================
   Layout
============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Three.js Canvas
============================================ */
#evaCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   Navigation
============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
}

.hamburger {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-menu-btn.active .hamburger { background: transparent; }
.mobile-menu-btn.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-btn.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   Hero Section
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.7) 50%, rgba(10, 10, 12, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 40px;
}

.nerv-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: rgba(123, 45, 142, 0.1);
    border: 1px solid var(--eva-purple);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nerv-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--eva-purple-light);
    letter-spacing: 0.3em;
}

.nerv-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.625rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.1;
}

.title-line.accent {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-value {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.scroll-indicator span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.625rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 1px;
    height: 20px;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -20px; }
    100% { top: 80px; }
}

/* ============================================
   Figures Section
============================================ */
.figures {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--eva-purple), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.product-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card[data-category]:not(.visible) {
    display: none;
}

.product-card.visible {
    display: block;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--eva-purple);
    color: white;
    z-index: 2;
}

.product-badge.new {
    background: var(--accent);
    color: var(--bg-primary);
}

.product-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: var(--bg-primary);
}

.product-image {
    height: 200px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform var(--transition-base);
}

.product-card:hover .product-visual {
    transform: scale(1.1);
}

/* EVA Unit Visuals */
.product-visual.unit-01 {
    background: linear-gradient(135deg, var(--eva-purple) 0%, #4a1a5e 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.product-visual.unit-01 .eva-icon {
    color: var(--eva-green);
    text-shadow: 0 0 20px var(--eva-green);
}

.product-visual.unit-01.awakened {
    background: linear-gradient(135deg, #ff00ff 0%, var(--eva-purple) 100%);
    animation: pulse-glow 2s ease-in-out infinite;
}

.product-visual.unit-01.metal {
    background: linear-gradient(135deg, #8b8b8b 0%, #4a4a4a 100%);
    border: 2px solid var(--eva-green);
}

.product-visual.unit-02 {
    background: linear-gradient(135deg, var(--eva-red) 0%, #990000 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.product-visual.unit-02 .eva-icon {
    color: var(--eva-orange);
    text-shadow: 0 0 20px var(--eva-orange);
}

.product-visual.unit-02.beast {
    background: linear-gradient(135deg, #ff4444 0%, var(--eva-red) 100%);
    animation: beast-mode 1s ease-in-out infinite;
}

.product-visual.unit-00 {
    background: linear-gradient(135deg, var(--eva-blue) 0%, #0066aa 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.product-visual.unit-00 .eva-icon {
    color: var(--eva-yellow);
    text-shadow: 0 0 20px var(--eva-yellow);
}

.product-visual.unit-00.kai {
    background: linear-gradient(135deg, #ff6600 0%, #cc4400 100%);
}

/* Character Visuals */
.product-visual.character {
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.product-visual.character.shinji {
    background: linear-gradient(135deg, var(--eva-purple) 0%, #3a1a4e 100%);
}

.product-visual.character.asuka {
    background: linear-gradient(135deg, var(--eva-red) 0%, var(--eva-orange) 100%);
}

.product-visual.character.rei {
    background: linear-gradient(135deg, #ffffff 0%, var(--eva-blue) 100%);
}

.product-visual.character.rei .char-icon {
    color: var(--eva-red);
}

.product-visual.character.kaworu {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
}

.product-visual.character.kaworu .char-icon {
    color: var(--eva-purple);
}

.product-visual.character.mari {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
}

.eva-icon,
.char-icon {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.8); }
}

@keyframes beast-mode {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 8px 0 4px;
}

.product-series {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}

.btn-add-cart {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-add-cart:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-add-cart.added {
    background: var(--eva-green-dark);
    border-color: var(--eva-green-dark);
    color: white;
}

/* ============================================
   Apparel Section
============================================ */
.apparel {
    background: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.apparel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.apparel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.apparel-card:hover {
    border-color: var(--eva-purple);
    transform: translateY(-4px);
}

.apparel-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apparel-image.nerv-hoodie {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.apparel-image.unit01-tee {
    background: linear-gradient(135deg, var(--eva-purple) 0%, #2a1a3a 100%);
}

.apparel-image.seele-cap {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.apparel-image.plugsuit-jacket {
    background: linear-gradient(135deg, var(--eva-red) 0%, var(--eva-orange) 100%);
}

.apparel-icon {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.8;
}

.apparel-info {
    padding: 20px;
}

.apparel-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.apparel-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.apparel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apparel-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--eva-purple-light);
}

/* ============================================
   About Section
============================================ */
.about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.about-feature strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nerv-logo-large {
    width: 300px;
    height: 300px;
    color: var(--eva-purple);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.nerv-logo-large svg {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Cart Sidebar
============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-base);
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 1rem;
}

.cart-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-close svg {
    width: 18px;
    height: 18px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty-icon {
    display: block;
    margin-bottom: 16px;
}

.cart-empty-icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.cart-empty p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cart-empty-hint {
    font-size: 0.875rem;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--accent);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8125rem;
    color: var(--accent);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-item-qty {
    font-family: 'Share Tech Mono', monospace;
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--eva-red);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-elevated);
}

.cart-totals {
    margin-bottom: 20px;
}

.cart-subtotal,
.cart-shipping,
.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.875rem;
}

.cart-subtotal,
.cart-shipping {
    color: var(--text-secondary);
}

.cart-total {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
}

.btn-checkout {
    width: 100%;
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.625rem;
    opacity: 0.6;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .nerv-logo-large {
        width: 200px;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .scroll-indicator {
        display: none;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

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

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 2rem;
    }

    .nerv-badge {
        padding: 12px 16px;
    }

    .nerv-text {
        font-size: 1.25rem;
    }
}

/* ============================================
   Reduced Motion
============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
