/* ============================================
   GnawClaw — Premium Design System
   Obsidian Black + Amber Accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0a;
  --bg-card:  #111111;
  --bg-card2: #141414;
  --bg-pop:   #0f0f0f;
  --border:   #1e1e1e;
  --border-2: #2a2a2a;
  --text:     #f2f2f2;
  --muted:    #6b6b6b;
  --muted-2:  #a0a0a0;
  --accent:   #f5a623;
  --accent-2: #ff6a00;
  --success:  #22c55e;
  --radius:   14px;
  --radius-lg:20px;
  --radius-xl:28px;
  --nav-h:    64px;
  --content:  1200px;
  --shadow:   0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --glow:     0 0 0 1px rgba(245,166,35,.35), 0 8px 32px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* --- Layout --- */
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.2; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted-2);
  max-width: 60ch;
  line-height: 1.7;
}

.muted { color: var(--muted); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG logo icon — rendered inline via ::before pseudo trick replaced by inline SVG in HTML */

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); transition: color .15s; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

/* --- Buttons --- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 100px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #111;
  color: #fff;
  border: 2px solid rgba(255,255,255,.18);
}

.btn-primary:hover {
  border-color: rgba(255,255,255,.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.btn-amber {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(245,166,35,.25);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--muted-2);
  border: 1px solid var(--border-2);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,.2);
  color: var(--text);
}

/* --- Cards --- */
.card {
  background: linear-gradient(180deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,166,35,.3);
  box-shadow: var(--glow);
}

/* --- Grids --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stack  { display: grid; gap: 16px; }

/* --- Tags & Badges --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.2);
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
}

/* --- Product Kit Cards --- */
.kit-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.kit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,.35);
  box-shadow: 0 0 0 1px rgba(245,166,35,.2), 0 16px 48px rgba(0,0,0,.5);
}

.kit-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.kit-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #141414, #1a1a1a);
  font-size: 28px;
  color: var(--accent);
}

.kit-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kit-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.kit-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.kit-card-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.kit-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
  flex-wrap: nowrap;
}

.kit-card-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.kit-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
}

.kit-cta:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.kit-cta:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px); }

/* --- Hero --- */
.hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(245,166,35,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* --- Impact header --- */
.impact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(245,166,35,.06), rgba(255,106,0,.03));
  border: 1px solid rgba(245,166,35,.15);
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
}

.price-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-big { font-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.price-label { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* --- Kits grid --- */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

/* --- Services / Tier cards --- */
.tier {
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tier:hover {
  transform: translateY(-3px);
  border-color: rgba(245,166,35,.3);
  box-shadow: var(--glow);
}

.tier.featured {
  border-color: rgba(245,166,35,.3);
  background: linear-gradient(180deg, rgba(245,166,35,.05), #111);
}

.price-display { font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; }

.checklist { display: grid; gap: 10px; list-style: none; }
.checklist li {
  display: flex;
  gap: 10px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.5;
}
.checklist li::before { content: '✓'; color: var(--success); font-weight: 900; flex-shrink: 0; }

/* --- Proof / testimonial --- */
.proof-card {
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* --- Store layout --- */
.store-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 28px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* --- Stats strip --- */
.stats-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,.02);
  font-size: 13px;
  color: var(--muted-2);
}

.stat-chip strong { color: var(--text); font-weight: 700; }

/* --- FAQ accordion --- */
.faq-item {
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}

.faq-item[open] { border-color: rgba(245,166,35,.25); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-body {
  padding: 0 24px 20px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); transition: color .15s; }

/* --- Section head --- */
.section-head {
  margin-bottom: 32px;
}

.section-head .sub { margin-top: 10px; }

/* --- Glass panel --- */
.panel {
  background: linear-gradient(180deg, #141414, #111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* --- How it works steps --- */
.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #000;
  flex-shrink: 0;
}

.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--muted-2); font-size: 14px; line-height: 1.65; }

/* --- Mobile nav overlay --- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 24px; font-weight: 800; color: var(--text); text-decoration: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 28px;
  cursor: pointer;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kits-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .store-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .impact-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .kits-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .pill { width: 100%; justify-content: center; }
}
