/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  font-size: 15px; font-weight: 700; color: #00cc7a;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 1px;
}
.nav-logo-dim { color: #888; font-weight: 400; }
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  color: #888; text-decoration: none; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: color 0.2s;
}
.nav-links a:hover { color: #e0e0e0; }
.nav-cta {
  background: rgba(0, 204, 122, 0.12);
  color: #00cc7a !important;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid rgba(0, 204, 122, 0.25);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: rgba(0, 204, 122, 0.2) !important;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 204, 122, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 122, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero h1 {
  font-size: 52px; font-weight: 800; color: #f5f5f5;
  line-height: 1.15; margin-bottom: 16px;
  position: relative; z-index: 1; max-width: 700px;
}
.accent { color: #00cc7a; }

.hero-glow-green {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 204, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-blue {
  position: absolute; top: 30%; left: 60%;
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(55, 148, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.subline {
  font-size: 18px; color: #777; max-width: 520px;
  line-height: 1.6; margin-bottom: 40px;
  position: relative; z-index: 1;
}

.hero-actions {
  display: flex; gap: 14px;
  position: relative; z-index: 1;
}

/* ── ORB ── */
.orb-container {
  position: relative; z-index: 1; margin-bottom: 40px;
}
.orb {
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid rgba(0, 204, 122, 0.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(0, 204, 122, 0.12), inset 0 0 30px rgba(0, 204, 122, 0.04);
  animation: orbPulse 4s ease-in-out infinite;
}
.orb-symbol {
  font-size: 32px; color: #00cc7a;
  animation: orbSpin 12s linear infinite;
}
.orb-ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(0, 204, 122, 0.12);
  animation: ringRotate 20s linear infinite;
}
.orb-ring::after {
  content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 204, 122, 0.5);
}

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 204, 122, 0.12); }
  50% { box-shadow: 0 0 80px rgba(0, 204, 122, 0.2); }
}
@keyframes orbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── BUTTONS ── */
.btn-primary {
  background: #00cc7a; color: #000; padding: 14px 32px;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover {
  background: #00e088; transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 204, 122, 0.3);
}
.btn-primary:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none;
}
.btn-secondary {
  background: transparent; color: #aaa; padding: 14px 32px;
  border-radius: 8px; font-size: 15px; font-weight: 500;
  border: 1px solid #2a2a2a; cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-secondary:hover { border-color: #444; color: #e0e0e0; }

/* ── SECTIONS ── */
.section {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px; font-weight: 600; color: #00cc7a; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.section-title {
  font-size: 36px; font-weight: 700; color: #f0f0f0; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: #777; max-width: 560px; margin-bottom: 56px; line-height: 1.6;
}
.section-sub.center { margin-left: auto; margin-right: auto; }
.divider {
  border: none; border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1100px; margin: 0 auto;
}

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 32px;
  transition: border-color 0.3s, background 0.3s;
}
.feature-card:hover {
  border-color: rgba(0, 204, 122, 0.2);
  background: rgba(0, 204, 122, 0.03);
}
.feature-card h3 { font-size: 18px; font-weight: 600; color: #e8e8e8; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #777; line-height: 1.6; }
.feature-icon {
  font-size: 28px; margin-bottom: 16px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 204, 122, 0.08); border-radius: 10px;
  color: #00cc7a; font-family: 'JetBrains Mono', monospace;
}

/* ── DAG ── */
.dag-section { text-align: center; }
.dag-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 48px; margin-top: 20px;
  position: relative; overflow: hidden;
  min-height: 350px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.dag-container::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 204, 122, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 204, 122, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}
.dag-graph {
  position: relative; width: 700px; height: 260px; z-index: 1;
}
.dag-node {
  position: absolute; padding: 10px 18px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  display: flex; align-items: center; gap: 8px;
}
.dag-node.root {
  background: rgba(0, 204, 122, 0.12); border: 1px solid rgba(0, 204, 122, 0.35); color: #00cc7a;
}
.dag-node.agent {
  background: rgba(55, 148, 255, 0.1); border: 1px solid rgba(55, 148, 255, 0.3); color: #3794ff;
}
.dag-node.done {
  background: rgba(0, 204, 122, 0.08); border: 1px solid rgba(0, 204, 122, 0.25); color: #00cc7a;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: dagPulse 1.5s ease-in-out infinite;
}
@keyframes dagPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.dag-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.dag-svg line { stroke-width: 1.5; stroke-dasharray: 4 4; }
.dag-svg .green-line { stroke: rgba(0, 204, 122, 0.25); }
.dag-svg .blue-line { stroke: rgba(55, 148, 255, 0.2); }
.dag-label {
  font-size: 11px; color: #555;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 24px; position: relative; z-index: 1;
}

/* ── COMPLIANCE ── */
.compliance-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 40px;
  display: flex; gap: 40px; align-items: flex-start;
}
.compliance-card h3 { font-size: 18px; color: #e8e8e8; margin-bottom: 4px; }
.compliance-card p { font-size: 14px; color: #777; }
.compliance-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px;
  background: rgba(55, 148, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #3794ff;
}
.compliance-list {
  list-style: none; margin-top: 16px; padding: 0;
}
.compliance-list li {
  font-size: 14px; color: #888; padding: 6px 0;
  display: flex; align-items: center; gap: 10px;
}
.compliance-list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(55, 148, 255, 0.5); flex-shrink: 0;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.price-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 32px; text-align: center;
  transition: border-color 0.3s;
}
.price-card.featured {
  border-color: rgba(0, 204, 122, 0.3);
  background: rgba(0, 204, 122, 0.03);
}
.tier { font-size: 14px; font-weight: 600; color: #aaa; margin-bottom: 12px; }
.price { font-size: 36px; font-weight: 800; color: #f0f0f0; margin-bottom: 4px; }
.period { font-size: 13px; color: #555; margin-bottom: 24px; }
.coming { font-size: 14px; color: #555; font-style: italic; }
.price-features {
  list-style: none; text-align: left; margin-bottom: 28px; padding: 0;
}
.price-features li {
  font-size: 13px; color: #888; padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
}
.price-features li::before { content: '\2713'; color: #00cc7a; font-weight: 700; font-size: 12px; }
.price-btn {
  display: inline-block; width: 100%; padding: 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  text-align: center; cursor: pointer; transition: all 0.2s;
  text-decoration: none; border: none;
  font-family: 'Inter', sans-serif;
}
.price-btn.primary { background: #00cc7a; color: #000; }
.price-btn.primary:hover { background: #00e088; }
.price-btn.secondary { background: transparent; color: #aaa; border: 1px solid #2a2a2a; }
.price-btn.secondary:hover { border-color: #444; color: #e0e0e0; }

/* ── WAITLIST ── */
.waitlist-section { text-align: center; }
.waitlist-form {
  display: flex; gap: 12px;
  max-width: 460px; margin: 0 auto;
}
.waitlist-input {
  flex: 1; padding: 14px 18px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0; font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.waitlist-input:focus { border-color: rgba(0, 204, 122, 0.4); }
.waitlist-input::placeholder { color: #555; }
.waitlist-success {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 20px;
}
.waitlist-success .success-icon { color: #00cc7a; font-size: 24px; font-weight: 700; }
.waitlist-success p { font-size: 16px; color: #e0e0e0; }
.waitlist-error { color: #ff5555; font-size: 13px; margin-top: 8px; }
.waitlist-note { font-size: 12px; color: #444; margin-top: 12px; }

/* ── FOOTER ── */
.footer {
  padding: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.footer-left { font-size: 13px; color: #444; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: #555; text-decoration: none; font-size: 13px;
}
.footer-links a:hover { color: #aaa; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 32px; }
  .subline { font-size: 15px; }
  .section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dag-graph { width: 100%; overflow-x: auto; }
  .compliance-card { flex-direction: column; }
  .waitlist-form { flex-direction: column; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}
