/* ============================================
   PackSafe / The Ripper Design System
   Dark base, bold orange/yellow accents,
   collector energy, mobile-first.
   ============================================ */

:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --surface-2: #1c1c27;
  --border: #2b2b3a;
  --text: #f4f4f8;
  --muted: #a2a2b5;
  --orange: #ff6b1a;
  --orange-dark: #e05500;
  --yellow: #ffc93c;
  --blue: #38b6ff;
  --blue-dark: #1d90d6;
  --red: #ff3355;
  --radius: 14px;
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2.2rem, 8vw, 4rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.05rem, 3.5vw, 1.3rem); margin-bottom: 10px; }

.accent-orange { color: var(--orange); }
.accent-yellow { color: var(--yellow); }
.accent-blue { color: var(--blue); }

p.lead { font-size: clamp(1.05rem, 3vw, 1.25rem); color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--yellow);
  color: #14100a;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.3px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo .brand-pack { color: var(--text); }
.logo .brand-safe { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--yellow); text-decoration: none; }
.nav-cta {
  background: var(--orange);
  color: #14100a !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 800 !important;
}
.nav-cta:hover { background: var(--yellow); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 2px solid var(--orange);
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 28px;
  min-height: 54px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-orange {
  background: var(--orange);
  color: #14100a;
  box-shadow: 0 4px 0 var(--orange-dark);
}
.btn-orange:hover { background: #ff7d35; }

.btn-blue {
  background: var(--blue);
  color: #06131c;
  box-shadow: 0 4px 0 var(--blue-dark);
}
.btn-blue:hover { background: #55c2ff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-block { width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 999px;
}
.badge-outline-orange { border: 2px solid var(--orange); color: var(--orange); }
.badge-outline-blue { border: 2px solid var(--blue); color: var(--blue); }
.badge-yellow { background: var(--yellow); color: #14100a; }
.badge-sticker {
  background: var(--yellow);
  color: #14100a;
  transform: rotate(-3deg);
  font-size: 0.85rem;
  padding: 8px 18px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-dark { background: var(--bg); }
.section-surface { background: var(--surface); }

.section-label {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 10px;
}

/* Torn-wrapper zigzag divider */
.rip-divider { display: block; width: 100%; height: 22px; }

/* Halftone pop-art dots */
.halftone { position: relative; overflow: hidden; }
.halftone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
}
.halftone > * { position: relative; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 56px; text-align: center; }
.hero h1 { margin: 14px 0 6px; }
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.7rem);
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hero .sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 1.02rem;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* Hero video panel */
.video-panel {
  max-width: 720px;
  margin: 26px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-panel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 107, 26, 0.12), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(56, 182, 255, 0.10), transparent 55%),
    var(--surface-2);
}
.video-placeholder .play-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder .play-ring svg { width: 26px; height: 26px; margin-left: 4px; }
.video-placeholder p { color: var(--muted); font-weight: 600; font-size: 0.9rem; }

/* ---------- Choice boxes ---------- */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .choice-grid { grid-template-columns: 1fr; } }

.choice-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.choice-card:hover { transform: translateY(-3px); }
.choice-card.collector:hover { border-color: var(--orange); }
.choice-card.shop:hover { border-color: var(--blue); }
.choice-card .icon { width: 46px; height: 46px; }
.choice-card p { color: var(--muted); flex-grow: 1; }
.choice-card .btn { margin-top: 6px; }

/* ---------- Steps (How it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--orange);
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { color: var(--text); }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 24px 22px;
  border-left: 4px solid var(--orange);
}
.benefit h3 { font-size: 1rem; }
.benefit p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Shop strip ---------- */
.shop-strip {
  background: linear-gradient(135deg, #0d1b26 0%, #10131f 100%);
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}
.shop-strip .section-label { color: var(--blue); }

/* ---------- Status / Founder batch ---------- */
.status-card {
  background: var(--surface);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.status-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  text-align: left;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 10px;
  font-size: 0.95rem;
}
.status-row .k { color: var(--muted); font-weight: 600; }
.status-row .v { font-weight: 800; color: var(--yellow); text-align: right; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--orange);
  font-size: 1.3rem;
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: "×"; }
details.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.field textarea { min-height: 100px; resize: vertical; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.check-row input { width: 20px; height: 20px; accent-color: var(--orange); }

.inline-signup {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 20px auto 0;
}
.inline-signup input {
  flex: 1;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  padding: 14px 16px;
  min-width: 0;
}
.inline-signup input:focus { outline: none; border-color: var(--orange); }
@media (max-width: 560px) {
  .inline-signup { flex-direction: column; }
}

.form-success {
  display: none;
  background: rgba(63, 185, 80, 0.1);
  border: 2px solid #3fb950;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  font-weight: 700;
  color: #7ee29a;
}
.form-success.show { display: block; }
.form-hide-on-success.hidden { display: none; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Offer table (wholesale) ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.offer {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer.featured { border-color: var(--blue); position: relative; }
.offer .units {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.offer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.93rem; }
.offer ul li { padding-left: 22px; position: relative; }
.offer ul li::before { content: "✓"; color: var(--blue); position: absolute; left: 0; font-weight: 800; }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .product-hero { grid-template-columns: 1fr; } }
.product-visual {
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 107, 26, 0.16), transparent 60%),
    var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.price-line {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--yellow);
  margin: 10px 0;
}

/* ---------- Simple content pages (policies etc.) ---------- */
.page-content { padding: 56px 0 80px; }
.page-content h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 8px; }
.page-content .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 34px; }
.page-content h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.page-content p, .page-content li { color: var(--muted); margin-bottom: 12px; }
.page-content ul { padding-left: 22px; }
.placeholder-note {
  background: rgba(255, 201, 60, 0.08);
  border: 1px dashed var(--yellow);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--yellow);
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  color: var(--text);
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 300px; margin-top: 10px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}
