:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F8FD;
  --surface: #FFFFFF;
  --surface-2: #EAF1FF;
  --border: #E1E7F0;
  --text: #0A0E1A;
  --muted: #5B6577;
  --accent: #1D4ED8;
  --accent-2: #3B82F6;
  --accent-grad: linear-gradient(120deg, #1D4ED8, #3B82F6);
  --radius: 16px;
  --container: 1180px;
  --shadow: 0 20px 50px rgba(10,14,26,0.08);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
section > .container > p, section p.reveal { color: var(--muted); max-width: 640px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(29,78,216,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(29,78,216,0.45); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(29,78,216,0.06); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-color: var(--border); background: rgba(255,255,255,0.98); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--text);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  display: flex; flex-direction: column; line-height: 1.3;
  color: var(--text);
}
.logo-text span { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 32px; font-size: 0.92rem; font-weight: 500; }
.nav-links a:not(.nav-cta) { color: var(--muted); transition: color 0.2s ease; }
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  background: var(--accent-grad);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: drift1 14s ease-in-out infinite;
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -400px; left: -300px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,0.12), transparent 65%);
  animation: drift2 18s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-glow::after { animation: none; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(29,78,216,0.08);
  border: 1px solid rgba(29,78,216,0.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-chips li { display: flex; align-items: center; gap: 8px; }
.trust-chips li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.trust-chips.light { color: #3F4A5C; }

/* Hero dashboard mock */
.hero-visual { display: flex; justify-content: center; }
.dash-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.dash-head { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(10,14,26,0.12); }
.dash-title { margin-left: 8px; font-size: 0.85rem; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.live-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  display: inline-block;
}
.live-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}
.dash-stat-row { display: flex; gap: 16px; margin-bottom: 26px; }
.dash-stat {
  flex: 1;
  background: rgba(10,14,26,0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.dash-label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 6px; }
.dash-value { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 700; }
.dash-value.up { color: #1E874B; }
.dash-value.down { color: #1E874B; }
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
}
.dash-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--accent-grad);
  opacity: 0.9;
  animation: rise 1.2s ease-out both;
  transition: height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes rise { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* ---------- Hero visual: tilt + floating notification ---------- */
.hero-visual { perspective: 1200px; position: relative; }
.dash-card { transition: transform 0.3s ease; transform-style: preserve-3d; }

.float-notif {
  position: absolute;
  bottom: -18px; left: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.float-notif.show { opacity: 1; transform: translateY(0); }
.float-notif-icon { color: var(--accent); font-size: 0.6rem; }

/* ---------- Platform marquee ---------- */
.platforms { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 28s linear infinite;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: 120px 0; text-align: center; }
.statement h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 24px; }
.statement p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stats { padding: 60px 0 120px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 16px;
}
.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.88rem; margin-top: 8px; display: block; }

/* ---------- Services ---------- */
.services { padding: 40px 0 120px; }
.services h2 { max-width: 560px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(29,78,216,0.4); background: var(--surface-2); }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(29,78,216,0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Approach / Timeline ---------- */
.approach { padding: 40px 0 120px; background: var(--bg-alt); }
.approach h2 { max-width: 560px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.timeline-step { position: relative; z-index: 1; }
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Why Us ---------- */
.why-us { padding: 40px 0 120px; }
.why-us h2 { max-width: 560px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.why-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--bg));
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent); }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- About ---------- */
.about { padding: 40px 0 130px; }
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.about-visual { display: flex; justify-content: center; }
.about-badge {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.about-badge::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}
.about-badge-num {
  font-family: 'Sora', sans-serif; font-size: 3rem; font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-badge-label { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 6px; }
.about-copy h2 { margin-top: 12px; }
.about-copy p { color: var(--muted); margin-bottom: 28px; max-width: 560px; }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 130px; }
.faq h2 { max-width: 560px; }
.faq-list { margin-top: 44px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-icon { color: var(--accent); font-size: 1.4rem; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 4px 24px; }
.faq-a p { color: var(--muted); font-size: 0.94rem; max-width: 620px; }

/* ---------- Final CTA ---------- */
.cta-final {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
}
.cta-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.cta-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.cta-copy p { color: var(--muted); margin-bottom: 28px; max-width: 460px; }

.cta-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-copy p { margin-left: auto; margin-right: auto; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    z-index: 99;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 28px;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

.form-fineprint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: -6px; }
.form-fineprint a { color: var(--accent); text-decoration: underline; }

/* ---------- Booking calendar (Calendly) ---------- */
.cta-booking { display: flex; flex-direction: column; gap: 12px; }
.calendly-embed {
  min-width: 320px;
  height: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.booking-note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.booking-note a { color: var(--accent); text-decoration: underline; }

/* Calendar loads straight away; show a spinner underneath until the iframe paints */
.calendly-embed { position: relative; }
.calendly-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.calendly-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 0.9rem; }
.calendly-spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: calspin 0.8s linear infinite; }
@keyframes calspin { to { transform: rotate(360deg); } }

/* Bold secondary button (links to the strategy call page) */
.btn-bold {
  margin-top: 34px;
  padding: 19px 38px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  background: #0A0E1A;
  color: #FFFFFF;
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 16px 44px rgba(59, 130, 246, 0.42);
}
.btn-bold::after { content: '\2192'; font-size: 1.15em; transition: transform 0.2s ease; }
.btn-bold:hover { transform: translateY(-2px); background: #111833; box-shadow: 0 20px 52px rgba(59, 130, 246, 0.58); }
.btn-bold:hover::after { transform: translateX(4px); }
@media (max-width: 640px) { .btn-bold { padding: 17px 20px; font-size: 0.93rem; gap: 6px; } }
@media (max-width: 360px) { .btn-bold { white-space: normal; font-size: 0.88rem; } }
