/* ============================================
   SEENBYAI — LAYOUT & RESET
   ============================================ */

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

:root {
  --bg: #080c18;
  --surface: #0f1524;
  --surface2: #141d2e;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --text: #f0f4ff;
  --text-muted: #8896b3;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(8, 12, 24, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.navbar-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(1.5rem, 5vw, 4rem) 60px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245,158,11,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99,102,241,0.03) 0%, transparent 50%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
}

/* Citation network visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.citation-network {
  position: relative;
  width: 300px;
  height: 300px;
}

.cn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.cn-center span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cn-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.cn-line {
  position: absolute;
  width: var(--len);
  height: 1px;
  background: linear-gradient(90deg, rgba(245,158,11,0.3), rgba(51,65,85,0.3));
  transform-origin: 0 50%;
  transform: rotate(var(--angle));
}

.cn-periphery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cn-p {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
  top: calc(50% + calc(var(--len) * sin(var(--a))));
  left: calc(50% + calc(var(--len) * cos(var(--a))));
}

.cn-p span {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* citation badge */
.cn-citations {
  position: absolute;
  bottom: -10px;
  right: -20px;
}

.citation-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
}

/* hero stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 4rem auto 0;
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2rem;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   WHY IT MATTERS
   ============================================ */

.why-matters {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-matters-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.wm-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.wm-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.wm-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 3rem;
}

.wm-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.wm-col {
  padding: 2rem;
  background: var(--bg);
}

.wm-col-old { background: rgba(15, 21, 36, 0.8); }
.wm-col-new { background: rgba(20, 25, 45, 0.8); }

.wm-col-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.wm-col-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wm-col-new .wm-col-label { color: var(--accent); }

.wm-col-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
}

.wm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wm-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.wm-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.wm-col-new .wm-list li::before { background: var(--accent); }

.wm-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-works {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
}

.hw-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hw-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hw-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 3.5rem;
  line-height: 1.15;
}

.hw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.hw-step:first-child { border-top: 1px solid var(--border); }

.hw-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 4px;
}

.hw-step-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.hw-step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================
   CONTENT FORMATS
   ============================================ */

.content-formats {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.cf-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.cf-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.cf-card {
  padding: 2.5rem 2rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cf-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   NUMBERS
   ============================================ */

.numbers {
  padding: 80px clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.numbers-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.num-item {
  padding: 3rem 2.5rem;
  background: var(--surface);
  text-align: center;
}

.num-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.num-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   CLOSING
   ============================================ */

.closing {
  padding: 100px clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  font-style: italic;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 40px clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    height: 260px;
  }

  .citation-network {
    width: 220px;
    height: 220px;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }

  .wm-comparison,
  .cf-grid {
    grid-template-columns: 1fr;
  }

  .numbers-inner {
    grid-template-columns: 1fr;
  }

  .hw-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .hero { padding-top: 90px; }
}