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

:root {
  --bg: #060610;
  --bg-card: #0f0f1f;
  --bg-surface: #141428;
  --bg-elevated: #1a1a35;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --gold: #c9a227;
  --gold-light: #e6c84c;
  --gold-dim: rgba(201, 162, 39, 0.12);
  --text: #eaeaf2;
  --text-secondary: #8888aa;
  --text-dim: #5a5a78;
  --border: #1e1e3a;
  --border-light: #2a2a4a;
  --white: #ffffff;
  --red: #dc2626;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Light Mode ─────────────────────────────── */
html[data-theme="light"] {
  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --bg-surface: #eef0f4;
  --bg-elevated: #ffffff;
  --accent: #00a884;
  --accent-dim: rgba(0, 168, 132, 0.1);
  --gold: #a68518;
  --gold-light: #c9a227;
  --gold-dim: rgba(166, 133, 24, 0.1);
  --text: #1a1a2e;
  --text-secondary: #555570;
  --text-dim: #9090a8;
  --border: #dfe1e8;
  --border-light: #cfd1dc;
  --white: #1a1a2e;
  --red: #dc2626;
}

html[data-theme="light"] body::before { opacity: 0.015; }

html[data-theme="light"] .nav {
  background: rgba(244, 245, 247, 0.88);
  border-bottom-color: var(--border);
}

html[data-theme="light"] .card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .card--featured {
  background: linear-gradient(135deg, #fff 0%, rgba(166, 133, 24, 0.04) 100%);
}

html[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse, rgba(0, 168, 132, 0.06) 0%, transparent 60%);
}

html[data-theme="light"] .hero::after {
  background: radial-gradient(ellipse, rgba(166, 133, 24, 0.05) 0%, transparent 60%);
}

html[data-theme="light"] .pricing-box {
  background: linear-gradient(135deg, #fff 0%, rgba(166, 133, 24, 0.04) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .section--alt {
  background: #eef0f4;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ─── Noise Overlay ──────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { max-width: 65ch; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold-light); }

/* ─── Layout ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section--alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── Grid ───────────────────────────────────── */
.grid {
  display: grid;
  gap: 2rem;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ─── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(6, 6, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

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

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

/* ─── Hero ───────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  background: var(--gold-dim);
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--secondary:hover {
  border-color: var(--text-secondary);
  color: var(--white);
}

.btn--large {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 0;
}
.btn--ghost:hover { color: var(--gold); }

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card--featured {
  border-color: var(--gold-dim);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 162, 39, 0.03) 100%);
}

.card--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  transform-origin: center;
}

.card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.card__tag--broker { background: var(--accent-dim); color: var(--accent); }
.card__tag--buyer { background: var(--gold-dim); color: var(--gold); }
.card__tag--seller { background: rgba(220, 38, 38, 0.12); color: #f87171; }

.card__title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.card__list {
  list-style: none;
  margin-bottom: 2rem;
}

.card__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.card__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.card__price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ─── Modules List ───────────────────────────── */
.modules {
  counter-reset: module;
}

.module-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.module-item:last-child { border-bottom: none; }

.module-item__number {
  counter-increment: module;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

.module-item__content h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.module-item__content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ─── About / Bio ────────────────────────────── */
.bio {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.bio__image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
  font-family: var(--font-display);
}

.bio__text h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bio__text .bio__role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bio__text p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.bio__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.bio__stat {
  text-align: center;
}

.bio__stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.bio__stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── FAQ ────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
  color: var(--gold);
}

.faq-item__answer {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.925rem;
}

/* ─── Pricing Section ────────────────────────── */
.pricing-box {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 162, 39, 0.04) 100%);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-box__price {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-box__label {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-box__includes {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-box__includes li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-box__includes li:last-child { border-bottom: none; }

.pricing-box__includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Section Headers ────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── Divider ────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 0;
}

/* ─── Footer ─────────────────────────────────── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.footer p {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0 auto;
}

/* ─── Animations ─────────────────────────────── */
/* Hero elements: animate immediately on load */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeIn 0.8s var(--ease-out) forwards;
}

.stagger-1 { animation-delay: 0.15s; }
.stagger-2 { animation-delay: 0.3s; }
.stagger-3 { animation-delay: 0.45s; }
.stagger-4 { animation-delay: 0.6s; }
.stagger-5 { animation-delay: 0.75s; }

/* Scroll-triggered elements: start hidden, animate when in-view added */
.observe {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.observe.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within a grid when parent is in-view */
.observe-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.observe-stagger.in-view > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.observe-stagger.in-view > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.observe-stagger.in-view > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.19s; }
.observe-stagger.in-view > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.observe-stagger.in-view > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.33s; }
.observe-stagger.in-view > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Glow pulse for CTAs */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201,162,39,0.2); }
  50% { box-shadow: 0 0 40px rgba(201,162,39,0.4); }
}
.btn--glow { animation: glowPulse 3s ease-in-out infinite; }

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

/* Step flow */
.step-flow { counter-reset: step; display: flex; flex-direction: column; gap: 0; margin: 2rem 0; }
.step-flow__item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-left: 2px solid var(--border); margin-left: 1.25rem; padding-left: 2rem; position: relative; }
.step-flow__item::before { content: counter(step); counter-increment: step; position: absolute; left: -1.25rem; top: 1.5rem; width: 2.5rem; height: 2.5rem; background: var(--gold); color: #060610; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.step-flow__item:last-child { border-left-color: transparent; }
.step-flow__content h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin-bottom: 0.5rem; }
.step-flow__content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Stat highlight row */
.stat-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.stat-highlight { text-align: center; padding: 1.5rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.stat-highlight__value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-highlight__label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.3rem; }

/* Testimonial / social proof */
.proof-bar { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 1.5rem; background: var(--bg-surface); border-radius: 12px; margin: 2rem 0; }
.proof-bar__item { font-size: 0.85rem; color: var(--text-secondary); white-space: nowrap; }
.proof-bar__item strong { color: var(--gold); font-size: 1rem; }

/* What's inside grid */
.inside-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.inside-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; transition: border-color 0.25s, transform 0.25s; }
.inside-card:hover { border-color: rgba(201,162,39,0.3); transform: translateY(-3px); }
.inside-card__icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.inside-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.inside-card__desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
  .bio { flex-direction: column; text-align: center; }
  .bio__stats { justify-content: center; }
  .nav__links { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .card { padding: 2rem; }
  .proof-bar { flex-direction: column; text-align: center; gap: 0.75rem; }
  .stat-highlights { grid-template-columns: repeat(2, 1fr); }
  .inside-grid { grid-template-columns: 1fr; }
  .step-flow__item { margin-left: 0.75rem; padding-left: 1.5rem; }
}

@media (max-width: 480px) {
  .btn--large { width: 100%; justify-content: center; }
  .pricing-box { padding: 2rem; }
  .pricing-box__price { font-size: 3rem; }
}

/* ─── Utility ────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
