@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- PREMIUM DESIGN SYSTEM VARIABLES --- */
:root {
  /* Color Palette */
  --bg-pure: #000000;
  --bg-deep: #09090b;
  --bg-surface: #121214;
  --bg-surface-elevated: #1a1a1e;
  
  /* Apple Metallics */
  --titanium-natural: #c7b299;
  --titanium-desert: #d4c3b3;
  --titanium-desert-glow: #e0d5c1;
  --titanium-space: #3c3d3a;
  
  /* Brand Accent */
  --accent: var(--titanium-desert);
  --accent-glow: rgba(212, 195, 179, 0.15);
  --accent-border: rgba(212, 195, 179, 0.3);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #ceced2;
  --text-tertiary: #8e8e93;
  --text-accent: var(--titanium-desert-glow);

  /* Layout Spacing (Art Gallery Visual Density: 3.5) */
  --section-padding: 7.5rem 2rem;
  --container-max: 1360px;
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-spring: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-card: transform 0.1s ease-out, box-shadow 0.2s ease;
}

/* --- BASE & VIEWPORT STABILITY --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-pure);
  min-height: 100dvh; /* Viewport stability - no jumping on mobile Safari */
  overflow-x: hidden;
  position: relative;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pure);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: 4px;
  border: 2px solid var(--bg-pure);
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- TYPOGRAPHY (Deterministic Bias Correction) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  tracking: -0.03em;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--titanium-desert-glow) 70%, var(--titanium-natural) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--titanium-desert-glow) 0%, var(--titanium-natural) 50%, #8e7a68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-secondary);
  line-height: 1.625;
  font-weight: 400;
  font-size: 1.05rem;
}

/* --- UTILITIES & LAYOUTS (Design Variance: 8) --- */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* "Liquid Glass" Refraction */
.glass-panel {
  background: rgba(18, 18, 20, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 
              0 12px 40px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  transition: var(--transition-spring);
}

/* Interactive Shimmer Overlay */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}
.shimmer-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 55%
  );
  transform: rotate(-45deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.shimmer-effect:hover::after {
  transform: translate(50%, 50%) rotate(-45deg);
}

/* --- HARDWARE-ACCELERATED GRAIN NOISE --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3联%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  z-index: 9999;
  pointer-events: none;
}

/* --- APPFADE LOADING PRELOADER --- */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-pure);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader-logo {
  font-size: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar {
  width: 180px;
  height: 2px;
  background: var(--bg-surface-elevated);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--titanium-space), var(--accent));
  animation: progressLoad 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 15px rgba(212,195,179,0.3)); }
}

@keyframes progressLoad {
  0% { width: 0%; }
  40% { width: 30%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* --- HEADER / NAVIGATION (Liquid Glass refractions) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-spring);
  padding: 1.5rem 0;
}

.site-header.scrolled {
  padding: 0.8rem 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.brand-logo span {
  font-weight: 300;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: var(--bg-pure);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212, 195, 179, 0.4);
}

/* --- HERO SECTION (Asymmetric, Layout Variance: 8) --- */
.hero {
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,195,179,0.06) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(212, 195, 179, 0.1);
  border: 1px solid rgba(212, 195, 179, 0.15);
  border-radius: 30px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4.8rem;
  line-height: 0.95;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 48ch;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 0.6rem;
  outline: none;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9) rotate(2deg);
  animation: revealScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
  transition: var(--transition-spring);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-wrapper:hover .hero-img {
  transform: scale(1.04);
}

/* Scroll indicator animation */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--text-primary);
}

.scroll-wheel {
  width: 18px;
  height: 30px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 2px;
  animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0% { top: 6px; opacity: 1; }
  50% { top: 14px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealScale {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* --- PRODUCT SECTION (Asymmetric dynamic layout, design variance 8) --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-info {
  max-width: 50ch;
}

.section-subtitle {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  letter-spacing: -0.03em;
}

/* Category Filter Tabs (Asymmetric spacing) */
.filter-tabs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

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

/* Asymmetric Product Grid (Design Variance 8) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

/* Custom 3D Tilt Card (Refracted liquid glass design) */
.product-card {
  grid-column: span 4;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  height: 480px;
}

/* Offset positioning logic for Asymmetric Grid (levels 7-8) */
.product-card:nth-child(2n) {
  margin-top: 2.5rem;
}
.product-card:nth-child(3n) {
  margin-top: -1.5rem;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  background: rgba(18, 18, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 15px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover .card-inner {
  border-color: var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 25px 50px rgba(0, 0, 0, 0.5),
              0 0 30px var(--accent-glow);
}

.card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-tag.hot {
  background: rgba(212, 195, 179, 0.1);
  border-color: var(--accent-border);
  color: var(--accent);
}

.card-media {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: translateZ(50px); /* 3D layer pop out */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-media {
  transform: translateZ(75px) scale(1.05);
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s ease;
}

.card-info {
  transform: translateZ(30px);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.card-spec {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateZ(40px);
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.card-btn {
  background: var(--text-primary);
  color: var(--bg-pure);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.card-btn:hover {
  background: var(--accent);
  color: var(--bg-pure);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--accent-glow);
}

.card-btn:active {
  transform: scale(0.95);
}

/* Layout diversification: span sizes for staggered flow */
.product-card.span-8 {
  grid-column: span 8;
  height: 480px;
  display: flex;
}

.product-card.span-8 .card-inner {
  flex-direction: row;
}

.product-card.span-8 .card-media {
  width: 50%;
  height: 100%;
}

.product-card.span-8 .card-content-wrap {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 2rem;
}

/* --- PRODUCT VIEW DETAILS DRAWER (Glass refractions) --- */
.details-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 600px;
  height: 100%;
  z-index: 1200;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.details-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-spring);
}

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

.drawer-header {
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
}

.drawer-product-showcase {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  margin-bottom: 2rem;
}

.drawer-product-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.drawer-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.drawer-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.drawer-desc {
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.drawer-selector-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

/* Specification color variant circles */
.colors-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.color-option {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 2px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-option span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: var(--accent);
}

/* Sizes/Specs Pills grid */
.specs-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.spec-pill.active {
  background: rgba(212, 195, 179, 0.08);
  border-color: var(--accent);
}

.spec-pill-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.spec-pill-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Detail specs table */
.details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}

.details-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.details-label {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  width: 35%;
}

.details-val {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.drawer-footer {
  padding: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 1.5rem;
}

.drawer-footer .btn {
  flex: 1;
}

/* --- PREMIUM INTERACTIVE CART PANEL --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 500px;
  height: 100%;
  z-index: 1200;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  animation: revealUp 0.4s ease forwards;
}

.cart-item-img-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.cart-item-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

.cart-item-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.qty-num {
  font-size: 0.9rem;
  padding: 0 0.8rem;
  font-weight: 600;
}

.cart-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: rgba(255, 0, 0, 0.1);
  color: #ff4d4d;
}

/* Empty state design */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
  gap: 1.5rem;
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.cart-summary {
  padding: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.summary-row.total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.cart-promo-code {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.8rem;
}

.input-text {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-text:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(212, 195, 179, 0.1);
}

.input-text::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}

/* --- PREMIUM DYNAMIC CHECKOUT MODAL --- */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-spring);
}

.checkout-modal.open {
  opacity: 1;
  visibility: visible;
}

.checkout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.checkout-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: rgba(14, 14, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  z-index: 10;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

.checkout-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-steps {
  display: flex;
  gap: 2rem;
}

.checkout-step {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 0.5rem;
}

.checkout-step.active {
  color: var(--accent);
}

.checkout-step.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Interactive 3D credit card layout */
.card-3d-scene {
  perspective: 1000px;
  width: 100%;
  height: 200px;
  margin-bottom: 2rem;
}

.card-3d-element {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.card-3d-element.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.8rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-face.front {
  background: linear-gradient(135deg, #1c1c1f 0%, #0d0d0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.card-face.back {
  background: linear-gradient(135deg, #0d0d0f 0%, #1c1c1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotateY(180deg);
  justify-content: center;
  padding: 0;
}

.card-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, var(--titanium-desert) 0%, var(--titanium-space) 100%);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.card-number-display {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  word-spacing: 4px;
  margin: 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder-display, .card-exp-display {
  text-transform: uppercase;
}

.card-holder-display p:first-child, .card-exp-display p:first-child {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

.card-holder-display p:last-child, .card-exp-display p:last-child {
  font-size: 0.9rem;
  font-weight: 500;
}

.card-black-bar {
  height: 40px;
  background: #000;
  width: 100%;
  margin-bottom: 1.5rem;
}

.card-signature-bar {
  background: rgba(255, 255, 255, 0.06);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem;
  border-radius: 4px;
  margin: 0 1.5rem;
}

.card-cvv-display {
  font-family: var(--font-mono);
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.checkout-footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- COMPARISON MODULE (Design Variance 8) --- */
.compare-container {
  overflow-x: auto;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-th {
  text-align: left;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.compare-td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.compare-row:last-child .compare-td {
  border-bottom: none;
}

.compare-td-highlight {
  font-weight: 600;
  color: var(--text-primary);
}

.compare-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare-product-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.compare-product-price {
  font-size: 0.95rem;
  color: var(--accent);
}

/* --- SUCCESS STATE OVERLAY --- */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-spring);
}

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

.success-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(212, 195, 179, 0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 3.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(0.7);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.open .success-icon-wrap {
  transform: scale(1);
}

.success-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.success-desc {
  max-width: 50ch;
  margin-bottom: 3rem;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 3rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 32ch;
}

.footer-links-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* --- PREMIUM USER UPGRADES: SIRI GLOW, CUSTOM CURSOR, TRADE-IN, QUIZ, REVIEWS, FAQS, TG --- */

/* Siri Glow Button & Card Effects */
.siri-glow-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.siri-glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 40px;
  background: linear-gradient(90deg, #4285f4, #9b51e0, #e040fb, #ffca28, #4285f4);
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: siriGlowAnim 8s linear infinite;
}
.siri-glow-btn:hover::before {
  opacity: 1;
}

.siri-glow-card {
  position: relative;
  z-index: 1;
}
.siri-glow-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, #00f2fe, #4facfe, #9b51e0, #ff0844, #ffb199);
  background-size: 300% 300%;
  z-index: -2;
  opacity: 0.1;
  filter: blur(15px);
  animation: siriGlowAnim 12s ease infinite;
  transition: opacity 0.5s ease, filter 0.5s ease;
  pointer-events: none;
}
.siri-glow-card:hover::after {
  opacity: 0.3;
  filter: blur(25px);
}

@keyframes siriGlowAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Custom Premium Cursor */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, [role="button"], input, select, textarea, .product-card, .spec-pill, .color-option, .condition-tab, .filter-tab, .faq-trigger {
    cursor: none !important;
  }
  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    will-change: transform;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  .custom-cursor-glow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent-border);
    background: rgba(212, 195, 179, 0.03);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    will-change: transform;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s, 
                border-color 0.3s;
  }
  body.cursor-hovering .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background: #ffffff;
  }
  body.cursor-hovering .custom-cursor-glow {
    width: 56px;
    height: 56px;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}

/* VIP Services Grid */
.vip-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}
.vip-card {
  background: rgba(18, 18, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem 2.2rem;
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.vip-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.vip-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--titanium-desert-glow) 0%, var(--titanium-natural) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.vip-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}
.vip-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Trade-In Calculator */
.tradein-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: stretch;
}
.tradein-card {
  padding: 3.5rem;
}
.tradein-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.tradein-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.tradein-select-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '▼';
  font-size: 0.6rem;
  color: var(--text-secondary);
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.tradein-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tradein-select:focus {
  border-color: var(--accent);
}
.tradein-select option {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
}
.condition-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.condition-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-fast);
}
.condition-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.condition-tab.active {
  background: rgba(212, 195, 179, 0.1);
  border-color: var(--accent);
  color: var(--text-accent);
}
.condition-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: inherit;
}
.condition-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.condition-tab.active .condition-desc {
  color: var(--text-primary);
  opacity: 0.95;
}
.tradein-summary {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.tradein-result-price {
  font-size: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Lifestyle Configurator Quiz */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
}
.quiz-card {
  padding: 4rem 3.5rem;
}
.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}
.quiz-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4facfe, var(--accent));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-question {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.quiz-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.quiz-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.quiz-option.active {
  background: rgba(212, 195, 179, 0.08);
  border-color: var(--accent);
}
.quiz-option-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.quiz-option.active .quiz-option-number {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-pure);
}
.quiz-option-text {
  font-size: 1.05rem;
  font-weight: 500;
}
.quiz-result-wrapper {
  text-align: center;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.quiz-result-img {
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

/* Reviews slider & feedback */
.reviews-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}
.reviews-slider::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 450px;
  padding: 2.5rem;
}
.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2px;
}
.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.review-meta h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.review-meta p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* FAQ Accordion container */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: rgba(18, 18, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-spring);
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 20, 0.7);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 1.8rem 2.2rem;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}
.faq-content-inner {
  overflow: hidden;
  padding: 0 2.2rem 1.8rem;
}
.faq-content-inner p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Floating Telegram VIP CTA */
.telegram-floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition-spring);
}
.telegram-floating-cta:hover {
  transform: scale(1.1) translateY(-4px);
  border-color: #2ea6da;
  color: #2ea6da;
  box-shadow: 0 15px 35px rgba(46, 166, 218, 0.2);
}
.telegram-floating-cta svg {
  width: 26px;
  height: 26px;
}

/* Checkout VIP Options checkboxes */
.checkout-checkbox-group {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}
.checkout-checkbox-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  cursor: pointer;
}
.checkout-checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.checkout-checkbox-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.checkout-checkbox-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* --- CRM AUTHENTICATION MODAL --- */
.crm-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-spring);
}
.crm-auth-modal.open {
  opacity: 1;
  visibility: visible;
}
.crm-auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.crm-auth-wrapper {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 400px;
  padding: 3rem 2.5rem;
  border-color: var(--accent-border);
}

/* --- CRM DASHBOARD HUD PANEL --- */
.crm-hud-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-spring);
}
.crm-hud-modal.open {
  opacity: 1;
  visibility: visible;
}
.crm-hud-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.crm-hud-wrapper {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 1440px;
  height: 90vh;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.8);
}
.crm-hud-header {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.crm-hud-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}
.crm-hud-close:hover {
  color: #ffffff;
}
.crm-hud-body {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.crm-stat-card {
  padding: 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.crm-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 500;
}
.crm-stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.crm-hud-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  flex: 1;
  min-height: 0; /* allows grid children to scroll properly */
}
.crm-orders-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.crm-section-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.crm-status-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.crm-filter-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}
.crm-filter-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}
.crm-filter-pill.active {
  background: rgba(212, 195, 179, 0.15);
  border-color: var(--accent);
  color: var(--text-accent);
}
.crm-orders-scroll-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* CRM Order Card */
.crm-order-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: var(--transition-fast);
}
.crm-order-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.crm-order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.8rem;
}
.crm-order-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.crm-order-id {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.crm-order-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.crm-order-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.crm-order-status-badge.status-new {
  background: rgba(66, 133, 244, 0.1);
  border: 1px solid #4285f4;
  color: #4285f4;
}
.crm-order-status-badge.status-confirmed {
  background: rgba(52, 168, 83, 0.1);
  border: 1px solid #34a853;
  color: #34a853;
}
.crm-order-status-badge.status-shipping {
  background: rgba(251, 188, 5, 0.1);
  border: 1px solid #fbbc05;
  color: #fbbc05;
}
.crm-order-status-badge.status-completed {
  background: rgba(212, 195, 179, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.crm-order-status-badge.status-cancelled {
  background: rgba(234, 67, 53, 0.1);
  border: 1px solid #ea4335;
  color: #ea4335;
}

.crm-order-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.crm-customer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.crm-customer-info p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.crm-customer-info a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.crm-customer-info a:hover {
  opacity: 0.8;
}
.crm-order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.crm-order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.01);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* CRM status vertical timelines selector */
.crm-order-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}
.crm-order-timeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}
.crm-order-timeline-steps {
  display: flex;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 30px;
  overflow: hidden;
  padding: 0.2rem;
}
.crm-timeline-step {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  padding: 0.5rem 0.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  text-align: center;
}
.crm-timeline-step:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.crm-timeline-step.active {
  background: var(--accent);
  color: var(--bg-pure) !important;
  font-weight: 600;
}

/* CRM Telegram bot simulation logs panel */
.crm-tg-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 2rem;
}
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #2ea6da;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 166, 218, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 166, 218, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 166, 218, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 166, 218, 0);
  }
}
.crm-tg-logs-container {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.crm-tg-log-entry {
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  padding-bottom: 0.8rem;
}
.crm-tg-log-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #2ea6da;
  margin-bottom: 0.4rem;
}
.crm-tg-log-body {
  white-space: pre-wrap;
  color: #ceced2;
  line-height: 1.4;
}

/* Ensure no visual layout breaks on CRM */
@media (max-width: 1200px) {
  .crm-hud-layout-grid {
    grid-template-columns: 1fr;
  }
  .crm-hud-wrapper {
    height: 95vh;
  }
}
@media (max-width: 768px) {
  .crm-stats-grid {
    grid-template-columns: 1fr;
  }
  .crm-order-card-body {
    grid-template-columns: 1fr;
  }
  .crm-timeline-step {
    font-size: 0.65rem;
  }
}

/* --- MOBILE RESPONSIVENESS OVERRIDES (Dial Variance Level 8 Mobile Guard) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
  .product-card {
    grid-column: span 6;
  }
  .product-card.span-8 {
    grid-column: span 12;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }
  
  /* Fall back to strict single column for mobile viewport safety */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-media {
    margin-top: 2rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-card {
    grid-column: span 12 !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .product-card.span-8 .card-inner {
    flex-direction: column;
  }
  
  .product-card.span-8 .card-media, 
  .product-card.span-8 .card-content-wrap {
    width: 100%;
    padding-left: 0;
  }
  
  .product-card.span-8 .card-content-wrap {
    margin-top: 2rem;
  }
  
  .details-drawer, .cart-drawer {
    width: 100%;
  }
  
  .checkout-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
