/* ========================================================
   XSELLEREIGHT - Landing Page
   Design tokens lifted from orbai-template.framer.website
   ======================================================== */

:root {
  /* Color tokens */
  --cream: rgb(245, 245, 245);
  --white: rgb(255, 255, 255);
  --headline: rgb(14, 28, 41);
  --black: rgb(0, 0, 0);
  --muted: rgba(0, 0, 0, 0.4);
  --muted-2: rgba(0, 0, 0, 0.6);
  --hairline: rgba(0, 0, 0, 0.08);
  --soft-blue: rgba(184, 199, 217, 0.5);
  --highlight: rgba(240, 248, 255, 0.9);

  /* Neumorphic shadows */
  --shadow-card:
    rgba(0, 0, 0, 0.08) 0px 0.706592px 0.706592px -0.666667px,
    rgba(0, 0, 0, 0.08) 0px 1.80656px 1.80656px -1.33333px,
    rgba(0, 0, 0, 0.07) 0px 3.62176px 3.62176px -2px,
    rgba(0, 0, 0, 0.07) 0px 6.8656px 6.8656px -2.66667px,
    rgba(0, 0, 0, 0.05) 0px 13.6468px 13.6468px -3.33333px,
    rgba(0, 0, 0, 0.02) 0px 30px 30px -4px,
    rgb(255, 255, 255) 0px 3px 1px 0px inset;

  --shadow-btn-primary:
    rgba(61, 61, 61, 0.72) 0px 0.602187px 1.08394px -1.25px,
    rgba(61, 61, 61, 0.64) 0px 2.28853px 4.11936px -2.5px,
    rgba(61, 61, 61, 0.25) 0px 10px 18px -3.75px,
    rgba(0, 0, 0, 0.35) 0px 0.706592px 0.706592px -0.583333px,
    rgba(0, 0, 0, 0.34) 0px 1.80656px 1.80656px -1.16667px,
    rgba(0, 0, 0, 0.33) 0px 3.62176px 3.62176px -1.75px,
    rgba(0, 0, 0, 0.3) 0px 6.8656px 6.8656px -2.33333px,
    rgba(0, 0, 0, 0.26) 0px 13.6468px 13.6468px -2.91667px,
    rgba(0, 0, 0, 0.15) 0px 30px 30px -3.5px;

  --shadow-btn-secondary:
    rgba(158, 158, 158, 0.69) 0px 0.706592px 0.706592px -0.583333px,
    rgba(158, 158, 158, 0.68) 0px 1.80656px 1.80656px -1.16667px,
    rgba(158, 158, 158, 0.65) 0px 3.62176px 3.62176px -1.75px,
    rgba(158, 158, 158, 0.61) 0px 6.8656px 6.8656px -2.33333px,
    rgba(158, 158, 158, 0.52) 0px 13.6468px 13.6468px -2.91667px,
    rgba(158, 158, 158, 0.3) 0px 30px 30px -3.5px,
    rgb(255, 255, 255) 0px 3px 1px 0px inset;

  /* Radii */
  --r-card: 20px;
  --r-btn: 10px;
  --r-pill: 60px;
  --r-chip: 100px;
  --r-icon: 16px;
  --r-hero: 50px;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========================================================
   Reset & base
   ======================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--headline);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

/* ========================================================
   Layout primitives
   ======================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow { max-width: 880px; }

.section {
  padding: 120px 0;
  position: relative;
}

.section-tinted {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(184, 199, 217, 0.08) 50%, var(--cream) 100%);
}

/* ========================================================
   Typography
   ======================================================== */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--headline);
}

h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1.05; font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }

p { color: var(--muted-2); font-size: 16px; line-height: 1.6; }

.gradient-text {
  background-image: linear-gradient(0deg, rgb(14, 28, 41) 34%, rgb(255, 255, 255) 124%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-head h2 { margin-bottom: 16px; }

.section-sub {
  font-size: 17px;
  color: var(--muted-2);
}

/* ========================================================
   Eyebrow pill
   ======================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cream);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.eyebrow svg { color: var(--muted); }

.eyebrow-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.eyebrow-on-dark svg { color: rgba(255, 255, 255, 0.6); }

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-btn-primary);
}

.btn-secondary {
  background: var(--cream);
  color: var(--headline);
  box-shadow: var(--shadow-btn-secondary);
}

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ========================================================
   NAV - two-row mega-menu
   ======================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 245, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

/* Brand block (logo + tagline) */
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-mark {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  background-image: linear-gradient(25deg, rgb(14, 28, 41) 34%, rgb(120, 130, 145) 124%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* TOP UTILITY ROW */
.nav-utility {
  padding: 14px 0 6px;
}

.nav-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-utility-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--headline);
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.nav-utility-link:hover { opacity: 0.6; }

.nav-utility-link svg {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-phone > svg { color: var(--muted); }

.nav-phone > a {
  font-size: 13px;
  color: var(--headline);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.15s ease;
}

.nav-phone > a:hover { opacity: 0.6; }

/* MAIN COMMERCE ROW */
.nav-main {
  padding: 4px 0 14px;
}

.nav-main-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border-radius: 32px;
  padding: 8px 8px 8px 8px;
  box-shadow: var(--shadow-card);
  transition: border-radius 0.2s ease;
}

/* When any megamenu opens (click-locked), the pill's bottom corners flatten so it merges seamlessly with the panel.
   .megamenu-active is a JS-toggled fallback; :has() is the native equivalent. Both kept for reliability. */
.nav-main-inner.megamenu-active,
.nav-main-inner:has(.has-megamenu.open) {
  border-radius: 32px 32px 0 0;
  box-shadow:
    rgba(0, 0, 0, 0.08) 0px 0.706592px 0.706592px -0.666667px,
    rgba(0, 0, 0, 0.08) 0px 1.80656px 1.80656px -1.33333px,
    rgba(0, 0, 0, 0.07) 0px 3.62176px 3.62176px -2px,
    rgb(255, 255, 255) 0px 3px 1px 0px inset;
}

.nav-main-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
}

.nav-main-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--headline);
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nav-main-link svg {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.nav-main-link:hover { background: rgba(0, 0, 0, 0.04); }

.has-megamenu { position: relative; }

/* In the main row, panels position relative to the pill so they span its full width */
.nav-main .has-megamenu { position: static; }

.has-megamenu:hover > .nav-main-link,
.has-megamenu.open > .nav-main-link,
.has-megamenu:hover > .nav-utility-link,
.has-megamenu.open > .nav-utility-link {
  opacity: 1;
}

.has-megamenu:hover > .nav-main-link {
  background: rgba(0, 0, 0, 0.04);
}

.has-megamenu:hover > .megamenu-toggle svg,
.has-megamenu.open > .megamenu-toggle svg {
  transform: rotate(180deg);
}

.nav-main-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* MEGA MENU PANEL - main row: spans full pill width */
.megamenu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  background: var(--white);
  border-radius: 0 0 32px 32px;
  padding: 24px 32px 28px;
  /* Shadow WITHOUT the top inset white highlight - that 3px line would draw a visible seam at the pill/panel junction */
  box-shadow:
    rgba(0, 0, 0, 0.08) 0px 0.706592px 0.706592px -0.666667px,
    rgba(0, 0, 0, 0.08) 0px 1.80656px 1.80656px -1.33333px,
    rgba(0, 0, 0, 0.07) 0px 3.62176px 3.62176px -2px,
    rgba(0, 0, 0, 0.07) 0px 6.8656px 6.8656px -2.66667px,
    rgba(0, 0, 0, 0.05) 0px 13.6468px 13.6468px -3.33333px,
    rgba(0, 0, 0, 0.02) 0px 30px 30px -4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 110;
}

/* Utility-row mega-menus still anchor under their trigger (legacy support if re-added) */
.nav-utility .megamenu-panel {
  top: calc(100% + 12px);
  left: 0;
  right: auto;
  display: flex;
  min-width: 560px;
  border-radius: 24px;
  padding: 20px;
  gap: 20px;
}

.nav-utility .megamenu-anchor-right {
  left: auto;
  right: 0;
}

.has-megamenu.open > .megamenu-panel,
.has-megamenu:focus-within > .megamenu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.megamenu-cols-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.megamenu-cols {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.megamenu-cols-2 {
  flex-direction: row;
  gap: 24px;
}

.megamenu-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.megamenu-link {
  display: block;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--headline);
  transition: background 0.15s ease;
}

.megamenu-link:hover { background: rgba(0, 0, 0, 0.04); }

.megamenu-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  width: fit-content;
  transition: color 0.15s ease, gap 0.2s ease;
}

.megamenu-see-all:hover {
  color: var(--headline);
  gap: 10px;
}

.megamenu-see-all svg { transition: transform 0.2s ease; }

/* Featured visual card on right side of mega menu */
.megamenu-feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(20, 32, 44) 0%, rgb(14, 28, 41) 100%);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.megamenu-feature:hover { transform: translateY(-2px); }

.megamenu-feature-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(184, 199, 217, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 25% 80%, rgba(240, 248, 255, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.megamenu-feature-bg-light {
  background:
    radial-gradient(circle at 60% 30%, rgba(240, 248, 255, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(184, 199, 217, 0.18) 0%, transparent 55%);
}

.megamenu-feature-content {
  position: relative;
  color: var(--white);
}

.megamenu-feature-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.megamenu-feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.3;
}

.megamenu-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* LEGACY single-row nav (kept for legal pages: privacy.html, terms.html) */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.lang-btn {
  padding: 4px 6px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.lang-btn:hover { color: var(--headline); }
.lang-btn.active { color: var(--headline); font-weight: 700; }

.lang-divider { color: var(--muted); }

/* ========================================================
   LEGAL PAGES (privacy, terms)
   ======================================================== */
.legal-page { padding: 60px 0 120px; }
.legal-page .container { max-width: 800px; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color 0.15s ease;
}

.legal-back:hover { color: var(--headline); }

.legal-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-content ul li { list-style: disc; }

.legal-content strong { color: var(--headline); font-weight: 600; }

.mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--headline);
}

/* ========================================================
   01 HERO
   ======================================================== */
.hero {
  position: relative;
  padding: 80px 0 140px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, var(--highlight) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, var(--soft-blue) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 1000px;
  margin: 0 auto 24px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--muted-2);
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-trust {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ========================================================
   02 FOUNDER QUOTE
   ======================================================== */
.founder { padding: 60px 0 120px; }

.founder-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 56px 56px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.founder-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 100px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  color: var(--headline);
}

.founder-quote {
  font-size: 22px;
  line-height: 1.5;
  color: var(--headline);
  font-weight: 400;
  margin-bottom: 32px;
}

.founder-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  background: var(--headline);
  color: var(--white);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-card);
}

.founder-name { font-weight: 600; font-size: 15px; }
.founder-role { font-size: 13px; color: var(--muted); }

/* ========================================================
   GRIDS
   ======================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========================================================
   03 BENEFITS CARDS
   ======================================================== */
.card {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.card:hover { transform: translateY(-4px); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--r-icon);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  color: var(--headline);
}

.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; }

.card-featured {
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.9) 0%, var(--cream) 100%);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-chip);
}

/* ========================================================
   04 FEATURES (WHAT WE BUILD)
   ======================================================== */
.feature-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.feature-card:hover { transform: translateY(-3px); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--r-icon);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  color: var(--headline);
}

.feature-card h4 { margin-bottom: 10px; font-size: 17px; }
.feature-card p { font-size: 14px; line-height: 1.5; }

/* ========================================================
   05 SERVICES
   ======================================================== */
.service-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-card h3 { margin-bottom: 12px; }
.service-desc { font-size: 15px; margin-bottom: 24px; }

.service-bullets {
  margin-bottom: 28px;
  flex: 1;
}

.service-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--cream);
  border-radius: 100px;
  box-shadow: var(--shadow-card);
}

.service-bullets li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--headline);
  border-radius: 100px;
}

.service-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--headline);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.service-card-dark {
  background: linear-gradient(135deg, rgb(20, 32, 44) 0%, rgb(14, 28, 41) 100%);
  color: var(--white);
}

.service-card-dark h3 { color: var(--white); }
.service-card-dark .service-eyebrow { color: rgba(255, 255, 255, 0.5); }
.service-card-dark .service-desc { color: rgba(255, 255, 255, 0.7); }
.service-card-dark .service-bullets li { color: rgba(255, 255, 255, 0.7); }
.service-card-dark .service-bullets li::before { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.service-card-dark .service-bullets li::after { background: var(--white); }
.service-card-dark .service-price { color: var(--white); }

/* ========================================================
   06 PROCESS
   ======================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.process-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step h4 { margin-bottom: 12px; font-size: 20px; }
.process-step p { font-size: 14px; }

/* ========================================================
   07 RESULTS
   ======================================================== */
.results-grid { gap: 24px; }

.result-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.result-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
}

.result-headline {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--headline);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(0deg, rgb(14, 28, 41) 34%, rgb(120, 140, 165) 124%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-sub { font-size: 14px; }

/* ========================================================
   08 TESTIMONIALS
   ======================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-featured {
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.9) 0%, var(--cream) 100%);
}

.testimonial-stars {
  color: var(--headline);
  letter-spacing: 4px;
  font-size: 14px;
}

.testimonial-quote {
  font-size: 16px;
  color: var(--headline);
  line-height: 1.55;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--headline);
  color: var(--white);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted); }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 36px 24px;
  box-shadow: var(--shadow-card);
}

.stat {
  text-align: center;
  border-right: 1px solid var(--hairline);
}

.stat:last-child { border-right: none; }

.stat-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--headline);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ========================================================
   09 PRICING
   ======================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.9) 0%, var(--cream) 100%);
  transform: translateY(-8px);
}

.price-card-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-chip);
  white-space: nowrap;
}

.price-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}

.price-card h3 { margin-bottom: 16px; font-size: 22px; }

.price-value {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--headline);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.price-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-features {
  flex: 1;
  margin-bottom: 24px;
}

.price-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 10px;
  line-height: 1.5;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--cream);
  border-radius: 100px;
  box-shadow: var(--shadow-card);
}

.price-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--headline);
  border-radius: 100px;
}

/* ========================================================
   10 COMPARISON
   ======================================================== */
.compare-table {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: center;
  padding: 20px 24px;
}

.compare-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}

.compare-col-us { text-align: center; color: var(--headline); font-weight: 700; letter-spacing: 0.04em; }
.compare-col-them { text-align: center; }

.compare-row {
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}

.compare-row:last-child { border-bottom: none; }

.compare-feature { color: var(--headline); font-weight: 500; }

.compare-cell-yes,
.compare-cell-no {
  display: flex;
  justify-content: center;
}

.compare-cell-yes {
  color: rgb(60, 140, 90);
}

.compare-cell-no {
  color: rgba(0, 0, 0, 0.3);
}

/* ========================================================
   11 TEAM
   ======================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgb(40, 56, 72) 0%, var(--headline) 100%);
  color: var(--white);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.team-card h4 { margin-bottom: 6px; font-size: 17px; }
.team-role { font-size: 13px; color: var(--muted); }

/* ========================================================
   12 FAQS
   ======================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: var(--cream);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--headline);
}

.faq summary::-webkit-details-marker { display: none; }

.faq-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--headline);
  transition: transform 0.2s ease;
}

.faq-toggle::before {
  top: 7px; left: 0;
  width: 16px; height: 2px;
}

.faq-toggle::after {
  top: 0; left: 7px;
  width: 2px; height: 16px;
}

.faq[open] .faq-toggle::after {
  transform: rotate(90deg);
}

.faq p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ========================================================
   13 FOOTER CTA
   ======================================================== */
.footer-cta {
  padding: 60px 0 80px;
}

.footer-cta-inner {
  background: linear-gradient(135deg, rgb(20, 32, 44) 0%, rgb(14, 28, 41) 100%);
  border-radius: var(--r-hero);
  padding: 100px 60px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-btn-primary);
  position: relative;
  overflow: hidden;
}

.footer-cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184, 199, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-inner::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240, 248, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-inner .eyebrow { position: relative; z-index: 1; }

.footer-cta-headline {
  font-size: clamp(28px, 4.5vw, 56px);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  background: none;
  -webkit-text-fill-color: var(--white);
}

.footer-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.footer-cta-buttons {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer-cta-inner .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-cta-inner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--hairline);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--headline);
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--headline);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--muted-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
}

/* ========================================================
   REVEAL ANIMATION
   ======================================================== */
.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(24px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card-featured { transform: none; }
}

@media (max-width: 1100px) {
  .nav-utility-links { gap: 16px; }
  .nav-utility-link, .nav-phone > a { font-size: 12px; }
  .megamenu-panel-wide { min-width: 620px; }
  .megamenu-feature { width: 220px; min-height: 200px; }
}

@media (max-width: 900px) {
  .nav-utility { display: none; }
  .nav-main-links { display: none; }
  .mobile-toggle { display: inline-flex; }

  .nav-main { padding: 14px 0; }
  .nav-main-inner {
    border-radius: var(--r-card);
    padding: 10px 10px 10px 20px;
  }

  .nav-main-inner > .nav-main-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--r-card);
    padding: 12px;
    box-shadow: var(--shadow-card);
    gap: 2px;
    z-index: 105;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-main { position: relative; }
  .nav-main-links.open > li { width: 100%; }
  .nav-main-links.open .nav-main-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .nav-main-links.open .megamenu-panel {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    padding: 4px 12px 8px;
    min-width: 0;
    background: transparent;
    flex-direction: column;
    display: none;
    gap: 8px;
  }

  .nav-main-links.open .has-megamenu.open .megamenu-panel { display: flex; }
  .nav-main-links.open .megamenu-feature { display: none; }
  .nav-main-links.open .megamenu-cols-2 { flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
  .nav-main-right .btn-secondary { display: none; }
  .nav-main-right .btn-primary span { display: none; }
  .nav-main-right .btn-primary { padding: 10px 12px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  .nav { grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px 20px; }

  .grid-2, .grid-3, .grid-4,
  .pricing-grid, .team-grid, .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compare-head, .compare-row { grid-template-columns: 1.4fr 0.7fr 0.7fr; padding: 14px 16px; }
  .compare-feature { font-size: 13px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { border-right: none; }

  .founder-card { padding: 36px 24px; }
  .founder-quote { font-size: 18px; }

  .footer-cta-inner { padding: 60px 24px; }
  .hero { padding: 40px 0 80px; }

  .footer-bottom { flex-direction: column; gap: 16px; }
}
