/* Forge Web Services, shared design system.
   Strict palette + Poppins + sparkle animations. */

:root {
  /* Brand */
  --purple-electric: #7B00EC;   /* Primary electric purple */
  --purple-deep:     #5B2A88;   /* Deep purple */
  --purple-dark-bg:  #2E0A32;   /* Dark hero background */
  --purple-darker:   #1A0520;   /* Slightly darker for footer/gradient endpoints */
  --lilac:           #F5EFFF;   /* Light section background */
  --border-light:    #E5E0F0;   /* Light border */
  --purple-100:      #DCC8FA;   /* Light purple, faint icon tint */
  --ink:             #1E1E1E;   /* Near black text */
  --white:           #FFFFFF;

  /* Functional muted tones derived from brand */
  --ink-soft:    #4A4A55;
  --ink-muted:   #6B6B7B;
  --ink-faint:   #94949F;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(30,30,30,0.04), 0 4px 16px rgba(46,10,50,0.06);
  --shadow-pop:  0 14px 36px rgba(123,0,236,0.20), 0 2px 6px rgba(30,30,30,0.06);
  --shadow-glow: 0 0 28px rgba(123,0,236,0.45);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide { max-width: 1280px; }
.container-narrow { max-width: 880px; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 220ms ease, background 220ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #9333FF 0%, #7B00EC 55%, #5B2A88 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(123,0,236,0.30);
}
.btn-primary:hover { box-shadow: 0 0 0 2px rgba(123,0,236,0.18), 0 12px 28px rgba(123,0,236,0.42); }
.btn-dark {
  background: #15101C;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
}
.btn-dark:hover { background: #211934; box-shadow: 0 0 20px rgba(123,0,236,0.30); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-light);
}
.btn-outline-dark:hover { background: var(--lilac); border-color: var(--purple-deep); color: var(--purple-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.arrow { display: inline-block; transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============== Top Nav ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(46, 10, 50, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-light.nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-light);
}
.nav-light.nav.scrolled { background: rgba(255,255,255,0.98); }
.nav-inner {
  display: flex; align-items: center;
  height: 76px; gap: 28px;
  position: relative;
}
.nav-links {
  display: flex; gap: 2px; align-items: center;
  /* Truly centered to the nav bar, independent of logo/right-group widths */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-right {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.nav-light .nav-logo { color: var(--ink); }

/* Combined image logo (replaces the original mark + wordmark text) */
.nav-logo-image { padding: 4px 0; }
.nav-logo-image img {
  height: 34px; width: auto; display: block;
}
.nav-light .nav-logo-image img {
  /* The packaged logo is white; invert it on light backgrounds */
  filter: invert(7%) sepia(56%) saturate(2680%) hue-rotate(279deg) brightness(95%) contrast(101%);
}
/* Footer reuses .nav-logo, slightly larger */
.footer .nav-logo-image img { height: 44px; }

/* ===== Old mark + wordmark styles (kept for backwards compat, no longer rendered) ===== */
.nav-logo .mark {
  width: 32px; height: 42px;
  display: grid; place-items: center;
  color: var(--white);
}
.nav-light .nav-logo .mark { color: var(--purple-electric); }
.nav-logo .mark svg { width: 100%; height: 100%; display: block; }
.nav-logo .wordmark { display: flex; flex-direction: column; line-height: 0.95; }
.nav-logo .wordmark .row1 {
  font-weight: 600; font-size: 17px; letter-spacing: -0.005em;
}
.nav-logo .wordmark .row1 .accent { color: #C49CFF; font-weight: 400; }
.nav-light .nav-logo .wordmark .row1 .accent { color: var(--purple-electric); }
.nav-logo .wordmark .row2 {
  font-size: 9px; letter-spacing: 0.32em; font-weight: 500;
  margin-top: 4px; opacity: 0.7;
}

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.78);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.nav-light .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-light .nav-links a:hover { color: var(--purple-electric); background: var(--lilac); }
.nav-links a.active { color: var(--white); }
.nav-light .nav-links a.active { color: var(--purple-electric); }

/* Dropdown */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.78);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: inherit;
}
.nav-light .nav-dd-trigger { color: var(--ink-soft); }
.nav-dd-trigger .caret {
  display: inline-flex; transition: transform 200ms ease;
  opacity: 0.7;
}
.nav-dd:hover .nav-dd-trigger,
.nav-dd:focus-within .nav-dd-trigger {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-light .nav-dd:hover .nav-dd-trigger,
.nav-light .nav-dd:focus-within .nav-dd-trigger {
  color: var(--purple-electric);
  background: var(--lilac);
}
.nav-dd:hover .nav-dd-trigger .caret,
.nav-dd:focus-within .nav-dd-trigger .caret { transform: rotate(180deg); }
.nav-dd-trigger.active { color: var(--white); }
.nav-light .nav-dd-trigger.active { color: var(--purple-electric); }

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 360px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2,0.8,0.2,1);
  padding-top: 10px;
  z-index: 60;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dd-inner {
  background: #1F0A26;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(0,0,0,0.45), 0 0 0 1px rgba(123,0,236,0.18);
  padding: 10px;
  display: flex; flex-direction: column;
  position: relative;
}
.nav-dd-inner::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #1F0A26;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-light .nav-dd-inner {
  background: var(--white);
  border-color: var(--border-light);
  box-shadow: 0 24px 56px rgba(46,10,50,0.12), 0 0 0 1px var(--border-light);
}
.nav-light .nav-dd-inner::before { background: var(--white); border-color: var(--border-light); }

.nav-dd-item {
  display: flex !important; align-items: flex-start; gap: 12px;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(255,255,255,0.88) !important;
  font-size: 14px !important;
  transition: background 150ms ease;
  text-align: left;
  white-space: normal !important;
}
.nav-light .nav-dd-item { color: var(--ink) !important; }
.nav-dd-item:hover { background: rgba(123,0,236,0.18) !important; }
.nav-light .nav-dd-item:hover { background: var(--lilac) !important; }
.nav-dd-ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(123,0,236,0.22);
  color: #D5B3FF;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav-light .nav-dd-ic { background: var(--lilac); color: var(--purple-electric); }
.nav-dd-ic svg { width: 18px; height: 18px; }
.nav-dd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-dd-title {
  font-size: 14px; font-weight: 600;
  color: var(--white);
  letter-spacing: -0.005em;
}
.nav-light .nav-dd-title { color: var(--ink); }
.nav-dd-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.nav-light .nav-dd-desc { color: var(--ink-muted); }

/* Mega menu (multi-column) */
.nav-mega-panel { min-width: 640px; }
.nav-mega-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6px;
  padding: 14px;
}
.nav-mega-col {
  display: flex; flex-direction: column;
  padding: 6px;
}
.nav-mega-col + .nav-mega-col {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 16px;
}
.nav-light .nav-mega-col + .nav-mega-col { border-left-color: var(--border-light); }
.nav-mega-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 6px 10px 10px;
  font-family: 'JetBrains Mono', monospace;
}
.nav-light .nav-mega-heading { color: var(--ink-muted); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login {
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
}
.nav-light .nav-login { color: var(--ink-soft); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-light .nav-burger { background: var(--lilac); border-color: var(--border-light); color: var(--ink); }
.nav-burger svg { width: 18px; height: 18px; }

/* Responsive nav */
@media (max-width: 1180px) {
  .nav-links a[data-secondary],
  .nav-links .nav-dd[data-secondary] { display: none; }
  .nav-inner { gap: 12px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-right .nav-login { display: none; }
  .nav-right .btn { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 460px) {
  .nav-inner { height: 64px; }
  .nav-right .btn { padding: 9px 12px; font-size: 12px; }
  .nav-logo .wordmark .row2 { display: none; }
}

/* ============== Hero with sparkles + drift ============== */
.hero {
  position: relative;
  background: var(--purple-dark-bg);
  color: var(--white);
  overflow: hidden;
  padding: 132px 0 108px;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: -10% -10% -10% -10%;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(147, 51, 255, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 70%, rgba(123, 0, 236, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(91, 42, 136, 0.30) 0%, transparent 65%);
  animation: drift 9s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}
.hero-dotgrid {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.2px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 90%);
  opacity: 0.6;
}

/* Sparkle stars */
.sparkle {
  position: absolute;
  color: rgba(255,255,255,0.55);
  animation: sparkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
  z-index: 0;
}
.sparkle svg { width: 100%; height: 100%; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-content { position: relative; text-align: center; max-width: 920px; margin: 0 auto; z-index: 2; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  font-weight: 500;
}
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: #C49CFF; }
.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 150ms ease;
}
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #E5CFFF 0%, #9F66E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 28px; justify-content: center;
  margin-top: 36px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .check { color: #C49CFF; }

/* ============== Section primitives ============== */
.section { padding: 92px 0; }
.section-light { background: var(--white); }
.section-lilac { background: var(--lilac); }
.section-dark {
  background: linear-gradient(180deg, #2E0A32 0%, #1A0520 100%);
  color: var(--white);
  position: relative;
}

.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--lilac);
  color: var(--purple-electric);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-dark .section-eyebrow {
  background: rgba(255,255,255,0.08);
  color: #D5B3FF;
  border: 1px solid rgba(255,255,255,0.08);
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
  text-wrap: balance;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}
.section-dark .section-head p { color: rgba(255,255,255,0.72); }
.section-dark .section-head h2 { color: var(--white); }

/* ============== Card primitives ============== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(46,10,50,0.10);
  border-color: var(--purple-electric);
}

.icon-tile {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--lilac);
  color: var(--purple-electric);
  display: grid; place-items: center;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile-dark {
  background: rgba(123,0,236,0.16);
  color: #D5B3FF;
}

.check-circle {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--purple-electric);
  display: inline-grid; place-items: center;
  flex-shrink: 0;
}
.check-circle svg { width: 12px; height: 12px; }
.check-circle.dark { background: rgba(255,255,255,0.12); color: #C49CFF; }

/* ============== Reveal on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== CTA Banner ============== */
.cta-banner {
  position: relative;
  background: var(--purple-dark-bg);
  color: var(--white);
  padding: 108px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner .hero-glow,
.cta-banner .hero-dotgrid { opacity: 0.8; }
.cta-banner .avatars {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.cta-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid var(--purple-dark-bg);
  margin-left: -14px;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cta-avatar:first-child { margin-left: 0; }
.cta-avatar.a1 { background: linear-gradient(135deg, #C49CFF 0%, #7B00EC 100%); }
.cta-avatar.a2 { background: linear-gradient(135deg, #9333FF 0%, #5B2A88 100%); }
.cta-avatar.a3 { background: linear-gradient(135deg, #E5CFFF 0%, #9F66E8 100%); color: #2E0A32; }
.cta-banner h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.1;
  text-wrap: balance;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-banner .cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}
.cta-banner .cta-trust {
  display: inline-flex; gap: 36px; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.cta-banner .cta-trust span { display: inline-flex; align-items: center; gap: 8px; }
.cta-banner .cta-trust .check { color: #C49CFF; }

/* ============== Footer ============== */
.footer {
  background: var(--purple-dark-bg);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul li a { transition: color 150ms ease; }
.footer ul li a:hover { color: #C49CFF; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.footer-social a:hover { background: var(--purple-electric); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  padding-top: 26px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.45);
}
.footer-contact {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-contact .ic { color: #C49CFF; }

/* ============== Utilities ============== */
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.flex { display: flex; }
.grid { display: grid; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* ============== Big-stat overlap card (used on home, pricing, features, security, solutions, migration) ============== */
.bigstats {
  position: relative;
  margin-top: -64px;
  z-index: 5;
  padding: 0 32px;
}
.bigstats-inner {
  max-width: 1140px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(46,10,50,0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
@media (max-width: 900px) { .bigstats-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bigstats-inner { grid-template-columns: 1fr; } }
.bigstat {
  padding: 32px 28px;
  border-right: 1px solid var(--border-light);
  position: relative;
}
.bigstat:last-child { border-right: 0; }
@media (max-width: 900px) {
  .bigstat:nth-child(2n) { border-right: 0; }
  .bigstat:nth-child(-n+2) { border-bottom: 1px solid var(--border-light); }
}
.bigstat .num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #7B00EC 0%, #5B2A88 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.bigstat .lbl {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
  line-height: 1.4;
}
.bigstat .ic {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--purple-100);
  opacity: 0.7;
}
.bigstat .ic svg { width: 22px; height: 22px; }

/* ============== Comparison tables: consistent check / x icon sizing ============== */
/* All comparison tables across the site use these classes for yes/no/text values.
   Locks SVG icon dimensions so they stay small and uniform on every page. */
.compare-table .check-inline,
.compare-table .x-inline,
.full-compare .yes,
.full-compare .no,
.sec-compare .yes,
.sec-compare .no,
.perf-compare .yes,
.perf-compare .no,
.matrix .y,
.matrix .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}
.compare-table .check-inline svg,
.compare-table .x-inline svg,
.full-compare .yes svg,
.full-compare .no svg,
.sec-compare .yes svg,
.sec-compare .no svg,
.perf-compare .yes svg,
.perf-compare .no svg,
.matrix .y svg,
.matrix .n svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* Center icon-only table cells horizontally so columns line up cleanly */
.full-compare tbody td:not(:first-child),
.sec-compare tbody td:not(:first-child),
.perf-compare tbody td:not(:first-child),
.matrix tbody td:not(:first-child) {
  text-align: center;
}
.full-compare thead th:not(:first-child),
.sec-compare thead th:not(:first-child),
.perf-compare thead th:not(:first-child),
.matrix thead th:not(:first-child) {
  text-align: center;
}

/* ============== Long-form document layout (Privacy/Terms/Refund) ============== */
.doc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 64px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 700px) { .doc { padding: 36px 24px; } }
.doc .updated {
  display: inline-block;
  padding: 6px 14px;
  background: var(--lilac);
  color: var(--purple-electric);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--ink);
}
.doc p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.doc ul, .doc ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.doc li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.doc a {
  color: var(--purple-electric);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc a:hover { color: var(--purple-deep); }
.doc .callout {
  background: var(--lilac);
  border-left: 4px solid var(--purple-electric);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.doc .callout p:last-child { margin-bottom: 0; }
.doc .callout strong { color: var(--ink); font-weight: 600; }
.doc .toc {
  background: var(--lilac);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.doc .toc h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.doc .toc ol { padding-left: 18px; margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .doc .toc ol { columns: 1; } }
.doc .toc ol li { font-size: 13px; margin-bottom: 6px; }
.doc .toc ol li a { color: var(--ink-soft); text-decoration: none; }
.doc .toc ol li a:hover { color: var(--purple-electric); }

/* Refund hero callout */
.guarantee-card {
  max-width: 820px; margin: 0 auto 48px;
  background: linear-gradient(135deg, #9333FF 0%, #5B2A88 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-pop);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
@media (max-width: 700px) { .guarantee-card { padding: 36px 24px; } }
.guarantee-card .day-mark {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, #E5CFFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.guarantee-card .day-label {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin: 8px 0 24px;
}
.guarantee-card p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin: 0 auto;
}
