/* ══════════════════════════════════════════════════════════════════════════
   ATD — americantransdata.com
   Design system matched to ATD Learning Center (blue/navy/chrome theme)
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --blue-dim: rgba(37,99,235,0.12);
  --red: #dc2626;
  --red-dim: rgba(220,38,38,0.12);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
  --yellow: #eab308;
  --yellow-dim: rgba(234,179,8,0.12);
  --bg: #0c1529;
  --surface: #162038;
  --surface2: #1e2d4a;
  --surface3: #283a58;
  --border: #2a3f5e;
  --border-light: rgba(148,163,184,0.1);
  --text: #e8edf4;
  --text-muted: #8494ad;
  --text-dim: #5a6d87;
  --shadow: 0 8px 32px rgba(0,0,0,0.2);
  --chrome-line: linear-gradient(90deg, transparent 5%, rgba(148,163,184,0.06) 20%, rgba(59,130,246,0.12) 40%, rgba(148,163,184,0.1) 50%, rgba(220,38,38,0.06) 60%, rgba(148,163,184,0.06) 80%, transparent 95%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6; overflow-x: hidden; position: relative;
}

/* ── AMBIENT BACKGROUND ── */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, transparent 0px, transparent 40px, rgba(148,163,184,0.018) 40px, rgba(148,163,184,0.018) 42px, transparent 42px, transparent 80px) 25% 0 / 1px 100%,
    repeating-linear-gradient(180deg, transparent 0px, transparent 55px, rgba(148,163,184,0.015) 55px, rgba(148,163,184,0.015) 57px, transparent 57px, transparent 110px) 75% 0 / 1px 100%,
    radial-gradient(circle 0.8px, rgba(59,130,246,0.04) 0%, transparent 100%) 0 0 / 80px 80px,
    radial-gradient(circle 0.5px, rgba(148,163,184,0.03) 0%, transparent 100%) 40px 40px / 80px 80px,
    radial-gradient(ellipse 400px 300px at 10% 20%, rgba(37,99,235,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 350px 250px at 90% 60%, rgba(220,38,38,0.02) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 50% 80%, rgba(148,163,184,0.025) 0%, transparent 60%),
    var(--bg);
}
body::after {
  content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 320' opacity='0.012'%3E%3Cpath fill='%2394a3b8' d='M64 256h32v32H64zM480 256h32v32h-32zM0 192h448v64H0zM448 128h96l64 64v64h-32a48 48 0 01-96 0H128a48 48 0 01-96 0H0v-64h448zM448 128h-64V96h64z'/%3E%3C/svg%3E") no-repeat 85% 45% / 420px auto,
    linear-gradient(0deg, transparent 48%, rgba(148,163,184,0.012) 49%, rgba(148,163,184,0.012) 49.5%, transparent 50%) 0 0 / 100% 100%,
    transparent;
  animation: bgDrift 60s ease-in-out infinite alternate;
}
@keyframes bgDrift {
  0% { opacity: 0.7; } 25% { opacity: 1; } 50% { opacity: 0.8; } 75% { opacity: 1; } 100% { opacity: 0.7; }
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(12,21,41,0.98) 0%, rgba(12,21,41,0.95) 100%);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  padding: 0 24px;
  box-shadow: 0 1px 20px rgba(0,0,0,0.3), 0 1px 0 rgba(59,130,246,0.06);
}
.topbar::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(59,130,246,0.25) 30%, rgba(148,163,184,0.15) 50%, rgba(59,130,246,0.25) 70%, transparent 95%);
}
.topbar .container { padding: 0; display: flex; align-items: center; gap: 20px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1.5px solid rgba(59,130,246,0.3);
  box-shadow: 0 0 16px rgba(37,99,235,0.2), inset 0 0 8px rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.brand:hover .brand-mark { box-shadow: 0 0 24px rgba(37,99,235,0.35), inset 0 0 8px rgba(255,255,255,0.08); }
.brand-text { font-weight: 700; font-size: 0.95rem; color: var(--text); letter-spacing: 0.02em; line-height: 1.2; }
.brand-sub { font-size: 0.68rem; color: var(--text-dim); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.nav {
  display: flex; gap: 2px; margin-left: auto; align-items: center;
  background: rgba(19,29,51,0.6); border: 1px solid rgba(36,51,82,0.6);
  border-radius: 10px; padding: 3px;
}
.nav a {
  padding: 7px 12px; border-radius: 7px; font-size: 0.8rem; color: var(--text-muted);
  transition: all 0.2s; font-weight: 500; letter-spacing: 0.01em; text-decoration: none;
  border: none;
}
.nav a:hover, .nav a.active {
  color: var(--text); background: rgba(59,130,246,0.08);
  text-decoration: none; box-shadow: 0 0 12px rgba(37,99,235,0.06);
}
.nav-sep { width: 1px; height: 20px; background: rgba(148,163,184,0.12); margin: 0 4px; flex-shrink: 0; }
.nav-login { color: var(--text-muted) !important; }

.mobile-menu-toggle {
  display: none; background: rgba(19,29,51,0.6); border: 1px solid rgba(36,51,82,0.6);
  color: var(--text-muted); padding: 8px 12px; border-radius: 8px; cursor: pointer;
  margin-left: auto; font-size: 1rem; transition: all 0.2s;
}
.mobile-menu-toggle:hover { border-color: rgba(59,130,246,0.3); color: var(--text); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; width: 92%; }
main { padding: 0 0 64px; }

.section { padding: 64px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: linear-gradient(180deg, var(--surface) 0%, rgba(12,21,41,0.5) 100%); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.row { display: flex; gap: 14px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── HERO ── */
.hero {
  padding: 80px 24px 64px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -5%, rgba(37,99,235,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 35% 25% at 15% 30%, rgba(220,38,38,0.05) 0%, transparent 45%),
    radial-gradient(ellipse 30% 20% at 85% 40%, rgba(148,163,184,0.04) 0%, transparent 40%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(circle at 25% 35%, rgba(59,130,246,0.04) 0%, transparent 35%),
    radial-gradient(circle at 75% 55%, rgba(148,163,184,0.025) 0%, transparent 25%);
  animation: heroFloat 25s ease-in-out infinite alternate; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='rgba(148,163,184,0.07)'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.5;
}
@keyframes heroFloat {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(1%,-0.5%) scale(1.01); }
  100% { transform: translate(-0.5%,0.5%) scale(1); }
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.06));
  border: 1px solid rgba(59,130,246,0.25); border-radius: 24px;
  padding: 5px 16px; font-size: 0.78rem; color: var(--blue-bright);
  margin-bottom: 24px; backdrop-filter: blur(4px);
  box-shadow: 0 0 20px rgba(37,99,235,0.08);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
h1 span {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 40%, #93c5fd 70%, #60a5fa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientShift 6s ease-in-out infinite alternate;
}
@keyframes gradientShift { 0% { background-position: 0% center; } 100% { background-position: 100% center; } }

h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 10px; }

.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 32px; line-height: 1.7; }

.hero-stats {
  display: flex; gap: 0; justify-content: center; border-radius: 14px; overflow: hidden;
  max-width: 620px; margin: 0 auto; position: relative;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(19,29,51,0.9) 100%);
  border: 1px solid rgba(148,163,184,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(59,130,246,0.05), inset 0 1px 0 rgba(255,255,255,0.03);
}
.stat-item { flex: 1; padding: 18px 14px; text-align: center; border-right: 1px solid rgba(148,163,184,0.08); transition: background 0.2s; }
.stat-item:hover { background: rgba(59,130,246,0.04); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: #3b82f6; display: block; text-shadow: 0 0 20px rgba(59,130,246,0.3); }
.stat-lbl { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 64px 24px 48px; text-align: center; position: relative;
  background: radial-gradient(ellipse 60% 50% at 50% -5%, rgba(37,99,235,0.1) 0%, transparent 55%);
}
.page-hero .hero-inner { max-width: 680px; }

/* ── SECTION LABELS ── */
.eyebrow, .section-label {
  font-size: 0.72rem; color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600; margin-bottom: 8px;
}
.section-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.section-desc { color: var(--text-muted); font-size: 0.95rem; max-width: 560px; }

/* ── CARDS ── */
.card {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(19,29,51,0.8) 100%);
  border: 1px solid rgba(148,163,184,0.08); border-radius: 14px;
  padding: 24px; position: relative; overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.03);
}
.card:hover {
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 16px rgba(37,99,235,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}
.card.featured {
  border-color: rgba(59,130,246,0.2);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(37,99,235,0.06) 50%, rgba(19,29,51,0.8) 100%);
}
.card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #dc2626 0%, #2563eb 30%, #3b82f6 60%, rgba(148,163,184,0.3) 80%, transparent 100%);
}

/* ── SERVICE CARDS (icon-based) ── */
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.registration svg { stroke: var(--blue-bright); }
.service-icon.authority svg { stroke: #dc2626; }
.service-icon.driver svg { stroke: #22c55e; }
.service-icon.carb svg { stroke: #eab308; }
.service-icon.insurance svg { stroke: #a78bfa; }
.service-icon.custom svg { stroke: var(--text-muted); }
.service-icon.urgent svg { stroke: var(--blue-bright); }
.badge-icon { display: inline-flex; align-items: center; }
.badge-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.registration { background: var(--blue-dim); }
.service-icon.authority { background: var(--red-dim); }
.service-icon.driver { background: var(--green-dim); }
.service-icon.carb { background: var(--yellow-dim); }
.service-icon.insurance { background: rgba(167,139,250,0.12); }
.service-icon.custom { background: rgba(148,163,184,0.08); }

.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }

/* ── ACCENT CARDS ── */
.accent-info {
  border-color: rgba(59,130,246,0.2);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(59,130,246,0.04) 100%);
}
.accent-success {
  border-color: rgba(34,197,94,0.2);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(34,197,94,0.04) 100%);
}
.accent-warning {
  border-color: rgba(234,179,8,0.2);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(234,179,8,0.04) 100%);
}

/* ── BUTTONS ── */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.btn {
  padding: 12px 26px; border-radius: 10px; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.25s; position: relative; overflow: hidden;
  text-decoration: none; display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%); color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  text-decoration: none; transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: rgba(19,29,51,0.8); border: 1px solid rgba(148,163,184,0.15);
  color: var(--text); backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.btn-outline:hover {
  border-color: rgba(59,130,246,0.4); color: var(--blue-bright);
  text-decoration: none; box-shadow: 0 0 20px rgba(59,130,246,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn:focus-visible { outline: 3px solid rgba(59,130,246,0.5); outline-offset: 2px; }

/* ── META CHIPS ── */
.meta-chip {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 4px;
  padding: 3px 8px; font-size: 0.72rem; color: var(--text-muted); display: inline-block;
}

/* ── STAT CHIPS (inline) ── */
.stat-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: rgba(19,29,51,0.6); border: 1px solid rgba(148,163,184,0.08);
  border-radius: 8px; font-size: 0.82rem; color: var(--text-muted);
}

/* ── LISTS ── */
ul { padding-left: 18px; }
li { margin-bottom: 6px; font-size: 0.9rem; color: var(--text-muted); }
li::marker { color: var(--blue); }
.list.two-col { columns: 2; column-gap: 28px; }

/* ── PRICING ── */
.pricing-block { margin: 16px 0; display: grid; gap: 8px; }
.pricing-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 10px;
  background: rgba(19,29,51,0.6); border: 1px solid var(--border);
}
.pricing-row.founding {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(19,29,51,0.6));
}
.pricing-label { font-size: 0.82rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-value { font-size: 0.95rem; color: var(--text); }

/* ── FORMS ── */
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
input, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px;
  background: var(--surface2); color: var(--text); font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
input:focus, textarea:focus { border-color: var(--blue); }
input:focus-visible, textarea:focus-visible { outline: none; }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.how-step {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px;
  background: rgba(12,21,41,0.4); border: 1px solid rgba(148,163,184,0.05); transition: all 0.3s;
}
.how-step:hover { background: rgba(37,99,235,0.04); border-color: rgba(59,130,246,0.12); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(59,130,246,0.08));
  border: 1px solid rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: #3b82f6; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(37,99,235,0.1);
}
.step-title { font-size: 1rem; font-weight: 700; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(19,29,51,0.9) 100%);
  border: 1px solid rgba(59,130,246,0.15); border-radius: 20px; padding: 52px;
  text-align: center; max-width: 700px; margin: 0 auto; position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.03);
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(59,130,246,0.3) 40%, rgba(148,163,184,0.15) 50%, rgba(220,38,38,0.2) 60%, transparent 90%);
}
.cta-features { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.cta-feat { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.cta-feat::before { content: '✓'; color: var(--green); font-weight: 700; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── SECTION DIVIDER ── */
.section-divider {
  width: 100%; height: 1px; margin: 0;
  background: var(--chrome-line); position: relative;
}
.section-divider::after {
  content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(59,130,246,0.4); box-shadow: 0 0 8px rgba(59,130,246,0.3);
  animation: sparkTravel 8s ease-in-out infinite;
}
@keyframes sparkTravel {
  0% { left: 10%; opacity: 0; } 10% { opacity: 1; } 50% { left: 90%; } 90% { opacity: 1; } 100% { left: 10%; opacity: 0; }
}

/* ── FOOTER ── */
.footer {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(12,21,41,0.8) 100%);
  border-top: 1px solid rgba(148,163,184,0.06); padding: 40px 24px; position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(59,130,246,0.15) 30%, rgba(148,163,184,0.08) 50%, rgba(59,130,246,0.15) 70%, transparent 90%);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-grid {
  display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr;
  max-width: 1200px; margin: 0 auto;
}
.footer a { color: var(--text-muted); font-size: 0.85rem; }
.footer a:hover { color: var(--text); }
.footer h3 { font-size: 0.9rem; margin-bottom: 12px; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-about { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.footer-legal { font-size: 0.75rem; color: var(--text-dim); margin-top: 8px; }
.footer-contact-icon { width: 14px; height: 14px; vertical-align: middle; margin-right: 6px; fill: none; stroke: var(--text-dim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-cta { margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.06); margin-top: 24px; padding-top: 16px;
  font-size: 0.78rem; color: var(--text-dim); max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-tagline { color: var(--text-dim); margin-top: 4px; }

/* ── 404 ── */
.notfound-wrap { padding: 100px 24px; text-align: center; }
.notfound-card { max-width: 500px; margin: 0 auto; }

/* ── SERVICE ORDER PAGE ── */
.service-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btn {
  padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--blue-dim); border-color: rgba(59,130,246,0.3); color: var(--text);
}
.service-section { display: none; }
.service-section.visible { display: block; }
.service-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service-card {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(19,29,51,0.8) 100%);
  border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  cursor: pointer; transition: all 0.25s; display: flex; flex-direction: column; gap: 6px;
}
.service-card:hover { border-color: rgba(59,130,246,0.3); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }
.service-card.selected {
  border-color: var(--blue); background: linear-gradient(160deg, var(--surface) 0%, rgba(37,99,235,0.08) 100%);
  box-shadow: 0 4px 24px rgba(37,99,235,0.15);
}
.service-card-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.service-card-price { font-size: 1.1rem; font-weight: 800; color: var(--blue-bright); }
.service-card-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.45; }
.selected-service-display {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 10px;
  background: var(--blue-dim); border: 1px solid rgba(59,130,246,0.25); margin-bottom: 16px;
}
.selected-service-name { font-weight: 700; font-size: 0.95rem; }
.selected-service-price { font-weight: 800; color: var(--blue-bright); }

.order-panel { display: none; }
.order-panel.visible { display: block; }
.order-panel-inner { position: sticky; top: 80px; }
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: flex-start; }
.catalog-loading, .catalog-error { padding: 32px 0; color: var(--text-muted); text-align: center; }
.catalog-error { color: var(--yellow); }

.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.trust-item-copy h3 { font-size: 0.9rem; margin-bottom: 3px; }
.trust-item-copy p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ── ONBOARDING ── */
.onboarding-steps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.step-pill {
  padding: 8px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
  background: var(--blue-dim); border: 1px solid rgba(59,130,246,0.25); color: var(--blue-bright);
}
.pricing-card h3 { font-size: 1.1rem; }
.pricing-card .price { font-size: 1.8rem; font-weight: 800; color: var(--blue-bright); margin: 8px 0; }
.pricing-card .price span { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.package-picker { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: rgba(19,29,51,0.4); }
.package-picker legend { font-weight: 600; margin-bottom: 8px; }
.package-picker label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; cursor: pointer; padding: 4px 0; }
.estimate-box { padding: 16px; border-radius: 10px; background: var(--blue-dim); border: 1px solid rgba(59,130,246,0.2); margin-top: 8px; min-height: 20px; }
.summary-grid { display: grid; gap: 8px; }
.status-panel { margin-top: 16px; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: rgba(19,29,51,0.6); border: 1px solid rgba(36,51,82,0.6);
  color: var(--text-muted); padding: 7px 9px; border-radius: 8px; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: rgba(59,130,246,0.3); color: var(--text); }

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg: #f0f2f5;
  --surface: #f8f9fc;
  --surface2: #eef1f6;
  --surface3: #e2e7ef;
  --border: #c8d1de;
  --border-light: rgba(0,0,0,0.08);
  --text: #0f1d3d;
  --text-muted: #47566e;
  --text-dim: #7685a0;
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] body::before,
[data-theme="light"] body::after { display: none; }
[data-theme="light"] body { background: linear-gradient(180deg, #e8ecf4 0%, #f0f2f5 100%); }
[data-theme="light"] .topbar {
  background: linear-gradient(180deg, rgba(15,29,61,0.97) 0%, rgba(15,29,61,0.94) 100%);
  border-bottom: 1px solid rgba(59,130,246,0.2);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
[data-theme="light"] .topbar::after {
  background: linear-gradient(90deg, transparent 5%, rgba(59,130,246,0.3) 30%, rgba(148,163,184,0.15) 50%, rgba(59,130,246,0.3) 70%, transparent 95%);
}
[data-theme="light"] .brand-text { color: #e8edf4; }
[data-theme="light"] .brand-sub { color: #8494ad; }
[data-theme="light"] .nav a { color: #94a3b8; }
[data-theme="light"] .nav a:hover { color: #e8edf4; background: rgba(255,255,255,0.08); }
[data-theme="light"] .nav-login { color: #60a5fa !important; }
[data-theme="light"] .theme-toggle { background: rgba(255,255,255,0.08); border-color: rgba(148,163,184,0.2); color: #94a3b8; }
[data-theme="light"] .theme-toggle:hover { border-color: rgba(59,130,246,0.4); color: #60a5fa; }
[data-theme="light"] .mobile-menu-toggle { background: rgba(255,255,255,0.08); border-color: rgba(148,163,184,0.2); color: #94a3b8; }
[data-theme="light"] .btn-outline {
  border-color: var(--border); color: var(--text);
}
[data-theme="light"] .btn-outline:hover { border-color: var(--blue); color: var(--blue); }
[data-theme="light"] .card {
  background: var(--surface); border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="light"] .card:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 6px 24px rgba(37,99,235,0.08), inset 0 1px 0 rgba(255,255,255,0.8); }
[data-theme="light"] .card.accent-info { background: rgba(59,130,246,0.04); border-color: rgba(59,130,246,0.2); }
[data-theme="light"] .section-divider { background: linear-gradient(90deg, transparent, var(--border), transparent); }
[data-theme="light"] .page-hero { background: linear-gradient(180deg, rgba(37,99,235,0.05) 0%, transparent 60%); }
[data-theme="light"] .cta-box { background: var(--surface); border-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8); }
[data-theme="light"] .footer { background: linear-gradient(180deg, var(--surface2) 0%, var(--surface) 100%); border-top: 1px solid var(--border); }
[data-theme="light"] .hero-stats { background: var(--surface); border-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
[data-theme="light"] .stat-item { border-right-color: var(--border); }
[data-theme="light"] .stat-num { text-shadow: none; color: var(--blue); }
[data-theme="light"] .estimate-box { background: rgba(37,99,235,0.04); border-color: rgba(37,99,235,0.12); }
[data-theme="light"] .package-picker { background: var(--surface2); border-color: var(--border); }
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3 { color: var(--text); }
[data-theme="light"] .hero-sub, [data-theme="light"] .section-desc { color: var(--text-muted); }
[data-theme="light"] .service-icon { opacity: 0.9; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-stats { flex-wrap: wrap; }
  .stat-item { flex: 1 0 40%; }
  .cta-box { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-panel-inner { position: static; }
  body::after { display: none; }
}

@media (max-width: 820px) {
  .list.two-col { columns: 1; }
  .grid.two { grid-template-columns: 1fr; }
}
