/* ==========================================================================
   VeloHUB marketing site - shared design system
   Brand: violet #7c3aed (matches velocouriersvc.com), slate neutrals, Poppins.
   ========================================================================== */

:root {
  --brand: #7c3aed;
  --brand-600: #6d28d9;
  --brand-700: #5b21b6;
  --brand-accent: #a216d4;
  --brand-soft: #f5f3ff;
  --brand-grad: linear-gradient(135deg, #7c3aed 0%, #a216d4 100%);

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;

  --green: #16a34a;
  --amber: #f59e0b;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --maxw: 1160px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.bg-soft { background: var(--bg-2); }
.bg-ink { background: var(--ink); color: #e2e8f0; }
.center { text-align: center; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, .28); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-grad); display: grid; place-items: center; color: #fff; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, #ede9fe 0%, transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 84px 0 72px; }
.hero h1 span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-art { background: var(--brand-grad); border-radius: var(--radius-lg); aspect-ratio: 4/3; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: #fff; padding: 28px; }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd6fe; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-600); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Persona cards */
.persona-card { display: flex; flex-direction: column; gap: 10px; }
.persona-card .btn { margin-top: auto; }

/* Pills / tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; cursor: pointer; font-size: .95rem; }
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.matrix th, .matrix td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th { background: var(--bg-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix .em { color: var(--brand-600); font-weight: 700; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; }
.alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Banner */
.banner { background: var(--brand-grad); color: #fff; padding: 14px 0; }
.banner .container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: center; text-align: center; }
.store-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #94a3b8; padding: 64px 0 28px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .92rem; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; }

/* Legal / long-form */
.legal { max-width: 880px; }
.legal h2 { font-size: 1.35rem; margin-top: 38px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin-top: 22px; color: var(--ink); }
.legal ul { padding-left: 20px; color: var(--ink-2); }
.legal li { margin-bottom: 8px; }
.legal .meta { color: var(--muted); font-style: italic; margin-bottom: 24px; }
.legal .highlight-box { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 10px; padding: 20px 22px; margin: 24px 0; }
.legal .highlight-box h2 { border: 0; margin-top: 0; }

.utility-bar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 16px;
  }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
