:root {
  --bg: #07111f;
  --bg-2: #0d1b2f;
  --surface: #101f34;
  --surface-2: #f7f3eb;
  --text: #f8fafc;
  --muted: #b8c4d8;
  --muted-dark: #5d6b7d;
  --line: rgba(255,255,255,.12);
  --gold: #d8b76a;
  --gold-2: #f2d891;
  --blue: #38bdf8;
  --green: #22c55e;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, .24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 10%, rgba(216,183,106,.18), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(56,189,248,.16), transparent 34%),
    radial-gradient(circle at 50% 70%, rgba(216,183,106,.08), transparent 38%),
    linear-gradient(180deg, #07111f 0%, #0a1424 52%, #07111f 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 96px 0; }
.skip-link, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 10000;
  background: var(--gold);
  color: #07111f;
  padding: 12px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 17, 31, .78);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 53px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--white); }
.nav-cta {
  background: rgba(216,183,106,.12);
  color: var(--gold) !important;
  border: 1px solid rgba(216,183,106,.32);
  padding: 10px 16px;
  border-radius: 999px;
}
.nav-toggle { display: none; }

.hero { padding-top: 86px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin: 0 0 18px;
}
.eyebrow span {
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 34px;
}
.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07111f;
  box-shadow: 0 18px 48px rgba(216,183,106,.24);
}
.btn-secondary {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.btn.full { width: 100%; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 660px;
}
.proof-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
}
.proof-strip strong { display: block; color: var(--white); font-size: 15px; }
.proof-strip span { color: var(--muted); font-size: 13px; }

.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-visual > img {
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
}
.floating-card {
  position: absolute;
  background: rgba(7,17,31,.78);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  min-width: 230px;
  animation: float 5s ease-in-out infinite;
}
.floating-card strong, .floating-card small { display: block; }
.floating-card small { color: var(--muted); }
.card-one { left: -30px; bottom: 120px; }
.card-two { right: -20px; top: -60px; animation-delay: 1.3s; }
.card-three { left: -30px; bottom: -10px; }
.card-four { right: -50px; top: 100px; animation-delay: 1.3s; }
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}
.dot.gold { background: var(--gold); }
.dot.blue { background: var(--blue); }
.dot.green { background: var(--green); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.logos-section { padding: 42px 0 80px; }
.section-kicker {
  color: var(--muted);
  text-align: center;
  max-width: 840px;
  margin: 0 auto 20px;
}
.market-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.market-tags span {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.align-start { align-items: start; }
.section-heading h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 18px;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}
.section-heading.centered { text-align: center; max-width: 840px; margin: 0 auto 54px; }
.section-heading.centered .eyebrow { justify-content: center; }
.problem-list {
  display: grid;
  gap: 18px;
}
.problem-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 6px;
  align-items: start;
  min-height: 150px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
}
.problem-list strong {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.1;
}
.problem-list h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}
.problem-list p {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.solutions-section {
  background: var(--surface-2);
  color: #0d1b2f;
  border-radius: 48px 48px 0 0;
}
.solutions-section .eyebrow { color: #8c6a1f; }
.solutions-section .eyebrow span { background: #8c6a1f; }
.solutions-section .section-heading p:not(.eyebrow) { color: var(--muted-dark); margin-inline: auto; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(13,27,47,.08);
  box-shadow: 0 20px 60px rgba(13,27,47,.08);
  min-height: 320px;
}
.solution-card.featured {
  background: linear-gradient(160deg, #07111f, #123a5c);
  color: #fff;
  transform: translateY(-12px);
}
.solution-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f2ead8;
  color: #8c6a1f;
  font-weight: 900;
  margin-bottom: 20px;
}
.solution-card.featured .icon { background: rgba(216,183,106,.16); color: var(--gold-2); }
.solution-card h3 { font-size: 23px; margin-bottom: 12px; }
.solution-card p { color: #526173; }
.solution-card.featured p { color: #c9d4e5; }
.solution-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.solution-card li {
  display: flex;
  gap: 8px;
  color: #334155;
  font-weight: 650;
  font-size: 14px;
}
.solution-card.featured li { color: #eaf1fb; }
.solution-card li::before { content: "•"; color: var(--gold); font-weight: 900; }

.method-section {
  background: var(--surface-2);
  color: #0d1b2f;
  padding-top: 20px;
}
.method-shell {
  background: #07111f;
  color: var(--white);
  border-radius: 40px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.method-shell::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(216,183,106,.22), transparent 70%);
}
.method-shell .section-heading { max-width: 760px; position: relative; z-index: 1; }
.method-shell .section-heading p:not(.eyebrow) { color: var(--muted); }
.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.timeline article {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
}
.timeline span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #07111f;
  font-weight: 900;
  margin-bottom: 16px;
}
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); margin-bottom: 0; font-size: 14px; }

.stats-section { background: var(--surface-2); color: #0d1b2f; padding: 60px 0 96px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: #fff;
  border: 1px solid rgba(13,27,47,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(13,27,47,.07);
}
.stat strong { font-size: 56px; line-height: 1; letter-spacing: -.06em; }
.stat span { margin-left: 8px; font-weight: 900; color: #8c6a1f; }
.stat p { color: #526173; margin: 10px 0 0; }

.backoffice-section { padding-top: 108px; }
.tool-stack { display: grid; gap: 16px; }
.tool-stack article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.055);
}
.tool-stack span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(216,183,106,.12);
  font-size: 24px;
}
.tool-stack h3 { margin-bottom: 6px; }
.tool-stack p { color: var(--muted); margin-bottom: 0; }

.referral-section { padding-top: 20px; }
.referral-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(216,183,106,.18), rgba(56,189,248,.08));
  border: 1px solid rgba(255,255,255,.12);
}
.referral-card h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.referral-card p { color: var(--muted); }
.referral-steps { display: grid; gap: 12px; }
.referral-steps span {
  padding: 16px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  font-weight: 850;
}

.faq-section { background: var(--surface-2); color: #0d1b2f; border-radius: 48px 48px 0 0; }
.faq-section .eyebrow { color: #8c6a1f; }
.faq-section .eyebrow span { background: #8c6a1f; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(13,27,47,.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(13,27,47,.06);
}
.faq-item button {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 900;
  color: #0d1b2f;
}
.faq-item button::after {
  content: "+";
  font-size: 24px;
  color: #8c6a1f;
}
.faq-item.is-open button::after { content: "–"; }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-content p {
  color: #526173;
  padding: 0 24px 22px;
  margin: 0;
}

.contact-section { background: var(--surface-2); color: #0d1b2f; padding-top: 20px; }
.contact-section .eyebrow { color: #8c6a1f; }
.contact-section .eyebrow span { background: #8c6a1f; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: start;
  background: #fff;
  border-radius: 40px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 70px rgba(13,27,47,.10);
}
.contact-section .section-heading p:not(.eyebrow) { color: #526173; }
.contact-info { display: grid; gap: 10px; margin-top: 24px; }
.contact-info a {
  color: #0d1b2f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(216,183,106,.55);
  text-underline-offset: 4px;
}
.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: #f7f3eb;
  border: 1px solid rgba(13,27,47,.08);
}
.lead-form label {
  display: grid;
  gap: 7px;
  color: #21324a;
  font-weight: 850;
  font-size: 14px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid rgba(13,27,47,.14);
  background: #fff;
  color: #0d1b2f;
  border-radius: 16px;
  padding: 14px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216,183,106,.16);
}
.form-note { color: #64748b; font-size: 12px; margin: 0; text-align: center; }

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #07111f;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner img { height: 42px; width: auto; }
.footer-inner a { color: var(--gold); font-weight: 800; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .section { padding: 76px 0; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    border-radius: 14px;
    place-content: center;
    color: #fff;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }
  .main-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(7,17,31,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; }
  .hero-grid, .two-column, .contact-grid, .referral-card {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 44px; }
  .hero-visual > img { transform: none; }
  .solution-grid, .timeline, .stats-grid { grid-template-columns: 1fr 1fr; }
  .floating-card { position: static; margin-top: 14px; min-width: 0; animation: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 74px; }
  .brand img { height: 46px; }
  .main-nav { top: 74px; }
  .hero { padding-top: 48px; }
  h1 { font-size: 42px; }
  .hero-subtitle { font-size: 17px; }
  .proof-strip, .solution-grid, .timeline, .stats-grid { grid-template-columns: 1fr; }
  .solution-card.featured { transform: none; }
  .problem-list article {
    grid-template-columns: 1fr;
    min-height: auto;
    row-gap: 10px;
  }
  .problem-list strong,
  .problem-list h3,
  .problem-list p {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-inner { flex-direction: column; text-align: center; }
  .section-heading h2 { font-size: 34px; }
  .contact-grid, .method-shell, .referral-card { border-radius: 28px; }
}
