/* ============================================================
   InstaBoost — stylesheet
   Deep navy + cobalt blue + amber/gold build.
   ============================================================ */

:root {
  --ink: #0a0f2e;
  --ink-2: #162054;
  --muted: #636b8c;
  --line: #e4e8f8;
  --bg: #ffffff;
  --bg-soft: #f5f7ff;
  --bg-deep: #06091e;

  --blue: #1b4fff;
  --blue-d: #1340d9;
  --blue-bright: #4f7aff;
  --blue-soft: #e8eeff;

  --gold: #f59e0b;
  --gold-soft: #fef3c7;
  --gold-bright: #fbbf24;
  --gold-deep: #d97706;

  --grad: linear-gradient(135deg, #1b4fff 0%, #1b4fff 100%);
  --grad-bright: linear-gradient(120deg, #fbbf24 0%, #f59e0b 35%, #1b4fff 70%, #4f7aff 100%);

  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 34px;
  --sh-sm: 0 2px 8px rgba(10,15,46,0.06);
  --sh: 0 14px 40px rgba(10,15,46,0.10);
  --sh-lg: 0 30px 70px rgba(10,15,46,0.16);
  --sh-glow: 0 14px 40px rgba(27,79,255,0.32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1,h2,h3,h4 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.section { padding: 70px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.h2 { font-size: clamp(32px, 5.2vw, 52px); color: var(--ink); margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.65; }
.center .lead { margin-left: auto; margin-right: auto; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  position: relative; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(27,79,255,0.42); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-light:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 18px 38px; font-size: 16px; }
.btn-full { width: 100%; }
.btn:disabled { background: #e4e8f8; color: #636b8c; box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 17px; letter-spacing: -0.025em;
  color: var(--ink); text-decoration: none;
}
.logo-mark { display: flex; align-items: center; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 7px 13px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 17px; background: var(--grad); color: #fff;
  border-radius: 999px; font-size: 13.5px; font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(27,79,255,0.3);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(27,79,255,0.4); }
@media (max-width: 768px) { .header-cta { display: none; } }

/* Cart button */
.cart-btn {
  position: relative; width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-soft); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.cart-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.cart-btn:hover { background: var(--blue-soft); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 4px; padding: 6px; border-radius: 8px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
@media (max-width: 768px) { .hamburger { display: flex; } .nav { display: none; } }

/* Drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,15,46,0.4); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer { position: fixed; top: 0; right: 0; width: min(320px, 90vw); height: 100%; background: #fff; z-index: 200; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); padding: 24px; display: flex; flex-direction: column; gap: 24px; box-shadow: -4px 0 40px rgba(10,15,46,0.12); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--muted); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a { font-size: 16px; font-weight: 600; color: var(--ink); padding: 11px 14px; border-radius: 10px; }
.drawer-links a:hover { background: var(--bg-soft); }
.drawer .btn { margin-top: auto; }

/* ---------- Cart drawer ---------- */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(10,15,46,0.4); z-index: 299; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-drawer-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; width: min(380px, 96vw); height: 100%; background: #fff; z-index: 300; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -4px 0 40px rgba(10,15,46,0.12); }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 800; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0; color: var(--muted); }
.cart-empty svg { width: 32px; height: 32px; stroke: var(--muted); }
.cart-empty p { font-size: 15px; font-weight: 500; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-item-ico { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-ico svg { width: 18px; height: 18px; }
.bg-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 700; font-size: 14px; }
.cart-item-meta { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 800; margin-top: 4px; }
.cart-item-remove { width: 26px; height: 26px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: background .15s, color .15s; }
.cart-item-remove:hover { background: #fee2e2; color: #ef4444; }
.cart-foot { padding: 16px 22px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.cart-note { font-size: 12px; color: var(--muted); text-align: center; }
.cart-goal { padding: 12px 22px; background: var(--blue-soft); border-bottom: 1px solid var(--line); }
.cart-goal-text { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cart-goal-track { height: 4px; background: #bbf7d0; border-radius: 999px; overflow: hidden; }
.cart-goal-fill { height: 100%; background: var(--blue); border-radius: 999px; transition: width .4s ease; }
.cart-goal.done .cart-goal-text { color: var(--blue-d); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 9999; opacity: 0; transition: opacity .25s, transform .25s; white-space: nowrap; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #ef4444; }
.toast.success { background: var(--blue); }

/* ---------- Announce bar ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px 16px; letter-spacing: 0.02em; }
.announce em { color: var(--gold-bright); font-style: normal; }
.announce a { color: var(--lime); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 32px; }
.sf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
@media (max-width: 840px) { .sf-split { grid-template-columns: 1fr; gap: 40px; } }
.sf-headline { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 32px; color: #fff; }
.sf-headline em { font-style: normal; background: linear-gradient(120deg, #fbbf24, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-cols-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
@media (max-width: 640px) { .sf-cols-row { grid-template-columns: repeat(2, 1fr); } }
.sf-col { display: flex; flex-direction: column; gap: 8px; }
.sf-col h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.sf-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color .15s; }
.sf-col a:hover { color: #fff; }
.sf-copy { font-size: 12.5px; color: rgba(255,255,255,0.35); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.sf-right { display: flex; flex-direction: column; justify-content: space-between; }
.sf-news-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; color: var(--gold-bright); margin-bottom: 8px; }
.sf-news-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.sf-news-sub { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 20px; }
.sf-news-form { display: flex; gap: 8px; }
.sf-news-form input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 14px; outline: none; transition: border-color .15s; }
.sf-news-form input:focus { border-color: var(--gold-bright); }
.sf-news-form button { background: var(--grad); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; transition: opacity .15s; }
.sf-news-form button:hover { opacity: 0.9; }
.sf-news-msg { font-size: 13px; color: var(--gold-bright); margin-top: 10px; min-height: 18px; }
.sf-right-meta { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 20px; }

/* ---------- Order modal ---------- */
.om-overlay { position: fixed; inset: 0; background: rgba(10,15,46,0.55); backdrop-filter: blur(4px); z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.om-overlay.open { opacity: 1; pointer-events: all; }
.om-dialog { background: #fff; border-radius: 22px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 30px 80px rgba(10,15,46,0.25); }
.om-dialog.om-wide { max-width: 680px; }
.om-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-soft); color: var(--muted); font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 1; transition: background .15s; }
.om-close:hover { background: var(--blue-soft); color: var(--blue); }
.om-body { padding: 28px 28px 24px; }
.om-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.om-sum { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--ink); }
.om-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; display: block; }
.om-field { display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 11px; padding: 0 4px 0 12px; transition: border-color .15s; }
.om-field:focus-within { border-color: var(--blue); }
.om-prefix { font-size: 14px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.om-field input { flex: 1; background: transparent; border: none; outline: none; color: var(--ink); padding: 12px 8px; font-size: 16px; font-family: ui-monospace, Menlo, monospace; min-width: 0; }
.om-err { font-size: 12px; color: #ef4444; font-weight: 500; margin: 6px 2px 0; min-height: 16px; }
.om-next { width: 100%; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; transition: opacity .15s, transform .15s; }
.om-next:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.om-next:disabled { background: var(--blue-soft); color: #636b8c; cursor: not-allowed; }
.om-safe { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.om-back { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-bottom: 14px; padding: 0; }
.om-back:hover { color: var(--ink); }
.om-hint { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.om-hint b { color: var(--ink); }
.om-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.om-dialog.om-wide .om-grid { grid-template-columns: repeat(4, 1fr); }
.om-post { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.om-post img { width: 100%; height: 100%; object-fit: cover; }
.om-post.sel { border-color: var(--blue); }
.om-post-check { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: none; align-items: center; justify-content: center; }
.om-post.sel .om-post-check { display: flex; }
.om-post-check svg { width: 11px; height: 11px; }
.om-post-meta { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,15,46,0.7)); color: #fff; font-size: 10px; font-weight: 700; padding: 12px 6px 5px; text-align: center; }
.om-post.om-post-noimg { background: var(--bg-soft); }
.om-loading, .om-empty { text-align: center; padding: 32px 16px; color: var(--muted); font-size: 14px; grid-column: 1/-1; }
.om-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: om-spin .7s linear infinite; margin-right: 6px; vertical-align: -3px; }
@keyframes om-spin { to { transform: rotate(360deg); } }
.om-split { font-size: 13px; color: var(--muted); margin-bottom: 12px; background: var(--bg-soft); border-radius: 8px; padding: 8px 12px; }
.om-split b { color: var(--ink); }
.om-split.om-split-cap { color: var(--gold); background: var(--gold-soft); }
.om-pv { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-soft); border-radius: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.om-pv-msg { font-style: italic; }
.om-pv-bad { color: #ef4444; background: #fef2f2; }
.om-pv-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.om-av-fallback { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; background: linear-gradient(135deg,#F58529,#DD2A7B 50%,#8134AF); }
.om-pv-id { flex: 1; min-width: 0; }
.om-pv-name { font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-pv-stat { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.om-pv-v { color: #0ea5e9; }
.om-pv-ok { color: var(--blue); font-weight: 800; font-size: 15px; flex-shrink: 0; }
.om-acct { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.om-acct-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.om-acct-tx b { color: var(--ink); }
.om-av-broken { display: none; }

/* verify-handle empty state */
.uv-empty { padding: 20px 14px; text-align: center; }
.uv-empty-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(251,191,36,0.12); margin-bottom: 10px; }
.uv-empty-ic svg { width: 24px; height: 24px; stroke: #fbbf24; }
.uv-empty-t { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.uv-empty-s { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.45; }
