:root {
  --bg: #09111d;
  --bg-soft: #111c30;
  --panel: rgba(12, 20, 34, 0.82);
  --line: rgba(146, 170, 201, 0.18);
  --text: #eef5ff;
  --muted: #9ab0cf;
  --accent: #62d0ff;
  --accent-2: #7bf0b4;
  --danger: #ff8e8e;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(98, 208, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(123, 240, 180, 0.12), transparent 24%),
    linear-gradient(160deg, #040913 0%, #09111d 45%, #0b1629 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 8px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.header-button {
  white-space: nowrap;
}

.hero,
.checkout-page,
.success-page,
.admin-page {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  min-height: 560px;
}

.hero-copy h1,
.checkout-header h1,
.success-page h1,
.admin-page h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p,
.checkout-header p,
.success-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 14px 18px;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111b;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button.wide {
  width: 100%;
}

.hero-panel,
.success-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-badge {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  margin-bottom: 18px;
}

.plan-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-row:last-child {
  border-bottom: 0;
}

.plan-footnote,
.status-chip {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.plan-title {
  font-size: 20px;
  font-weight: 700;
}

.plan-price {
  font-size: 28px;
  font-weight: 800;
}

.plan-meta {
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-section,
.about-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.feature-card,
.about-panel,
.about-copy,
.cta-banner {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.feature-card,
.about-panel,
.about-copy {
  padding: 24px;
}

.feature-card h2,
.about-copy h2,
.cta-banner h2 {
  margin: 12px 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.feature-card p,
.about-copy p,
.cta-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-kicker {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.about-section {
  grid-template-columns: 1.2fr 0.8fr;
}

.about-panel {
  display: grid;
  gap: 14px;
}

.about-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 28px;
}

.content-page {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.content-page h1 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

.content-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 68ch;
}

.faq-list,
.content-stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.faq-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-card h2,
.content-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .site-header {
    margin-bottom: 14px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }

  .hero,
  .checkout-page,
  .success-page,
  .admin-page,
  .content-page {
    padding: 22px;
    border-radius: 22px;
  }

  .feature-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
