/* ==========================================================================
   FG WIRELESS - DESIGN SYSTEM & STYLESHEET
   High-Tech Glassmorphism, 3D Interactive Lab, Cyber Orange & Oceanic Navy
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --bg-primary: #061019;
  --bg-secondary: #0b1a28;
  --bg-card: rgba(13, 30, 48, 0.75);
  --bg-card-hover: rgba(18, 41, 64, 0.9);
  --bg-input: rgba(8, 20, 32, 0.85);
  
  --primary-navy: #0c3b4e;
  --primary-teal: #0f546e;
  --accent-orange: #ff6a00;
  --accent-orange-glow: rgba(255, 106, 0, 0.4);
  --accent-orange-light: #ff8c33;
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.35);
  --accent-green: #00e676;
  --accent-purple: #9d4edd;
  
  /* Text */
  --text-main: #f0f6fc;
  --text-muted: #8b9eb0;
  --text-dim: #5c7082;
  
  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 210, 255, 0.3);
  --border-orange: rgba(255, 106, 0, 0.4);
  --glass-blur: blur(20px);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Animated Ambient Glow in Background */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(6, 16, 25, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.09) 0%, rgba(6, 16, 25, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #8ec5fc 70%, #ff8c33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orange-gradient {
  background: linear-gradient(135deg, #ff8c33 0%, #ff6a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  color: var(--accent-orange-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-tag-cyan {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--border-active);
  color: var(--accent-cyan);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons & UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00 0%, #e65100 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 106, 0, 0.6);
}

.btn-cyan {
  background: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
  background: rgba(13, 30, 48, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(22, 48, 74, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-admin {
  background: rgba(255, 106, 0, 0.12);
  color: #ffaa66;
  border: 1px solid rgba(255, 106, 0, 0.4);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

.btn-admin:hover {
  background: rgba(255, 106, 0, 0.25);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 16, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

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

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

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & 3D SMARTPHONE SHOWCASE
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3rem 0 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 1.3rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* 3D Phone Canvas Container */
.hero-3d-wrapper {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(15, 45, 68, 0.45) 0%, rgba(6, 16, 25, 0.8) 75%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

#phone-canvas {
  width: 100%;
  height: 100%;
  outline: none;
  cursor: grab;
}

#phone-canvas:active {
  cursor: grabbing;
}

/* 3D Floating Control Deck */
.controls-deck {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6, 16, 25, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.deck-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.deck-btn:hover, .deck-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 2px 10px var(--accent-orange-glow);
}

.color-swatch-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.4rem;
  border-left: 1px solid var(--border-subtle);
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.color-swatch:hover, .color-swatch.active {
  transform: scale(1.25);
  border-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.badge-3d-hint {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(6, 16, 25, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

/* ==========================================================================
   QUICK LIVE REPAIR TRACKER BAR
   ========================================================================== */
.quick-tracker-section {
  position: relative;
  margin-top: -2rem;
  margin-bottom: 5rem;
  z-index: 10;
}

.tracker-bar-card {
  background: linear-gradient(135deg, rgba(15, 38, 60, 0.9) 0%, rgba(8, 22, 35, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.08);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 2rem;
  align-items: center;
}

.tracker-bar-text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tracker-bar-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tracker-input-group {
  display: flex;
  gap: 0.75rem;
}

.tracker-input {
  flex: 1;
  background: rgba(5, 14, 23, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.tracker-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

/* ==========================================================================
   USED MOBILES CATALOG SECTION
   ========================================================================== */
.catalog-section {
  padding: 5rem 0;
  position: relative;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 2px 12px var(--accent-orange-glow);
}

.sort-select {
  background: rgba(6, 16, 25, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

/* Phones Grid & 3D Studio Cards */
.phones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.phone-card {
  background: linear-gradient(180deg, rgba(16, 36, 56, 0.85) 0%, rgba(8, 20, 32, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 210, 255, 0.2);
}

/* Card Top Badge Row (Non-overlapping Flex Layout) */
.phone-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  width: 100%;
  position: relative;
  z-index: 5;
}

.grade-badge {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: var(--accent-green);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.battery-badge {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.45);
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* 3D Studio Pedestal Product Showcase */
.phone-card-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 65%, rgba(0, 210, 255, 0.2) 0%, rgba(255, 106, 0, 0.08) 45%, rgba(5, 14, 23, 0.7) 85%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.pedestal-glow {
  position: absolute;
  bottom: 14px;
  width: 60%;
  height: 22px;
  background: radial-gradient(ellipse, rgba(0, 210, 255, 0.55) 0%, rgba(255, 106, 0, 0) 75%);
  filter: blur(8px);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.4s ease;
}

.phone-product-img {
  max-width: 82%;
  max-height: 180px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 210, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.phone-card:hover .phone-product-img {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 106, 0, 0.35);
}

.phone-card:hover .pedestal-glow {
  width: 80%;
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.7) 0%, rgba(0, 210, 255, 0) 75%);
  filter: blur(12px);
}

.phone-card-body {
  padding: 0.2rem 0.2rem 0 0.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.phone-brand {
  color: var(--accent-orange-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.phone-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.phone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.phone-tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.phone-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
}

.price-original {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 0.4rem;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ==========================================================================
   3D REPAIR TEARDOWN LAB & DIAGNOSTICS
   ========================================================================== */
.repair-lab-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(6, 16, 25, 0) 0%, rgba(10, 25, 40, 0.8) 50%, rgba(6, 16, 25, 0) 100%);
  position: relative;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.lab-canvas-box {
  position: relative;
  height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(18, 48, 74, 0.6) 0%, rgba(5, 14, 23, 0.95) 80%);
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lab-diagnostics-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.diagnostic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.diagnostic-card:hover, .diagnostic-card.active {
  border-color: var(--accent-orange);
  background: rgba(20, 45, 70, 0.85);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.2);
}

.diagnostic-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.diagnostic-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 106, 0, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.diagnostic-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.diagnostic-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.diagnostic-meta {
  text-align: right;
}

.diagnostic-price {
  font-weight: 800;
  color: var(--accent-orange-light);
  font-size: 1.1rem;
}

.diagnostic-time {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   INTERACTIVE REPAIR CALCULATOR & BOOKING WIZARD
   ========================================================================== */
.booking-section {
  padding: 5rem 0;
  position: relative;
}

.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
}

.wizard-steps-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.step-indicator.active {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--border-active);
  color: #ffffff;
}

.step-indicator.completed {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-indicator.active .step-num {
  background: var(--accent-cyan);
  color: #061019;
}

.step-indicator.completed .step-num {
  background: var(--accent-green);
  color: #061019;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Device Selection Chips */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.chip-card {
  background: rgba(6, 16, 25, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-card:hover, .chip-card.selected {
  border-color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-orange-glow);
}

.chip-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--accent-orange-light);
}

.chip-card span {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

/* Booking Estimate Summary Box */
.estimate-summary-box {
  background: linear-gradient(135deg, rgba(12, 33, 52, 0.9) 0%, rgba(6, 16, 25, 0.95) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.estimate-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.estimate-summary-row.total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.8rem;
  padding-top: 1rem;
}

.estimate-summary-row.total .cost {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-orange-light);
  font-family: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   TRADE-IN VALUATION SECTION
   ========================================================================== */
.tradein-section {
  padding: 5rem 0;
  position: relative;
}

.tradein-box {
  background: linear-gradient(135deg, rgba(14, 35, 54, 0.85) 0%, rgba(6, 16, 25, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.tradein-result-card {
  background: rgba(6, 16, 25, 0.9);
  border: 2px dashed rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.tradein-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-cyan);
  font-family: 'Space Grotesk', sans-serif;
  margin: 0.5rem 0;
}

/* ==========================================================================
   CUSTOMER REVIEWS & TRUST SIGNALS
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stars {
  color: #ffb703;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.service-tag {
  font-size: 0.72rem;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

/* ==========================================================================
   MODALS (Quick View, Order, Alert)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #03080e;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  margin-top: 6rem;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: rgba(8, 22, 35, 0.95);
  backdrop-filter: blur(16px);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideIn 0.3s ease;
}

.toast.success { border-color: var(--accent-green); }
.toast.error { border-color: #ff3366; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2.2rem auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-3d-wrapper {
    height: 480px;
  }
  .tracker-bar-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .lab-canvas-box {
    height: 420px;
  }
  .tradein-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-3d-wrapper {
    height: 380px;
  }
  .wizard-card {
    padding: 1.5rem;
  }
  .wizard-steps-nav {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .tracker-input-group {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS & PROGRESS BAR
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange), #ff0077);
  z-index: 99999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

/* Scroll Reveal Classes */
.reveal-init {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.reveal-left {
  transform: translateX(-40px);
}

.reveal-init.reveal-right {
  transform: translateX(40px);
}

.reveal-init.reveal-scale {
  transform: scale(0.92);
}

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delay Utility */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* 3D Interactive Card Tilt Effect */
.phone-card, .glass-card, .diagnostic-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-active {
  transition: transform 0.1s ease-out !important;
}

/* Glowing Neon Borders */
@keyframes borderGlow {
  0% { border-color: rgba(0, 210, 255, 0.2); box-shadow: 0 0 15px rgba(0, 210, 255, 0.05); }
  50% { border-color: rgba(255, 106, 0, 0.4); box-shadow: 0 0 25px rgba(255, 106, 0, 0.15); }
  100% { border-color: rgba(0, 210, 255, 0.2); box-shadow: 0 0 15px rgba(0, 210, 255, 0.05); }
}

.glow-card-pulse {
  animation: borderGlow 6s infinite ease-in-out;
}

/* Ambient Floating Particles Background Canvas */
#ambient-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

