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

/* ===== DARK MODE (default) ===== */
:root {
  /* Brand palette */
  --color-primary:   #0A192F;   /* deep navy   */
  --color-secondary: #455A64;   /* blue-grey   */
  --color-tertiary:  #FF4E00;   /* orange      */
  --color-neutral:   #F5F7F9;   /* off-white   */

  /* Dark theme surfaces */
  --bg-primary:    #0A192F;
  --bg-secondary:  #0d2040;
  --bg-card:       #112244;
  --bg-card-hover: #163060;

  --border:        rgba(255,255,255,0.08);
  --border-active: rgba(255,78,0,0.45);

  /* Accent = tertiary orange */
  --blue:          #FF4E00;
  --blue-light:    #ff6b24;
  --blue-dark:     #cc3e00;
  --blue-glow:     rgba(255,78,0,0.15);

  --green:         #22c55e;
  --red:           #ef4444;
  --amber:         #f59e0b;

  --text-primary:  #F5F7F9;
  --text-secondary:#8892b0;
  --text-muted:    #455A64;

  --font-body:     'Inter', system-ui, sans-serif;
  --font-display:  'Space Grotesk', system-ui, sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 40px rgba(255,78,0,0.18);

  --section-pad:   96px;
  --nav-height:    72px;

  --night-bg:      #060f1e;
  --footer-bg:     #060f1e;
  --trust-bg:      rgba(255,255,255,0.02);
  --cta-bg:        linear-gradient(135deg, #0d2040 0%, #0A192F 50%, #1a0f08 100%);
  --grid-color:    rgba(255,255,255,0.04);
}

/* ===== LIGHT MODE ===== */
:root.light {
  --bg-primary:    #F5F7F9;
  --bg-secondary:  #e8ecf0;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f4f8;

  --border:        rgba(10,25,47,0.1);
  --border-active: rgba(255,78,0,0.4);

  /* Accent stays orange but slightly deeper for light bg contrast */
  --blue:          #e04400;
  --blue-light:    #FF4E00;
  --blue-dark:     #b33600;
  --blue-glow:     rgba(255,78,0,0.1);

  --text-primary:  #0A192F;
  --text-secondary:#455A64;
  --text-muted:    #8a9baa;

  --shadow-card:   0 4px 24px rgba(10,25,47,0.1);
  --shadow-glow:   0 0 40px rgba(255,78,0,0.15);

  --night-bg:      #d8dfe6;
  --footer-bg:     #dde2e8;
  --trust-bg:      rgba(10,25,47,0.03);
  --cta-bg:        linear-gradient(135deg, #dce6f0 0%, #F5F7F9 50%, #fde8df 100%);
  --grid-color:    rgba(10,25,47,0.05);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, #FF4E00 60%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,78,0,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-glow);
}

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION SHARED ===== */
.section { padding: var(--section-pad) 0; position: relative; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,78,0,0.1);
  border: 1px solid rgba(255,78,0,0.25);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== NAVIGATION ===== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-header.scrolled {
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red, blue)) {
  .nav-header.scrolled {
    background: rgba(13,17,23,0.92);
  }
  :root.light .nav-header.scrolled {
    background: rgba(248,250,252,0.92);
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-accent { color: var(--blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta { margin-left: 8px; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile-menu {
  display: none;
  background: color-mix(in srgb, var(--bg-primary) 97%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.nav-mobile-menu ul { list-style: none; margin-bottom: 16px; }
.mobile-link {
  display: block;
  padding: 12px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--text-primary); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,78,0,0.12) 0%, transparent 70%);
  top: -100px; left: -200px;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, transparent 70%);
  bottom: -100px; right: -150px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,78,0,0.1);
  border: 1px solid rgba(255,78,0,0.3);
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-dot {
  width: 6px; height: 24px;
  border: 1.5px solid var(--text-muted);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 3px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  background: var(--blue);
  border-radius: 1px;
  animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
  0%   { top: 3px; opacity: 1; }
  80%  { top: 13px; opacity: 0; }
  100% { top: 3px; opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--trust-bg);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.trust-icons {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.trust-item:hover { color: var(--text-secondary); }
.trust-item svg { flex-shrink: 0; }

/* ===== MOBILE SECTION ===== */
.mobile-section { background: var(--bg-secondary); }

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-list { display: flex; flex-direction: column; gap: 20px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px; height: 36px;
  background: rgba(255,78,0,0.1);
  border: 1px solid rgba(255,78,0,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===== VISUAL CARD ===== */
.section-visual { display: flex; justify-content: center; }

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 420px;
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.vc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.vc-dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }

.vc-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.dispatch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.dispatch-item.active {
  background: rgba(255,78,0,0.06);
  border-color: rgba(255,78,0,0.2);
}

.dispatch-icon { font-size: 22px; flex-shrink: 0; }

.dispatch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.dispatch-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dispatch-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.dispatch-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,78,0,0.2);
  color: var(--blue-light);
  flex-shrink: 0;
}

.dispatch-badge.pending {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
}

.dispatch-badge.done {
  background: rgba(34,197,94,0.15);
  color: var(--green);
}

.vc-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services-section { background: var(--bg-primary); }

.services-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.service-icon {
  width: 48px; height: 48px;
  background: rgba(255,78,0,0.08);
  border: 1px solid rgba(255,78,0,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue-light);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.featured-card {
  border-color: rgba(255,78,0,0.3);
  background: linear-gradient(135deg, rgba(255,78,0,0.06) 0%, var(--bg-card) 100%);
}

.card-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 100px;
}

/* ===== NIGHT SECTION ===== */
.night-section {
  background: var(--night-bg);
  overflow: hidden;
}

.night-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,78,0,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,78,0,0.04) 0%, transparent 60%);
}

.night-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur, 3s) var(--delay, 0s) infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50%       { opacity: var(--max-opacity, 0.6); }
}

.night-content { position: relative; z-index: 1; }

.section-header.light .section-title { color: var(--text-primary); }
.section-header.light .section-subtitle { color: var(--text-secondary); }

/* Timeline */
.night-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 32px 1fr;
  gap: 0 20px;
  align-items: flex-start;
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  padding-top: 14px;
  letter-spacing: 0.03em;
}

.timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  border: 2px solid var(--bg-primary);
  flex-shrink: 0;
  margin-top: 14px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.timeline-dot.active {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(255,78,0,0.6);
  width: 14px; height: 14px;
  margin-top: 13px;
}

.timeline-dot.done {
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.5);
  width: 14px; height: 14px;
  margin-top: 13px;
}

.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-top: 4px;
}

.timeline-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.timeline-card.active {
  background: rgba(255,78,0,0.05);
  border-color: rgba(255,78,0,0.25);
}

.timeline-card.done {
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.2);
}

.timeline-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.timeline-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,78,0,0.15);
  color: var(--blue-light);
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-tag.success {
  background: rgba(34,197,94,0.15);
  color: var(--green);
}

/* ===== SAVINGS SECTION ===== */
.savings-section { background: var(--bg-secondary); }

.savings-comparison {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-bottom: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-col {
  flex: 1;
  padding: 40px;
}

.comparison-old { background: rgba(239,68,68,0.03); }
.comparison-new {
  background: rgba(255,78,0,0.05);
  border-left: 1px solid var(--border);
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--bg-card);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
}

.comparison-header { margin-bottom: 28px; }

.comparison-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.comparison-label.bad {
  background: rgba(239,68,68,0.1);
  color: #f87171;
}
.comparison-label.good {
  background: rgba(255,78,0,0.1);
  color: var(--blue-light);
}

.comparison-header h3 {
  font-size: 22px;
  color: var(--text-primary);
}

.comparison-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.comparison-list li.bad { color: var(--text-secondary); }
.comparison-list li.good { color: var(--text-secondary); }
.comparison-list li svg { flex-shrink: 0; margin-top: 1px; }

.comparison-cost {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  padding: 16px;
  border-radius: var(--radius-md);
}

.comparison-cost.bad { background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.15); }
.comparison-cost.good { background: rgba(255,78,0,0.08); border: 1px solid rgba(255,78,0,0.2); }

.cost-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cost-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.comparison-cost.bad .cost-value { color: #f87171; }
.comparison-cost.good .cost-value { color: var(--blue-light); }

.savings-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.savings-metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  transition: all 0.25s;
}

.savings-metric:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.metric-icon { font-size: 28px; }

.metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-light);
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== WHY SECTION ===== */
.why-section { background: var(--bg-primary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.25s;
}

.why-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.why-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,78,0,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.why-card h3 {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--cta-bg);
  border-top: 1px solid rgba(255,78,0,0.15);
  border-bottom: 1px solid rgba(255,78,0,0.15);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,78,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { text-align: left; font-size: clamp(28px, 3vw, 38px); }
.contact-info .section-badge { margin-bottom: 12px; }

.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: rgba(255,78,0,0.08);
  border: 1px solid rgba(255,78,0,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-detail strong {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-detail span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* FORM */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(255,78,0,0.1);
}

.form-group select option { background: var(--bg-primary); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 24px 48px;
  align-items: start;
}

.footer-brand {
  text-align: left;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col {
  text-align: right;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-col li { font-size: 14px; color: var(--text-muted); }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-secondary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .savings-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { text-align: right; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile-menu.open { display: block; }

  .hero-title { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }

  .section-grid { grid-template-columns: 1fr; gap: 48px; }
  .reverse-on-mobile .section-visual { order: -1; }

  .savings-comparison { flex-direction: column; }
  .comparison-vs { writing-mode: horizontal-tb; padding: 16px; border: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .comparison-old, .comparison-new { padding: 28px; }
  .comparison-new { border-left: none; border-top: 1px solid var(--border); }

  .why-grid { grid-template-columns: 1fr; }
  .savings-cards { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col { text-align: right; }
  .form-row { grid-template-columns: 1fr; }

  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 16px; }

  .timeline-item { grid-template-columns: 64px 24px 1fr; gap: 0 12px; }
  .timeline-time { font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .savings-cards { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-brand { text-align: left; }
  .footer-col { text-align: left; }
  .footer-col ul { align-items: flex-start; }
  .services-tabs { flex-direction: column; align-items: stretch; }
  .tab-btn { text-align: center; }
  .contact-form-wrapper { padding: 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-glow);
}

/* Show/hide sun vs moon icon */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

:root.light .theme-toggle .icon-sun  { display: block; }
:root.light .theme-toggle .icon-moon { display: none; }

/* ===== LIGHT MODE SPECIFIC OVERRIDES ===== */

/* Reduce star visibility in light mode */
:root.light .star { background: #94a3b8; }

/* Hero glows — softer in light mode */
:root.light .hero-glow-1 {
  background: radial-gradient(circle, rgba(255,78,0,0.08) 0%, transparent 70%);
}
:root.light .hero-glow-2 {
  background: radial-gradient(circle, rgba(109,40,217,0.06) 0%, transparent 70%);
}

/* night section — override star colors */
:root.light .night-section {
  background: #dde4ef;
}

/* why-number in light mode — adjust opacity */
:root.light .why-number {
  color: rgba(255,78,0,0.18);
}

/* CTA banner text in light mode */
:root.light .cta-content h2 { color: #0f172a; }
:root.light .cta-content p  { color: #475569; }
:root.light .cta-banner {
  border-top-color:    rgba(255,78,0,0.2);
  border-bottom-color: rgba(255,78,0,0.2);
}
:root.light .cta-glow {
  background: radial-gradient(ellipse, rgba(255,78,0,0.1) 0%, transparent 70%);
}

/* Hero badge in light mode */
:root.light .hero-badge {
  background: rgba(255,78,0,0.08);
  border-color: rgba(255,78,0,0.2);
}

/* section-badge in light mode */
:root.light .section-badge {
  background: rgba(255,78,0,0.08);
  border-color: rgba(255,78,0,0.2);
}

/* dispatch active item */
:root.light .dispatch-item.active {
  background: rgba(255,78,0,0.05);
  border-color: rgba(255,78,0,0.2);
}

/* featured card */
:root.light .featured-card {
  background: linear-gradient(135deg, rgba(255,78,0,0.05) 0%, var(--bg-card) 100%);
  border-color: rgba(255,78,0,0.25);
}

/* timeline active/done */
:root.light .timeline-card.active {
  background: rgba(255,78,0,0.04);
  border-color: rgba(255,78,0,0.2);
}
:root.light .timeline-card.done {
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.2);
}

/* savings comparison */
:root.light .comparison-old  { background: rgba(239,68,68,0.02); }
:root.light .comparison-new  { background: rgba(255,78,0,0.04); }
:root.light .comparison-vs   { background: var(--bg-secondary); color: var(--text-muted); }

/* hero scroll dot */
:root.light .scroll-dot { border-color: var(--text-muted); }

/* transition for smooth mode switching */
body, .nav-header, .hero, .trust-bar, .mobile-section,
.services-section, .night-section, .savings-section,
.why-section, .cta-banner, .contact-section, .footer {
  transition: background 0.3s ease, color 0.2s ease;
}
