@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #070b12;
  --surface:  #0d1521;
  --surface2: #121d30;
  --border:   #1b2a40;
  --border-l: #233350;
  --gold:     #c9a84c;
  --gold-l:   #e8c870;
  --gold-dim: rgba(201,168,76,.10);
  --text:     #e6e0d3;
  --text-mid: #8791a8;
  --muted:    #48566c;
  --green:    #2ec87a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-l); text-decoration: underline; }

/* ---- Scroll animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:none; }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.45; transform:scale(.8); }
}

/* ---- Nav ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(7,11,18,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -.01em;
  text-decoration: none;
}
.nav-logo:hover { color: var(--gold); text-decoration: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.nav-links a { color: var(--text-mid); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
  border: none;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--gold); color: #070b12; }
.btn-primary:hover { background: var(--gold-l); color: #070b12; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-l); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 96px 24px 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201,168,76,.06) 0%, transparent 70%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, rgba(201,168,76,.5), transparent);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: .10em;
  text-transform: uppercase;
  animation: fadeUp .55s ease both;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 20px;
  animation: fadeUp .55s .08s ease both;
}
.hero p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 40px;
  animation: fadeUp .55s .16s ease both;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .55s .24s ease both;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-mid);
  animation: fadeUp .55s .32s ease both;
}
.hero-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-status .dot-label { color: var(--green); }
.hero-note {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  animation: fadeUp .55s .38s ease both;
}

/* ---- Platforms ---- */
.platforms {
  padding: 52px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.platforms p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.platform-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  transition: border-color .15s, color .15s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Features ---- */
.features {
  padding: 80px 24px;
  max-width: 1040px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 52px;
  color: var(--text);
  max-width: 520px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  padding: 28px;
  background: var(--surface);
  transition: background .2s;
}
.feature-card:hover { background: var(--surface2); }
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* ---- Pricing ---- */
.pricing {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-header { text-align: center; margin-bottom: 52px; }
.pricing-header .section-title { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }
.plan-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  margin-top: 16px;
}
.plan-toggle button {
  padding: 7px 20px;
  font-size: 13px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .15s;
}
.plan-toggle button.active {
  background: var(--surface2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.pricing-cards {
  display: flex;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.plan-card {
  flex: 1;
  min-width: 290px;
  max-width: 370px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.plan-card.featured {
  border-color: rgba(201,168,76,.4);
  background: var(--surface2);
  box-shadow: 0 0 48px rgba(201,168,76,.06);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #070b12;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .08em;
}
.plan-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price span { font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; font-weight: 400; color: var(--text-mid); }
.plan-period {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 18px;
  font-family: 'IBM Plex Mono', monospace;
}
.plan-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}
.plan-features li svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green);
}
.plan-features li.muted { color: var(--muted); }
.plan-features li.muted svg { color: var(--muted); opacity:.5; }

/* ---- FAQ ---- */
.faq {
  padding: 80px 24px;
  max-width: 680px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
details summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
}
details summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--muted); flex-shrink: 0; }
details[open] summary::after { content: '−'; color: var(--gold); }
details p { margin-top: 12px; font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ---- Footer ---- */
footer {
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--text); }

/* ---- Success page ---- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.success-card { max-width: 480px; }
.success-icon {
  width: 64px; height: 64px;
  background: rgba(46,200,122,.1);
  border: 1px solid rgba(46,200,122,.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--green);
}
.success-icon svg { width: 28px; height: 28px; }
.success-card h1 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 12px; }
.success-card p { font-size: 15px; color: var(--text-mid); margin-bottom: 8px; }
.steps {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-mid);
}
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,.28);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: 'IBM Plex Mono', monospace;
}

/* ---- Contact ---- */
.contact-page {
  max-width: 520px;
  margin: 60px auto;
  padding: 0 24px 80px;
}
.contact-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-page .sub { color: var(--text-mid); font-size: 15px; margin-bottom: 36px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--surface); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
#successMsg {
  display: none;
  padding: 16px 20px;
  background: rgba(46,200,122,.08);
  border: 1px solid rgba(46,200,122,.22);
  border-radius: 8px;
  color: var(--green);
  font-size: 14px;
  margin-top: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 20px 72px; }
  .features, .pricing, .faq { padding: 60px 20px; }
  .feature-grid { gap: 0; }
}
