/* ==========================================================================
   Kingston Phones — Flagship Hardware Lab & Certified Devices
   Design System: Light Theme • Frosted Liquid Glassmorphism • Monochromatic Blue
   ========================================================================== */

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

:root {
  /* Surface & Base Colors (Light Theme) */
  --bg-deep: #f6f9fe;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.74);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.62);
  --bg-glass-heavy: rgba(255, 255, 255, 0.88);

  /* Borders & Dividers */
  --border-subtle: rgba(203, 213, 225, 0.75);
  --border-glass: rgba(255, 255, 255, 0.9);
  --border-focus: rgba(37, 99, 235, 0.45);
  --border-accent: rgba(59, 130, 246, 0.35);

  /* Typography Colors (High Contrast Monochromatic Slate/Navy) */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Monochromatic Blue Palette */
  --accent-primary: #2563eb;
  --accent-secondary: #1d4ed8;
  --accent-dark: #1e3a8a;
  --accent-light: #eff6ff;
  --accent-subtle: #dbeafe;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-violet: #7c3aed;

  /* Glows & Soft Lighting Shadows */
  --glow-subtle: 0 4px 20px rgba(37, 99, 235, 0.12);
  --glow-accent: 0 8px 30px rgba(37, 99, 235, 0.22);
  --shadow-card: 0 10px 32px -8px rgba(37, 99, 235, 0.07), 0 2px 8px -2px rgba(15, 23, 42, 0.04), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-card-hover: 0 18px 40px -10px rgba(37, 99, 235, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.04), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  --shadow-lg: 0 22px 50px -15px rgba(37, 99, 235, 0.16), 0 6px 18px -4px rgba(15, 23, 42, 0.05);

  /* Typography Tokens */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Smooth Shapes */
  --max-width: 1280px;
  --header-height: 76px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-standard: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Lighting & Soft Sky Glows */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(ellipse 75% 50% at 50% -10%, rgba(191, 219, 254, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 50%, rgba(147, 197, 253, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(219, 234, 254, 0.45), transparent 60%),
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 5.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .section {
    padding-block: 7rem;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.06);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.text-gradient {
  background: linear-gradient(135deg, #0f172a 20%, #1d4ed8 75%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Frosted Glassmorphism Panels & Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-standard);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  transition: var(--transition-standard);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* Smooth Rounded Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-standard);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 18px rgba(37, 99, 235, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.38),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: var(--accent-primary);
  box-shadow: 
    0 4px 14px rgba(37, 99, 235, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

/* Header & Frosted Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-standard);
  background: rgba(246, 249, 254, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.08);
}

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

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-title span {
  color: var(--accent-primary);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Nav Menu Items */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-standard);
  position: relative;
  padding-block: 0.25rem;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

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

.nav-actions .btn-sm {
  display: none;
}

@media (min-width: 640px) {
  .nav-actions .btn-sm {
    display: inline-flex;
  }
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

@media (min-width: 1100px) {
  .nav-phone {
    display: flex;
  }
}

.nav-phone:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: #ffffff;
}

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-standard);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hamburger-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .header {
    height: 66px;
  }
  .brand-title {
    font-size: 1.125rem;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .hamburger-btn {
    width: 38px;
    height: 38px;
  }
}

.hamburger-btn:hover {
  background: #ffffff;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Mobile Nav Drawer (Liquid Frosted Glass Sheet) */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid rgba(226, 232, 240, 0.9);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -15px 0 40px rgba(15, 23, 42, 0.1);
}

.mobile-nav-drawer.open .drawer-content {
  transform: translateX(0);
}

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

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-standard);
}

.drawer-close-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: #ffffff;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: auto;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-standard);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.08);
  transform: translateX(4px);
}

.drawer-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 3.5rem);
    padding-bottom: 4rem;
  }
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  max-width: 100%;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .hero-badge {
    font-size: 0.8125rem;
    padding: 0.45rem 1.25rem;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  position: relative;
  flex-shrink: 0;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent-emerald);
  opacity: 0.5;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.hero-headline {
  font-size: clamp(1.85rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.9375rem, 1.6vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

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

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
}

@media (min-width: 640px) {
  .hero-trust-row {
    gap: 1.75rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* Hero Stage Visual & Floating Glass Cards */
.hero-stage {
  position: relative;
  width: 100%;
}

.stage-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px -15px rgba(37, 99, 235, 0.16), 0 4px 14px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

.stage-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf2f7;
}

.stage-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.stage-main-card:hover .stage-img-wrapper img {
  transform: scale(1.03);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.nav-logo-img:hover {
  transform: translateY(-1px);
}

.drawer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 10%, rgba(15, 23, 42, 0.35) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.stage-overlay h3 {
  color: #ffffff;
}

.stage-overlay p {
  color: rgba(255, 255, 255, 0.85);
}

.stage-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-secondary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.stage-floating-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 30px -6px rgba(37, 99, 235, 0.15), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  z-index: 10;
  animation: float 5s ease-in-out infinite;
}

@media (min-width: 768px) {
  .stage-floating-chip {
    display: flex;
  }
}

.chip-1 {
  top: -1.25rem;
  right: -0.75rem;
}

.chip-2 {
  bottom: 5.5rem;
  left: -1.75rem;
  animation-delay: 2.5s;
}

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

/* Marquee / Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(203, 213, 225, 0.75);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 1rem;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ticker-item svg {
  color: var(--accent-primary);
}

/* Service Grid (Repairs Showcase) */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-standard);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(37, 99, 235, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-standard);
}

.service-card:hover .service-icon-box {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.service-turnaround {
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.service-price {
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Interactive Diagnostic Engine Widget */
.diagnostic-panel {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .diagnostic-panel {
    padding: 3rem;
  }
}

.diagnostic-steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: var(--text-secondary);
}

.step-pill.active .step-number {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.step-pill.active {
  color: var(--accent-secondary);
  font-weight: 700;
}

.step-divider {
  width: 32px;
  height: 2px;
  background: rgba(203, 213, 225, 0.75);
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .selection-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.selection-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-standard);
  color: var(--text-primary);
  font-family: var(--font-sans);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}

.selection-btn svg {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.selection-btn:hover {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.selection-btn:hover svg {
  transform: scale(1.1);
}

.selection-btn.selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.14));
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.selection-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.diagnostic-result-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(59, 130, 246, 0.03));
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
  .diagnostic-result-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.result-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.price-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

/* Product & Showroom Grid */
.product-filter-bar {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  width: 75px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  font-weight: 700;
}

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

.filter-chip {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-standard);
  white-space: nowrap;
}

.filter-chip:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: #ffffff;
}

.filter-chip.active {
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 600;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-standard);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-condition-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-brand-new {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-pristine {
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.badge-excellent {
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.product-name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

.spec-chip svg {
  color: var(--accent-primary);
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

/* Standards & Cleanroom Spotlight */
.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .standards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.standard-card {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-standard);
  box-shadow: var(--shadow-card);
}

.standard-card:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.standard-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem auto;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(37, 99, 235, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

/* Contact & Appointment Booking */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition-standard);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* Location Card & Map Box */
.workshop-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-placeholder {
  height: 240px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
}

.map-pin-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  position: relative;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.map-pin-pulse::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  animation: map-ping 2s infinite;
}

@keyframes map-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.workshop-details {
  padding: 1.75rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-row svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer (Soft Light Frosted Base) */
.footer {
  background: rgba(241, 245, 249, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-standard);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Booking Modal (Liquid Frosted Glass Sheet) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-standard);
}

.modal-close-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: #ffffff;
}
