@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ================================================================
   Theme tokens — auto follows system, overridable by data-theme
   ================================================================ */
:root,
[data-theme="dark"] {
  --bg:        #090909;
  --bg2:       #111111;
  --surface:   #141414;
  --card:      #1c1c1c;
  --card2:     #222222;
  --border:    #2a2a2a;
  --border2:   #333333;
  --text:      #f0ede8;
  --text2:     #c8c4be;
  --muted:     #666;
  --gold:      #f5c842;
  --gold-dim:  rgba(245,200,66,0.10);
  --gold-dim2: rgba(245,200,66,0.06);
  --green:     #34d399;
  --green-dim: rgba(52,211,153,0.10);
  --red:       #f87171;
  --red-dim:   rgba(248,113,113,0.10);
  --blue:      #60a5fa;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="light"] {
  --bg:        #faf9f7;
  --bg2:       #f3f0eb;
  --surface:   #ffffff;
  --card:      #ffffff;
  --card2:     #f5f3ef;
  --border:    #e5e2db;
  --border2:   #d8d4cc;
  --text:      #1a1a1a;
  --text2:     #444444;
  --muted:     #888888;
  --gold:      #c49a00;
  --gold-dim:  rgba(196,154,0,0.08);
  --gold-dim2: rgba(196,154,0,0.04);
  --green:     #059669;
  --green-dim: rgba(5,150,105,0.08);
  --red:       #dc2626;
  --red-dim:   rgba(220,38,38,0.08);
  --blue:      #2563eb;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:        #faf9f7;
    --bg2:       #f3f0eb;
    --surface:   #ffffff;
    --card:      #ffffff;
    --card2:     #f5f3ef;
    --border:    #e5e2db;
    --border2:   #d8d4cc;
    --text:      #1a1a1a;
    --text2:     #444444;
    --muted:     #888888;
    --gold:      #c49a00;
    --gold-dim:  rgba(196,154,0,0.08);
    --gold-dim2: rgba(196,154,0,0.04);
    --green:     #059669;
    --green-dim: rgba(5,150,105,0.08);
    --red:       #dc2626;
    --red-dim:   rgba(220,38,38,0.08);
    --blue:      #2563eb;
    --shadow:    0 4px 24px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  }
}

/* Force dark when data-theme set explicitly */
[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

/* ================================================================
   Base reset
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ================================================================
   Nav
   ================================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(9,9,9,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

[data-theme="light"] .site-nav,
@media (prefers-color-scheme: light) { .site-nav {
  background: rgba(250,249,247,0.9);
}}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 8px;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  padding: 6px 12px; border-radius: 8px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-right {
  display: flex; align-items: center; gap: 8px;
}

.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer; font-size: 16px;
  line-height: 1; transition: all 0.15s;
  color: var(--text);
}
.theme-toggle:hover { border-color: var(--gold); }

.nav-cta {
  background: var(--gold); color: #000;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: var(--text); padding: 4px;
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ================================================================
   Page wrapper
   ================================================================ */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-top {
  padding-top: 100px;
  min-height: 100vh;
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); border: 1px solid rgba(245,200,66,0.2);
  border-radius: 99px; padding: 6px 14px;
  font-size: 12px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text2); max-width: 580px;
  margin: 0 auto 36px; line-height: 1.7;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  border: none; font-family: inherit;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ================================================================
   Section
   ================================================================ */
.section {
  padding: 96px 24px;
  max-width: 1100px; margin: 0 auto;
}

.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.8px; margin-bottom: 16px;
}

.section-sub {
  font-size: 16px; color: var(--text2);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 48px;
}

/* ================================================================
   Feature grid
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px; margin-bottom: 16px; display: block;
}
.feature-title {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px; color: var(--text2); line-height: 1.7;
}

/* ================================================================
   Pricing
   ================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; max-width: 900px; margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: var(--gold-dim2);
}

.pricing-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold); color: #000;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}

.pricing-price {
  font-family: 'DM Mono', monospace;
  font-size: 42px; font-weight: 500;
  line-height: 1; margin-bottom: 4px;
  color: var(--text);
}

.pricing-price sup {
  font-size: 20px; vertical-align: super;
}

.pricing-period {
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
}

.pricing-features {
  list-style: none; margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px; color: var(--text2);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '✓'; color: var(--green);
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}

.pricing-intro {
  font-size: 10px; color: var(--muted);
  text-align: center; margin-top: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ================================================================
   How it works
   ================================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; position: relative;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px; height: 48px;
  background: var(--gold); color: #000;
  border-radius: 50%; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
}

.step-desc {
  font-size: 14px; color: var(--text2); line-height: 1.7;
}

/* ================================================================
   Quote / testimonial
   ================================================================ */
.quote-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px;
  max-width: 720px; margin: 0 auto;
}

.quote-text {
  font-size: 19px; font-style: italic;
  line-height: 1.7; color: var(--text2);
  margin-bottom: 16px;
}

.quote-author {
  font-size: 14px; font-weight: 700; color: var(--gold);
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  gap: 32px; justify-content: space-between;
}

.footer-brand { max-width: 260px; }
.footer-brand-name {
  font-size: 17px; font-weight: 800; margin-bottom: 8px;
}
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; }

.footer-links h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px; color: var(--text2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex; gap: 10px; margin-top: 16px;
}

.social-btn {
  width: 36px; height: 36px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.15s;
  cursor: pointer; text-decoration: none;
}
.social-btn:hover { border-color: var(--gold); }

.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}

.footer-copy {
  font-size: 12px; color: var(--muted);
}

/* ================================================================
   Forms (contact etc)
   ================================================================ */
.form-field { margin-bottom: 20px; }

.form-field label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 16px;
  color: var(--text); font-family: inherit;
  font-size: 15px; outline: none;
  transition: border-color 0.15s;
  appearance: none; -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field input::placeholder { color: var(--muted); }
.form-field textarea { height: 140px; resize: vertical; }

/* ================================================================
   Cards / generic
   ================================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}

/* ================================================================
   Utility
   ================================================================ */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mono        { font-family: 'DM Mono', monospace; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 640px) {
  .hero { padding: 100px 20px 72px; }
  .section { padding: 64px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; }
}
