:root {
  --bg: #0a0b0f;
  --bg-2: #12141c;
  --surface: #181b26;
  --surface-2: #1e2230;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --muted: #8b92a8;
  --gold: #e8a838;
  --gold-dim: rgba(232, 168, 56, 0.15);
  --gold-hover: #f0bc5c;
  --accent: #5b8def;
  --success: #34d399;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% -5%, rgba(232, 168, 56, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 20%, rgba(91, 141, 239, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 35% at 50% 100%, rgba(232, 168, 56, 0.06), transparent 55%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 11, 15, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo span,
.logo-sm span {
  color: var(--gold);
}

.logo-sm {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: var(--gold);
  color: #1a1408;
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(232, 168, 56, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stats strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stats span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Mock panel */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mock-panel {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 168, 56, 0.08);
  overflow: hidden;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
}

.mock-top {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mock-body {
  padding: 1rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.mock-row-head {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-row code {
  font-family: ui-monospace, monospace;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.82rem;
}

.mock-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 72px;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.mock-chart span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(232, 168, 56, 0.35) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

/* Sections */
.section-kicker {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(232, 168, 56, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--gold-dim);
  border: 1px solid rgba(232, 168, 56, 0.2);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Steps */
.steps {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(232, 168, 56, 0.3);
  border-radius: 10px;
}

.steps-list h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.steps-list p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Pricing */
.pricing {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
}

.pricing-copy .section-title,
.pricing-copy .section-kicker,
.pricing-copy .section-desc {
  text-align: left;
  margin-left: 0;
}

.pricing-copy .section-desc {
  margin-bottom: 0;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(232, 168, 56, 0.35);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow), 0 0 40px rgba(232, 168, 56, 0.08);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1408;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.pricing-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-align: center;
}

.pricing-amount {
  text-align: center;
  margin-bottom: 0.35rem;
}

.pricing-amount .price {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-amount .period {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.pricing-tagline {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pricing-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-list li {
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pricing-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(52, 211, 153, 0.12);
  border-radius: 50%;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

/* CTA */
.cta {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
}

.cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.12) 0%, rgba(91, 141, 239, 0.06) 100%);
  border: 1px solid rgba(232, 168, 56, 0.2);
  border-radius: 20px;
}

.cta-inner h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner > p {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .mock-panel {
    transform: none;
    max-width: 100%;
  }

  .pricing-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-copy .section-title,
  .pricing-copy .section-kicker,
  .pricing-copy .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .site-nav a:not(.btn):not(:last-of-type) {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Legacy helpers (admin forms if shared) */
.hidden {
  display: none !important;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}
