/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #EBA800;
  --gold-light: #FCE001;
  --gold-dark: #C98A00;
  --bg: #080809;
  --bg-2: #0F0F11;
  --bg-3: #17171C;
  --border: rgba(255,255,255,0.07);
  --border-gold: rgba(235,168,0,0.3);
  --text: #F2F1EA;
  --text-muted: #8A8A98;
  --radius: 14px;
  --radius-lg: 22px;
  --t: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ───────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__heading {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: #08080A;
  box-shadow: 0 4px 28px rgba(235,168,0,0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(235,168,0,0.48); }
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border-gold);
}
.btn--outline:hover { background: var(--gold); color: #08080A; }
.btn--sm  { padding: 8px 18px; font-size: 0.84rem; }
.btn--lg  { padding: 16px 34px; font-size: 1rem; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,9,0.88);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex; align-items: center; gap: 30px; list-style: none;
}
.nav__links a:not(.btn) {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; transition: color var(--t);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__hamburger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.5rem; cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(235,168,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235,168,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(235,168,0,0.07);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero__headline {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.72;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: inline-flex;
}
.proof-stat { text-align: center; }
.proof-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.proof-stat span { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Collaborations ──────────────────────────────────── */
.collab {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.collab .container { text-align: center; }
.collab__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.collab__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
}
.collab__logos span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  transition: color var(--t);
}
.collab__logos span:hover { color: rgba(255,255,255,0.5); }

/* ── Services ────────────────────────────────────────── */
.services { padding: 110px 0; background: var(--bg-2); }
.services .section__heading { margin-bottom: 0; }
.services > .container > *:not(.services__grid) { text-align: center; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.12); }
.card--featured { border-color: var(--border-gold); background: linear-gradient(150deg, #1B1600 0%, var(--bg-3) 60%); }
.card--featured:hover { border-color: rgba(235,168,0,0.55); }

.card__badge {
  position: absolute;
  top: -13px; right: 24px;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: #08080A;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px;
}
.card__number {
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--border-gold);
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.card__icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 18px; }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.68; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  font-size: 0.87rem; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.card__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold);
}

/* ── About ───────────────────────────────────────────── */
.about { padding: 110px 0; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__text p:not(.section__eyebrow) {
  color: var(--text-muted); font-size: 0.94rem;
  line-height: 1.72; margin-bottom: 18px;
}
.about__text p strong { color: var(--text); }
.about__text .btn { margin-top: 12px; }

.about__card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.about__card-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.about__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: #08080A;
  flex-shrink: 0;
}
.about__card-header strong { display: block; font-size: 1rem; font-weight: 700; }
.about__card-header span { font-size: 0.82rem; color: var(--text-muted); }
.about__facts { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.about__facts li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; color: var(--text-muted);
}
.about__facts li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* ── Testimonials ────────────────────────────────────── */
.testimonials { padding: 110px 0; background: var(--bg-2); }
.testimonials .section__heading { text-align: center; margin-bottom: 0; }
.testimonials .section__eyebrow { text-align: center; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.tcard {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--t), box-shadow var(--t);
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.tcard__stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.tcard__quote {
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
  font-style: italic;
}
.tcard__quote::before { content: '\201C'; }
.tcard__quote::after  { content: '\201D'; }
.tcard__author { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.tcard__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border-gold); }
.tcard__author-info { display: flex; flex-direction: column; gap: 2px; }
.tcard__name { font-size: 0.88rem; font-weight: 700; color: var(--text); text-decoration: none; }
.tcard__name:hover { color: var(--gold); }
.tcard__title { font-size: 0.8rem; color: var(--text-muted); }

/* ── Contact ─────────────────────────────────────────── */
.contact {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(235,168,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 620px; margin: 0 auto; }
.contact__sub {
  color: var(--text-muted);
  font-size: 1rem; line-height: 1.72;
  margin-bottom: 40px;
}
.contact__cta svg { width: 20px; height: 20px; }

/* ── Footer ──────────────────────────────────────────── */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer__left { display: flex; flex-direction: column; gap: 10px; }
.footer__right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; text-align: right;
}
.footer p, .footer__legal { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.footer__email {
  font-size: 0.82rem; color: var(--text-muted);
  text-decoration: none; transition: color var(--t);
}
.footer__email:hover { color: var(--gold); }
@media (max-width: 680px) {
  .footer__right { align-items: flex-start; text-align: left; }
}

/* ── Molecule Canvas ─────────────────────────────────── */
#molecule-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ── Animations ──────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-in.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .services__grid,
  .testimonials__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .nav__links {
    display: none; flex-direction: column; gap: 16px;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(8,8,9,0.97); backdrop-filter: blur(20px);
    padding: 24px; border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: block; }
  .hero__proof { flex-direction: column; gap: 20px; }
  .proof-divider { width: 40px; height: 1px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
