:root {
  --bg: #070b16;
  --bg-soft: #0d1427;
  --panel: rgba(18, 26, 48, 0.82);
  --panel-solid: #0f1830;
  --panel-2: #13203e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9eefb;
  --muted: #a8b3cf;
  --muted-2: #7f8bb0;
  --primary: #7c8cff;
  --primary-2: #57d4ff;
  --accent: #8cffc8;
  --danger: #ff8d8d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(124, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at top left, rgba(87, 212, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #060914 0%, #081020 50%, #070b16 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); line-height: 1.75; }
ul { color: var(--muted); }
code {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #dfe7ff;
  font-size: 0.92rem;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.3;
}

.site-shell::before {
  width: 320px;
  height: 320px;
  top: 10%;
  right: -40px;
  background: rgba(124, 140, 255, 0.16);
}

.site-shell::after {
  width: 280px;
  height: 280px;
  left: -50px;
  bottom: 10%;
  background: rgba(87, 212, 255, 0.12);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(7, 11, 22, 0.75);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links > a:not(.btn) {
  color: var(--muted);
  transition: color 0.22s ease;
}

.nav-links > a:not(.btn):hover,
.footer-grid a:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.mobile-menu {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.mobile-menu a {
  display: block;
  padding: 0.95rem 0;
  color: var(--muted);
}

.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0;
}

.hero {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.hero-grid,
.walkthrough-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.final-cta h2,
.legal-wrap h1,
.contact-wrap h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 11ch;
}

.hero-lead {
  max-width: 61ch;
  font-size: 1.08rem;
  margin: 1.4rem 0 1.9rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-2);
  font-weight: 700;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.94rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #081020;
  background: linear-gradient(135deg, var(--accent), #8ad1ff 50%, #b0a1ff);
  box-shadow: 0 10px 28px rgba(138, 209, 255, 0.22);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn-large { min-width: 184px; }
.full { width: 100%; }

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.hero-badges span,
.plan-tag,
.trust-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.card-glow {
  position: relative;
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(138, 209, 255, 0.5), rgba(124, 140, 255, 0.2), rgba(255, 255, 255, 0.05));
  opacity: 0.45;
  z-index: -1;
}

.hero-visual,
.media-card,
.cta-panel,
.contact-card,
.shot-card,
.feature-card,
.price-card,
.timeline-step,
.legal-wrap,
.contact-wrap .section-head,
.faq-list details {
  background: linear-gradient(180deg, rgba(20, 30, 56, 0.94), rgba(11, 18, 35, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual,
.media-card,
.cta-panel,
.legal-wrap,
.contact-wrap .section-head {
  border-radius: var(--radius-xl);
}

.window-frame {
  padding: 1.15rem;
  border-radius: var(--radius-xl);
}

.window-bar {
  display: flex;
  gap: 0.48rem;
  margin-bottom: 1rem;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.metric-card small { color: var(--muted-2); display: block; margin-bottom: 0.5rem; }
.metric-card strong { font-size: 1.35rem; letter-spacing: -0.03em; }
.metric-card p { margin-bottom: 0; }
.metric-card.tall { grid-row: span 2; min-height: 280px; }
.metric-card.wide { grid-column: span 2; }

.fake-chart {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  margin-top: 1rem;
  height: 110px;
}

.fake-chart span {
  flex: 1;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  opacity: 0.9;
}
.fake-chart span:nth-child(1) { height: 42%; }
.fake-chart span:nth-child(2) { height: 68%; }
.fake-chart span:nth-child(3) { height: 55%; }
.fake-chart span:nth-child(4) { height: 86%; }
.fake-chart span:nth-child(5) { height: 70%; }
.fake-chart span:nth-child(6) { height: 92%; }

.trust-strip {
  position: relative;
  z-index: 1;
  padding: 1rem 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-grid > div {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.trust-label {
  margin-bottom: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.final-cta h2,
.legal-wrap h1,
.contact-wrap h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.price-card,
.contact-card,
.timeline-step,
.shot-card,
.faq-list details {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.feature-card h3,
.price-card h3,
.timeline-step h3,
.contact-card h3,
.shot-card figcaption,
.media-placeholder h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.check-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.8rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.media-card {
  padding: 1rem;
}

.media-placeholder {
  min-height: 420px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,255,255,0.18);
  background:
    radial-gradient(circle at top left, rgba(124, 140, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.play-chip {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #07101f;
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shot-card {
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.shot-card figcaption {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.workflow-wrap {
  display: grid;
  gap: 1.8rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #081020;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
}

.pricing-shell { text-align: center; }

.pricing-toggle {
  display: inline-flex;
  padding: 0.35rem;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 1.75rem;
}

.toggle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.toggle-btn.active {
  color: #081020;
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
}

.price-card {
  text-align: left;
}

.price-card.featured {
  transform: translateY(-8px);
}

.plan-tag {
  margin-bottom: 0.8rem;
}

.plan-tag.accent {
  color: #081020;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #8fe7ff);
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 0.8rem;
}

.price-value span {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 0.35rem;
}

.price-card ul {
  padding-left: 1.2rem;
  margin: 1.25rem 0 1.4rem;
}

.price-card li {
  margin-bottom: 0.7rem;
}

.hidden { display: none; }

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

.faq-list details summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq-list details summary::-webkit-details-marker { display: none; }

.faq-list details summary::after {
  content: "+";
  float: right;
  color: var(--primary-2);
  font-size: 1.4rem;
  margin-top: -0.2rem;
}

.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 1rem; margin-bottom: 0; }

.final-cta { padding-top: 2rem; }

.cta-panel {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { margin-bottom: 0.9rem; }
.footer-copy { max-width: 34ch; }
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.legal-shell .section,
.contact-wrap { padding-top: 4rem; }
.legal-topbar { position: static; }

.legal-wrap {
  max-width: 860px;
  padding: 2rem;
}

.legal-wrap h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.legal-wrap ul { padding-left: 1.25rem; }
.legal-wrap li { margin-bottom: 0.6rem; }
.legal-note {
  border-left: 3px solid var(--primary-2);
  padding-left: 1rem;
  color: #c5d3ff;
}

.contact-wrap .section-head {
  padding: 2rem;
  margin-bottom: 1rem;
}

.contact-card strong { font-size: 1.3rem; letter-spacing: -0.03em; }

@media (max-width: 1080px) {
  .hero-grid,
  .walkthrough-grid,
  .faq-wrap,
  .feature-grid,
  .pricing-grid,
  .timeline,
  .screenshot-grid,
  .contact-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 { max-width: none; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-menu.open { display: block; }
  .section { padding: 4.75rem 0; }
  .hero { padding-top: 3.4rem; }
  .dashboard-preview { grid-template-columns: 1fr; }
  .metric-card.tall,
  .metric-card.wide { grid-row: auto; grid-column: auto; min-height: auto; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 1rem)); }
  .hero-actions,
  .cta-actions { flex-direction: column; }
  .btn-large,
  .btn { width: 100%; }
  .media-placeholder { min-height: 320px; padding: 1.25rem; }
  .legal-wrap,
  .contact-wrap .section-head,
  .price-card,
  .feature-card,
  .timeline-step,
  .shot-card,
  .faq-list details,
  .contact-card,
  .cta-panel {
    padding: 1.15rem;
  }
  .hero-copy h1 { font-size: clamp(2.3rem, 13vw, 3.1rem); }
}
