:root {
  --primary: #0d6efd;
  --primary-dark: #0b3d91;
  --accent: #12b2ff;
  --bg-soft: #f4f8ff;
  --text: #122033;
  --muted: #6c7a89;
  --white: #ffffff;
  --border: rgba(13, 110, 253, 0.12);
  --shadow: 0 18px 50px rgba(11, 61, 145, 0.1);
  --radius: 1.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.py-lg-6 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-light-blue { background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%); }
.site-header .navbar-brand span { font-size: 1.05rem; }
.site-header .nav-link {
  color: #334155;
  font-weight: 600;
  padding: .7rem .85rem;
  border-radius: 999px;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--primary); background: rgba(13,110,253,.08); }
.hero-section {
  background:
    radial-gradient(circle at top right, rgba(18,178,255,.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}
.hero-kicker {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(13,110,253,.08);
  color: var(--primary-dark);
  font-size: .92rem;
  font-weight: 700;
}
.tracking-card,
.content-card,
.feature-card,
.hero-stats-card,
.summary-panel,
.timeline-panel,
.tracking-result-card,
.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tracking-card { padding: 1.3rem; }
.content-card, .timeline-panel, .summary-panel, .hero-panel { padding: 1.5rem; }
.hero-stats-card { padding: 1.5rem; }
.hero-track-form .form-control,
.tracking-card .form-control,
.newsletter-form .form-control,
.contact-card .form-control {
  min-height: 58px;
  border-radius: 1rem;
  border: 1px solid rgba(15,23,42,.12);
}
.form-control:focus {
  border-color: rgba(13,110,253,.45);
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.12);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  box-shadow: 0 12px 30px rgba(13,110,253,.22);
}
.btn-outline-primary {
  border-color: rgba(13,110,253,.25);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.stat-box {
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
}
.stat-box strong, .mini-stat strong, .summary-list strong, .result-list strong {
  display: block;
  font-size: 1rem;
}
.stat-box span, .mini-stat span, .summary-list span, .result-list span {
  color: var(--muted);
  font-size: .9rem;
}
.popular-tags { display: flex; flex-wrap: wrap; gap: .65rem; }
.popular-tags a,
.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(13,110,253,.08);
  color: var(--primary-dark);
  font-size: .88rem;
  font-weight: 700;
}
.section-heading { margin-bottom: 2rem; }
.section-heading span {
  display: inline-block;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: .6rem;
}
.section-heading h2,
.content-card h2,
.feature-card h3 { font-weight: 800; }
.feature-card {
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.icon-wrap {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13,110,253,.1), rgba(18,178,255,.18));
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .85rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}
.custom-accordion .accordion-button {
  font-weight: 700;
  background: #fff;
  box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: rgba(13,110,253,.04);
}
.mega-footer {
  background: linear-gradient(180deg, #0f2342 0%, #09162b 100%);
}
.footer-links li + li { margin-top: .65rem; }
.footer-links a { color: rgba(255,255,255,.85); }
.footer-links a:hover { color: #fff; }
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: .35rem;
  bottom: .35rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(13,110,253,.35), rgba(13,110,253,.08));
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-left: 0;
}
.timeline-dot {
  width: 24px;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(13,110,253,.08);
  position: relative;
  z-index: 1;
}
.timeline-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.summary-list, .result-list { display: grid; gap: .9rem; }
.summary-list div, .result-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: .75rem;
  border-bottom: 1px dashed rgba(15,23,42,.08);
}
.summary-list div:last-child, .result-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-stat {
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: #f8fbff;
  border: 1px solid var(--border);
}
.subhero { border-bottom: 1px solid var(--border); }
.admin-sidebar {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-right: 1px solid rgba(15,23,42,.08);
}
.admin-sidebar .list-group-item {
  border: 0;
  border-radius: 0;
  padding: .95rem 1.2rem;
  font-weight: 600;
}
.admin-sidebar .list-group-item.active {
  background: linear-gradient(90deg, rgba(13,110,253,.12), rgba(13,110,253,.02));
  color: var(--primary-dark);
}
.alert, .card, .accordion-item { border-radius: 1rem !important; }
@media (max-width: 991.98px) {
  .site-header .navbar-nav { padding-top: 1rem; }
  .hero-section .display-5,
  .subhero .display-6 { font-size: 2.15rem; }
}
@media (max-width: 575.98px) {
  .tracking-card,
  .content-card,
  .feature-card,
  .hero-stats-card,
  .summary-panel,
  .timeline-panel { padding: 1.1rem; }
  .hero-section .display-5,
  .subhero .display-6 { font-size: 1.85rem; }
}
@media print {
  .site-header, .mega-footer, .btn, form, .navbar-toggler { display: none !important; }
  body { background: #fff; }
  .content-card, .timeline-panel, .summary-panel { box-shadow: none; border-color: #ddd; }
}
