:root {
  --bg: #07111f;
  --bg-soft: #0d1c30;
  --surface: rgba(11, 26, 44, 0.72);
  --surface-strong: rgba(12, 22, 37, 0.94);
  --line: rgba(154, 194, 255, 0.14);
  --text: #ecf4ff;
  --muted: #96aeca;
  --cyan: #7cf4ff;
  --teal: #24d1b5;
  --gold: #ffcd70;
  --hot: #ff7b72;
  --shadow: 0 30px 80px rgba(1, 6, 14, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 209, 181, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(124, 244, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #081321 0%, #07111f 55%, #050b14 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(80vw, 1600px);
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(6, 13, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #04101a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 10px 24px rgba(36, 209, 181, 0.25);
}

.brand-text {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.nav,
.topbar-actions,
.hero-actions,
.hero-proof,
.command-bar,
.chart-label,
.log-header {
  display: flex;
  align-items: center;
}

.nav,
.topbar-actions,
.hero-actions {
  gap: 16px;
}

.nav a,
.link-button {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.link-button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.primary-button,
.secondary-button,
.ghost-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: #04101a;
  background: linear-gradient(135deg, var(--gold), #fff3b9);
  box-shadow: 0 16px 30px rgba(255, 205, 112, 0.28);
}

.secondary-button,
.ghost-pill {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-pill:hover {
  transform: translateY(-2px);
}

.section {
  padding: 88px 0 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - 120px);
  text-align: center;
}

.eyebrow,
.strip-label,
.card-tag,
.plan-name,
.timeline span {
  margin: 0 0 14px;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
  font-size: 1.55rem;
  line-height: 1.08;
}

.hero-text,
.section-heading p,
.feature-card p,
.customer-card p,
.timeline p,
.price-card p,
.cta-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.hero-proof {
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-copy {
  width: 100%;
  max-width: 1040px;
  display: grid;
  justify-items: center;
}

.hero-copy-bottom {
  max-width: 1180px;
}

.hero-title {
  margin: 0 auto;
  max-width: none;
  white-space: nowrap;
  line-height: 0.96;
}

.hero-title-top {
  width: 100%;
}

.hero-title-bottom {
  width: 100%;
}

.hero-proof li::before {
  content: "•";
  margin-right: 8px;
  color: var(--teal);
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: center;
}

.hero-shot {
  margin: 0;
  padding: 12px;
  background: rgba(9, 19, 32, 0.85);
  border: 1px solid rgba(154, 194, 255, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  clip-path: inset(0 round 30px);
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  clip-path: inset(0 round 30px);
}

.platform-title {
  max-width: none;
  white-space: nowrap;
  text-align: center;
}

.platform-shot {
  width: 100%;
  max-width: 1180px;
  margin: 10px 0;
  padding: 12px;
  background: rgba(9, 19, 32, 0.85);
  border: 1px solid rgba(154, 194, 255, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: inset(0 round 30px);
}

.platform-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  clip-path: inset(0 round 30px);
}

.workflow-title {
  max-width: none;
  white-space: nowrap;
  text-align: center;
}

.workflow-shot {
  width: 100%;
  max-width: 1180px;
  margin: 10px 0;
  padding: 12px;
  background: rgba(9, 19, 32, 0.85);
  border: 1px solid rgba(154, 194, 255, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: inset(0 round 30px);
}

.workflow-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  clip-path: inset(0 round 30px);
}

.panel-glow {
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle, rgba(124, 244, 255, 0.24), transparent 60%);
  filter: blur(30px);
}

.command-card,
.feature-card,
.customer-card,
.price-card,
.cta-card,
.signal-strip,
.timeline article {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.command-card {
  padding: 20px;
}

.command-bar {
  gap: 8px;
  margin-bottom: 18px;
}

.command-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric,
.chart-card,
.log-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric span,
.chart-label span:first-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.metric strong {
  display: block;
  margin-top: 12px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.metric small {
  display: inline-block;
  margin-top: 10px;
}

.up {
  color: var(--teal);
}

.down {
  color: var(--gold);
}

.chart-card,
.log-card {
  grid-column: span 2;
}

.chart-label,
.log-header {
  justify-content: space-between;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: 190px;
  margin-top: 22px;
}

.chart-bars span {
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--cyan), rgba(124, 244, 255, 0.14));
  animation: pulse 4.2s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { height: 34%; }
.chart-bars span:nth-child(2) { height: 68%; animation-delay: 120ms; }
.chart-bars span:nth-child(3) { height: 58%; animation-delay: 240ms; }
.chart-bars span:nth-child(4) { height: 82%; animation-delay: 360ms; }
.chart-bars span:nth-child(5) { height: 48%; animation-delay: 480ms; }
.chart-bars span:nth-child(6) { height: 71%; animation-delay: 600ms; }
.chart-bars span:nth-child(7) { height: 64%; animation-delay: 720ms; }
.chart-bars span:nth-child(8) { height: 89%; animation-delay: 840ms; }

.ghost-pill {
  padding: 8px 12px;
}

.log-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.log-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #d6e5f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.log-list li:last-child {
  border-bottom: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.hot { background: var(--hot); box-shadow: 0 0 18px rgba(255, 123, 114, 0.55); }
.warm { background: var(--gold); box-shadow: 0 0 18px rgba(255, 205, 112, 0.55); }
.cool { background: var(--teal); box-shadow: 0 0 18px rgba(36, 209, 181, 0.55); }

.signal-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 34px;
}

.strip-grid,
.feature-layout,
.customer-grid,
.pricing-grid,
.timeline {
  display: grid;
  gap: 20px;
}

.strip-grid {
  grid-template-columns: repeat(2, 1fr);
}

.strip-grid article {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-grid article span {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 700px;
  margin-bottom: 34px;
}

.platform .section-heading {
  max-width: none;
  justify-items: center;
  text-align: center;
}

.workflow .section-heading {
  max-width: none;
  justify-items: center;
  text-align: center;
}

.feature-layout {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.customer-card,
.price-card,
.timeline article {
  padding: 28px;
}

.feature-large {
  grid-column: span 2;
  min-height: 280px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(255, 205, 112, 0.13), transparent 30%),
    var(--surface);
}

.customer-grid,
.pricing-grid,
.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.customer-card,
.price-card {
  min-height: 250px;
}

.price-card strong {
  display: block;
  margin: 22px 0 16px;
  font-size: 3rem;
  font-family: "Space Grotesk", sans-serif;
}

.price-card strong span {
  font-size: 1rem;
  color: var(--muted);
}

.featured {
  border-color: rgba(255, 205, 112, 0.35);
  transform: translateY(-12px);
}

.timeline {
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at top left, rgba(124, 244, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(12, 29, 45, 0.92), rgba(8, 16, 28, 0.96));
}

.cta-form {
  display: grid;
  gap: 14px;
}

.cta-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: rgba(124, 244, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 244, 255, 0.1);
}

.cta-stack,
.footer-links,
.plan-list,
.faq-grid,
.auth-layout {
  display: grid;
}

.cta-stack {
  align-content: center;
  gap: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0 12px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 72px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  grid-auto-flow: column;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.legal-layout {
  padding: 48px 0 24px;
  opacity: 1;
  transform: none;
}

.legal-prose {
  margin-top: 32px;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
}

.legal-prose h2 {
  margin: 40px 0 12px;
  color: var(--text);
  font-size: 1.35rem;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose h3 {
  margin: 24px 0 10px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.legal-prose p,
.legal-prose ul {
  margin: 0 0 16px;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.subpage-hero {
  max-width: 920px;
}

.subpage-title {
  max-width: 16ch;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.subpage-text {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 22px 0 0;
}

.plan-list {
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  color: var(--muted);
}

.plan-list li::before {
  content: "•";
  color: var(--teal);
  margin-right: 8px;
}

.faq {
  padding-bottom: 8px;
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq-card p {
  color: var(--muted);
  line-height: 1.7;
}

.auth-page-shell {
  min-height: 100vh;
}

.auth-layout {
  place-items: center;
  min-height: calc(100vh - 164px);
}

.auth-shell {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(124, 244, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(12, 29, 45, 0.92), rgba(8, 16, 28, 0.96));
  box-shadow: var(--shadow);
  opacity: 1;
  transform: none;
}

.auth-copy {
  align-self: center;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(124, 244, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 244, 255, 0.1);
}

.auth-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="error"] {
  color: #ffb1aa;
}

.form-status[data-state="success"] {
  color: var(--teal);
}

.auth-meta {
  margin: 0;
  color: var(--muted);
}

.auth-meta a {
  color: var(--text);
}

.auth-terms {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.auth-terms a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  padding: 16px;
  pointer-events: none;
}

.cookie-consent-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(80vw, 1600px);
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-consent-text {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.cookie-consent-actions .primary-button,
.cookie-consent-actions .secondary-button {
  white-space: nowrap;
}

body.cookie-consent-visible {
  padding-bottom: 120px;
}

@media (max-width: 720px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions .primary-button,
  .cookie-consent-actions .secondary-button {
    width: 100%;
    text-align: center;
  }

  body.cookie-consent-visible {
    padding-bottom: 200px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.78; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

@media (max-width: 1080px) {
  .hero,
  .signal-strip,
  .cta-card,
  .auth-shell,
  .feature-layout,
  .customer-grid,
  .pricing-grid,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 30px;
    padding: 18px;
  }

  .nav,
  .topbar-actions {
    flex-wrap: wrap;
  }

  .feature-large,
  .chart-card,
  .log-card {
    grid-column: span 1;
  }

  .featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(90vw, 1600px);
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-auto-flow: row;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-title,
  .hero-title-top,
  .hero-title-bottom,
  .platform-title,
  .workflow-title {
    max-width: none;
    white-space: normal;
  }

  .nav,
  .topbar-actions,
  .hero-actions,
  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .command-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .metric strong,
  .price-card strong {
    font-size: 2.4rem;
  }
}
