:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --border: #252525;
  --text: #F5F4F0;
  --muted: #7A7A7A;
  --accent: #CAFF00;
  --accent-dim: rgba(202, 255, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.display {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 48ch; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

section { padding: 5rem 0; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav-note { font-size: 0.8rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 0.25rem 0.65rem; border-radius: 100px; }

/* ── Hero ── */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(202,255,0,0.2);
  border-radius: 100px; padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.tag {
  font-size: 0.75rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0.3rem 0.7rem;
}

/* ── Widget Mockup ── */
.mockup-wrap { position: relative; }
.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #1A1A1A;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FFBD2E; } .dot-g { background: #27C93F; }
.browser-url {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.3rem 0.7rem;
  font-size: 0.72rem; color: var(--muted); margin-left: 0.5rem;
}
.browser-body { padding: 1.5rem; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; }

/* Product cards in mockup */
.mock-products { display: flex; flex-direction: column; gap: 0.6rem; }
.mock-product {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 0.8rem;
  transition: all 0.25s;
}
.mock-product.highlighted {
  border-color: var(--accent);
  background: rgba(202,255,0,0.05);
  box-shadow: 0 0 0 1px var(--accent);
}
.mock-product.dimmed { opacity: 0.4; }
.mock-thumb {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--surface); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--muted);
}
.mock-pname { font-size: 0.78rem; font-weight: 600; }
.mock-price { font-size: 0.72rem; color: var(--muted); margin-left: auto; }

/* SiteBridge widget panel */
.widget-panel {
  position: absolute;
  bottom: -20px; right: -16px;
  width: 240px;
  background: #1E1E1E;
  border: 1px solid rgba(202,255,0,0.25);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}
.widget-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.widget-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.widget-title { font-size: 0.72rem; font-weight: 700; color: var(--text); font-family: 'Syne', sans-serif; }
.widget-input {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.7rem;
  font-size: 0.75rem; color: var(--text); width: 100%; margin-bottom: 0.5rem;
}
.widget-btn {
  background: var(--accent); color: #0D0D0D;
  border: none; border-radius: 6px;
  padding: 0.45rem; font-size: 0.72rem; font-weight: 700;
  width: 100%; cursor: pointer;
}
.widget-hint { font-size: 0.65rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }

/* Floating badge */
.float-badge {
  position: absolute; top: -12px; left: -16px;
  background: var(--accent); color: #0D0D0D;
  font-size: 0.7rem; font-weight: 700; padding: 0.35rem 0.75rem;
  border-radius: 8px; font-family: 'Syne', sans-serif;
  box-shadow: 0 4px 16px rgba(202,255,0,0.3);
}

/* ── How It Works ── */
.how { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-header { text-align: center; margin-bottom: 3.5rem; }
.how-header h2 { margin-bottom: 0.8rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.step-num {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.08em;
  background: var(--accent-dim); border: 1px solid rgba(202,255,0,0.15);
  display: inline-block; padding: 0.3rem 0.7rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── Platform Section ── */
.platforms { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.platform-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem; font-weight: 600; }
.platform-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.platform-chip {
  font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.5rem 1rem; font-family: 'Syne', sans-serif; font-weight: 700;
  background: var(--surface);
}

/* ── Intent Data Section ── */
.intent { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.intent-heading { font-family: 'Syne', sans-serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.intent-heading .accent { color: var(--accent); }
.intent-points { display: flex; flex-direction: column; gap: 0.8rem; margin: 1.5rem 0; }
.intent-point { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.9rem; }
.check-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-dim); border: 1px solid rgba(202,255,0,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-icon svg { width: 10px; height: 10px; }

/* Insight panel mockup */
.insight-panel { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.insight-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: #1A1A1A;
}
.insight-title { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; }
.insight-badge { font-size: 0.65rem; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(202,255,0,0.2); padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 700; }
.insight-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.insight-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 0.9rem;
}
.insight-query { font-size: 0.78rem; font-weight: 600; }
.insight-count { font-size: 0.72rem; color: var(--accent); font-weight: 700; background: var(--accent-dim); padding: 0.15rem 0.5rem; border-radius: 4px; }
.insight-footer { font-size: 0.7rem; color: var(--muted); padding: 0.5rem 1rem; border-top: 1px solid var(--border); text-align: center; }

/* ── Features ── */
.features { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { padding: 2rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color 0.2s; }
.feature:hover { border-color: rgba(202,255,0,0.2); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid rgba(202,255,0,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.feature h3 { margin-bottom: 0.6rem; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; }
.feature p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── Embed ── */
.embed { background: var(--accent-dim); border-top: 1px solid rgba(202,255,0,0.12); border-bottom: 1px solid rgba(202,255,0,0.12); text-align: center; }
.embed h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 0.8rem; }
.embed p { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }
.code-block {
  display: inline-block; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem; color: var(--accent);
  letter-spacing: 0.01em;
}

/* ── Closing ── */
.closing { padding: 8rem 0 6rem; text-align: center; }
.closing h2 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.2rem; }
.closing p { font-size: 1rem; color: var(--muted); max-width: 42ch; margin: 0 auto 2rem; line-height: 1.65; }
.closing-accent { color: var(--accent); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .intent-grid { grid-template-columns: 1fr; }
  .widget-panel { bottom: -10px; right: 0; width: 200px; }
  h1 { font-size: 2.2rem; }
  .container { padding: 0 1.2rem; }
  section { padding: 3.5rem 0; }
  .closing { padding: 5rem 0 4rem; }
}
