/* ===== Prism Labs v4 — decision-first glassmorphism theme ===== */

:root {
  --bg: #070b16;
  --bg-soft: #0d1322;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e6eaf5;
  --muted: #9aa3b8;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #6366f1, #22d3ee);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ambient glow */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 15% 0%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(700px 500px at 85% 20%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(600px 500px at 50% 110%, rgba(139, 92, 246, 0.10), transparent 60%);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--panel-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-weight: 700; letter-spacing: 0.2px; font-size: 17px; }
.logo-sub {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 3px; padding: 2px 9px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.35);
  font-size: 10px; font-weight: 600; color: var(--cyan); line-height: 1.6;
  white-space: nowrap; backdrop-filter: blur(8px);
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35); }
.btn-grad:hover { box-shadow: 0 8px 26px rgba(34, 211, 238, 0.35); }
.btn-glass {
  background: var(--panel);
  border-color: var(--panel-border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-outline { border-color: rgba(255, 255, 255, 0.25); color: var(--text); background: transparent; }
.btn-white { background: #fff; color: #0d1322; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }

/* ===== Hero ===== */
.hero { padding: 96px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.hero-highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-sub {
  max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: 18px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 56px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13px; color: var(--muted); }
.hero-bullets {
  list-style: none; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin: 40px auto 0; max-width: 820px;
}
.hero-bullets li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
  font-size: 18px; font-weight: 600; color: var(--text);
}
.hero-bullets li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); flex: none;
}

/* ===== Built with ===== */
.built-with { padding: 24px 0; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.built-with-label { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
  font-size: 13px; color: var(--text);
}
.badge svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-dark { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.02)); border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.section-label { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.section h2 { text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-top: 10px; letter-spacing: -0.4px; }
.section-sub { text-align: center; color: var(--muted); max-width: 720px; margin: 16px auto 0; }
.section-sub strong { color: var(--text); }
.subsection-title { margin-top: 56px; margin-bottom: 24px; font-size: 22px; font-weight: 700; text-align: center; }

/* ===== Flagship cards ===== */
.flagship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.flagship-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s;
}
.flagship-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.5); }
.card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.card-top svg { width: 40px; height: 40px; }
.card-top h3 { margin: 0; }
.card-icon { font-size: 28px; line-height: 1; }
.flagship-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.flagship-card p { color: var(--muted); font-size: 14.5px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-row span {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.25); color: #c7d2fe;
}
.chip { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.chip-indigo { background: rgba(99,102,241,.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,.4); }
.chip-emerald { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.4); }
.chip-amber { background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.4); }
.chip-cyan { background: rgba(34,211,238,.15); color: #67e8f9; border: 1px solid rgba(34,211,238,.4); }
.chip-rose { background: rgba(244,63,94,.15); color: #fda4af; border: 1px solid rgba(244,63,94,.4); }
.chip-violet { background: rgba(139,92,246,.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,.4); }

/* ===== Module cards ===== */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.module-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s;
}
.module-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.45); }
.module-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.module-card p { color: var(--muted); font-size: 14px; }

/* ===== From prediction to action (flow) ===== */
.flow { max-width: 480px; margin: 56px auto 0; display: flex; flex-direction: column; align-items: center; }
.flow-step {
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
}
.flow-step strong { display: block; font-size: 17px; font-weight: 700; }
.flow-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.flow-arrow { color: var(--muted); font-size: 18px; padding: 6px 0; }
.flow-step-action {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(180deg, rgba(99,102,241,.12), rgba(34,211,238,.05));
}
.flow-step-action .flow-kicker { color: var(--emerald); }

/* ===== Engines ===== */
.engines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.engine-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 22px;
}
.engine-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--cyan); }
.engine-card p { color: var(--muted); font-size: 14px; }

/* ===== Capabilities ===== */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.cap-item {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 12px; padding: 18px 20px;
}
.cap-item strong { font-size: 15px; }
.cap-item p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ===== Use cases ===== */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.usecase-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 22px;
}
.usecase-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.usecase-outcome { color: var(--text); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--panel-border); padding-bottom: 12px; margin-bottom: 12px; }
.usecase-card ul { list-style: none; }
.usecase-card li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.usecase-card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}

/* ===== Audience chips ===== */
.audience-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.audience-chips .badge { font-size: 14px; padding: 8px 18px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; gap: 20px; margin-top: 44px; }
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); }
.price-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.price-card-featured {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(180deg, rgba(99,102,241,.08), rgba(34,211,238,.04));
}
.featured-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: 0.4px;
}
.price-card h3 { font-size: 18px; font-weight: 700; }
.price strong { font-size: 28px; font-weight: 800; }
.price span { color: var(--muted); font-size: 13px; }
.price-who { color: var(--muted); font-size: 13px; margin-top: -6px; }
.price-card ul { list-style: none; flex: 1; }
.price-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 13.5px; margin-bottom: 9px; }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700;
}
.price-card .btn { text-align: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 36px; }

/* ===== CTA ===== */
.cta {
  padding: 88px 0; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(99,102,241,.25), transparent 70%);
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta p { color: var(--muted); margin: 14px auto 26px; max-width: 640px; }
.cta-claims {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 34px;
  color: var(--muted); font-size: 14px;
}
.cta-claims span { position: relative; padding-left: 22px; }
.cta-claims span::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }

/* ===== Contact ===== */
.contact-content { max-width: 560px; margin: 36px auto 0; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-textarea {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 12px; color: var(--text); padding: 16px;
  font-family: inherit; font-size: 14px; resize: vertical;
}
.contact-textarea:focus { outline: none; border-color: rgba(99, 102, 241, 0.6); }
.contact-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.contact-note a { color: var(--cyan); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--panel-border); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .flagship-grid, .modules-grid, .engines-grid, .caps-grid, .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .flagship-grid, .modules-grid, .engines-grid, .caps-grid, .usecase-grid, .pricing-grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .hero-stats { gap: 28px; }
}