/* SwiftParcels Theme — Main Styles */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-deep: #1e3a8a;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.sp-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sp-center { text-align: center; }
.sp-center-actions { justify-content: center; }

/* Header */
.sp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.sp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.sp-logo { display: flex; align-items: center; gap: 10px; }
.sp-logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.sp-logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.sp-logo-text span { color: var(--accent); }
.sp-nav-list { display: flex; gap: 28px; }
.sp-nav-list a { color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.sp-nav-list a:hover { color: #fff; }
.sp-header-actions { display: flex; align-items: center; gap: 10px; }
.sp-menu-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.sp-mobile-menu { display: none; background: #fff; border-top: 1px solid var(--slate-200); }
.sp-mobile-menu.open { display: block; }
.sp-mobile-list a { display: block; padding: 14px 20px; color: var(--slate-800); font-weight: 500; border-bottom: 1px solid var(--slate-100); }

/* Buttons */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font); font-weight: 600; border-radius: 999px;
  border: none; cursor: pointer; transition: all .2s; text-align: center;
}
.sp-btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.sp-btn-lg { padding: 14px 28px; font-size: 1rem; }
.sp-btn-block { width: 100%; padding: 12px; }
.sp-btn-brand { background: var(--brand); color: #fff; }
.sp-btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); }
.sp-btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(249,115,22,0.3); }
.sp-btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.sp-btn-outline { background: transparent; color: var(--slate-800); border: 2px solid var(--slate-200); }
.sp-btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.sp-btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.sp-btn-ghost:hover { background: rgba(255,255,255,0.18); }
.sp-btn-outline-light { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.sp-btn-outline-light:hover { background: rgba(255,255,255,0.2); }
.sp-btn-white { background: #fff; color: var(--slate-900); }
.sp-btn-white:hover { background: var(--slate-100); }

/* Hero */
.sp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
  padding: 120px 0 80px; color: #fff; position: relative; overflow: hidden;
}
.sp-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.sp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem; color: rgba(255,255,255,0.9); margin-bottom: 20px;
}
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.sp-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.03em; }
.sp-gradient-text {
  background: linear-gradient(90deg, #fb923c, #fdba74);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-hero-lead { font-size: 1.1rem; color: rgba(219,234,254,0.9); max-width: 440px; margin: 0 0 28px; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sp-trust-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.875rem; color: rgba(191,219,254,0.85); }

.sp-hero-card {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-radius: 24px; padding: 28px; color: var(--slate-800);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.5);
}
.sp-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.sp-card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.sp-card-head strong { display: block; font-size: 1.05rem; }
.sp-card-head small { color: var(--slate-500); font-size: 0.8rem; }
.sp-track-mini { display: flex; flex-direction: column; gap: 10px; }
.sp-track-mini input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--slate-200);
  border-radius: 12px; font-size: 0.95rem; font-family: var(--font); outline: none;
}
.sp-track-mini input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,0.15); }
.sp-track-mini .sp-btn { width: 100%; padding: 14px; border-radius: 12px; }
.sp-track-hint { text-align: center; font-size: 0.75rem; color: var(--slate-400); margin: 12px 0 0; }

/* Stats */
.sp-stats { margin-top: -36px; position: relative; z-index: 5; }
.sp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.sp-stat {
  background: #fff; border-radius: 16px; padding: 24px 16px; text-align: center;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08); border: 1px solid var(--slate-100);
}
.sp-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand-deep); }
.sp-stat span { font-size: 0.85rem; color: var(--slate-500); font-weight: 500; }

/* Sections */
.sp-section { padding: 80px 0; }
.sp-section-dark { background: var(--slate-900); color: #fff; }
.sp-section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.sp-section-head h2 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; color: var(--slate-900); }
.sp-section-head p { color: var(--slate-500); margin: 0; font-size: 1.05rem; }
.sp-section-head-light h2 { color: #fff; }
.sp-section-head-light p { color: var(--slate-400); }
.sp-label {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: #eff6ff; color: var(--brand); font-size: 0.8rem; font-weight: 600; margin-bottom: 12px;
}
.sp-label-light { background: rgba(255,255,255,0.1); color: #93c5fd; border: 1px solid rgba(255,255,255,0.1); }

/* Cards */
.sp-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-card {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid var(--slate-100); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform .25s, box-shadow .25s;
}
.sp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.sp-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.sp-card p { color: var(--slate-500); margin: 0; font-size: 0.95rem; }
.sp-card-icon-lg {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.sp-bg-brand { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.sp-bg-accent { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; }
.sp-bg-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; }
.sp-bg-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.sp-bg-rose { background: linear-gradient(135deg, #f43f5e, #e11d48); color: #fff; }
.sp-bg-sky { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }

/* Steps */
.sp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sp-step { text-align: center; }
.sp-step-num {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff; font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sp-step-num-accent { background: linear-gradient(135deg, #fb923c, #ea580c); }
.sp-step-num-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.sp-step h3 { color: #fff; font-size: 1.15rem; margin: 0 0 8px; }
.sp-step p { color: var(--slate-400); margin: 0; font-size: 0.95rem; }

/* Pricing */
.sp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.sp-price-card {
  background: #fff; border-radius: 20px; padding: 32px 28px;
  border: 1px solid var(--slate-200); position: relative;
}
.sp-price-featured {
  border: 2px solid var(--brand); box-shadow: 0 12px 40px rgba(37,99,235,0.12);
  transform: scale(1.03);
}
.sp-price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 14px; border-radius: 999px;
}
.sp-price-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.sp-price-desc { color: var(--slate-500); font-size: 0.875rem; margin: 0 0 16px; }
.sp-price { margin-bottom: 20px; }
.sp-price strong { font-size: 2.25rem; font-weight: 800; }
.sp-price span { color: var(--slate-500); font-size: 0.9rem; }
.sp-price-card ul { margin: 0 0 24px; }
.sp-price-card li {
  padding: 6px 0 6px 24px; position: relative; font-size: 0.9rem; color: var(--slate-700);
}
.sp-price-card li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: 700; }

/* CTA */
.sp-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
  border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff;
}
.sp-cta h2 { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.sp-cta p { color: rgba(219,234,254,0.9); margin: 0 0 28px; font-size: 1.05rem; }

/* Page hero */
.sp-page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
  padding: 110px 0 48px; color: #fff; text-align: center;
}
.sp-page-hero-tall { padding: 110px 0 80px; }
.sp-page-hero h1 { font-size: 2.25rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.sp-page-hero p { color: rgba(219,234,254,0.9); margin: 0; font-size: 1.05rem; }
.sp-page-content { padding: 40px 0 60px; max-width: 720px; }

/* Forms */
.sp-form-card {
  background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.1); border: 1px solid var(--slate-100);
}
.sp-steps-bar {
  display: flex; justify-content: space-between; gap: 8px;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--slate-100);
}
.sp-step-item {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--slate-400);
}
.sp-step-item span {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.sp-step-item.active { color: var(--slate-900); }
.sp-step-item.active span { background: var(--brand); border-color: var(--brand); color: #fff; }
.sp-step-item.done span { background: #10b981; border-color: #10b981; color: #fff; }
.sp-form-step h2 { font-size: 1.25rem; margin: 0 0 20px; }
.sp-form-sub { font-size: 0.95rem; font-weight: 700; margin: 0 0 12px; color: var(--brand); }
.sp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 20px; }
.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-form-card label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--slate-700); margin: 10px 0 4px; }
.sp-form-card input[type="text"],
.sp-form-card input[type="tel"],
.sp-form-card input[type="number"],
.sp-form-card input[type="date"],
.sp-form-card select,
.sp-form-card textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--slate-200);
  border-radius: 10px; font-size: 0.9rem; font-family: var(--font); outline: none;
  transition: border-color .2s;
}
.sp-form-card input:focus, .sp-form-card select:focus, .sp-form-card textarea:focus {
  border-color: var(--brand);
}
.sp-radio { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 2px solid var(--slate-200); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-size: 0.9rem !important; font-weight: 500 !important; }
.sp-radio:has(input:checked) { border-color: var(--brand); background: #eff6ff; }
.sp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; margin: 16px 0; }
.sp-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.sp-review { background: var(--slate-50); border-radius: 12px; padding: 20px; margin-bottom: 16px; font-size: 0.9rem; line-height: 1.7; }

/* Footer */
.sp-footer { background: var(--slate-900); color: var(--slate-400); padding: 60px 0 30px; }
.sp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.sp-footer-brand p { font-size: 0.9rem; line-height: 1.6; margin: 14px 0 0; max-width: 280px; }
.sp-footer h4 { color: #fff; font-size: 0.9rem; margin: 0 0 14px; }
.sp-footer ul li { margin-bottom: 8px; }
.sp-footer a { font-size: 0.875rem; transition: color .2s; }
.sp-footer a:hover { color: #fff; }
.sp-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; font-size: 0.85rem; }

/* Track page hero helper */
.sp-hero-track {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
  padding: 100px 20px 60px; text-align: center; color: #fff;
  margin: -20px -20px 0; /* optional if inside content */
}
.sp-hero-track h1 { font-size: 2.25rem; font-weight: 800; margin: 0 0 10px; }
.sp-hero-track p { color: rgba(219,234,254,0.9); margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .sp-hero-grid, .sp-cards-3, .sp-steps, .sp-pricing, .sp-form-grid, .sp-footer-grid, .sp-stats-grid {
    grid-template-columns: 1fr;
  }
  .sp-pricing { max-width: 400px; }
  .sp-price-featured { transform: none; }
  .sp-nav { display: none; }
  .sp-menu-toggle { display: block; }
  .hide-mobile { display: none !important; }
  .sp-stats-grid { grid-template-columns: 1fr 1fr; }
  .sp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .sp-stats-grid { grid-template-columns: 1fr 1fr; }
  .sp-footer-grid { grid-template-columns: 1fr; }
  .sp-form-row { grid-template-columns: 1fr; }
}
