/* Infinite Scale — "Scale Your Life" rebrand mockup styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a876;
  --gold-dark: #a3824f;
  --gold-glow: rgba(201, 168, 118, .14);
  --blue: #1c3a8f;
  --blue-dark: #0e1f52;
  --navy: #090d18;
  --navy-2: #101524;
  --text: #11141c;
  --muted: #666b7a;
  --border: #e7e5df;
  --bg: #ffffff;
  --bg-2: #f7f6f2;
  --radius: 6px;
}
.hairline { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); width: 64px; }

html { scroll-behavior: smooth; zoom: 0.9; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .brand-font {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -.01em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(56px, 9vw, 108px) 0; }
.section-alt { background: var(--bg-2); }

/* NAV */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark img { width: 34px; height: 34px; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-link { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.nav-links a.nav-link:hover { color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: .03em;
  padding: 12px 22px; border-radius: 3px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .12s ease-out;
}
.btn-primary { background: var(--gold); color: #1a1205; }
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-platform {
  background: var(--navy); color: #fff; font-size: 13px; padding: 8px 16px;
}
.btn-platform:hover { background: #000; transform: translateY(-1px); }
.btn-platform-icon { display: none; width: 15px; height: 15px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }

.mobile-toggle {
  display: none; background: none; border: 1.5px solid var(--border); border-radius: 4px;
  width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer;
  font-size: 18px; color: var(--text);
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 10px clamp(20px, 5vw, 48px) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-link { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.nav-link:last-child { border-bottom: none; }
  .mobile-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}
@media (max-width: 480px) {
  .nav-actions .btn-platform { padding: 8px 11px; }
  .nav-actions .btn-platform-text { display: none; }
  .nav-actions .btn-platform-icon { display: inline-flex; }
}

/* HERO — restrained studio-lit backdrop: deep charcoal-black, soft directional glow, fine grain */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 11vw, 130px) 0 clamp(56px, 9vw, 96px);
}
.hero > .container, .page-hero > .container { position: relative; z-index: 2; }

.fx-diagonal {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 78% 0%, rgba(201,168,118,.20) 0%, transparent 70%),
    radial-gradient(ellipse 75% 80% at -5% 108%, rgba(28,58,143,.30) 0%, transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 35%);
}
.fx-diagonal::after {
  content: ''; position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Gold cursor-tracking glow */
.fx-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 30%), rgba(201,168,118,.16), transparent 60%);
}

/* Small subtle "live agents" indicator */
.live-badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 6px 13px 6px 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}
.live-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: #4ade80;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: liveDotPulse 2.2s ease-out infinite;
}
@keyframes liveDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.live-badge .live-count { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; color: #fff; }
.live-badge .live-label { font-size: 12px; color: rgba(255,255,255,.5); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Hero orbit graphic — ambient, continuously animated accent */
.hero-orbit {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: clamp(16px, 6vw, 90px);
  width: clamp(300px, 28vw, 440px);
  transform: translateY(-50%);
  opacity: .95;
}
.hero-orbit svg { width: 100%; height: auto; display: block; overflow: visible; }

.orbit-ring { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1; }
.orbit-ring-inner { stroke: rgba(201,168,118,.22); }

.orbit-rotator { transform-origin: 250px 250px; animation: orbitSpin 60s linear infinite; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.orbit-line { stroke: rgba(255,255,255,.24); stroke-width: 1; stroke-dasharray: 3 5; stroke-linecap: round; }
.orbit-dot { fill: var(--gold); }

.orbit-core { fill: url(#orbitCoreGrad); filter: drop-shadow(0 0 26px rgba(201,168,118,.35)); }
.orbit-icon { color: var(--navy); }

.orbit-pulse {
  fill: none; stroke: var(--gold); stroke-width: 1.25;
  transform-origin: 250px 250px; opacity: 0;
  animation: orbitPulse 4.5s cubic-bezier(.25,.6,.4,1) infinite;
}
.orbit-pulse-delay { animation-delay: 2.25s; }
@keyframes orbitPulse {
  0% { transform: scale(1); opacity: .4; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 1140px) { .hero-orbit { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .orbit-rotator { animation: none; }
  .orbit-pulse { animation: none; opacity: 0; }
}

/* Rotating hero word */
.rotate-word { display: inline-block; color: var(--gold); transition: opacity .3s ease, transform .3s ease; }
.rotate-word.rotate-out { opacity: 0; transform: translateY(6px); }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px;
}
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px;
  background: var(--gold); border-radius: 50%; animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(0); } }
@media (max-width: 700px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; opacity: .6; } }

/* Client logo wall */
.logo-strip { background: var(--navy); padding: 40px 0 44px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.logo-strip-label {
  text-align: center; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em; margin-bottom: 28px;
}
.logo-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.logo-track-inner { display: flex; align-items: center; gap: 88px; width: max-content; animation: logoScroll 34s linear infinite; }
.logo-strip:hover .logo-track-inner { animation-play-state: paused; }
.logo-item { height: 56px; width: auto; opacity: .95; transition: opacity .2s ease, transform .2s ease; }
.logo-item:hover { opacity: 1; transform: scale(1.04); }
@media (max-width: 700px) { .logo-item { height: 42px; } .logo-track-inner { gap: 56px; } }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track-inner { animation: none; } }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08;
  max-width: 780px; margin-bottom: 20px; text-transform: uppercase;
}
.hero .lead { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.7); max-width: 520px; margin-bottom: 34px; font-family: 'Inter', sans-serif; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-proof { font-size: 13.5px; color: rgba(255,255,255,.5); }
.hero-proof strong { color: var(--gold); }

/* PAGE HERO (secondary pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: clamp(56px, 9vw, 92px) 0 clamp(40px, 6vw, 64px);
}
.page-hero h1 { font-weight: 800; font-size: clamp(28px, 4vw, 44px); max-width: 700px; margin-bottom: 16px; text-transform: uppercase; }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 560px; font-size: 16px; margin-bottom: 26px; font-family: 'Inter', sans-serif; }

/* GRID / CARDS */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(9,13,24,.18); border-color: var(--gold); }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; font-family: 'Poppins', sans-serif; }
.card p { font-size: 14px; color: var(--muted); }
.card a.more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.card.featured {
  background: linear-gradient(165deg, var(--gold-glow), var(--bg) 60%);
  border-color: rgba(227,169,74,.45);
}
.card-icon {
  width: 38px; height: 38px; border-radius: 4px; background: var(--gold-glow); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 16px; font-weight: 800; margin-bottom: 14px;
}
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.card-icon .icon { width: 19px; height: 19px; }
.timeline-dot .icon { width: 20px; height: 20px; }
.bullet-icon .icon { width: 12px; height: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .11s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .18s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-tag { color: var(--gold-dark); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.check-list li::before { content: '✓'; color: var(--gold-dark); font-weight: 800; flex-shrink: 0; }

/* FOUNDERS */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
@media (max-width: 700px) { .founders { grid-template-columns: 1fr; gap: 36px; } }
.founder-photo {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 22px; background: var(--navy);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.founder-card:hover .founder-photo img { transform: scale(1.035); }
.founder-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 4px; }
.founder-role { color: var(--gold-dark); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.founder-bio { color: var(--muted); font-size: 14.5px; max-width: 420px; }

/* TESTIMONIALS */
.testimonial {
  background: var(--bg-2); border-radius: var(--radius); padding: 26px; border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(9,13,24,.14); border-color: var(--gold); }
.testimonial p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.testimonial cite { font-style: normal; font-weight: 700; font-size: 13px; color: var(--muted); }

/* STATS */
.stats-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(44px, 7vw, 72px) 0; }
.stats-band > .container { position: relative; z-index: 2; }
.stats-band .section-head h2, .stats-band .section-head p { color: #fff; }
.stats-band .section-head p { color: rgba(255,255,255,.6); }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); color: var(--gold); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* FORMS */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
label { font-size: 12.5px; font-weight: 600; }
.req { color: var(--gold-dark); }
input, select, textarea {
  padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--border);
  background: var(--bg-2); color: var(--text); font-size: 14px; font-family: 'Inter', sans-serif;
  outline: none; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.name-row, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .name-row, .two-col { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill-opt { display: none; }
.pill-label {
  padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; transition: all .12s;
}
.pill-opt:checked + .pill-label { border-color: var(--gold); background: var(--gold-glow); color: var(--gold-dark); }
.form-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .check-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold-glow); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 24px; margin: 0 auto 16px;
}
.form-success h3 { font-size: 19px; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 14px; }

/* FOOTER */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 48px 0 28px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: 12px; font-family: 'Poppins', sans-serif; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

.calendly-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 700px; }

/* PROCESS TIMELINE */
.timeline { display: flex; gap: 0; position: relative; }
.timeline-step { flex: 1; text-align: center; padding: 0 18px; position: relative; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border);
  color: var(--muted); font-weight: 800; font-family: 'Poppins', sans-serif; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; position: relative; z-index: 2;
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.timeline-step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: calc(50% + 22px); width: calc(100% - 44px); height: 2px;
  background: var(--border); z-index: 1;
}
.timeline-step:not(:last-child)::before {
  content: ''; position: absolute; top: 22px; left: calc(50% + 22px); width: 0; height: 2px;
  background: var(--gold); z-index: 1; transition: width .9s ease;
}
.timeline-step h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.timeline-step p { font-size: 13.5px; color: var(--muted); }
.timeline.in-view .timeline-dot { background: var(--gold); border-color: var(--gold); color: #1a1205; }
.timeline.in-view .timeline-step:not(:last-child)::before { width: calc(100% - 44px); }
.timeline.in-view .timeline-step:nth-child(1) .timeline-dot { transition-delay: .1s; }
.timeline.in-view .timeline-step:nth-child(2) .timeline-dot { transition-delay: .5s; }
.timeline.in-view .timeline-step:nth-child(3) .timeline-dot { transition-delay: .9s; }
.timeline.in-view .timeline-step:nth-child(4) .timeline-dot { transition-delay: 1.3s; }
.timeline.in-view .timeline-step:nth-child(1)::before { transition-delay: .1s; }
.timeline.in-view .timeline-step:nth-child(2)::before { transition-delay: .5s; }
.timeline.in-view .timeline-step:nth-child(3)::before { transition-delay: .9s; }
@media (max-width: 800px) {
  .timeline { flex-direction: column; gap: 36px; }
  .timeline-step { text-align: left; padding: 0 0 0 60px; }
  .timeline-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline-step:not(:last-child)::after { top: 44px; left: 21px; width: 2px; height: calc(100% + 36px - 22px); }
  .timeline-step:not(:last-child)::before { top: 44px; left: 21px; width: 2px; height: 0; }
  .timeline.in-view .timeline-step:not(:last-child)::before { width: 2px; height: calc(100% + 36px - 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-dot, .timeline-step::before { transition: none; }
}
