/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #FAF7F2;
  color: #1A1525;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --bg: #FAF7F2;
  --bg-soft: #F4F0E6;
  --white: #FFFFFF;
  --purple: #6B5BFF;
  --purple-dark: #5848E0;
  --purple-soft: #F2EFFF;
  --purple-mid: #E0DAFF;
  --text: #1A1525;
  --text-mid: #4A4658;
  --text-muted: #6B6979;
  --border: #ECE5D6;
  --border-soft: #F0EBE0;
  --green: #28C76F;
  --red: #E74C3C;
  --amber: #F5B800;
  --shadow-sm: 0 1px 2px rgba(20, 18, 40, 0.04);
  --shadow: 0 4px 14px rgba(20, 18, 40, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 18, 40, 0.08);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 91, 255, 0.32);
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: #fff; border-color: #d8d0bc; }
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #000; }

/* ============ HEADER ============ */
/* Top promo bar */
.top-bar {
  background: linear-gradient(90deg, #5848E0 0%, #6B5BFF 50%, #7C6CFF 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.top-bar-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.top-bar svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.9);
}
.top-bar-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: text-decoration-color 0.15s;
}
.top-bar-link:hover { text-decoration-color: #fff; }

/* Main sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231, 224, 209, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* Logo block with tagline */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7C6CFF 0%, #5A48E0 100%);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow:
    0 2px 4px rgba(75, 50, 175, 0.18),
    0 6px 16px rgba(75, 50, 175, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}
.logo-mark svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.25), transparent);
  z-index: -1;
  filter: blur(8px);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-tagline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  position: relative;
  white-space: nowrap;
}
.nav-links > li > a:hover {
  color: var(--purple-dark);
  background: rgba(124, 108, 255, 0.07);
}
.nav-links > li > a.active {
  color: var(--purple-dark);
  font-weight: 600;
}
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  cursor: pointer;
}
.nav-dropdown-toggle .caret {
  width: 10px;
  height: 10px;
  display: inline-block;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 8px;
  box-shadow:
    0 4px 8px rgba(75, 50, 175, 0.04),
    0 16px 40px rgba(75, 50, 175, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}
.nav-dropdown-menu a:hover {
  background: var(--purple-soft);
}
.nav-dropdown-menu .dd-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav-dropdown-menu .dd-icon svg { width: 18px; height: 18px; }
.nav-dropdown-menu .dd-icon.elementor,
.nav-dropdown-menu .dd-icon.woo,
.nav-dropdown-menu .dd-icon.divi,
.nav-dropdown-menu .dd-icon.pagespeed,
.nav-dropdown-menu .dd-icon.checkout,
.nav-dropdown-menu .dd-icon.mobile,
.nav-dropdown-menu .dd-icon.admin { background: linear-gradient(135deg, #6B5BFF 0%, #5A48E0 100%); }
.nav-dropdown-menu .dd-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.nav-dropdown-menu .dd-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}
.nav-dropdown-menu .dd-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
}
.nav-dropdown-menu .dd-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.nav-dropdown-menu a:hover .dd-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--purple);
}

/* Right cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  padding: 6px 10px;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 999px;
}
.nav-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}
.nav-cta {
  padding: 10px 16px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nav-cta svg { width: 14px; height: 14px; }

/* ============ HERO ============ */
.hero {
  padding: 64px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #7C6CFF 0%, #5A48E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Expertise marquee — glassmorphic pills on lavender, dual-row scroll */
.marquee-section {
  position: relative;
  background: linear-gradient(160deg, #EFEAFF 0%, #DDD2FF 50%, #C8B8FC 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(167, 139, 250, 0.25);
  padding: 56px 0 48px;
  overflow: hidden;
}
/* Soft white highlight blobs for depth */
.marquee-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(60px);
  pointer-events: none;
}
.marquee-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(54px);
  pointer-events: none;
}
.marquee-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  z-index: 2;
}
.marquee-label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-dark));
}
.marquee-label-line.right {
  background: linear-gradient(90deg, var(--purple-dark), transparent);
}
.marquee-label-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.marquee-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.marquee-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  transition: -webkit-mask-image 0.25s ease, mask-image 0.25s ease;
}
.marquee-rows:hover .marquee-viewport {
  mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
}
.marquee-track.scroll-left  { animation: marquee-left  50s linear infinite; }
.marquee-track.scroll-right { animation: marquee-right 55s linear infinite; }
.marquee-rows:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pill chip */
.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #2A1F5C;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    0 1px 2px rgba(75, 50, 175, 0.08),
    0 4px 12px rgba(75, 50, 175, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.marquee-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(75, 50, 175, 0.12),
    0 8px 20px rgba(75, 50, 175, 0.18);
}
.marquee-pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C6CFF 0%, #5848E0 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(75, 50, 175, 0.3);
}
.marquee-pill-icon svg {
  width: 12px;
  height: 12px;
  color: #fff;
  fill: #fff;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ HERO PSI MOCKUP (compact, full report) ============ */
.psi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Header strip: title + Before/After segmented toggle */
.psi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.psi-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.01em;
}
.psi-toggle {
  display: inline-flex;
  background: #F4F0E6;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.psi-toggle-btn {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.psi-toggle-btn:hover { color: var(--text); }
.psi-toggle-btn.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(20, 18, 40, 0.1);
}

/* Mobile / Desktop tabs */
.psi-tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.psi-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.psi-tab:hover { color: var(--text); background: rgba(0, 0, 0, 0.025); }
.psi-tab.active {
  color: #1A73E8;
  border-bottom-color: #1A73E8;
  background: rgba(26, 115, 232, 0.04);
}
.psi-tab svg { width: 12px; height: 12px; }

/* Top score row (5 rings) */
.psi-scores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 16px 12px 14px;
  border-bottom: 1px solid var(--border-soft);
}
.psi-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.score-ring {
  --size: 44px;
  --ring-color: #1F9F5C;
  --ring-bg: #E8FBF0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--score) * 1%), var(--ring-bg) 0);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.3s ease;
}
.score-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.score-ring .num {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ring-color);
}
.score-ring.green  { --ring-color: #1F9F5C; --ring-bg: #E8FBF0; }
.score-ring.orange { --ring-color: #E89C2F; --ring-bg: #FFF4E0; }
.score-ring.red    { --ring-color: #D9342B; --ring-bg: #FDE5E5; }
.score-ring.pill {
  background: #FFF4E0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
}
.score-ring.pill::after { display: none; }
.score-ring.pill .num {
  font-size: 11px;
  color: #E89C2F;
  display: flex;
  align-items: center;
  gap: 4px;
}
.score-ring.pill .num::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #E89C2F;
  border-radius: 2px;
  display: inline-block;
}
.score-ring.pill.good { background: #E8FBF0; }
.score-ring.pill.good .num { color: #1F9F5C; }
.score-ring.pill.good .num::before { background: #1F9F5C; border-radius: 50%; }
.psi-score-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

/* Big Performance hero */
.psi-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 26px;
}
.big-ring {
  --size: 130px;
  --ring-color: #1F9F5C;
  --ring-bg: #E8FBF0;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--score) * 1%), var(--ring-bg) 0);
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 14px;
  transition: background 0.35s ease;
}
.big-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: 50%;
}
.big-ring .num {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--ring-color);
  transition: color 0.25s ease;
}
.big-ring.green  { --ring-color: #1F9F5C; --ring-bg: #E8FBF0; }
.big-ring.orange { --ring-color: #E89C2F; --ring-bg: #FFF4E0; }
.big-ring.red    { --ring-color: #D9342B; --ring-bg: #FDE5E5; }
.big-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.big-note {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 300px;
}
.big-note a { color: #1A73E8; text-decoration: underline; }
.legend {
  display: flex;
  gap: 14px;
  font-size: 10px;
  color: var(--text-mid);
}
.legend-item { display: inline-flex; align-items: center; gap: 4px; }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; }
.legend-dot.tri {
  width: 0; height: 0;
  background: transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid #D9342B;
}
.legend-dot.sq  { background: #E89C2F; }
.legend-dot.cir { background: #1F9F5C; border-radius: 50%; }

/* Hide one meta cell on narrow card if it overflows */
@media (max-width: 420px) {
  .psi-scores { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .score-ring { --size: 38px; }
  .score-ring .num { font-size: 11px; }
  .psi-score-label { font-size: 8px; }
}

/* ============ SECTION COMMON ============ */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }

/* ============ SECTION BACKGROUNDS (restrained palette) ============ */
/* Body cream #FAF7F2 is the warm base. */
.bg-white   { background: #FFFFFF; }    /* lighter separator 1 */
.bg-pale    { background: #FBFCFE; }    /* lighter separator 2, very subtle cool tint */
.bg-lpurple { background: #F4F0FB; }    /* very light purple, accent sections */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: 38px;
  line-height: 1.15;
}
.section-head p {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: 16px;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ============ KEY TAKEAWAYS (What is) ============ */
.takeaways-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.takeaways-title h2 {
  font-size: 40px;
  line-height: 1.1;
}
.takeaways-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.takeaways-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.takeaway-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.takeaway-item:last-of-type { border-bottom: none; }
.takeaway-item .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}
.takeaway-item strong { color: var(--text); font-weight: 600; }
.takeaway-item span { color: var(--text-mid); }

/* ============ STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: linear-gradient(160deg, #EFEAFF 0%, #E0D8FF 100%);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(20px);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  position: relative;
}
.stat-desc {
  color: #3D3559;
  font-size: 15px;
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto 18px;
  position: relative;
}
.stat-source {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 999px;
  position: relative;
}

/* ============ OPTIMIZE CARDS (6-up) ============ */
.optimize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.opt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.opt-card:hover { border-color: var(--purple-mid); transform: translateY(-2px); }
.opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.opt-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.opt-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============ DIAGNOSIS ============ */
.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.diag-text h2 { font-size: 38px; margin-bottom: 16px; }
.diag-text p { color: var(--text-mid); margin-bottom: 24px; max-width: 460px; }

/* Diagnostic dashboard card */
.diag-mock {
  background: #fff;
  border: 1px solid rgba(124, 108, 255, 0.15);
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 1px 2px rgba(75, 50, 175, 0.04),
    0 12px 32px rgba(75, 50, 175, 0.08);
  position: relative;
  overflow: hidden;
}

/* Header: tabs + status pill */
.diag-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(124, 108, 255, 0.1);
  margin-bottom: 16px;
  gap: 12px;
}
.diag-mock-tabs {
  display: flex;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
}
.diag-mock-tabs span {
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  user-select: none;
}
.diag-mock-tabs span:hover { color: var(--text); }
.diag-mock-tabs span.active {
  color: var(--purple-dark);
  font-weight: 700;
  background: var(--purple-soft);
}

/* Panel switching */
.diag-panel { display: block; }
.diag-panel.hidden { display: none; }

/* ===== Waterfall view ===== */
.wf-header {
  display: grid;
  grid-template-columns: 120px 1fr 50px;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(124, 108, 255, 0.18);
}
.wf-h-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.35);
}
.wf-h-time { text-align: right; }

.wf {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.wf-row {
  display: grid;
  grid-template-columns: 120px 1fr 50px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.wf-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
}
.wf-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.wf-dot.html { background: #3B82F6; }
.wf-dot.css  { background: #EC4899; }
.wf-dot.js   { background: #F59E0B; }
.wf-dot.img  { background: #10B981; }
.wf-dot.font { background: #8B5CF6; }

.wf-track {
  height: 12px;
  background: rgba(0, 0, 0, 0.035);
  border-radius: 3px;
  position: relative;
}
.wf-bar {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.wf-bar.html { background: linear-gradient(90deg, #60A5FA, #3B82F6); }
.wf-bar.css  { background: linear-gradient(90deg, #F472B6, #EC4899); }
.wf-bar.js   { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.wf-bar.img  { background: linear-gradient(90deg, #34D399, #10B981); }
.wf-bar.font { background: linear-gradient(90deg, #A78BFA, #8B5CF6); }

.wf-time {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wf-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.04), rgba(124, 108, 255, 0.015));
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 12px;
}
.wf-summary-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.wf-summary-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wf-summary-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.wf-summary-val .u {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 1px;
  font-weight: 700;
}

/* ===== GTmetrix view ===== */
.gt-grades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.gt-grade {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.gt-grade.f {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.02));
  border: 1px solid rgba(220, 38, 38, 0.18);
}
.gt-grade.d {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(234, 88, 12, 0.02));
  border: 1px solid rgba(234, 88, 12, 0.18);
}
.gt-grade-letter {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  width: 56px;
  text-align: center;
  flex-shrink: 0;
}
.gt-grade.f .gt-grade-letter { color: #DC2626; }
.gt-grade.d .gt-grade-letter { color: #EA580C; }
.gt-grade-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gt-grade-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.gt-grade-score {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.gt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.gt-stat {
  text-align: left;
  padding: 12px;
  background: rgba(124, 108, 255, 0.035);
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 10px;
}
.gt-stat-label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.gt-stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.gt-stat-val .u {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.6;
  margin-left: 1px;
}

.gt-issues {
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.04), rgba(124, 108, 255, 0.015));
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}
.gt-issues-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.gt-issues-title svg {
  width: 12px;
  height: 12px;
  color: var(--purple);
}
.gt-issue {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
}
.gt-issue + .gt-issue { border-top: 1px solid rgba(124, 108, 255, 0.06); }
.gt-issue-grade {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.gt-issue-grade.f { background: rgba(220, 38, 38, 0.12); color: #DC2626; }
.gt-issue-grade.d { background: rgba(234, 88, 12, 0.12); color: #EA580C; }
.gt-issue-grade.c { background: rgba(234, 179, 8, 0.14); color: #B45309; }
.gt-issue-name {
  color: var(--text);
  font-weight: 500;
}
.diag-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #DC2626;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.18);
  flex-shrink: 0;
}
.diag-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
  animation: diag-pulse 1.8s ease-in-out infinite;
}
@keyframes diag-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.06); }
}

/* Core Web Vitals row */
.diag-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.diag-metric {
  text-align: left;
  padding: 12px 12px 11px;
  background: rgba(124, 108, 255, 0.035);
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 10px;
}
.diag-metric-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.diag-metric-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.diag-metric-val.red    { color: #DC2626; }
.diag-metric-val.orange { color: #EA580C; }
.diag-metric-val .u {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.65;
  margin-left: 1px;
}
.diag-metric-bar {
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.diag-metric-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.diag-metric-bar-fill.red    { background: linear-gradient(90deg, #EF4444, #DC2626); }
.diag-metric-bar-fill.orange { background: linear-gradient(90deg, #F97316, #EA580C); }

/* Bottleneck waterfall section */
.diag-bottlenecks {
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.04), rgba(124, 108, 255, 0.015));
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 12px;
  padding: 14px 14px 12px;
}
.diag-bottlenecks-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.diag-bottlenecks-title-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.diag-bottlenecks-title-left svg {
  width: 12px;
  height: 12px;
  color: var(--purple);
}
.diag-bottlenecks-title-right {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(124, 108, 255, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
}
.bottleneck-row {
  display: grid;
  grid-template-columns: 120px 1fr 38px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
}
.bottleneck-row + .bottleneck-row { border-top: 1px solid rgba(124, 108, 255, 0.06); }
.bn-label {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bn-track {
  height: 7px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bn-fill {
  height: 100%;
  border-radius: 4px;
  position: relative;
}
.bn-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  border-radius: 0 4px 4px 0;
}
.bn-fill.red    { background: linear-gradient(90deg, #EF4444, #DC2626); }
.bn-fill.orange { background: linear-gradient(90deg, #F97316, #EA580C); }
.bn-fill.yellow { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.bn-time {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Footer */
.diag-mock-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(124, 108, 255, 0.08);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.diag-mock-foot-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.diag-mock-foot-left svg {
  width: 12px;
  height: 12px;
  color: var(--purple);
}
.diag-mock-foot-right {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--text-mid);
}

/* ============ CORE WEB VITALS ============ */
.cwv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cwv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 20px;
  text-align: center;
}
.cwv-key {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.cwv-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.cwv-threshold {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1F7A47;
  background: #D9F4E3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cwv-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============ SERVICES (4-up) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--purple-mid); transform: translateY(-2px); }
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.3; }
.service-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 14px; line-height: 1.5; }
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ SPECIFIC PROBLEMS (3-up) ============ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFF5E8;
  color: #E89C2F;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.problem-card h3 { font-size: 16px; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--text-mid); line-height: 1.55; }

/* ============ SAFETY (WooCommerce) ============ */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #F5F2FF 0%, #EFEBFF 100%);
  border-radius: 28px;
  padding: 56px;
}
.safety-text h2 { font-size: 32px; margin-bottom: 16px; }
.safety-text > p { color: var(--text-mid); margin-bottom: 22px; }
.safety-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.safety-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.safety-list li .ic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.safety-illustration {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
}
.safety-illustration .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.safety-illustration .row .ic-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
}
.safety-illustration .row .txt { font-size: 14px; font-weight: 500; }
.safety-illustration .row .ok {
  margin-left: auto;
  color: var(--green);
  background: #E8FBF0;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============ PROCESS (5 steps, v4 — clean & breathable) ============ */
.process-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 8px;
}

/* Subtle thin connector line behind cards */
.process-line {
  position: absolute;
  top: 92px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124, 108, 255, 0.18) 18%,
    rgba(124, 108, 255, 0.4) 50%,
    rgba(124, 108, 255, 0.18) 82%,
    transparent 100%
  );
  z-index: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Step card — clean, white, breathable */
.step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(124, 108, 255, 0.12);
  border-radius: 20px;
  padding: 28px 24px 30px;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 1px 2px rgba(75, 50, 175, 0.04);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 108, 255, 0.35);
  box-shadow:
    0 4px 8px rgba(75, 50, 175, 0.05),
    0 16px 32px rgba(75, 50, 175, 0.10);
}

/* Top row: icon (left) + big gradient number (right) */
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8B7CFF 0%, #5A48E0 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 4px 12px rgba(124, 108, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step:hover .step-icon {
  transform: scale(1.06) rotate(-4deg);
  box-shadow:
    0 6px 16px rgba(124, 108, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.step-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Big gradient number — mirrors the hero's "Speed Optimization" accent */
.step-number-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #7C6CFF 0%, #5A48E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.95;
}

/* Small "STEP" label */
.step-num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--purple);
  margin-bottom: 10px;
  width: auto;
  height: auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  text-align: left;
}

.step h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.step p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

/* "What's included" panel — premium 2-column showcase */
.process-included {
  margin-top: 72px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background:
    radial-gradient(ellipse at top right, rgba(124, 108, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(232, 121, 249, 0.05), transparent 55%),
    linear-gradient(180deg, #fff 0%, #FCFBFF 100%);
  border: 1px solid rgba(124, 108, 255, 0.18);
  border-radius: 24px;
  padding: 36px 42px 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(75, 50, 175, 0.03),
    0 12px 32px rgba(75, 50, 175, 0.06);
}

.process-included-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(124, 108, 255, 0.12);
}
.process-included-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8B7CFF 0%, #5A48E0 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(124, 108, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.process-included-header-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-included-header-text { display: flex; flex-direction: column; gap: 3px; }
.process-included-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}
.process-included-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.process-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.process-included-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  padding: 14px 16px;
  background: rgba(124, 108, 255, 0.04);
  border: 1px solid rgba(124, 108, 255, 0.08);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.process-included-list li:hover {
  background: rgba(124, 108, 255, 0.07);
  border-color: rgba(124, 108, 255, 0.2);
  transform: translateX(2px);
}
.process-included-list .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8B7CFF 0%, #5A48E0 100%);
  display: grid;
  place-items: center;
  margin-top: 1px;
  box-shadow:
    0 2px 6px rgba(124, 108, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.process-included-list .ic svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ BEFORE / AFTER ============ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.ba-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
}
.ba-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.ba-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
}
.ba-circle.before { background: #FDE5E5; color: var(--red); }
.ba-circle.after { background: #E8FBF0; color: var(--green); }
.ba-stats { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ba-stat { display: flex; justify-content: space-between; font-size: 13px; }
.ba-stat-key { color: var(--text-muted); }
.ba-stat-val { font-weight: 700; }
.ba-stat-val.bad { color: var(--red); }
.ba-stat-val.good { color: var(--green); }
.ba-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
}

/* ============ REVIEWS CAROUSEL ============ */
.reviews-section {
  background: linear-gradient(180deg, #EAF6EE 0%, #F3F8F1 100%);
  padding: 80px 0 90px;
  border-top: 1px solid rgba(31, 159, 92, 0.08);
  border-bottom: 1px solid rgba(31, 159, 92, 0.08);
}
.reviews-section .section-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
}
.reviews-section .section-head p {
  color: var(--text-mid);
  max-width: 680px;
  margin: 14px auto 0;
}

.carousel {
  position: relative;
  padding: 8px 0;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 286px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 4px 16px rgba(20, 25, 30, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 308px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.review-card:hover { box-shadow: 0 8px 24px rgba(20, 25, 30, 0.08); transform: translateY(-2px); }

/* Summary card (gradient, first) */
.review-card.summary {
  background: linear-gradient(135deg, #E0DAFF 0%, #FFDCEB 100%);
}
.review-card.summary .review-text {
  -webkit-line-clamp: 7;
  line-clamp: 7;
  font-size: 14px;
  color: #312A4E;
  max-height: calc(1.55em * 7);
  margin-bottom: 14px;
}
.review-card.summary .review-name { font-size: 18px; }
.review-card.summary .review-time { color: #5A4F7D; }
.review-card.summary .read-more { color: #4A3F6D; }

/* Header: name + source logo */
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.review-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}
.review-source {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.review-source svg { width: 100%; height: 100%; display: block; }

/* Stars + verified */
.review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.review-stars { color: #F5B800; letter-spacing: 1px; font-size: 15px; line-height: 1; }
.review-verified {
  width: 16px;
  height: 16px;
  color: #1A73E8;
  flex-shrink: 0;
}

/* Body */
.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  max-height: calc(1.55em * 5);
  margin: 0 0 14px;
}

/* Bottom row: project tag (left) + Read more (right) */
.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}
.review-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}
.review-tag.warm { background: #FFE7D6; color: #B85A1F; }
.review-tag.cool { background: #DDECFB; color: #1A6BC9; }
.review-tag.mint { background: #D9F4E3; color: #1F7A47; }

/* Foot link (no real navigation, just "Read more" indicator) */
.read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: auto;
}

/* Carousel nav buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(20, 25, 30, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.carousel-btn:hover { background: var(--bg); transform: translateY(-50%) scale(1.05); }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: translateY(-50%); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }

/* Bottom info */
.reviews-summary {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text);
}
.reviews-summary strong { font-weight: 700; }
.reviews-summary .underline { text-decoration: underline; text-underline-offset: 3px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #1F9F5C;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}
.verified-badge svg { width: 14px; height: 14px; }
.leave-feedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1F9F5C;
  font-size: 15px;
  font-weight: 600;
  margin-top: 24px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.leave-feedback:hover { color: #14723F; }

/* ============ ABOUT MARYAM ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
}
.about-photo {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, #C9BFFF, #6B5BFF);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.about-photo .badge-100 {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.about-photo .silhouette {
  width: 70%;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.6);
}
.about-text .eyebrow { margin-bottom: 12px; }
.about-text h2 { font-size: 32px; margin-bottom: 16px; }
.about-text > p { color: var(--text-mid); margin-bottom: 28px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.about-stat {
  background: var(--bg);
  border-radius: var(--r);
  padding: 18px 14px;
  text-align: center;
}
.about-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat-label { font-size: 12px; color: var(--text-mid); font-weight: 500; }

/* ============ COMPARISON TABLE ============ */
.compare-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  align-items: flex-start;
  gap: 24px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div:first-child {
  font-weight: 700;
  color: var(--text);
}
.compare-row.head {
  background: var(--bg);
  font-weight: 700;
  font-size: 14px;
}
.compare-row.head .col { text-align: left; color: var(--text); }
.compare-row.head .col.expert { color: var(--purple); }
.compare-cell {
  text-align: left;
  color: var(--text-mid);
  line-height: 1.55;
}
.compare-cell.expert {
  color: var(--text);
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 12px 40px rgba(107, 91, 255, 0.16);
  transform: translateY(-8px);
}
.price-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.price-card.featured .price-tier { color: var(--purple); }
.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.price-suffix {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.price-features li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}
.price-features li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
}
.price-cta { width: 100%; justify-content: center; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px 18px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ FINAL CTA ============ */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #F5F2FF 0%, #E5DDFF 100%);
  border-radius: 32px;
  padding: 64px 32px;
  margin: 40px 24px 60px;
  max-width: 1180px;
  margin: 40px auto 60px;
}
.final-cta h2 { font-size: 40px; margin-bottom: 14px; }
.final-cta p { color: var(--text-mid); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER (rich, dark deep-purple) ============ */
.footer {
  position: relative;
  background: linear-gradient(180deg, #F6F2FC 0%, #EFE9FA 100%);
  color: #4A4658;
  padding: 80px 0 28px;
  font-size: 14px;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid #E6DFF5;
}
/* Background depth: soft purple glow blobs */
.footer::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.16) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.10) 0%, transparent 70%);
  filter: blur(36px);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }

/* Top edge accent line */
.footer-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 108, 255, 0.5) 50%, transparent);
}

/* Top section: brand block + columns + CTA */
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26, 21, 37, 0.08);
}

/* Brand block */
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand .footer-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #8B7CFF 0%, #5A48E0 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(124, 108, 255, 0.4);
}
.footer-brand .footer-logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.footer-brand .footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-brand .footer-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #1A1525;
  letter-spacing: -0.02em;
}
.footer-brand .footer-logo-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B5BFF;
  margin-top: 4px;
}
.footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #6B6979;
  margin-bottom: 22px;
  max-width: 340px;
}
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4A4658;
}
.footer-trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #6B5BFF;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  background: rgba(20, 168, 0, 0.10);
  border: 1px solid rgba(20, 168, 0, 0.30);
  color: #15710A;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.footer-social a:hover {
  background: rgba(20, 168, 0, 0.22);
  border-color: rgba(20, 168, 0, 0.55);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 28px;
  height: 28px;
  background: #14A800;
  border-radius: 7px;
  padding: 5px;
  fill: #fff;
  flex-shrink: 0;
}
.footer-social .social-label { white-space: nowrap; }

/* Link columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1A1525;
  margin-bottom: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.footer-col a {
  color: #6B6979;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.15s, padding-left 0.15s;
  position: relative;
  display: inline-block;
}
.footer-col a:hover {
  color: #6B5BFF;
  padding-left: 4px;
}

/* CTA card on the right */
.footer-cta {
  background: linear-gradient(135deg, #6B5BFF 0%, #5A48E0 100%);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 12px 30px rgba(107, 91, 255, 0.25);
}
.footer-cta-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}
.footer-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}
.footer-cta-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #5A48E0;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.footer-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.footer-cta-btn svg { width: 13px; height: 13px; }

/* Bottom legal row */
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #6B6979;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom-left .made-with {
  color: #F87171;
  display: inline-block;
  animation: heart-pulse 2.4s ease-in-out infinite;
}
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  color: #6B6979;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover { color: #6B5BFF; }

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-cta { max-width: 480px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ HAMBURGER + OFF-CANVAS DRAWER ============ */
.nav-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--purple-soft);
  border: 1px solid rgba(124, 108, 255, 0.2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.nav-hamburger:hover {
  background: rgba(124, 108, 255, 0.18);
  border-color: rgba(124, 108, 255, 0.35);
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Off-canvas overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 38, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Off-canvas drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 92vw;
  background: #fff;
  z-index: 100;
  box-shadow: -16px 0 48px rgba(15, 11, 38, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.nav-drawer-head .logo { gap: 10px; }
.nav-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-close:hover {
  background: var(--purple-soft);
  color: var(--purple-dark);
}
.nav-drawer-close svg { width: 16px; height: 16px; }

.nav-drawer-nav {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-link:hover {
  background: var(--purple-soft);
  color: var(--purple-dark);
}
.nav-drawer-link.active {
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-weight: 600;
}
.nav-drawer-link svg { width: 14px; height: 14px; opacity: 0.5; }

/* Collapsible submenu inside drawer */
.nav-drawer-group { margin-top: 2px; }
.nav-drawer-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-group-toggle:hover {
  background: var(--purple-soft);
  color: var(--purple-dark);
}
.nav-drawer-group-toggle .caret {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
  opacity: 0.6;
}
.nav-drawer-group.expanded .nav-drawer-group-toggle {
  background: var(--purple-soft);
  color: var(--purple-dark);
}
.nav-drawer-group.expanded .nav-drawer-group-toggle .caret {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-drawer-group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 6px;
}
.nav-drawer-group.expanded .nav-drawer-group-content {
  max-height: 420px;
  padding: 4px 6px 6px;
}
.nav-drawer-group-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin-left: 8px;
  font-size: 13.5px;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-group-content a:hover {
  background: var(--purple-soft);
  color: var(--purple-dark);
}
.nav-drawer-group-content .dd-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.nav-drawer-group-content .dd-icon svg { width: 13px; height: 13px; }
.nav-drawer-group-content .dd-icon.elementor,
.nav-drawer-group-content .dd-icon.woo,
.nav-drawer-group-content .dd-icon.divi,
.nav-drawer-group-content .dd-icon.pagespeed,
.nav-drawer-group-content .dd-icon.checkout,
.nav-drawer-group-content .dd-icon.mobile,
.nav-drawer-group-content .dd-icon.admin { background: linear-gradient(135deg, #6B5BFF, #5A48E0); }

/* Drawer footer */
.nav-drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent, var(--bg-soft));
}
.nav-drawer-foot .nav-avail {
  align-self: flex-start;
}
.nav-drawer-foot .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 18px;
  font-size: 14.5px;
}

/* Lock body when menu open */
body.nav-open { overflow: hidden; }


/* ============ RESPONSIVE ============ */
/* Tablet & below: hide desktop nav, show hamburger */
@media (max-width: 980px) {
  /* Header — switch to hamburger */
  .nav { gap: 10px; }
  .nav-links { display: none; }
  .nav-right .nav-avail { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .logo-tagline { display: none; }

  /* Top promo bar — tighten */
  .top-bar { font-size: 11.5px; }
  .top-bar-inner { gap: 14px; padding: 8px 0; }
  .top-bar-item:nth-child(3),
  .top-bar-divider:nth-child(2),
  .top-bar-divider:nth-child(4) { display: none; }

  /* Hero */
  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }

  /* Sections */
  .takeaways-grid, .diag-grid, .safety-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .safety-grid, .about-grid { padding: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .optimize-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cwv-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: 1fr; }

  /* Marquee */
  .marquee-section { padding: 40px 0 36px; }
  .marquee-label-line { width: 24px; }
  .marquee-label-text { font-size: 10.5px; letter-spacing: 0.14em; }
  .marquee-pill { padding: 8px 14px 8px 10px; font-size: 12.5px; }
  .marquee-pill-icon { width: 20px; height: 20px; }
  .marquee-pill-icon svg { width: 11px; height: 11px; }

  /* Reviews */
  .review-card { flex: 0 0 260px; min-height: 280px; }
  .reviews-section { padding: 56px 0 64px; }
  .reviews-section .section-head h2 { font-size: 30px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }

  /* Process */
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-line { display: none; }
  .step { padding: 24px 20px; }
  .step-number-big { font-size: 36px; }

  /* What's included → 1 column */
  .process-included { padding: 28px 24px 30px; }
  .process-included-list { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }

  /* Before / After */
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); margin: 0 auto; }

  /* Diagnostic dashboard — keep readable on tablet */
  .diag-metrics { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .diag-metric { padding: 10px; }
  .diag-metric-val { font-size: 16px; }
  .bottleneck-row, .wf-row, .wf-header { grid-template-columns: 110px 1fr 42px; gap: 8px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cta { max-width: 480px; }

  /* Common */
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 30px; }
  .final-cta { padding: 48px 24px; }
  .final-cta h2 { font-size: 30px; }
  .container { padding: 0 20px; }
}

/* Phones */
@media (max-width: 640px) {
  /* Top bar — keep minimal */
  .top-bar-inner { gap: 10px; padding: 7px 0; }
  .top-bar-item:nth-child(1),
  .top-bar-divider { display: none; }

  /* Header */
  .nav { padding: 12px 0; }
  .logo-name { font-size: 18px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-mark svg { width: 16px; height: 16px; }
  .nav-hamburger { width: 38px; height: 38px; border-radius: 10px; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 26px; line-height: 1.2; }
  .section-head p { font-size: 15px; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 32px; }
  .hero-grid { gap: 32px; }

  /* Grids — to 1 column */
  .optimize-grid, .services-grid, .cwv-grid, .process-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 14px; }
  .stat-card { padding: 32px 24px; }
  .stat-num { font-size: 56px; }
  .stat-card .source-pill { font-size: 11.5px; }

  /* Hero PSI card */
  .psi-card { padding: 18px; }
  .psi-scores { gap: 10px; }
  .psi-score { padding: 6px; }
  .psi-score-num { font-size: 11px; width: 32px; height: 32px; }
  .psi-score-label { font-size: 9.5px; }
  .psi-ring-num { font-size: 56px; }

  /* CWV cards */
  .cwv-card { padding: 24px 18px; }

  /* Diagnostic dashboard — compact for mobile */
  .diag-mock { padding: 16px; border-radius: 18px; }
  .diag-mock-head { gap: 8px; padding-bottom: 12px; margin-bottom: 12px; }
  .diag-mock-tabs { gap: 2px; font-size: 11.5px; }
  .diag-mock-tabs span { padding: 5px 8px; }
  .diag-status { padding: 4px 9px; font-size: 10px; }
  .diag-metrics { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .diag-metric { padding: 10px 11px; }
  .diag-metric-val { font-size: 17px; }
  .bottleneck-row, .wf-row, .wf-header {
    grid-template-columns: 100px 1fr 38px;
    gap: 6px;
    font-size: 11.5px;
  }
  .bn-label, .wf-name { font-size: 11px; }
  .wf-h-bar { font-size: 9px; }
  .wf-summary { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px; }
  .wf-summary-val { font-size: 15px; }

  /* GTmetrix */
  .gt-grade { padding: 14px; gap: 10px; }
  .gt-grade-letter { font-size: 36px; width: 44px; }
  .gt-grade-score { font-size: 18px; }
  .gt-grade-label { font-size: 9.5px; }
  .gt-stats { grid-template-columns: 1fr; gap: 6px; }
  .gt-stat { padding: 11px 13px; }

  /* Steps */
  .step-top { margin-bottom: 16px; }
  .step-icon { width: 48px; height: 48px; border-radius: 12px; }
  .step-number-big { font-size: 32px; }
  .step h4 { font-size: 16px; }
  .step p { font-size: 13px; }

  /* Process included */
  .process-included { padding: 24px 20px 26px; margin-top: 48px; border-radius: 18px; }
  .process-included-header { padding-bottom: 18px; margin-bottom: 20px; }
  .process-included-title { font-size: 17px; }
  .process-included-list li { padding: 12px 14px; font-size: 13px; }

  /* Pricing */
  .price-card { padding: 32px 26px; }
  .price-num { font-size: 44px; }

  /* About */
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-stat { padding: 14px 10px; }
  .about-stat-num { font-size: 24px; }
  .about-stat-label { font-size: 11px; }

  /* Comparison */
  .compare-row { grid-template-columns: 1fr; padding: 16px 18px; font-size: 13.5px; gap: 8px; }
  .compare-row + .compare-row { border-top: 1px solid var(--border-soft); }
  .compare-row > div:first-child {
    font-weight: 700;
    color: var(--text);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .compare-row.head { display: none; }

  /* Final CTA */
  .final-cta { padding: 40px 22px; border-radius: 22px; }
  .final-cta h2 { font-size: 26px; }
  .final-cta p { font-size: 15px; }
  .final-cta .cta-buttons { flex-direction: column; gap: 12px; }
  .final-cta .btn { width: 100%; justify-content: center; }

  /* Reviews */
  .review-card { flex: 0 0 240px; min-height: 270px; padding: 22px 20px; }
  .review-card .review-text { font-size: 13.5px; }

  /* Marquee */
  .marquee-rows { gap: 10px; }
  .marquee-pill { padding: 7px 12px 7px 8px; font-size: 12px; gap: 8px; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer-top { gap: 32px; padding-bottom: 36px; margin-bottom: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-col h4 { margin-bottom: 14px; font-size: 10.5px; }
  .footer-col ul { gap: 9px; }
  .footer-cta { padding: 22px 20px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom-left { text-align: center; }
  .footer-legal { gap: 16px; }

  /* Container padding */
  .container { padding: 0 18px; }
}

/* Small phones */
@media (max-width: 420px) {
  .top-bar { display: none; }
  .hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 23px; }
  .stat-num { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-drawer { width: 100vw; max-width: 100vw; }
  .container { padding: 0 16px; }
}
/* ============ GUIDES ============ */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.guide-card:hover { border-color: var(--purple-mid); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guide-card-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; background: var(--purple-soft); }
.guide-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.guide-card-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); background: var(--purple-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.guide-card h3 { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--text-mid); line-height: 1.5; margin-bottom: 16px; flex: 1; }
.guide-card-link { font-size: 14px; font-weight: 600; color: var(--purple); }
.guides-foot { text-align: center; margin-top: 36px; }
@media (max-width: 880px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guides-grid { grid-template-columns: 1fr; } }

/* ============ PRICING HELPER + BADGES ============ */
.price-helper { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; margin-bottom:34px; }
.price-helper-label { font-size:14px; color:var(--text-mid); font-weight:600; margin-right:4px; }
.price-chip { border:1px solid var(--border); background:#fff; color:var(--text-mid); border-radius:999px; padding:8px 16px; font-size:13.5px; font-weight:600; cursor:pointer; transition:all .15s ease; }
.price-chip:hover { border-color:var(--purple-mid); color:var(--purple); }
.price-chip.active { background:var(--purple); border-color:var(--purple); color:#fff; }
.price-bestfor { font-size:12.5px; color:var(--purple); font-weight:600; margin-bottom:14px; }
.price-ribbon { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:linear-gradient(135deg,#6B5BFF,#5A48E0); color:#fff; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:5px 14px; border-radius:999px; box-shadow:0 6px 16px rgba(107,91,255,.3); white-space:nowrap; }
.price-card { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.price-card:not(.featured):hover { border-color:var(--purple-mid); transform:translateY(-4px); box-shadow:0 10px 30px rgba(107,91,255,.1); }
.price-card.recommended { border-color:var(--purple); box-shadow:0 14px 44px rgba(107,91,255,.22); }
.price-card.recommended::after { content:'\2713 Recommended for you'; position:absolute; bottom:-13px; left:50%; transform:translateX(-50%); background:#0a7d4f; color:#fff; font-size:11px; font-weight:700; padding:4px 12px; border-radius:999px; white-space:nowrap; }

/* ============ READ MORE (reviews expand) ============ */
.reviews-section .read-more { cursor: pointer; user-select: none; }
.review-card.expanded .review-text { -webkit-line-clamp: unset; line-clamp: unset; display: block; max-height: none; }
