/* ============================================
   PRISM — CSS DESIGN SYSTEM
   ============================================ */

:root {
  --bg: #0A0A0E;
  --surface: #111116;
  --surface-2: #18181F;
  --accent: #00D9A5;
  --accent-dim: rgba(0, 217, 165, 0.12);
  --accent-glow: rgba(0, 217, 165, 0.06);
  --text: #EDEDED;
  --text-muted: #6E6E82;
  --text-subtle: #3A3A48;
  --border: #1E1E28;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::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: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: lowercase;
}

.wordmark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.header-nav a:hover { color: var(--text); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 5vw, 64px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,0,0,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,217,165,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,217,165,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 16ch;
}

.hero-headline br:nth-child(3) { display: none; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-agent-viz {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.agent-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.8rem;
}

.agent-label {
  color: var(--accent);
  font-weight: 500;
}

.agent-action {
  color: var(--text-muted);
}

.agent-ts {
  color: var(--text-subtle);
  margin-left: auto;
}

.agent-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 24px;
}

.bar {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.4;
  animation: bar-dance 1.4s ease-in-out infinite;
}

.bar-1 { height: 30%; animation-delay: 0s; }
.bar-2 { height: 70%; animation-delay: 0.1s; }
.bar-3 { height: 50%; animation-delay: 0.2s; }
.bar-4 { height: 90%; animation-delay: 0.3s; }
.bar-5 { height: 40%; animation-delay: 0.4s; }

@keyframes bar-dance {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--text-muted); color: var(--text); }

.hero-image-wrap {
  max-width: 860px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,217,165,0.06), 0 0 0 1px rgba(0,217,165,0.08);
}

.hero-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- PROOF (stat-style) ---- */
.proof-stat-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.proof-stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-stat-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 54ch;
}

/* ---- PROOF ---- */
.proof {
  padding: 80px clamp(24px, 5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 28px;
}

.proof-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.alert-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.alert-card:hover { border-color: rgba(0,217,165,0.2); }

.alert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert-co {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
}

.alert-ts {
  font-size: 0.7rem;
  color: var(--text-subtle);
  font-family: 'DM Mono', 'Courier New', monospace;
}

.alert-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.alert-body strong {
  color: var(--text);
  font-weight: 500;
}

.alert-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
}

.tag-pricing { color: #f97316; border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); }
.tag-messaging-shift { color: #a78bfa; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.tag-hiring-signal { color: #34d399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.tag-ai { color: #60a5fa; border-color: rgba(96,165,250,0.3); background: rgba(96,165,250,0.08); }
.tag-product-launch { color: #fb923c; border-color: rgba(251,146,60,0.3); background: rgba(251,146,60,0.08); }

.tag-pricing { color: #f97316; border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); }
.tag-messaging { color: #a78bfa; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.tag-hiring { color: #34d399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.tag-product { color: #fb923c; border-color: rgba(251,146,60,0.3); background: rgba(251,146,60,0.08); }

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 80px clamp(24px, 5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,217,165,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  color: var(--text-subtle);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .step-arrow { display: none; }
}

/* ---- SIGNALS ---- */
.signals {
  padding: 100px clamp(24px, 5vw, 64px);
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.signal-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
  position: relative;
}

.signal-card:hover { background: var(--surface-2); }

.signal-icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
}

.signal-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

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

.signal-card-cta {
  background: var(--accent-glow);
}

.signal-card-cta:hover { background: var(--accent-dim); }

.signal-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px clamp(24px, 5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 16px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.manifesto-attribution {
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  margin-bottom: 56px;
  padding-left: 24px;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifesto-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.manifesto-body p:first-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

/* ---- CLOSING / PRICING ---- */
.closing {
  padding: 100px clamp(24px, 5vw, 64px);
}

.closing-header {
  text-align: center;
  margin-bottom: 64px;
}

.closing-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.closing-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 72px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(0,217,165,0.4);
  background: var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300D9A5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.closing-statement {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.btn-pricing {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 8px;
}

.btn-pricing:hover { border-color: var(--text-muted); }

.btn-pricing-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.btn-pricing-accent:hover { opacity: 0.9; }

.closing-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px clamp(24px, 5vw, 64px) 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }

.wordmark-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: lowercase;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-headline br:nth-child(3) { display: block; }
  .hero-agent-viz { display: none; }
  .header-nav { display: none; }
  .proof-feed { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
