html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0a0f1a;
}

/* ── Hero ── */
.hero-bg {
  background: radial-gradient(ellipse at 30% 20%, rgba(15,76,129,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(56,189,248,0.15) 0%, transparent 50%),
              #0a0f1a;
}

.hero-overlay {
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section backgrounds ── */
.section-dark {
  background: radial-gradient(ellipse at 50% 0%, rgba(15,76,129,0.12) 0%, transparent 60%),
              #0a0f1a;
}

.section-light {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* ── Section transition fades ── */
.section-fade-to-light {
  height: 60px;
  background: linear-gradient(180deg, #0a0f1a 0%, #f8fafc 100%);
}

.section-fade-to-dark {
  height: 60px;
  background: linear-gradient(180deg, #f8fafc 0%, #0a0f1a 100%);
}

/* ── Glow separator ── */
.glow-line {
  height: 2px;
  width: 80px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #f59e0b, #38bdf8, transparent);
  border-radius: 2px;
}

/* ── Glass card (for dark backgrounds) ── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Tier-specific top borders & hover glow */
.glass-card.tier-green { border-top-color: #34d399; }
.glass-card.tier-green:hover { box-shadow: 0 20px 50px rgba(52, 211, 153, 0.12), 0 0 0 1px rgba(52, 211, 153, 0.15); }

.glass-card.tier-blue { border-top-color: #38bdf8; }
.glass-card.tier-blue:hover { box-shadow: 0 20px 50px rgba(56, 189, 248, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.15); }

.glass-card.tier-amber { border-top-color: #fbbf24; }
.glass-card.tier-amber:hover { box-shadow: 0 20px 50px rgba(251, 191, 36, 0.12), 0 0 0 1px rgba(251, 191, 36, 0.15); }

/* ── Service card tier labels ── */
.tier-label {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ── Panel (truck types, areas, why choose on light bg) ── */
.modern-panel {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ── Truck type grid items ── */
.truck-type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  transition: background 0.2s ease, border-left-color 0.2s ease;
  cursor: default;
  border-left: 3px solid transparent;
}

.truck-type-item:hover {
  background: linear-gradient(135deg, rgba(15,76,129,0.04), rgba(56,189,248,0.04));
  border-left-color: #38bdf8;
}

.truck-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0f4c81, #38bdf8);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  transition: transform 0.2s ease;
}

.truck-type-item:hover .truck-type-icon {
  transform: scale(1.08);
}

.truck-type-item h3 {
  color: #0c1f3d;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.3;
}

.truck-type-item p {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.35;
}

/* ── Area list items (dark bg) ── */
.area-list-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}

.area-list-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.area-list-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.area-list-header span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.area-list-item p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ── Why Choose items (light bg) ── */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  transition: background 0.2s ease, border-left-color 0.2s ease;
  border-left: 3px solid transparent;
}

.why-item:hover {
  background: linear-gradient(135deg, rgba(15,76,129,0.04), rgba(56,189,248,0.04));
  border-left-color: #f59e0b;
}

.why-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #0f4c81, #38bdf8);
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.why-item h3 {
  color: #0c1f3d;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}

.why-item p {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.5;
}

/* ── Burger menu ── */
#burger-icon {
  transition: transform 0.3s ease;
}

#burger-icon.rotate-90 {
  transform: rotate(90deg);
}

/* ── Floating buttons ── */
.floating-btn {
  position: fixed;
  bottom: 1.25rem;
  z-index: 50;
  border-radius: 9999px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float-pulse 2.5s ease-in-out infinite;
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.08); }
}

.floating-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 9999px;
}

/* ── Panel footer bar ── */
.panel-footer {
  background: linear-gradient(90deg, #0f4c81, #093c68);
  padding: 1rem 1.5rem;
  text-align: center;
}

.panel-footer p {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}

/* ── Modern button ── */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-gradient:hover {
  transform: translateY(-2px);
}

/* ── Scrollbar ── */
* {
  scrollbar-width: thin;
  scrollbar-color: #1a6ab1 #0a1628;
}

*::-webkit-scrollbar { width: 8px; }
*::-webkit-scrollbar-track { background: #0a1628; }
*::-webkit-scrollbar-thumb { background: #1a6ab1; border-radius: 999px; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1; transform: none; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .floating-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}
