/* ============================================
   JVNNI — Futuristic Luxury Design System
   Teal/Neon Sky Blue Accents · 3D Interactive
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Dark Luxury Palette */
  --color-bg: #0a0a0a;
  --color-bg-alt: #0d0d0d;
  --color-surface: #141414;
  --color-surface-2: #1a1a1a;
  --color-surface-3: #222222;
  --color-border: #2a2a2a;
  --color-border-bright: #3a3a3a;

  --color-text: #F5F5F7;
  --color-text-muted: #8a8a8a;
  --color-text-faint: #555555;

  /* Teal/Neon Sky Blue Accents */
  --color-accent: #00E5FF;
  --color-accent-2: #2DD4BF;
  --color-accent-3: #38BDF8;
  --color-accent-glow: rgba(0, 229, 255, 0.35);
  --color-accent-glow-soft: rgba(0, 229, 255, 0.12);
  --color-accent-gradient: linear-gradient(135deg, #00E5FF 0%, #2DD4BF 50%, #38BDF8 100%);

  /* Gold accent for luxury touches */
  --color-gold: #D4AF37;
  --color-gold-soft: rgba(212, 175, 55, 0.15);

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition: 300ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--color-accent-glow);
  --shadow-glow-lg: 0 0 48px var(--color-accent-glow);

  /* Fonts */
  --font-display: 'Clash Display', 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Clash Display', 'Space Grotesk', 'Satoshi', 'Inter', -apple-system, sans-serif;
  --font-mono: 'Clash Display', 'JetBrains Mono', 'Space Grotesk', monospace;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1100px;
  --content-wide: 1320px;
  --content-full: 100%;
}

/* Light mode overrides */
[data-theme="light"] {
  --color-bg: #FAFAFA;
  --color-bg-alt: #F5F5F7;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0F0F4;
  --color-surface-3: #E8E8EE;
  --color-border: #D8D8E0;
  --color-border-bright: #C0C0CC;
  --color-text: #1A1A22;
  --color-text-muted: #6B6B75;
  --color-text-faint: #A0A0AA;
  --color-accent-glow: rgba(0, 229, 255, 0.25);
  --color-accent-glow-soft: rgba(0, 229, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* === BASE STYLES === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-weight: 600;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

::selection {
  background: var(--color-accent-glow);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === ANIMATED BACKGROUND === */
.bg-gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--color-bg);
  overflow: hidden;
}

.bg-gradient-mesh::before,
.bg-gradient-mesh::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  animation: meshFloat 20s ease-in-out infinite;
}

.bg-gradient-mesh::before {
  background: var(--color-accent);
  top: -300px;
  left: -200px;
}

.bg-gradient-mesh::after {
  background: var(--color-accent-3);
  bottom: -300px;
  right: -200px;
  animation-delay: -10s;
}

[data-theme="light"] .bg-gradient-mesh::before,
[data-theme="light"] .bg-gradient-mesh::after {
  opacity: 0.08;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 80px) scale(1.1); }
  66% { transform: translate(-80px, 100px) scale(0.9); }
}

/* Grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.03;
  pointer-events: none;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-3) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a0a0a;
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition);
}

.nav.scrolled {
  padding: var(--space-2) var(--space-8);
  background: #0a0a0a;
  border-bottom: 1px solid var(--color-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  cursor: pointer;
}

.nav-logo::after {
  content: '.';
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  text-transform: none;
  position: relative;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--color-accent);
  background: var(--color-accent-glow-soft);
}

/* Nav icon buttons (search, cart) */
.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-icon-btn:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-accent);
  color: #001a26;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.nav-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

.nav-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.nav-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === 3D BUTTONS === */
.btn-3d {
  position: relative;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 600px;
  transition: transform var(--transition-fast), box-shadow var(--transition);
  will-change: transform;
}

/* Primary 3D button — teal neon */
.btn-3d-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #2DD4BF 100%);
  color: #07070B;
  box-shadow:
    0 4px 0 rgba(0, 229, 255, 0.6),
    0 6px 20px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d-primary:hover {
  transform: translateY(-2px) translateZ(10px);
  box-shadow:
    0 6px 0 rgba(0, 229, 255, 0.6),
    0 10px 30px rgba(0, 229, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d-primary:active {
  transform: translateY(2px) translateZ(0);
  box-shadow:
    0 1px 0 rgba(0, 229, 255, 0.6),
    0 2px 10px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Ghost/outline 3D button */
.btn-3d-ghost {
  background: color-mix(in oklab, var(--color-surface) 70%, transparent);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  border: 1px solid var(--color-border-bright);
  box-shadow:
    0 4px 0 var(--color-border),
    0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d-ghost:hover {
  transform: translateY(-2px) translateZ(10px);
  border-color: var(--color-accent);
  box-shadow:
    0 6px 0 var(--color-border),
    0 10px 30px var(--color-accent-glow-soft),
    0 0 20px var(--color-accent-glow-soft);
}

.btn-3d-ghost:active {
  transform: translateY(2px) translateZ(0);
  box-shadow:
    0 1px 0 var(--color-border),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-20) var(--space-8);
  text-align: center;
  overflow: hidden;
}

/* Old hero-badge removed */
.hero-badge-old {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  animation: fadeInUp 800ms var(--ease-out) both;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1rem + 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  animation: fadeInUp 800ms var(--ease-out) 100ms both;
  text-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}

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

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-10);
  animation: fadeInUp 800ms var(--ease-out) 200ms both;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 800ms var(--ease-out) 300ms both;
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  animation: fadeInUp 800ms var(--ease-out) 400ms both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === SECTIONS === */
.section {
  padding: var(--space-20) var(--space-8);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* === PRODUCT GRID === */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.filter-chip {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-chip.active {
  background: var(--color-accent-glow-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-glow-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

/* === 3D PRODUCT CARD === */
.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
}

.product-card:hover {
  border-color: var(--color-accent-glow);
  box-shadow:
    var(--shadow-lg),
    0 0 30px var(--color-accent-glow-soft),
    0 0 60px var(--color-accent-glow-soft);
  transform: translateY(-8px) scale(1.02);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-surface-2);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: color-mix(in oklab, var(--color-bg) 80%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.product-card-info {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.product-card-brand {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.product-card-title {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.product-card-price::before {
  content: '$';
  font-size: 0.75em;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-right: 1px;
}

.product-card-price::before {
  content: '$';
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-right: 2px;
}

/* === AUTHENTICITY / PROMISE SECTION === */
.promise {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.promise-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.promise-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow-soft);
  border: 1px solid var(--color-accent-glow);
  border-radius: var(--radius-xl);
  color: var(--color-accent);
}

.promise-icon svg {
  width: 28px;
  height: 28px;
}

.promise-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.promise-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* === REVIEWS SECTION === */
.reviews {
  background: var(--color-bg);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.reviews-score {
  text-align: center;
}

.reviews-score-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1;
}

.reviews-score-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: var(--space-2);
  color: var(--color-accent);
}

.reviews-score-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.reviews-score-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition);
}

.review-card:hover {
  border-color: var(--color-accent-glow);
  box-shadow: var(--shadow-md), 0 0 20px var(--color-accent-glow-soft);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-bg);
  flex-shrink: 0;
}

.review-name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.review-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.review-product {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.review-product::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* === CONTACT SECTION === */
.contact {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.contact-wrap {
  max-width: var(--content-narrow);
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  text-align: left;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow-soft);
}

.contact-textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-text-faint);
}

/* === FOOTER === */
.footer {
  background: #060606;
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) var(--space-8) var(--space-8);
}

.footer-content {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

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

.footer-bottom {
  max-width: var(--content-wide);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-glow-soft);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface) 25%,
    var(--color-surface-2) 50%,
    var(--color-surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* === 3D INTERACTIVE BRAND RING === */
.brand-3d-section {
  padding: var(--space-20) 0;
  background: var(--color-bg);
  overflow: hidden;
  position: relative;
}

.brand-3d-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.brand-3d-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.brand-3d-header p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.brand-3d-stage {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  cursor: grab;
  user-select: none;
}

.brand-3d-stage:active {
  cursor: grabbing;
}

.brand-3d-ring {
  position: relative;
  width: 300px;
  height: 80px;
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
}

.brand-3d-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
  backface-visibility: hidden;
  cursor: pointer;
}

.brand-3d-item:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 30px var(--color-accent-glow-soft);
}

.brand-3d-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 60px;
  background: radial-gradient(ellipse at center, var(--color-accent-glow-soft), transparent 70%);
  pointer-events: none;
}

.brand-3d-hint {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === PRODUCT MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-2xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  z-index: 1;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-accent);
  background: var(--color-accent-glow-soft);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  aspect-ratio: 1;
  background: var(--color-surface-2);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
}

.modal-info {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-brand {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.modal-price {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.modal-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.modal-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: color-mix(in oklab, var(--color-bg) 95%, transparent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-6);
    gap: var(--space-4);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu-btn {
    display: flex;
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-3);
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-image img {
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .section {
    padding: var(--space-20) var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn-3d {
    width: 100%;
  }

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

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
