:root {
  --bg: #0a0b10;
  --bg-2: #0f1118;
  --bg-3: #141721;
  --surface: #181b26;
  --line: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --muted: #8b90a0;
  --gold: #d4af6a;
  --gold-2: #f0d592;
  --gold-3: #a9864a;
  --green: #4ade80;
  --red: #f87171;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background FX */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.bg-glow {
  position: fixed; top: -20%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(212,175,106,0.12), transparent 60%);
  z-index: 0; pointer-events: none;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(10,11,16,0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0b10; font-weight: 800; border-radius: 8px;
  font-family: 'Playfair Display', serif; font-size: 18px;
}
.logo-text { font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer;
  border: none; transition: all .25s ease;
  font-family: inherit;
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1408;
  box-shadow: 0 10px 30px -10px rgba(212,175,106,0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(212,175,106,0.8); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero { position: relative; z-index: 1; padding: 80px 32px 120px; }
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  padding: 6px 12px; border: 1px solid rgba(212,175,106,0.3);
  border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.accent {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.lede { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 32px; border-top: 1px solid var(--line); max-width: 520px;
}
.hero-stats strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 600; color: var(--gold-2); margin-bottom: 4px;
}
.hero-stats span { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* Hero chart card */
.hero-visual { position: relative; }
.card-chart {
  background: linear-gradient(180deg, rgba(24,27,38,0.9), rgba(15,17,24,0.9));
  border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
  backdrop-filter: blur(12px);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.ticker { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 8px; }
.price { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; }
.price span { color: var(--muted); font-size: 22px; }
.delta { font-size: 13px; font-weight: 600; margin-top: 4px; }
.delta.up { color: var(--green); }
.dot-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
}
.dot-live span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.5; transform: scale(1.2); } }
.legend { display: flex; gap: 20px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.sw { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sw.gold { background: var(--gold); }
.sw.gray { background: #555; }

/* Sections */
.section { position: relative; z-index: 1; padding: 120px 32px; max-width: 1240px; margin: 0 auto; }
.section-dark {
  max-width: none;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* Cards */
.grid.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.card {
  background: linear-gradient(180deg, rgba(24,27,38,0.6), rgba(15,17,24,0.4));
  border: 1px solid var(--line);
  border-radius: 16px; padding: 32px;
  transition: all .3s ease;
}
.card:hover {
  border-color: rgba(212,175,106,0.4);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,175,106,0.15), rgba(212,175,106,0.05));
  color: var(--gold); font-size: 20px; margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card ul li {
  font-size: 11px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); letter-spacing: 0.03em;
}

/* Performance */
.perf-wrap {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: stretch;
}
.perf-chart, .perf-stats {
  background: linear-gradient(180deg, rgba(24,27,38,0.6), rgba(15,17,24,0.4));
  border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.perf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: center; }
.stat { border-left: 2px solid var(--gold); padding-left: 14px; }
.stat span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.stat strong { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; }

.fineprint {
  text-align: center; color: var(--muted); font-size: 12px;
  margin-top: 32px; font-style: italic;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px;
}
.about-grid p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillars strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--gold); margin-bottom: 4px;
}
.pillars span { font-size: 13px; color: var(--muted); }

.quote {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 48px; background:
    radial-gradient(circle at top right, rgba(212,175,106,0.12), transparent 60%),
    linear-gradient(180deg, rgba(24,27,38,0.6), rgba(15,17,24,0.4));
  position: relative;
}
.quote::before {
  content: '"'; position: absolute; top: 12px; left: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 100px; color: var(--gold); opacity: 0.3; line-height: 1;
}
.quote p {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 22px; line-height: 1.5; color: var(--text); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.quote span { font-size: 13px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

/* Contact */
.cta { text-align: center; max-width: 560px; margin: 0 auto; }
.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta > p { color: var(--muted); margin-bottom: 40px; font-size: 17px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.contact-form input, .contact-form textarea {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px;
  color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: 8px; justify-content: center; }
.form-success {
  display: none; text-align: center; color: var(--green); font-size: 14px; padding: 10px;
}
.form-success.show { display: block; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 32px; position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.footer p { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 48px 20px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 80px 20px; }
  .perf-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 22px; }
}
