/* ═══════════════════════════════════════════
   KinkStock — Warm Black · Amber Gold · Cream
   Fraunces (serif display) + Instrument Sans
═══════════════════════════════════════════ */

:root {
  --bg:         #0D0D0D;
  --bg-2:       #141414;
  --bg-3:       #1C1A17;
  --accent:     #E8A23A;
  --accent-dim: #B87A22;
  --text:       #F5EFE0;
  --text-muted: #A09070;
  --text-dim:   #6B5E47;
  --border:     #2A2520;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

/* ── Typography ── */
.display { font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.heading  { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.2; }
.label    { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }

/* ── Section base ── */
.section { padding: 6rem 1.5rem; }
.container { max-width: 1140px; margin: 0 auto; }

/* ── Accent line ── */
.accent-rule { width: 3rem; height: 2px; background: var(--accent); display: inline-block; margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 0; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(232,162,58,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(232,162,58,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 8rem 1.5rem 6rem; max-width: 1140px; margin: 0 auto; width: 100%; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,162,58,0.08); border: 1px solid rgba(232,162,58,0.25);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.78rem; color: var(--accent); margin-bottom: 1.75rem;
}
.hero-badge span { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-family: 'Fraunces', Georgia, serif; font-weight: 900;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-title .gold { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 1.2rem; color: var(--text-muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-pill {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.82rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem;
}
.hero-pill::before { content: '✦'; color: var(--accent); font-size: 0.65rem; }

/* Hero visual — ambient product matrix */
.hero-visual {
  position: relative; height: 520px; display: flex; align-items: center; justify-content: center;
}
.hv-frame {
  width: 100%; height: 100%; border: 1px solid var(--border);
  border-radius: 16px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hv-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,162,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,162,58,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hv-glow {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,162,58,0.12) 0%, transparent 70%);
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hv-products {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center;
}
.hv-row { display: flex; gap: 1rem; align-items: flex-end; }
.hv-box {
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-3);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0.75rem 0.5rem 0.5rem; gap: 0.4rem;
  font-size: 0.65rem; color: var(--text-dim); font-family: 'Instrument Sans', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hv-box.amber { border-color: rgba(232,162,58,0.3); box-shadow: 0 0 12px rgba(232,162,58,0.08); }
.hv-bar { width: 32px; border-radius: 2px; background: var(--bg); border: 1px solid var(--border); }
.hv-bar-fill { border-radius: 2px; background: var(--accent); }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hv-alert {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
  background: rgba(232,162,58,0.1); border: 1px solid rgba(232,162,58,0.3);
  border-radius: 999px; padding: 0.4rem 0.75rem;
  font-size: 0.68rem; color: var(--accent); font-family: 'Instrument Sans', sans-serif;
  display: flex; align-items: center; gap: 0.35rem; font-weight: 500;
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.stats { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5rem 1.5rem; }
.stats-inner { max-width: 1140px; margin: 0 auto; }
.stats-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-item {}
.stat-num {
  font-family: 'Fraunces', Georgia, serif; font-size: 3rem; font-weight: 700;
  color: var(--text); line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.stat-num .a { color: var(--accent); font-style: italic; }
.stat-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.stat-rule { width: 100%; height: 1px; background: var(--border); margin: 2.5rem 0; }

/* ═══════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════ */
.problem { padding: 7rem 1.5rem; }
.problem-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.problem-left {}
.problem-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.problem-title {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem,3.5vw,2.8rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.problem-body { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; }
.problem-right { display: flex; flex-direction: column; gap: 0; }
.pain-card {
  padding: 1.75rem; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg-2); margin-bottom: 1rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: border-color 0.2s;
}
.pain-card:hover { border-color: rgba(232,162,58,0.25); }
.pain-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.pain-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.pain-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features { padding: 7rem 1.5rem; background: var(--bg-2); }
.features-inner { max-width: 1140px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 4.5rem; }
.features-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.features-title {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem,3.5vw,2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.feat-card {
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  overflow: hidden; transition: border-color 0.3s;
}
.feat-card:hover { border-color: rgba(232,162,58,0.3); }
.feat-visual { height: 200px; position: relative; overflow: hidden; background: var(--bg-3); }
.feat-visual-inner {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* Dashboard visual for feature 1 */
.feat-dash {
  width: 90%; height: 85%; border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg-2); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.feat-dash-header { display: flex; justify-content: space-between; align-items: center; }
.feat-dash-title { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.feat-dash-badge { background: rgba(232,162,58,0.15); color: var(--accent); font-size: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 999px; font-weight: 600; }
.feat-dash-items { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; }
.feat-dash-row { display: flex; align-items: center; gap: 0.5rem; }
.feat-dash-label { font-size: 0.65rem; color: var(--text-muted); width: 80px; flex-shrink: 0; }
.feat-dash-bar { flex: 1; height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.feat-dash-fill { height: 100%; border-radius: 3px; }
/* Owner visual for feature 2 */
.feat-owner {
  width: 90%; height: 85%; border-radius: 6px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.feat-owner-silhouette {
  width: 80px; height: 120px; background: var(--bg-3); border-radius: 8px 8px 0 0;
  display: flex; flex-direction: column; align-items: center; padding-top: 12px;
}
.feat-owner-head { width: 32px; height: 32px; border-radius: 50%; background: var(--border); }
.feat-owner-body { width: 48px; height: 72px; background: var(--accent-dim); border-radius: 4px; margin-top: 6px; }
.feat-owner-shelf {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, var(--bg-3), transparent);
  display: flex; gap: 0.5rem; padding: 0.5rem 1rem; align-items: flex-end;
}
.feat-owner-prod { width: 24px; border-radius: 3px; }
/* Network visual for feature 3 */
.feat-network { width: 100%; height: 100%; position: relative; }
.feat-network svg { width: 100%; height: 100%; }
.feat-body { padding: 1.5rem; }
.feat-num { font-size: 0.65rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.feat-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; line-height: 1.25; }
.feat-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how { padding: 7rem 1.5rem; }
.how-inner { max-width: 1140px; margin: 0 auto; }
.how-header { margin-bottom: 4rem; }
.how-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.how-title {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem,3.5vw,2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step { padding: 2rem 2rem 2rem 0; position: relative; }
.step::after {
  content: ''; position: absolute; top: 2.5rem; right: 0;
  width: 2rem; height: 1px; background: var(--border);
}
.step:last-child::after { display: none; }
.step-num { font-size: 0.65rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.step-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.step-rule { width: 2.5rem; height: 2px; background: var(--accent); margin-bottom: 1rem; display: inline-block; }

/* ═══════════════════════════════════════════
   PHILOSOPHY
═══════════════════════════════════════════ */
.philosophy { padding: 7rem 1.5rem; background: var(--bg-2); }
.philosophy-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.philosophy-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; display: block; }
.philosophy-quote {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 400; font-style: italic; line-height: 1.4; color: var(--text);
  margin-bottom: 2rem; letter-spacing: -0.01em;
}
.philosophy-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; max-width: 580px; margin: 0 auto 3rem; }
.philosophy-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.phil-badge {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.45rem 1rem;
  font-size: 0.78rem; color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CLOSING
═══════════════════════════════════════════ */
.closing { padding: 7rem 1.5rem; text-align: center; }
.closing-inner { max-width: 780px; margin: 0 auto; }
.closing-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; display: block; }
.closing-title {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.2rem,4vw,3.5rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.closing-title .gold { color: var(--accent); font-style: italic; }
.closing-body { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 3rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-tagline {
  font-family: 'Fraunces', Georgia, serif; font-size: 0.9rem;
  color: var(--accent-dim); font-style: italic;
  border-top: 1px solid var(--border); padding-top: 2.5rem; margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.footer-brand { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.footer-brand span { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding: 6rem 1.5rem 4rem; }
  .hero-visual { height: 280px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .problem-inner { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 0.75rem; text-align: center; }
}