/* ============================================
   JETWORKING v4 — Neural Network Design System
   Inspired by Obsidian.md graph aesthetics
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0e14; color: #c8cdd5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

:root {
  --bg: #0b0e14;
  --bg-raised: #12161e;
  --bg-card: #161b25;
  --bg-card-hover: #1c2230;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #c8cdd5;
  --text-muted: #6b7280;
  --text-dim: #3d4450;
  --white: #f0f2f5;
  --accent: #7c6aef;
  --accent-light: #a78bfa;
  --accent-glow: rgba(124,106,239,0.15);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34,211,238,0.12);
  --green: #4ade80;
  --amber: #fbbf24;
  --rose: #fb7185;
  --radius: 16px;
  --radius-sm: 10px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; width: 100%; }

/* ============================================
   NAV — Minimal, blends into dark
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,14,20,0.8); backdrop-filter: blur(20px);
  height: 64px; display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 48px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo span { font-size: 16px; font-weight: 700; color: var(--white); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent-light); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important; font-weight: 600 !important;
  padding: 7px 18px !important; border-radius: 50px !important; margin-left: 8px;
  font-size: 13px !important; transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--accent-light) !important; box-shadow: 0 0 24px var(--accent-glow); }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--white); }
.nav-mobile-toggle svg { width: 24px; height: 24px; }

/* ============================================
   ANIMATED GRAPH BACKGROUND (CSS-only)
   ============================================ */
.graph-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden; opacity: 0.4;
}
.graph-node {
  position: absolute; border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}
.graph-node::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 200px; height: 1px;
  background: linear-gradient(90deg, rgba(124,106,239,0.15), transparent);
  transform-origin: left center;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(10px) translateX(-15px); }
  75% { transform: translateY(-10px) translateX(20px); }
}

/* ============================================
   HERO — Dark, centered, graph-like
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 100px 48px 40px; z-index: 1;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1; filter: blur(80px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 24px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(124,106,239,0.08); border: 1px solid rgba(124,106,239,0.15);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(44px, 6vw, 72px); font-weight: 900; color: var(--white);
  letter-spacing: -3px; line-height: 1.05; margin-bottom: 24px;
  max-width: 800px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.7;
  max-width: 560px; margin: 0 auto 36px;
}
.hero-capture {
  display: flex; gap: 0; max-width: 440px; margin: 0 auto 12px; width: 100%;
}
.hero-capture input {
  flex: 1; padding: 14px 20px; border: 1px solid var(--border);
  border-right: none; border-radius: 12px 0 0 12px; font-size: 14px;
  font-family: inherit; color: var(--white); background: var(--bg-raised);
  outline: none; transition: border-color 0.3s;
}
.hero-capture input::placeholder { color: var(--text-dim); }
.hero-capture input:focus { border-color: var(--accent); }
.hero-capture button {
  padding: 14px 24px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; border: none; border-radius: 0 12px 12px 0;
  cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.hero-capture button:hover { background: var(--accent-light); }
.hero-hint { font-size: 13px; color: var(--text-dim); text-align: center; }

/* Neural graph visual in hero */
.hero-graph {
  position: relative; width: 100%; max-width: 700px; height: 300px;
  margin: 60px auto 0;
}
.hero-graph .node {
  position: absolute; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 11px;
  box-shadow: 0 0 30px var(--accent-glow);
  animation: float 15s infinite ease-in-out;
  z-index: 2;
}
.hero-graph .node-you {
  width: 72px; height: 72px; background: var(--accent);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 14px; box-shadow: 0 0 50px rgba(124,106,239,0.4);
  animation: none;
}
.hero-graph .node-sm { width: 44px; height: 44px; font-size: 10px; }
.hero-graph .node-md { width: 56px; height: 56px; }

.hero-graph svg.connections {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
}
.hero-graph svg.connections line {
  stroke: rgba(124,106,239,0.2); stroke-width: 1;
  stroke-dasharray: 4 4;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 120px 48px; position: relative; z-index: 1; }
.section-alt { background: var(--bg-raised); }

.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 4px; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--white);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   FEATURE SHOWCASE — Alternating left/right
   ============================================ */
.feature-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-bottom: 120px;
}
.feature-showcase:last-child { margin-bottom: 0; }
.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.feature-text {}
.feature-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 16px; padding: 5px 12px;
  border-radius: 50px; border: 1px solid var(--border);
}
.feature-text h2 {
  font-size: 36px; font-weight: 900; color: var(--white);
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.feature-text p {
  font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px;
}
.feature-text .example {
  font-size: 14px; color: var(--accent-light); font-style: italic;
  padding: 16px 20px; background: rgba(124,106,239,0.06);
  border-left: 2px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 20px;
}

/* Feature visual panels */
.feature-visual {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 32px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.feature-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.5;
}
.feature-visual > * { position: relative; z-index: 1; }

/* Map visual */
.map-visual {
  background: var(--bg-card); border-radius: 12px; padding: 24px; position: relative;
  min-height: 280px;
}
.map-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr);
  gap: 4px; height: 200px; margin-bottom: 16px;
}
.map-cell { background: rgba(124,106,239,0.04); border-radius: 4px; }
.map-cell.hot { background: rgba(124,106,239,0.2); }
.map-cell.warm { background: rgba(124,106,239,0.1); }
.map-pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--bg);
  animation: ping 2s infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(124,106,239,0.4); } 70% { box-shadow: 0 0 0 10px rgba(124,106,239,0); } }
.map-label {
  font-size: 12px; font-weight: 700; color: var(--accent-light);
  display: flex; align-items: center; gap: 6px;
}
.map-label .count { color: var(--white); font-size: 20px; font-weight: 900; }

/* AI query visual */
.ai-visual { padding: 0; }
.ai-prompt {
  padding: 20px; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.ai-prompt .cursor { width: 2px; height: 18px; background: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.ai-prompt .typed { color: var(--white); font-weight: 500; }
.ai-results { padding: 20px; }
.ai-result {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: var(--radius-sm); margin-bottom: 6px;
  background: rgba(255,255,255,0.02); border: 1px solid transparent;
  transition: all 0.2s;
}
.ai-result:hover { border-color: var(--border); background: rgba(255,255,255,0.04); }
.ai-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.ai-result .name { font-size: 14px; font-weight: 600; color: var(--white); }
.ai-result .meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.ai-result .tag {
  margin-left: auto; font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; white-space: nowrap;
}

/* Commonality visual */
.common-visual { align-items: center; }
.common-pair {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 24px;
}
.common-person { text-align: center; }
.common-person .avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: #fff;
}
.common-person .name { font-size: 13px; font-weight: 700; color: var(--white); }
.common-connector { color: var(--accent); font-size: 24px; }
.common-list { display: flex; flex-direction: column; gap: 8px; }
.common-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: rgba(74,222,128,0.04); border: 1px solid rgba(74,222,128,0.1);
  font-size: 13px; color: var(--text);
}
.common-item .check { color: var(--green); font-weight: 700; }

/* Degrees visual */
.degrees-visual {}
.degrees-path {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin: 20px 0;
}
.degrees-node {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0;
  position: relative; z-index: 2;
}
.degrees-edge {
  width: 48px; height: 2px; position: relative;
}
.degrees-edge::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 1px;
}
.degrees-edge .label {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: var(--text-dim); white-space: nowrap;
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.degrees-target {
  text-align: center; margin-top: 16px;
  font-size: 13px; color: var(--text-muted);
}
.degrees-target strong { color: var(--cyan); font-weight: 700; }

/* Journey visual */
.journey-visual { padding: 24px; }
.journey-timeline {
  position: relative; padding-left: 28px;
}
.journey-timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--accent), var(--cyan), var(--green));
  border-radius: 1px;
}
.journey-item {
  position: relative; margin-bottom: 20px; padding: 12px 16px;
  background: rgba(255,255,255,0.02); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.journey-item::before {
  content: ''; position: absolute; left: -24px; top: 16px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg-card);
}
.journey-item .date { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.journey-item .event { font-size: 13px; color: var(--white); font-weight: 600; margin-top: 4px; }
.journey-item .detail { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.journey-item .tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.journey-item .tag {
  font-size: 10px; padding: 2px 8px; border-radius: 50px;
  background: rgba(124,106,239,0.08); color: var(--accent-light); font-weight: 600;
}

/* Knowledge visual */
.knowledge-visual { padding: 24px; }
.knowledge-cards { display: flex; flex-direction: column; gap: 10px; }
.knowledge-card {
  padding: 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
}
.knowledge-card .insight-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 6px;
}
.knowledge-card .insight-value {
  font-size: 22px; font-weight: 900; color: var(--white); line-height: 1;
}
.knowledge-card .insight-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0; white-space: nowrap; z-index: 1; position: relative;
}
.ticker-track { display: inline-flex; animation: ticker 35s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px; font-size: 12px; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.5px;
}
.ticker-item .td { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 120px 48px; text-align: center; position: relative; z-index: 1;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px); z-index: -1;
}
.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: var(--white);
  letter-spacing: -2px; margin-bottom: 16px;
}
.cta-section p { font-size: 17px; color: var(--text-muted); max-width: 400px; margin: 0 auto 32px; }
.cta-capture {
  display: flex; gap: 0; max-width: 400px; margin: 0 auto;
}
.cta-capture input {
  flex: 1; padding: 14px 18px; border: 1px solid var(--border);
  border-right: none; border-radius: 12px 0 0 12px; font-size: 14px;
  font-family: inherit; color: var(--white); background: var(--bg-raised); outline: none;
}
.cta-capture input::placeholder { color: var(--text-dim); }
.cta-capture button {
  padding: 14px 24px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; border: none; border-radius: 0 12px 12px 0;
  cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.cta-capture button:hover { background: var(--accent-light); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #060810; padding: 64px 48px 32px; z-index: 1; position: relative;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  max-width: 1200px; margin: 0 auto 48px; flex-wrap: wrap; gap: 40px;
}
.footer-brand { max-width: 280px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.footer-cols { display: flex; gap: 56px; }
.footer h4 {
  font-size: 10px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px;
}
.footer a { display: block; font-size: 13px; color: var(--text-muted); padding: 3px 0; transition: color 0.2s; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  max-width: 1200px; margin: 0 auto; text-align: center;
  font-size: 12px; color: var(--text-dim);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(11,14,20,0.98); padding: 16px 24px;
  }
  .feature-showcase, .feature-showcase.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .hero-graph { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-capture, .cta-capture { flex-direction: column; gap: 10px; }
  .hero-capture input, .cta-capture input { border-right: 1px solid var(--border); border-radius: 12px; }
  .hero-capture button, .cta-capture button { border-radius: 12px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 24px; }
  .nav-inner { padding: 0 24px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .common-pair { flex-direction: column; gap: 16px; }
  .degrees-path { flex-wrap: wrap; gap: 8px; }
}
