@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #070707;
  --surface: #101010;
  --surface-2: #151515;
  --text: #f6f3fa;
  --muted: #a09aa8;
  --line: rgba(255,255,255,.1);
  --purple: #a77cff;
  --purple-2: #7452ff;
  --cyan: #6ee7ff;
  --lime: #c8ff5b;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Heebo", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.topbar { width: min(1240px, calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .01em; }
.brand-dot { width: 9px; height: 9px; background: var(--purple); border-radius: 50%; box-shadow: 0 0 16px var(--purple); }
.brand-separator, .brand-muted { color: #66616b; }
.brand-muted { font-size: 12px; letter-spacing: .16em; }
.topbar-link { color: #cfc9d5; font-size: 14px; display: flex; gap: 8px; }
.topbar-link span { color: var(--purple); }

.hero { width: min(1240px, calc(100% - 48px)); min-height: 720px; margin: auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; position: relative; padding: 70px 0 90px; }
.hero-content { position: relative; z-index: 2; min-width: 0; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-glow-one { width: 430px; height: 430px; background: rgba(127,82,255,.18); top: 50px; right: -230px; }
.hero-glow-two { width: 300px; height: 300px; background: rgba(110,231,255,.08); bottom: 20px; left: 80px; }
.eyebrow, .section-kicker { color: #bdb6c6; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
h1 { font-size: clamp(68px, 8vw, 118px); line-height: .9; letter-spacing: -.055em; margin: 30px 0 28px; font-weight: 900; }
.gradient-text { background: linear-gradient(100deg, #fff 5%, var(--purple) 50%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; color: #b7b1bc; font-size: 20px; margin: 0 0 20px; }
.hero-copy strong { color: #fff; font-weight: 700; }
.important-note { display: flex; align-items: center; gap: 12px; color: #d8d2dd; font-size: 14px; margin: 22px 0 30px; }
.important-note span { color: #0a0a0a; background: var(--lime); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 900; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 56px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; cursor: pointer; color: #fff; font-weight: 700; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 15px 40px rgba(116,82,255,.22); }
.button-ghost { background: rgba(255,255,255,.035); border-color: var(--line); }
.button-ghost:hover { border-color: rgba(255,255,255,.25); }
.button-icon { font-size: 20px; }

.system-map { min-height: 560px; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; direction: ltr; }
.system-map::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(167,124,255,.16); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: inset 0 0 90px rgba(116,82,255,.04); }
.system-map::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px dashed rgba(255,255,255,.08); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); animation: spin 35s linear infinite; }
.system-node { width: 290px; min-height: 116px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(17,17,17,.92); backdrop-filter: blur(16px); position: relative; z-index: 2; direction: rtl; box-shadow: 0 24px 65px rgba(0,0,0,.35); }
.system-node:nth-of-type(1) { align-self: flex-start; }
.system-node:nth-of-type(3) { align-self: flex-end; }
.system-node:nth-of-type(5) { align-self: center; }
.system-node div { display: flex; align-items: baseline; gap: 7px; direction: ltr; }
.system-node small { font-size: 11px; letter-spacing: .15em; color: #8f8994; }
.system-node strong { font-size: 28px; letter-spacing: -.03em; }
.system-node p { margin: 5px 0 0; color: #99939f; font-size: 14px; }
.node-number { position: absolute; top: 14px; left: 16px; color: #645e69; font-size: 11px; font-weight: 800; }
.node-app { border-color: rgba(167,124,255,.38); }
.node-agent { border-color: rgba(110,231,255,.3); }
.node-live { border-color: rgba(200,255,91,.3); }
.node-app strong { color: var(--purple); }.node-agent strong { color: var(--cyan); }.node-live strong { color: var(--lime); }
.live-pulse { position: absolute; top: 18px; right: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 1.8s infinite; }
.flow-line { height: 26px; width: 150px; z-index: 2; position: relative; align-self: center; color: #6f6974; text-align: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.flow-line span { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--purple), transparent); margin-bottom: 3px; }
.flow-line.final span { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

.section-shell { width: min(1160px, calc(100% - 48px)); margin: auto; }
.outcome { padding: 120px 0; border-top: 1px solid var(--line); }
.section-kicker { color: var(--purple); margin-bottom: 30px; }
.outcome-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; }
.outcome h2, .section-heading h2, .workflow h2, .guardrail-card h2, .final-cta h2 { font-size: clamp(43px, 5vw, 72px); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.outcome h2 span, .workflow h2 span, .final-cta h2 span { color: #77717c; }
.outcome-list { border-top: 1px solid var(--line); }
.outcome-list div { display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 0; }
.outcome-list span { color: var(--purple); font-size: 12px; font-weight: 800; }
.outcome-list p { margin: 0; color: #d5d0d9; }

.playbook { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 400px; align-items: end; gap: 70px; margin-bottom: 70px; }
.section-heading p { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.stage { display: grid; grid-template-columns: 310px 1fr; gap: 36px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(100px); top: -160px; right: -80px; opacity: .16; }
.stage-app::before { background: var(--purple); }.stage-agent::before { background: var(--cyan); }
.stage-side { position: relative; z-index: 1; padding: 8px 4px; }
.stage-index { font-size: 76px; font-weight: 900; line-height: 1; letter-spacing: -.08em; color: #2c2930; }
.stage-label { color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .12em; margin: 18px 0 9px; }
.stage-agent .stage-label { color: var(--cyan); }
.stage-side h3 { font-size: 35px; line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; }
.stage-side p { color: var(--muted); margin: 0 0 25px; }
.text-link { display: inline-flex; gap: 9px; color: #fff; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.28); font-weight: 700; }
.text-link span { color: var(--purple); }.stage-agent .text-link span { color: var(--cyan); }
.stage-content { min-width: 0; }
.prompt-card { border-radius: 20px; background: #090909; border: 1px solid rgba(255,255,255,.09); overflow: hidden; }
.prompt-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.prompt-tag { color: var(--purple); font-size: 10px; letter-spacing: .13em; font-weight: 900; }
.stage-agent .prompt-tag { color: var(--cyan); }
.prompt-topline h4 { font-size: 19px; margin: 3px 0 0; }
.copy-button { color: #fff; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.copy-button b { color: #716a77; font-size: 10px; }
.copy-button.copied { background: var(--lime); color: #080808; }
.prompt-summary { margin: 0; padding: 17px 24px; color: #928c97; border-bottom: 1px solid var(--line); font-size: 13px; }
pre { margin: 0; padding: 24px; max-height: 385px; overflow: auto; white-space: pre-wrap; color: #c9c4ce; font-family: "Heebo", Arial, sans-serif; font-size: 14px; line-height: 1.7; direction: rtl; scrollbar-width: thin; scrollbar-color: #39343d #111; }
.check-strip { display: grid; grid-template-columns: 1.35fr repeat(2, 1fr); gap: 10px; padding-top: 14px; }
.check-strip strong, .check-strip label { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; background: rgba(255,255,255,.02); font-size: 12px; color: #aaa4af; }
.check-strip strong { color: #fff; }
.check-strip strong span { margin-right: auto; color: var(--purple); font-size: 11px; }
.agent-checks strong span { color: var(--cyan); }
.check-strip input { appearance: none; width: 16px; height: 16px; flex: 0 0 16px; margin: 0 0 0 8px; border: 1px solid #5e5863; border-radius: 4px; cursor: pointer; }
.check-strip input:checked { background: var(--purple); border-color: var(--purple); box-shadow: inset 0 0 0 3px #151515; }
.check-strip label:has(input:checked) { color: #fff; border-color: rgba(167,124,255,.35); background: rgba(167,124,255,.07); }
.agent-checks input:checked { background: var(--cyan); border-color: var(--cyan); }
.agent-checks label:has(input:checked) { border-color: rgba(110,231,255,.35); background: rgba(110,231,255,.07); }
.checklist-progress { height: 3px; margin-top: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.checklist-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple-2), var(--purple)); transition: width .3s ease; }
.agent-progress span { background: linear-gradient(90deg, #278fa5, var(--cyan)); }
.checklist-complete { display: none; margin-top: 10px; padding: 13px 15px; border: 1px solid rgba(200,255,91,.28); border-radius: 12px; color: var(--lime); background: rgba(200,255,91,.07); font-size: 13px; font-weight: 800; animation: reveal .35s ease both; }
.checklist-complete.show { display: block; }
.agent-complete { color: var(--cyan); border-color: rgba(110,231,255,.28); background: rgba(110,231,255,.07); }
.connector { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: #817b86; font-size: 12px; letter-spacing: .05em; }
.connector span { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.13)); }
.connector span:last-child { background: linear-gradient(90deg, rgba(255,255,255,.13), transparent); }

.workflow { padding: 120px 0; }
.workflow h2 { margin-bottom: 55px; }
.workflow-grid { display: grid; grid-template-columns: repeat(5, 1fr); direction: rtl; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-grid div { min-height: 190px; padding: 25px 20px; border-left: 1px solid var(--line); position: relative; }
.workflow-grid div:last-child { border-left: 0; }
.workflow-grid b { display: block; color: #4f4954; font-size: 12px; margin-bottom: 34px; }
.workflow-grid span { font-size: 23px; font-weight: 800; display: block; }
.workflow-grid p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.workflow-grid div::after { content: "←"; position: absolute; left: -8px; top: 28px; color: var(--purple); z-index: 1; }
.workflow-grid div:last-child::after { display: none; }

.guardrails { padding: 40px 0 120px; }
.guardrail-card { min-height: 340px; padding: 55px; border: 1px solid rgba(200,255,91,.2); border-radius: var(--radius); display: grid; grid-template-columns: 100px 1fr .9fr; align-items: center; gap: 35px; background: radial-gradient(circle at 15% 50%, rgba(200,255,91,.09), transparent 34%), #0d0d0d; }
.guardrail-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #080808; font-size: 45px; font-weight: 900; box-shadow: 0 0 55px rgba(200,255,91,.14); }
.guardrail-card .section-kicker { color: var(--lime); margin-bottom: 14px; }
.guardrail-card p { color: #aaa4af; font-size: 17px; }

.final-cta { margin-bottom: 80px; min-height: 570px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 24px; position: relative; overflow: hidden; }
.final-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: rgba(116,82,255,.16); filter: blur(120px); top: 120px; }
.final-cta > *:not(.final-glow) { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(54px, 7vw, 94px); }
.final-cta p { max-width: 590px; color: var(--muted); font-size: 18px; margin: 25px 0 32px; }
footer { width: min(1160px, calc(100% - 48px)); margin: auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #66616b; font-size: 12px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 50; transform: translate(-50%, 90px); opacity: 0; background: #f3eff7; color: #0a0a0a; border-radius: 12px; padding: 12px 20px; font-weight: 800; transition: .25s ease; box-shadow: 0 15px 50px rgba(0,0,0,.35); }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.reveal { animation: reveal .7s ease both; }.reveal-delay-1 { animation-delay: .08s; }.reveal-delay-2 { animation-delay: .16s; }.reveal-delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .system-map { width: min(620px, 100%); margin: auto; min-height: 500px; }
  .outcome-grid, .section-heading { grid-template-columns: 1fr; gap: 35px; }
  .stage { grid-template-columns: 1fr; }
  .stage-side { display: grid; grid-template-columns: 95px 1fr; column-gap: 20px; }
  .stage-index { grid-row: 1 / 5; }.stage-label { margin-top: 4px; }
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-grid div { border-bottom: 1px solid var(--line); }
  .guardrail-card { grid-template-columns: 85px 1fr; }.guardrail-card p { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .topbar, .hero, .section-shell, footer { width: min(100% - 30px, 1160px); }
  .topbar { height: 64px; }.brand-muted, .brand-separator { display: none; }
  .hero { padding: 55px 0 70px; min-height: auto; }
  h1 { font-size: clamp(52px, 16vw, 68px); letter-spacing: -.045em; }
  .hero-copy { font-size: 17px; }
  .hero-actions, .button { width: 100%; }
  .system-map { min-height: 430px; overflow: hidden; }.system-map::before { width: 320px; height: 320px; }.system-map::after { width: 240px; height: 240px; }
  .system-node { width: 245px; min-height: 100px; padding: 16px 18px; }
  .system-node strong { font-size: 24px; }
  .outcome, .playbook, .workflow { padding: 85px 0; }
  .outcome h2, .section-heading h2, .workflow h2, .guardrail-card h2 { font-size: 42px; }
  .stage { padding: 18px; border-radius: 22px; }
  .stage-side { display: block; }.stage-index { font-size: 55px; }.stage-side h3 { font-size: 31px; }
  .prompt-topline { align-items: flex-start; padding: 18px; }.prompt-summary, pre { padding: 18px; }
  pre { max-height: 440px; font-size: 13px; }
  .copy-button b { display: none; }
  .check-strip { grid-template-columns: 1fr; }
  .connector { grid-template-columns: 1fr; text-align: center; min-height: 100px; }.connector span { display: none; }
  .workflow-grid { grid-template-columns: 1fr; }.workflow-grid div { min-height: 135px; border-left: 0; }.workflow-grid div::after { display: none; }
  .guardrails { padding-bottom: 85px; }.guardrail-card { padding: 30px 22px; grid-template-columns: 1fr; }.guardrail-icon { width: 64px; height: 64px; font-size: 35px; }
  .final-cta { min-height: 520px; margin-bottom: 40px; }.final-cta h2 { font-size: 58px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
