/* =============================
   TARS STORE — MAIN STYLESHEET
   ============================= */

/* --- Variables --- */
:root {
  --bg:         #070709;
  --surface:    #0e0e12;
  --surface-2:  #16161c;
  --surface-3:  #1e1e26;
  --border:     #2a2a38;
  --border-2:   #3a3a50;
  --gold:       #c8a84b;
  --gold-dim:   #8a7030;
  --gold-glow:  rgba(200, 168, 75, 0.15);
  --blue:       #4a7fcb;
  --blue-glow:  rgba(74, 127, 203, 0.15);
  --text:       #e2e2ec;
  --text-dim:   #8888a0;
  --text-muted: #55556a;
  --radius:     6px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --font:       'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 40px rgba(200, 168, 75, 0.25);
  --shadow-blue: 0 0 40px rgba(74, 127, 203, 0.2);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* --- Custom Cursor --- */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
#cursor-trail {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 168, 75, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; }

/* --- Spotlight --- */
#spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(200, 168, 75, 0.04), transparent 70%);
  transition: background 0.1s;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.text-gold { color: var(--gold); }
.text-dim  { color: var(--text-dim); }
.text-mono { font-family: var(--font-mono); }
.gradient-text {
  background: linear-gradient(135deg, #e8e0c8 0%, var(--gold) 50%, #e8e0c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* =============================
   NAVIGATION
   ============================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
}
.nav-logo-text { color: var(--text); }
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: #0a0800;
  font-weight: 700;
}
.btn-primary:hover {
  background: #d4b355;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--border-2);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.btn-ghost {
  color: var(--text-dim);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.btn:hover .btn-icon { transform: translateX(3px); }

/* =============================
   HERO
   ============================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 80px);
}
.hero-content { z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  background: rgba(200, 168, 75, 0.06);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* --- Hero Visual --- */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 600px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
}
.hero-glow-ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200, 168, 75, 0.15);
  animation: ring-pulse 4s ease-in-out infinite;
}
.hero-glow-ring:nth-child(2) {
  width: 500px;
  height: 500px;
  border-color: rgba(200, 168, 75, 0.08);
  animation-delay: 0.5s;
}
.hero-glow-ring:nth-child(3) {
  width: 600px;
  height: 600px;
  border-color: rgba(200, 168, 75, 0.04);
  animation-delay: 1s;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.03); opacity: 0.6; }
}

/* =============================
   TARS ROBOT (CSS 3D)
   ============================= */
.tars-scene {
  perspective: 1200px;
  width: 200px;
  height: 520px;
  position: relative;
  z-index: 2;
}
.tars-body {
  width: 160px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  animation: tars-idle 6s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes tars-idle {
  0%, 100% { transform: rotateY(-15deg) rotateX(2deg); }
  25%       { transform: rotateY(5deg) rotateX(-1deg) translateY(-8px); }
  50%       { transform: rotateY(20deg) rotateX(2deg); }
  75%       { transform: rotateY(5deg) rotateX(-1deg) translateY(-8px); }
}

/* Faces of the rectangular prism */
.tars-face {
  position: absolute;
  background: linear-gradient(180deg, #181820 0%, #0c0c10 100%);
  border: 1px solid #2a2a38;
  overflow: hidden;
}
.tars-face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(200, 168, 75, 0.04) 0%,
    transparent 40%,
    transparent 60%,
    rgba(200, 168, 75, 0.02) 100%);
}

/* Front face */
.tars-front {
  width: 160px;
  height: 500px;
  transform: translateZ(30px);
  background: linear-gradient(180deg, #1c1c24 0%, #0e0e14 100%);
}
/* Back face */
.tars-back {
  width: 160px;
  height: 500px;
  transform: rotateY(180deg) translateZ(30px);
  background: linear-gradient(180deg, #141418 0%, #0a0a0e 100%);
}
/* Left face */
.tars-left {
  width: 60px;
  height: 500px;
  left: 0;
  transform: rotateY(-90deg) translateZ(0px);
  background: linear-gradient(180deg, #161618 0%, #0c0c0e 100%);
}
/* Right face */
.tars-right {
  width: 60px;
  height: 500px;
  right: 0;
  transform: rotateY(90deg) translateZ(100px);
  background: linear-gradient(180deg, #161618 0%, #0c0c0e 100%);
}
/* Top face */
.tars-top {
  width: 160px;
  height: 60px;
  top: 0;
  transform: rotateX(90deg) translateZ(0px);
  background: linear-gradient(135deg, #202028, #141418);
}
/* Bottom face */
.tars-bottom {
  width: 160px;
  height: 60px;
  bottom: 0;
  transform: rotateX(-90deg) translateZ(500px);
  background: #0a0a0e;
}

/* --- Front Face Details --- */
.tars-front-details {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 10px;
}

/* Visor / eye slit */
.tars-visor {
  width: 100%;
  height: 28px;
  background: linear-gradient(90deg, #0a0a12, #1a1a2e 20%, #2a2a4a 50%, #1a1a2e 80%, #0a0a12);
  border-radius: 2px;
  border: 1px solid rgba(74, 127, 203, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(74, 127, 203, 0.3), inset 0 0 15px rgba(74, 127, 203, 0.2);
  margin-bottom: 4px;
}
.tars-visor-scan {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 127, 203, 0.8), transparent);
  animation: visor-scan 2.5s ease-in-out infinite;
}
@keyframes visor-scan {
  0%   { left: -60%; }
  100% { left: 160%; }
}
.tars-visor-dots {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}
.tars-visor-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 1.8s ease-in-out infinite;
}
.tars-visor-dot:nth-child(2) { animation-delay: 0.3s; }
.tars-visor-dot:nth-child(3) { animation-delay: 0.6s; background: var(--gold); }
@keyframes blink {
  0%, 80%, 100% { opacity: 1; }
  40%            { opacity: 0.2; }
}

/* Panel lines / segments */
.tars-segment-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  position: relative;
}
.tars-segment-line::before {
  content: '';
  position: absolute;
  left: 10px;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-2);
  border: 1px solid var(--gold-dim);
}
.tars-segment-line::after {
  content: '';
  position: absolute;
  right: 10px;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-2);
  border: 1px solid var(--gold-dim);
}

/* Gold trim strips */
.tars-trim {
  width: calc(100% - 20px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
  margin: 0 auto;
  opacity: 0.7;
}

/* Panel texture */
.tars-panel {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.tars-panel-lines {
  position: absolute;
  inset: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.3;
}
.tars-panel-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
}

/* Status indicator */
.tars-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.tars-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 6px #22c55e; }
  50%       { box-shadow: 0 0 14px #22c55e, 0 0 28px rgba(34,197,94,0.3); }
}
.tars-status-text {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Gold edge glow lines */
.tars-edge-glow {
  position: absolute;
  pointer-events: none;
}
.tars-edge-left {
  left: -1px; top: 50px; bottom: 50px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
  animation: edge-glow 3s ease-in-out infinite;
}
.tars-edge-right {
  right: -1px; top: 50px; bottom: 50px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
  animation: edge-glow 3s ease-in-out infinite 0.5s;
}
@keyframes edge-glow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; box-shadow: 0 0 10px var(--gold); }
}

/* Ground shadow */
.tars-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(200, 168, 75, 0.3), transparent 70%);
  border-radius: 50%;
  animation: shadow-pulse 6s ease-in-out infinite;
}
@keyframes shadow-pulse {
  0%, 100% { width: 200px; opacity: 0.6; }
  25%, 75%  { width: 160px; opacity: 0.4; }
  50%       { width: 220px; opacity: 0.7; }
}

/* =============================
   FEATURES SECTION
   ============================= */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 64px;
}
.feature-card {
  padding: 40px 36px;
  background: var(--surface);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--surface-3);
  transition: var(--transition);
  color: var(--gold);
}
.feature-card:hover .feature-icon {
  border-color: var(--gold-dim);
  background: rgba(200, 168, 75, 0.1);
  box-shadow: 0 0 20px rgba(200, 168, 75, 0.2);
}
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* =============================
   SPECS SECTION
   ============================= */
.specs { background: var(--surface); }
.specs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.specs-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.spec-number-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.spec-number-card:hover {
  border-color: var(--border-2);
  background: var(--surface-3);
}
.spec-number-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.spec-number-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.specs-visual {
  position: relative;
}
.specs-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.spec-bar-item {}
.spec-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.spec-bar-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
}
.spec-bar-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}
.spec-bar-track {
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.spec-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.spec-bar-fill.animated { transform: scaleX(1); }

/* =============================
   PRODUCTS SECTION
   ============================= */
.products { background: var(--bg); }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.product-card.featured {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(200,168,75,0.04), var(--surface));
}
.product-card.featured:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(200,168,75,0.12);
}
.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-popular {
  background: var(--gold);
  color: #0a0800;
}
.badge-limited {
  background: transparent;
  border: 1px solid #9333ea;
  color: #c084fc;
}
.product-visual {
  height: 240px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.product-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,168,75,0.08), transparent 70%);
}
.product-tars-mini {
  position: relative;
  z-index: 1;
}

/* Mini TARS for product cards */
.mini-tars {
  width: 70px;
  height: 180px;
  perspective: 600px;
}
.mini-tars-body {
  width: 70px;
  height: 180px;
  position: relative;
  transform-style: preserve-3d;
  animation: mini-tars-rotate 5s ease-in-out infinite;
}
@keyframes mini-tars-rotate {
  0%, 100% { transform: rotateY(-20deg); }
  50%       { transform: rotateY(20deg); }
}
.mini-face {
  position: absolute;
  background: linear-gradient(180deg, #1c1c24 0%, #0e0e14 100%);
  border: 1px solid #2a2a38;
}
.mini-front { width: 70px; height: 180px; transform: translateZ(14px); }
.mini-back  { width: 70px; height: 180px; transform: rotateY(180deg) translateZ(14px); background: #0e0e14; }
.mini-left  { width: 28px; height: 180px; left:0; transform: rotateY(-90deg) translateZ(0); }
.mini-right { width: 28px; height: 180px; right:0; transform: rotateY(90deg) translateZ(42px); }
.mini-visor {
  position: absolute;
  top: 18px;
  left: 8px; right: 8px;
  height: 10px;
  background: rgba(74, 127, 203, 0.5);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(74, 127, 203, 0.4);
}
.mini-trim {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: var(--gold-dim);
}
.mini-trim-1 { top: 60px; }
.mini-trim-2 { top: 120px; }

.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
}
.product-price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: var(--font-mono);
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}
.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.product-feature-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}
.product-feature-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.product-card-footer {
  display: flex;
  gap: 12px;
}
.product-card-footer .btn { flex: 1; justify-content: center; }

/* =============================
   HOW IT WORKS
   ============================= */
.how-it-works { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--border-2), var(--gold-dim));
}
.step-item { text-align: center; }
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.step-item:hover .step-number {
  border-color: var(--gold);
  background: rgba(200, 168, 75, 0.1);
  box-shadow: 0 0 20px rgba(200, 168, 75, 0.3);
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--surface);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 24px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(200, 168, 75, 0.06);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--gold);
}
.testimonial-stars svg {
  width: 14px; height: 14px;
  fill: currentColor;
  stroke: none;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============================
   CTA SECTION
   ============================= */
.cta-section {
  background: var(--surface);
  padding: 120px 0;
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
}
.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================
   ORDER MODAL
   ============================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title { font-size: 1.3rem; font-weight: 700; }
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); border-color: var(--border-2); }
.modal-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.modal-body { padding: 28px 32px; }
.modal-product-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.modal-product-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.modal-product-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.modal-product-name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.modal-product-price { font-family: var(--font-mono); color: var(--gold); font-size: 1.1rem; font-weight: 700; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--gold-dim);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.1);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 80px; }
.modal-footer {
  padding: 20px 32px 28px;
  display: flex;
  gap: 12px;
}
.modal-footer .btn { flex: 1; justify-content: center; }

/* =============================
   SUCCESS STATE
   ============================= */
.success-state {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #22c55e;
}
.success-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2; }
.success-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.success-subtitle { font-size: 0.9rem; color: var(--text-dim); }
.success-ref {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: var(--gold-glow);
}
.social-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* =============================
   REVEAL ANIMATIONS
   ============================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }

/* =============================
   SCROLL ANIMATION (card tilt)
   ============================= */
.scroll-card-wrapper {
  padding: 80px 0 160px;
  position: relative;
}
.scroll-card-track {
  perspective: 1000px;
}
.scroll-card {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.scroll-card-header {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-card-dots {
  display: flex;
  gap: 6px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: var(--gold); }
.dot-green { background: #22c55e; }
.scroll-card-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.scroll-card-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.scroll-card-stat {
  text-align: center;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.scroll-card-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.scroll-card-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================
   TOAST NOTIFICATION
   ============================= */
#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text);
  z-index: 9000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon { flex-shrink: 0; color: var(--gold); }
.toast-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 400px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-menu-btn { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-card-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tars-scene { transform: scale(0.75); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-visual { height: 300px; }
  .tars-scene { transform: scale(0.6); }
  .modal { max-height: 100vh; border-radius: 0; }
  .modal-header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }
}
