/* =============================================
   LogiTrack Pro — Main Stylesheet
   Themes: dark | light | bw
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ─── DARK THEME (default) ─────────────────── */
:root, [data-theme="dark"] {
  --bg:             #070f1f;
  --bg-2:           #0d1b33;
  --surface:        #0f1f3d;
  --surface-2:      #142040;
  --surface-3:      #1a2a4e;
  --border:         rgba(255,255,255,0.10);
  --border-hi:      rgba(255,255,255,0.18);
  --glass:          rgba(255,255,255,0.05);
  --accent:         #00d4aa;
  --accent-h:       #00efbe;
  --accent-2:       #ff6b35;
  --accent-3:       #4f8ef7;
  --text:           #f0f6ff;
  --text-2:         #c8d8ee;
  --text-muted:     #8ba5c8;
  --text-dim:       #4a6080;
  --shadow:         0 20px 60px rgba(0,0,0,0.55);
  --card-bg:        #0f1f3d;
  --input-bg:       rgba(255,255,255,0.06);
  --input-border:   rgba(255,255,255,0.14);
  --r: 16px; --rs: 10px;
  --tr: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --fd: 'Syne',sans-serif;
  --fb: 'DM Sans',sans-serif;
}

/* ─── LIGHT THEME ──────────────────────────── */
[data-theme="light"] {
  --bg:             #eef2f8;
  --bg-2:           #e2eaf4;
  --surface:        #ffffff;
  --surface-2:      #f5f8fc;
  --surface-3:      #eaeff8;
  --border:         rgba(0,0,0,0.09);
  --border-hi:      rgba(0,0,0,0.16);
  --glass:          rgba(255,255,255,0.85);
  --accent:         #0099a8;
  --accent-h:       #00b8c9;
  --accent-2:       #d95b1c;
  --accent-3:       #1e5fcc;
  --text:           #0a1828;
  --text-2:         #1e3350;
  --text-muted:     #4a6580;
  --text-dim:       #9ab0c8;
  --shadow:         0 10px 40px rgba(0,0,0,0.12);
  --card-bg:        #ffffff;
  --input-bg:       rgba(0,0,0,0.03);
  --input-border:   rgba(0,0,0,0.14);
  --r: 16px; --rs: 10px;
  --tr: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --fd: 'Syne',sans-serif;
  --fb: 'DM Sans',sans-serif;
}

/* ─── BLACK & WHITE THEME ──────────────────── */
[data-theme="bw"] {
  --bg:             #0a0a0a;
  --bg-2:           #111111;
  --surface:        #1c1c1c;
  --surface-2:      #232323;
  --surface-3:      #2a2a2a;
  --border:         rgba(255,255,255,0.14);
  --border-hi:      rgba(255,255,255,0.28);
  --glass:          rgba(255,255,255,0.04);
  --accent:         #e8e8e8;
  --accent-h:       #ffffff;
  --accent-2:       #aaaaaa;
  --accent-3:       #cccccc;
  --text:           #ffffff;
  --text-2:         #d8d8d8;
  --text-muted:     #909090;
  --text-dim:       #505050;
  --shadow:         0 12px 40px rgba(0,0,0,0.8);
  --card-bg:        #1c1c1c;
  --input-bg:       rgba(255,255,255,0.05);
  --input-border:   rgba(255,255,255,0.18);
  --r: 16px; --rs: 10px;
  --tr: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --fd: 'Syne',sans-serif;
  --fb: 'DM Sans',sans-serif;
}

/* ─── THEME SWITCHER WIDGET ────────────────── */
.theme-switcher {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 9999;
  display: flex; gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border-hi);
  border-radius: 50px;
  padding: 4px;
  box-shadow: var(--shadow);
}

.theme-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 0.7rem; font-weight: 700;
  font-family: var(--fb);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.theme-btn:hover { color: var(--text); border-color: var(--border-hi); }

.theme-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

[data-theme="light"] .theme-btn.active { color: #fff; }

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

h1,h2,h3,h4,h5,h6 { font-family: var(--fd); font-weight: 700; line-height: 1.15; color: var(--text); }
p { color: var(--text-2); }
a { color: var(--accent); text-decoration: none; transition: var(--tr); }
a:hover { color: var(--accent-h); }

/* ─── NAVBAR ───────────────────────────────── */
.navbar {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky; top: 0; z-index: 1000;
}

[data-theme="dark"]  .navbar { background: rgba(7,15,31,0.96) !important; }
[data-theme="light"] .navbar { background: rgba(238,242,248,0.96) !important; }
[data-theme="bw"]    .navbar { background: rgba(10,10,10,0.97) !important; }

.navbar-brand {
  font-family: var(--fd);
  font-size: 1.35rem; font-weight: 800;
  color: var(--text) !important;
  display: flex; align-items: center; gap: 10px;
}

.navbar-brand .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #0a1628;
  flex-shrink: 0;
}

[data-theme="light"] .navbar-brand .logo-icon { color: #fff; }
[data-theme="bw"]    .navbar-brand .logo-icon { color: #000; }

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

.navbar-nav .nav-link {
  color: var(--text-2) !important;
  font-weight: 500; font-size: 0.9rem;
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px; transition: var(--tr);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(0,212,170,0.08);
}

[data-theme="light"] .navbar-nav .nav-link:hover,
[data-theme="light"] .navbar-nav .nav-link.active {
  background: rgba(0,153,168,0.08);
}

[data-theme="bw"] .navbar-nav .nav-link:hover,
[data-theme="bw"] .navbar-nav .nav-link.active {
  background: rgba(255,255,255,0.08);
}

.navbar-toggler { border-color: var(--border-hi); }
.navbar-toggler-icon { filter: invert(1); }
[data-theme="light"] .navbar-toggler-icon { filter: invert(0); }

/* ─── HERO — FIXED ─────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding: 3.5rem 0;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 72% 38%, rgba(0,212,170,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 38% 45% at 12% 78%, rgba(79,142,247,0.08) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 50% 60% at 72% 38%, rgba(0,153,168,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 38% 45% at 12% 78%, rgba(30,95,204,0.05) 0%, transparent 60%);
}

[data-theme="bw"] .hero::before { display: none; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; opacity: 0.6;
}

/* hero heading — use a tighter clamp so it never clips at 1280px+ */
.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="bw"] .hero h1 .highlight {
  background: none;
  -webkit-text-fill-color: var(--text);
  border-bottom: 3px solid var(--accent);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,170,0.10);
  border: 1px solid rgba(0,212,170,0.32);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.73rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.4rem;
}

[data-theme="light"] .hero-badge {
  background: rgba(0,153,168,0.08);
  border-color: rgba(0,153,168,0.28);
}

[data-theme="bw"] .hero-badge {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.28);
}

.hero p.lead {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 490px;
  margin-bottom: 2rem;
  line-height: 1.78;
}

/* ─── TRACK BOX ────────────────────────────── */
.track-box {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.track-box-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 6px;
}

.track-input-group { display: flex; gap: 10px; }

.track-input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--rs);
  padding: 12px 15px;
  color: var(--text);
  font-family: var(--fb); font-size: 0.9rem;
  transition: var(--tr);
}

.track-input::placeholder { color: var(--text-muted); }
.track-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.12);
  background: var(--surface-2);
  color: var(--text);
}

.track-hints { margin-top: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.track-hint { font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.track-hint i { color: var(--accent); font-size: 0.68rem; }

/* ─── LIVE WIDGET (hero right) ─────────────── */
.hero-widget {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-widget-header {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; justify-content: space-between; align-items: center;
}

.hero-widget-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-muted);
}

.live-badge {
  background: rgba(0,212,170,0.13);
  color: var(--accent);
  border: 1px solid rgba(0,212,170,0.28);
  border-radius: 50px; padding: 2px 10px;
  font-size: 0.66rem; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}

.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-widget-item {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  transition: background 0.2s;
}

.hero-widget-item:last-child { border-bottom: none; }
.hero-widget-item:hover { background: var(--surface-2); }

.widget-tracking {
  font-family: var(--fd); font-size: 0.76rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.5px;
}

.widget-dest { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }

.widget-type { font-size: 0.66rem; color: var(--text-dim); margin-top: 1px; }

/* floater */
.hero-floater {
  position: absolute; top: -16px; right: -16px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 14px; padding: 0.7rem 1rem;
  text-align: center; min-width: 88px;
  box-shadow: var(--shadow);
}

.floater-value { font-family: var(--fd); font-size: 1.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.floater-label { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

/* ─── BUTTONS ──────────────────────────────── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #062015;
  border: none; border-radius: var(--rs);
  padding: 13px 26px;
  font-family: var(--fd); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: var(--tr);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,212,170,0.35);
  color: #062015;
}

[data-theme="light"] .btn-primary-custom { color: #fff; }
[data-theme="light"] .btn-primary-custom:hover { color: #fff; }
[data-theme="bw"]    .btn-primary-custom { color: #000; }
[data-theme="bw"]    .btn-primary-custom:hover { color: #000; }

.btn-outline-custom {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-hi);
  border-radius: var(--rs); padding: 12px 26px;
  font-family: var(--fd); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: var(--tr);
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-outline-custom:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,212,170,0.05);
}

/* ─── STATS BAR ────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.stat-item { text-align: center; padding: 0.75rem 1rem; position: relative; }

.stat-item:not(:last-child)::after {
  content: ''; position: absolute;
  right: 0; top: 20%; height: 60%; width: 1px;
  background: var(--border);
}

.stat-value {
  font-family: var(--fd); font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 4px;
}

[data-theme="bw"] .stat-value { background: none; -webkit-text-fill-color: var(--text); }

.stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 500;
}

/* ─── SECTIONS ─────────────────────────────── */
.section { padding: 90px 0; }
.section-sm { padding: 55px 0; }

.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800; margin-bottom: 0.9rem; color: var(--text);
}

.section-subtitle { color: var(--text-2); font-size: 0.98rem; max-width: 530px; line-height: 1.78; }

/* ─── SERVICE CARDS ────────────────────────── */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.2rem 1.7rem;
  transition: var(--tr); height: 100%; position: relative; overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  transform: scaleX(0); transition: var(--tr);
}

.service-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.2rem;
}

.service-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text); }
.service-description { color: var(--text-2); font-size: 0.858rem; line-height: 1.7; margin-bottom: 1rem; }

.service-features { list-style: none; margin-bottom: 1.2rem; }
.service-features li { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--text-2); padding: 3px 0; }
.service-features li i { color: var(--accent); font-size: 0.72rem; }

/* ─── STEP CARDS ───────────────────────────── */
.step-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem 1.5rem; text-align: center;
  transition: var(--tr);
}

.step-card:hover { transform: translateY(-5px); border-color: rgba(0,212,170,0.28); }

.step-number {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #062015;
  font-family: var(--fd); font-size: 1.15rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}

[data-theme="light"] .step-number { color: #fff; }
[data-theme="bw"]    .step-number { color: #000; }

.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.step-description { color: var(--text-2); font-size: 0.858rem; }

/* ─── FEATURES ─────────────────────────────── */
.feature-item { display: flex; gap: 1rem; margin-bottom: 1.7rem; align-items: flex-start; }

.feature-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 11px;
  background: rgba(0,212,170,0.10); border: 1px solid rgba(0,212,170,0.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent);
}

[data-theme="light"] .feature-icon { background: rgba(0,153,168,0.08); border-color: rgba(0,153,168,0.20); }
[data-theme="bw"]    .feature-icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }

.feature-title { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.feature-desc  { color: var(--text-2); font-size: 0.835rem; }

/* ─── TESTIMONIALS ─────────────────────────── */
.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.9rem; height: 100%; transition: var(--tr);
}

.testimonial-card:hover { border-color: rgba(0,212,170,0.22); transform: translateY(-4px); }
.testimonial-text { color: var(--text-2); font-size: 0.88rem; line-height: 1.82; font-style: italic; margin-bottom: 1.2rem; }
.testimonial-author { font-weight: 700; font-size: 0.875rem; color: var(--text); }
.testimonial-role   { font-size: 0.76rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: 0.78rem; margin-bottom: 0.7rem; }

/* ─── CTA SECTION ──────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(0,212,170,0.06), transparent 70%);
  pointer-events: none;
}

/* ─── TRACKING PAGE ────────────────────────── */
.tracking-card {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}

.tracking-card-header {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  padding: 1.7rem 2rem; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1rem;
}

.tracking-number-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.tracking-number-display { font-family: var(--fd); font-size: 1.45rem; font-weight: 800; color: var(--accent); letter-spacing: 2px; }

.progress-steps {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 2rem; background: var(--surface-2);
  border-bottom: 1px solid var(--border); overflow-x: auto; gap: 0;
}

.progress-step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; min-width: 0; position: relative; }

.step-connector { flex: 1; height: 2px; background: var(--border-hi); margin-bottom: 22px; }
.step-connector.done { background: var(--accent); }

.progress-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--border-hi); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--text-muted);
  transition: var(--tr); position: relative; z-index: 1;
}

.progress-step.done .progress-step-dot { background: rgba(0,212,170,0.14); border-color: var(--accent); color: var(--accent); }
.progress-step.current .progress-step-dot { background: rgba(79,142,247,0.18); border-color: var(--accent-3); color: var(--accent-3); animation: pulse 2s infinite; }

.progress-step-label { font-size: 0.6rem; text-align: center; color: var(--text-muted); max-width: 68px; line-height: 1.3; font-weight: 500; }
.progress-step.done .progress-step-label,
.progress-step.current .progress-step-label { color: var(--text-2); }

.info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.info-item { padding: 1.4rem 1.7rem; border-right: 1px solid var(--border); }
.info-item:last-child { border-right: none; }
.info-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.info-value { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.info-sub   { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.shipment-flags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0.9rem 1.7rem; border-bottom: 1px solid var(--border); }

.flag-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 50px; font-size: 0.73rem; font-weight: 600;
  background: rgba(0,212,170,0.09); border: 1px solid rgba(0,212,170,0.24); color: var(--accent);
}

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 50px; font-size: 0.76rem; font-weight: 700;
}

/* route map */
.route-map { background: var(--surface-2); border-top: 1px solid var(--border); padding: 1.7rem; }
.route-visual { background: var(--bg); border: 1px solid var(--border-hi); border-radius: var(--rs); padding: 1.6rem; position: relative; overflow: hidden; }
.route-line { display: flex; align-items: center; gap: 1rem; }
.route-point { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.route-point-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(0,212,170,0.22); }
.route-point-dot.destination { border-color: var(--accent-2); background: rgba(255,107,53,0.22); }
.route-path { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2)); position: relative; }
.route-path .plane-icon { position: absolute; top: -10px; font-size: 1.2rem; animation: fly 4s ease-in-out infinite; }
.route-city    { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.route-country { font-size: 0.68rem; color: var(--text-muted); }

/* timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(0,212,170,0.08)); }
.timeline-item { position: relative; padding-left: 1.5rem; padding-bottom: 1.2rem; }
.timeline-dot {
  position: absolute; left: -1.5rem; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--text-muted);
}
.timeline-item.active .timeline-dot { background: rgba(0,212,170,0.14); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(0,212,170,0.10); }
.timeline-content { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1.1rem; transition: var(--tr); }
.timeline-item.active .timeline-content { background: rgba(0,212,170,0.05); border-color: rgba(0,212,170,0.24); }
.timeline-status   { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.timeline-location { font-size: 0.76rem; color: var(--accent); margin-top: 2px; }
.timeline-desc     { font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }
.timeline-time     { font-size: 0.7rem; color: var(--text-dim); white-space: nowrap; }

/* ─── PAGE HEADER ──────────────────────────── */
.page-header {
  background: var(--surface); padding: 4.5rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.page-header::before {
  content: ''; position: absolute; right: -5%; top: -20%;
  width: 370px; height: 370px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.07), transparent 70%);
}

.page-header h1 { font-size: clamp(1.65rem, 3.2vw, 2.7rem); color: var(--text); }
.page-header .breadcrumb-item { color: var(--text-muted); font-size: 0.84rem; }
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ─── ABOUT PAGE ───────────────────────────── */
.about-feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.about-feature-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 11px; background: rgba(0,212,170,0.09); border: 1px solid rgba(0,212,170,0.20); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); }
.about-feature-title { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.about-feature-desc  { color: var(--text-2); font-size: 0.835rem; }
.milestone-item { display: flex; gap: 1.2rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.858rem; }
.milestone-year { font-family: var(--fd); font-size: 0.83rem; font-weight: 800; color: var(--accent); min-width: 36px; }
.milestone-event { color: var(--text-2); }
.team-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; text-align: center; transition: var(--tr); }
.team-card:hover { transform: translateY(-6px); border-color: rgba(0,212,170,0.28); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-3)); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.6rem; font-weight: 800; color: #062015; margin: 0 auto 1rem; }
[data-theme="light"] .team-avatar { color: #fff; }
.team-name { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.team-role { font-size: 0.76rem; color: var(--accent); font-weight: 600; margin: 3px 0 0.5rem; }
.team-bio  { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; }
.cert-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border-hi); font-size: 0.76rem; font-weight: 600; color: var(--text-2); transition: var(--tr); }
.cert-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ─── CONTACT PAGE ─────────────────────────── */
.contact-info-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; transition: var(--tr); margin-bottom: 0.85rem; }
.contact-info-card:hover { border-color: rgba(0,212,170,0.28); }
.contact-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 11px; background: rgba(0,212,170,0.09); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); }
.contact-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 3px; }
.contact-value { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.contact-sub   { font-size: 0.76rem; color: var(--text-muted); }
.form-control-custom { background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--rs); padding: 12px 15px; color: var(--text); font-family: var(--fb); font-size: 0.9rem; transition: var(--tr); width: 100%; }
.form-control-custom::placeholder { color: var(--text-muted); }
.form-control-custom:focus { outline: none; border-color: var(--accent); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(0,212,170,0.10); color: var(--text); }
textarea.form-control-custom { min-height: 140px; resize: vertical; }
.form-label-custom { display: block; font-size: 0.76rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--rs); margin-bottom: 0.7rem; overflow: hidden; }
.faq-question { padding: 0.95rem 1.2rem; background: var(--surface); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.88rem; color: var(--text); transition: var(--tr); }
.faq-question:hover { background: var(--surface-2); }
.faq-question i { color: var(--text-muted); font-size: 0.73rem; transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer { display: none; padding: 0.95rem 1.2rem; background: var(--surface-2); font-size: 0.858rem; color: var(--text-2); line-height: 1.78; border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }

/* ─── FOOTER ───────────────────────────────── */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4.5rem 0 2rem; }
.footer-brand p { color: var(--text-2); font-size: 0.87rem; max-width: 285px; }
.footer-heading { font-family: var(--fd); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-2); font-size: 0.87rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.social-links { display: flex; gap: 9px; }
.social-link { width: 32px; height: 32px; border-radius: 8px; background: var(--glass); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--tr); font-size: 0.85rem; }
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ─── ALERTS ───────────────────────────────── */
.alert-custom { border-radius: var(--rs); padding: 0.95rem 1.15rem; border: 1px solid; margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; }
.alert-success { background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.28); color: #86efac; }
.alert-danger  { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.28); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.28); color: #fcd34d; }
[data-theme="light"] .alert-success { color: #166534; background: rgba(34,197,94,0.08); }
[data-theme="light"] .alert-danger  { color: #991b1b; background: rgba(239,68,68,0.08); }
[data-theme="light"] .alert-warning { color: #92400e; background: rgba(245,158,11,0.08); }

/* ─── ANIMATIONS ───────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse    { 0%,100% { box-shadow: 0 0 0 4px rgba(79,142,247,0.14); } 50% { box-shadow: 0 0 0 8px rgba(79,142,247,0.04); } }
@keyframes fly      { 0%,100% { left: 5%; } 50% { left: 85%; } }
@keyframes float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.animate-fade     { animation: fadeIn 0.8s ease forwards; }
.animate-up       { animation: fadeInUp 0.8s ease forwards; }
.animate-up-delay { animation: fadeInUp 0.8s ease 0.25s both; }
.animate-float    { animation: float 6s ease-in-out infinite; }

/* ─── MISC ─────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.text-accent       { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.glass-card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--r); backdrop-filter: blur(10px); }
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty-state i { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.3; display: block; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 991px) {
  .hero { padding: 3rem 0; min-height: auto; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
}

@media (max-width: 768px) {
  .hero { padding: 2.5rem 0 3rem; }
  .track-input-group { flex-direction: column; }
  .stat-item:not(:last-child)::after { display: none; }
  .progress-steps { padding: 1rem; }
  .progress-step-label { display: none; }
  .step-connector { display: none; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid var(--border); }
  .tracking-card-header { flex-direction: column; }
  .theme-switcher { bottom: 12px; right: 12px; }
}

@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ─── MAP THEME FILTER ─────────────────────── */
[data-theme="dark"] iframe,
[data-theme="bw"]   iframe {
  filter: brightness(0.85) contrast(1.1) saturate(0.8);
}
