/* ── COURIERIFY — DESIGN SYSTEM v2 ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0C3537;
  --bg-deep:    #07292A;
  --bg-surface: #0F3E40;
  --bg-card:    #112E30;
  --border:     rgba(255,255,255,0.07);
  --border-hi:  rgba(46,217,195,0.22);
  --teal:       #2ED9C3;
  --teal-dim:   #1BAF9A;
  --blue:       #2B8BF0;
  --blue-hi:    #4FA3FF;
  --white:      #F0FAFB;
  --muted:      rgba(240,250,251,0.48);
  --muted-hi:   rgba(240,250,251,0.72);
  --heading:    'Space Grotesk', sans-serif;
  --body:       'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p { text-wrap: pretty; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--teal-dim); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--heading); letter-spacing: -0.02em; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 11px 22px; border-radius: 8px;
  font-family: var(--body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .18s, transform .14s, box-shadow .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.btn-primary:hover { background: var(--blue-hi); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(43,139,240,0.3); }
.btn-primary-lg { font-size: 0.95rem; padding: 13px 28px; border-radius: 9px; }

.btn-ghost {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted-hi); padding: 10px 20px; border-radius: 8px;
  font-family: var(--body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color .18s, color .18s, background .18s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.22); color: var(--white); background: rgba(255,255,255,0.04); }
.btn-ghost-lg { font-size: 0.95rem; padding: 12px 26px; border-radius: 9px; }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 62px;
  background: rgba(7,41,42,0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 28px; width: auto; border-radius: 5px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.84rem; font-weight: 400;
  transition: color .18s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 500; }
.nav-ctas { display: flex; gap: 8px; align-items: center; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle svg { stroke: var(--muted-hi); }
.mobile-nav {
  display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 199;
  background: rgba(7,41,42,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 20px 5% 28px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.mobile-nav ul a { display: block; padding: 12px 0; color: var(--muted-hi); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.mobile-nav .mobile-ctas { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav .mobile-ctas a { width: 100%; justify-content: center; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 5% 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.8rem; color: var(--muted); margin-top: 14px; line-height: 1.75; max-width: 260px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo img { height: 26px; border-radius: 4px; }
.shopify-badge {
  display: inline-block; margin-top: 16px;
  background: rgba(149,191,71,0.1); border: 1px solid rgba(149,191,71,0.2);
  color: #95bf47; border-radius: 5px; padding: 3px 9px;
  font-size: 0.7rem; font-weight: 500;
}
.footer-col h4 { font-family: var(--heading); font-size: 0.75rem; font-weight: 600; color: var(--white); margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.6; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--muted); text-decoration: none; margin-bottom: 9px; transition: color .18s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.74rem; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* ── SECTIONS ── */
.section-wrap { padding: 96px 5%; }
.section-wrap.dark { background: var(--bg-deep); }
.section-wrap.surface { background: var(--bg-surface); }
.inner { max-width: 1160px; margin: 0 auto; }

.eyebrow {
  font-family: var(--body); font-size: 0.72rem; font-weight: 500;
  color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-bottom: 16px;
}
.section-title {
  font-family: var(--heading); font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
}
.section-sub {
  font-size: 1rem; color: var(--muted); margin-top: 16px;
  line-height: 1.8; max-width: 520px;
}
.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ── CARD ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  transition: border-color .2s, transform .18s;
}
.card:hover { border-color: var(--border-hi); transform: translateY(-2px); }

/* ── CTA BANNER ── */
.cta-banner {
  text-align: center; padding: 96px 5%; position: relative; overflow: hidden;
  background: var(--bg-deep); border-top: 1px solid var(--border);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 100%, rgba(43,139,240,0.08), transparent);
  pointer-events: none;
}
.cta-banner h2 { font-family: var(--heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; position: relative; }
.cta-banner p { color: var(--muted); margin: 16px auto 36px; max-width: 460px; position: relative; font-size: 0.95rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }

/* ── MISC ── */
.teal { color: var(--teal); }
.blue { color: var(--blue-hi); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-wrap { padding: 72px 5%; }
}
