/* Copyright 2026 Albert LaMotte - All Rights Reserved */
:root {
  --bg: #050a14;
  --bg-soft: #0b1324;
  --bg-card: #0f1a30;
  --card: #0f1a30;
  --card-2: #152340;
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #2563eb;
  --sky: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --danger: #ef4444;
  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.16), transparent 42%),
              radial-gradient(circle at 85% 8%, rgba(16, 185, 129, 0.10), transparent 36%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-pill {
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.brand-logo-pill img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
}
.nav-links a { color: #cbd5e1; text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--sky); }
.btn.primary { background: linear-gradient(135deg, #2563eb, #0284c7); border-color: #38bdf8; color: #fff; }
.btn.emerald { background: linear-gradient(135deg, #059669, #10b981); border-color: #34d399; color: #fff; }
.btn.amber { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.5); color: #fcd34d; }
.btn.lg { padding: 13px 22px; font-size: 15px; border-radius: 11px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section.block { padding: 72px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.10); }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.hero-title span {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 17.5px; color: #cbd5e1; max-width: 640px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--muted); }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; margin-top: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 16px; margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 22px; margin-top: 28px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.studio-card {
  background: linear-gradient(180deg, rgba(21, 35, 64, 0.85), rgba(15, 26, 48, 0.95));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.studio-card:hover { border-color: rgba(56, 189, 248, 0.55); transform: translateY(-2px); }
.studio-card.flagship { border-color: rgba(16, 185, 129, 0.55); box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge.p1 { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge.suite { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.35); }
.badge.rd { background: rgba(245, 158, 11, 0.16); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }

.feature-list { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: #cbd5e1; margin: 10px 0; }
.feature-list li::before { content: "✓ "; color: var(--emerald); font-weight: 800; }

.section-head { max-width: 780px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); font-size: 15.5px; }

.step-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 26px 0; }
.step-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 13px;
  display: inline-grid; place-items: center; margin-bottom: 10px;
}

.wizard-drop {
  border: 2px dashed rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(11, 19, 36, 0.75);
}
.format-pills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 12px 0; }
.format-pill {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px;
  border-radius: 6px; background: var(--card-2); border: 1px solid var(--border); color: #e2e8f0;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.price-card.popular, .price-card.featured { border-color: var(--sky); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35); }
.price-amount { font-size: 36px; font-weight: 850; color: #fff; }
.price-amount small, .price-amount span { font-size: 14px; font-weight: 500; color: var(--muted); }

.demo-canvas-wrap {
  position: relative;
  background: #040811;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 340px;
}
#demo3dCanvas, #const3dCanvas { width: 100%; height: 350px; display: block; cursor: crosshair; }
.sim-banner {
  background: rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #070e1c;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
label.fld { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: #cbd5e1; }

table.matrix-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 16px; }
table.matrix-table th, table.matrix-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
table.matrix-table th { background: var(--bg-soft); color: #e2e8f0; font-weight: 700; }

dialog.modal {
  margin: auto;
  max-width: 560px;
  width: calc(100% - 28px);
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--sky);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}
dialog.modal::backdrop { background: rgba(2, 6, 23, 0.8); }

footer.site-footer {
  padding: 44px 0;
  background: #040811;
  color: var(--muted);
  font-size: 13px;
}
.legal-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(15, 26, 48, 0.6);
  border: 1px solid var(--border);
  font-size: 12px;
  color: #94a3b8;
}
