*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cyan:   #00C6FF;
  --purple: #7B5EA7;
  --purple-bright: #9B6DFF;
  --green:  #4ADE80;
  --red:    #F87171;
  --dark:   #090D18;
  --card:   #0F1523;
  --card2:  #141D30;
  --border: rgba(123,94,167,.25);
  --text:   #CBD5E1;
  --muted:  #64748B;
  --white:  #F1F5F9;
  --grad:   linear-gradient(135deg, #00C6FF 0%, #7B5EA7 60%, #5B21B6 100%);
  --grad-text: linear-gradient(90deg, #00C6FF, #9B6DFF);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(0,198,255,.1); color: var(--cyan);
  border: 1px solid rgba(0,198,255,.3); margin-bottom: 16px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s ease; border: none;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 24px rgba(123,94,167,.4);
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(123,94,167,.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple-bright); color: var(--purple-bright); }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 580px; margin-bottom: 56px; }
section { padding: 100px 0; }

/* ── Navbar ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9,13,24,.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 36px; width: auto; }
.logo-text { font-size: 18px; font-weight: 800; color: var(--white); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ── Hero ── */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 30%, rgba(123,94,167,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(0,198,255,.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123,94,167,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,94,167,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 820px; }
.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 24px;
}
.hero p {
  font-size: 19px; color: var(--text); max-width: 620px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-num { font-size: 34px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Problem strip ── */
.problem-strip {
  background: linear-gradient(135deg, rgba(220,38,38,.07), rgba(234,88,12,.04));
  border-top: 1px solid rgba(220,38,38,.2);
  border-bottom: 1px solid rgba(220,38,38,.2);
  padding: 72px 0;
}
.incident-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 40px;
}
.incident-card {
  background: rgba(220,38,38,.06);
  border: 1px solid rgba(220,38,38,.18);
  border-radius: 14px; padding: 28px;
}
.incident-company { font-size: 20px; font-weight: 800; color: var(--red); margin-bottom: 6px; }
.incident-what { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.incident-cost { font-size: 13px; color: var(--muted); }

/* ── How it works ── */
.flow-section { padding: 100px 0; }
.flow-diagram {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  max-width: 640px;
}
.flow-step {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; border-radius: 12px;
  background: var(--card2); border: 1px solid var(--border);
  margin-bottom: 8px; font-size: 14px;
}
.flow-step:last-child { margin-bottom: 0; }
.flow-icon { font-size: 20px; width: 36px; text-align: center; flex-shrink: 0; }
.flow-label { color: var(--white); font-weight: 600; flex: 1; }
.flow-badge {
  padding: 2px 10px; border-radius: 10px;
  font-size: 10px; font-weight: 700;
}
.badge-block  { background: rgba(220,38,38,.15); color: var(--red); border: 1px solid rgba(220,38,38,.3); }
.badge-redact { background: rgba(251,191,36,.12); color: #FCD34D; border: 1px solid rgba(251,191,36,.3); }
.badge-allow  { background: rgba(74,222,128,.1); color: var(--green); border: 1px solid rgba(74,222,128,.3); }
.badge-audit  { background: rgba(0,198,255,.1); color: var(--cyan); border: 1px solid rgba(0,198,255,.3); }
.flow-arrow {
  text-align: center; color: var(--border); font-size: 20px; padding: 4px 0;
}
.flow-section .product-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 768px) { .flow-section .product-grid { grid-template-columns: 1fr; } }

/* ── Feature cards ── */
.features-section { padding: 100px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(155,109,255,.4); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(123,94,167,.15); border: 1px solid rgba(123,94,167,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Code demo ── */
.demo-section { padding: 100px 0; }
.demo-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
@media (max-width: 900px) { .demo-wrap { grid-template-columns: 1fr; } }
.code-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: var(--card2);
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--muted); font-family: monospace;
}
.code-dots { display: flex; gap: 6px; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-body { padding: 24px; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 13px; line-height: 1.7; }
.c-comment { color: #4A5568; }
.c-key { color: var(--cyan); }
.c-str { color: #68D391; }
.c-num { color: #F6AD55; }
.c-kw { color: var(--purple-bright); }
.c-blocked { color: var(--red); background: rgba(220,38,38,.1); padding: 2px 6px; border-radius: 4px; }
.c-allowed { color: var(--green); }
.demo-points { display: flex; flex-direction: column; }
.demo-point {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px;
}
.demo-point-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,198,255,.1); border: 1px solid rgba(0,198,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.demo-point-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.demo-point-desc { font-size: 14px; color: var(--muted); }

/* ── Audit trail ── */
.audit-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .audit-grid { grid-template-columns: 1fr; } }
.audit-log {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.audit-row {
  display: grid; grid-template-columns: 90px 80px 1fr 90px;
  gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 12px; font-family: monospace;
}
.audit-row:last-child { border-bottom: none; }
.audit-row.header { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.audit-decision-deny  { color: var(--red); font-weight: 700; }
.audit-decision-allow { color: var(--green); }
.audit-decision-redact { color: #FCD34D; }
.audit-hash { color: var(--cyan); }

/* ── Positioning section ── */
.compare-section { padding: 100px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  border-radius: 16px; padding: 28px;
}
.compare-card.them {
  background: rgba(220,38,38,.04); border: 1px solid rgba(220,38,38,.15);
}
.compare-card.us {
  background: rgba(74,222,128,.04); border: 1px solid rgba(74,222,128,.2);
}
.compare-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.compare-title.them { color: var(--red); }
.compare-title.us { color: var(--green); }
.compare-list { list-style: none; }
.compare-list li {
  font-size: 14px; color: var(--text); padding: 6px 0;
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.compare-list li:last-child { border-bottom: none; }
.compare-list li::before { flex-shrink: 0; font-size: 13px; margin-top: 2px; }
.compare-card.them .compare-list li::before { content: "✗"; color: var(--red); }
.compare-card.us .compare-list li::before { content: "✓"; color: var(--green); }

/* ── Pricing ── */
.pricing-section { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; position: relative;
}
.pricing-card.popular {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 1px rgba(155,109,255,.2), 0 8px 40px rgba(155,109,255,.12);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 4px 16px; border-radius: 20px;
}
.pricing-tier { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 900; color: var(--white); line-height: 1; }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.pricing-desc { font-size: 14px; color: var(--muted); margin: 12px 0 24px; }
.pricing-features { list-style: none; }
.pricing-features li {
  font-size: 14px; color: var(--text); padding: 8px 0;
  display: flex; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: "✓"; color: var(--green); flex-shrink: 0; }
.pricing-cta { margin-top: 28px; width: 100%; text-align: center; }

/* ── Integrations ── */
.integrations-section { padding: 100px 0; }
.integration-logos {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px;
}
.integration-badge {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 20px;
  font-size: 14px; font-weight: 600; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}

/* ── Roadmap ── */
.roadmap-section { padding: 100px 0; }
.roadmap-timeline { position: relative; margin-top: 56px; }
.roadmap-timeline::before {
  content: '';
  position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--cyan), var(--purple-bright), rgba(123,94,167,.2));
}
.roadmap-phase {
  position: relative; padding-left: 64px; margin-bottom: 56px;
}
.roadmap-phase:last-child { margin-bottom: 0; }
.roadmap-dot {
  position: absolute; left: 10px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.dot-done   { background: var(--green); }
.dot-now    { background: var(--cyan); box-shadow: 0 0 12px rgba(0,198,255,.5); }
.dot-soon   { background: var(--purple-bright); }
.dot-later  { background: var(--muted); }
.phase-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.phase-done  { color: var(--green); }
.phase-now   { color: var(--cyan); }
.phase-soon  { color: var(--purple-bright); }
.phase-later { color: var(--muted); }
.phase-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.phase-desc  { font-size: 14px; color: var(--muted); max-width: 640px; line-height: 1.7; }
.phase-tags  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.phase-tag   {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 8px;
  background: rgba(123,94,167,.1); color: var(--text); border: 1px solid var(--border);
}

/* ── IDE integration ── */
.ide-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 0; }
.ide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 40px; }
@media (max-width: 768px) { .ide-grid { grid-template-columns: 1fr; } }
.ide-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color .2s;
}
.ide-card:hover { border-color: rgba(155,109,255,.4); }
.ide-card-icon { font-size: 28px; margin-bottom: 12px; }
.ide-card-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.ide-card-status {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px; margin-bottom: 10px; letter-spacing: .08em; text-transform: uppercase;
}
.status-done    { background: rgba(74,222,128,.1); color: var(--green); border: 1px solid rgba(74,222,128,.3); }
.status-wip     { background: rgba(0,198,255,.1); color: var(--cyan); border: 1px solid rgba(0,198,255,.3); }
.status-planned { background: rgba(123,94,167,.1); color: var(--purple-bright); border: 1px solid rgba(123,94,167,.3); }
.ide-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Network integration ── */
.network-section { padding: 100px 0; }
.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.network-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  transition: border-color .2s, transform .2s;
}
.network-card:hover { border-color: rgba(155,109,255,.4); transform: translateY(-2px); }
.network-card-icon  { font-size: 26px; margin-bottom: 12px; }
.network-card-title { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.network-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── CTA section ── */
.cta-section {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(123,94,167,.15) 0%, transparent 70%);
  text-align: center; padding: 120px 0;
}
.cta-section h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(9, 13, 24, 0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1; visibility: visible;
}
.modal-container {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--purple-bright);
}
.modal-title {
  font-size: 24px; font-weight: 800; color: var(--white);
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 14px; color: var(--muted);
  margin-bottom: 28px;
}
.contact-form {
  display: flex; flex-direction: column; gap: 20px;
}
.form-group {
  display: flex; flex-direction: column; gap: 8px;
}
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-bright);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group select {
  cursor: pointer;
}
.form-status {
  font-size: 13px; text-align: center;
  margin-top: 8px;
}
