/* ============================================================
   Shipbob Fulfillment — Global Styles
   ============================================================ */
:root {
  --navy: #0a2540;
  --navy-2: #12325b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0d9488;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --bg: #f4f7fb;
  --bg-soft: #eaf0f8;
  --panel: #ffffff;
  --text: #212936;
  --muted: #5b6b80;
  --border: #dbe4ef;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --shadow-sm: 0 3px 12px rgba(10, 37, 64, .07);
  --max: 1180px;
  --font: Inter, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--panel);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .45em; }
p { margin-bottom: 1em; }
ul, ol { padding-left: 1.25em; margin-bottom: 1em; }
li { margin-bottom: .35em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 78px 0; }
.section-alt { background: var(--bg); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #dce7f5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 720px; }
.section-navy .lead { color: #b9c9de; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.18rem; }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--blue); }
.brand:hover { color: var(--navy); }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; margin: 0; }
.main-nav a.nav-link, .main-nav > ul > li > a {
  display: block; padding: 10px 13px; color: var(--text); font-weight: 600; font-size: .93rem;
  border-radius: 8px;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--blue); background: var(--bg-soft); }
.nav-cta a { padding: 10px 20px !important; }
.has-dropdown > a::after { content: "▾"; font-size: .7em; margin-left: 6px; color: var(--muted); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; display: none !important;
  flex-direction: column; gap: 0 !important;
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 10px 14px; color: var(--text); font-size: .9rem; font-weight: 600; border-radius: 7px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex !important; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.hamburger span { display: block; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #10315e 55%, #144a7c 100%);
  color: #e7eef8; padding: 90px 0 80px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%); pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 640px; }
.hero p { color: #bfcfe4; font-size: 1.12rem; max-width: 580px; margin-bottom: 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img { filter: drop-shadow(0 18px 40px rgba(0,0,0,.3)); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; position: relative; z-index: 1; }
.stat-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(4px);
}
.stat-card .num { font-size: 1.7rem; font-weight: 800; color: #fff; }
.stat-card .lbl { font-size: .8rem; color: #a9bdd6; text-transform: uppercase; letter-spacing: .06em; }
.demo-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(13,148,136,.25); color: #7ee2d6; border: 1px solid rgba(126,226,214,.4);
  padding: 3px 10px; border-radius: 999px; margin-top: 8px;
}

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #d7e3f2; padding: 72px 0; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #b7c8de; max-width: 680px; font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; color: #8fa8c6; margin-bottom: 18px; }
.breadcrumb a { color: #b7c8de; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon-badge img { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .card-link { font-weight: 700; font-size: .9rem; margin-top: 10px; }
.card .card-link::after { content: " →"; }

/* ---------- Trust badges ---------- */
.trust-strip { padding: 44px 0; border-bottom: 1px solid var(--border); }
.trust-strip .badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.badge-text {
  border: 1px solid var(--border); background: var(--panel); border-radius: 999px;
  padding: 9px 22px; font-weight: 700; color: var(--muted); font-size: .92rem;
}
.trust-strip .caption { text-align: center; font-size: .82rem; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- Dashboard preview ---------- */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px;
}
.metric .num { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.metric .lbl { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.metric .delta-up { color: var(--green); font-size: .8rem; font-weight: 700; }
.metric .delta-warn { color: var(--amber); font-size: .8rem; font-weight: 700; }

/* ---------- Status pills ---------- */
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-blue { background: #dbeafe; color: #1e40af; }
.pill-red { background: #fee2e2; color: #991b1b; }
.pill-gray { background: #e5e9f0; color: #475569; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; padding: 13px 16px; background: var(--bg); color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #f8fafd; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue), #1e40af); border-radius: var(--radius); padding: 56px; text-align: center; color: #eaf1ff; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 26px; color: #cfddff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bdd6; padding: 70px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 38px; height: 38px; margin-bottom: 14px; }
.footer-brand .fname { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.footer-brand p { font-size: .88rem; }
.footer-contact { font-size: .88rem; margin-top: 16px; line-height: 1.9; }
.footer-contact strong { color: #dce7f5; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a9bdd6; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #c9d8ec; font-weight: 700; font-size: .78rem;
}
.social-row a:hover { background: var(--blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-disclaimer { font-size: .78rem; color: #7e94b3; padding: 14px 0 22px; max-width: 900px; }

/* ---------- Notices ---------- */
.notice {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: .9rem; margin: 24px 0;
}
.notice-blue { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--panel); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: .98rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font); }
.faq-q::after { content: "+"; font-size: 1.3rem; color: var(--blue); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: .93rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Filters / search ---------- */
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 34px; }
.filter-bar input[type="search"], .filter-bar select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .92rem; background: var(--panel); color: var(--text);
}
.filter-bar input[type="search"] { flex: 1; min-width: 220px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: .85rem; font-weight: 600; cursor: pointer; font-family: var(--font); }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); display: none; }
