:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --panel: #151515;
  --panel-2: #1c1c1f;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: #2a2a2e;
  --accent: #7c3aed;
  --accent-strong: #8b5cf6;
  --accent-dark: #4c1d95;
  --danger: #ef4444;
  --success: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 32rem), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 13, 13, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.55);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.35);
}

.brand-text {
  font-size: 1.05rem;
}

.top-nav {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.nav-tab {
  border: 0;
  color: var(--muted);
  background: transparent;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}

.nav-tab.active,
.nav-tab:hover {
  color: var(--text);
  background: rgba(124, 58, 237, 0.18);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 5rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: 62vh;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

h3 {
  font-size: 1.4rem;
}

.hero-subtitle,
.muted {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 690px;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action,
.primary-link,
.buy-button,
.trial-button {
  border: 1px solid transparent;
  padding: 0.72rem 1rem;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-action,
.primary-link,
.buy-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
}

.secondary-action,
.trial-button {
  color: var(--text);
  background: #202024;
  border-color: var(--line);
}

.primary-action:hover,
.secondary-action:hover,
.primary-link:hover,
.buy-button:hover,
.trial-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-strong);
}

.status-panel,
.product-card,
.pricing-card,
.success-card,
.modal-card,
.technical-list {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 1.2rem;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.status-line:last-child {
  border-bottom: 0;
}

.status-line span {
  color: var(--muted);
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.product-card,
.pricing-card {
  padding: 1.35rem;
  min-height: 100%;
}

.highlight-card,
.pricing-card.emphasized {
  border-color: rgba(124, 58, 237, 0.65);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.15), rgba(255, 255, 255, 0.025));
}

.product-card ul,
.technical-list ul {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: #d4d4d8;
}

.product-card li,
.technical-list li {
  margin: 0.65rem 0;
}

.technical-list {
  padding: 1.35rem 1.55rem;
}

.pricing-card h3 {
  margin-bottom: 1rem;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.price-row span {
  color: var(--muted);
}

.price-row strong {
  font-variant-numeric: tabular-nums;
}

.notice,
.trial-result {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.success-card {
  margin-top: 1.25rem;
  padding: 1.35rem;
}

.strong-note {
  color: var(--text);
  font-weight: 800;
}

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

.purchase-summary div {
  border: 1px solid var(--line);
  padding: 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.purchase-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.purchase-summary dd {
  margin: 0.35rem 0 0;
  font-weight: 800;
}

.primary-link {
  display: inline-block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  width: min(520px, 100%);
  position: relative;
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  background: #202024;
  color: var(--text);
  cursor: pointer;
}

form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

label {
  color: var(--muted);
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  background: #101012;
  color: var(--text);
  padding: 0.85rem 0.95rem;
  outline: none;
}

input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.full-width {
  width: 100%;
}

.key-display {
  display: block;
  margin-top: 0.75rem;
  padding: 0.8rem;
  overflow-x: auto;
  border: 1px solid rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.12);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.hidden {
  display: none !important;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .hero,
  .product-grid,
  .pricing-grid,
  .purchase-summary {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
  }

  .nav-tab {
    flex: 1;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.65rem;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(6px);
}

.modal-card {
  width: min(520px, 100%);
  position: relative;
  padding: 1.5rem;
  background: #0b0b0d;
  border: 1px solid rgba(124, 58, 237, 0.58);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.92), 0 0 42px rgba(124, 58, 237, 0.22);
}
