/* ============================================================
   SuperPageSpeedy — Homepage Sections CSS
   Covers: platform strip, problem, CWV, services grid,
   platform-opt, before/after, audit, value, stability, FAQ
   ============================================================ */

/* ---- PLATFORM STRIP ---- */
.platform-strip {
  padding: 48px 0 40px;
  background: #f6f9ff;
  border-bottom: 1px solid #e5ecf7;
}
.platform-strip-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4a5a7d;
  margin-bottom: 28px;
}
.platform-strip-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.platform-strip-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: ps-marquee 50s linear infinite;
}
.platform-strip-marquee:hover .platform-strip-track {
  animation-play-state: paused;
}
@keyframes ps-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.platform-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-right: 12px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 12px;
  transition: box-shadow .3s, transform .3s;
}
.platform-strip-item:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
  transform: translateY(-2px);
}
.platform-strip-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.platform-strip-item span {
  font-size: 14px;
  font-weight: 600;
  color: #0a1530;
  white-space: nowrap;
}
.platform-strip-item .ps-letter {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--royal-600, #2563eb), #4f46e5);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* ---- PROBLEM SECTION ---- */
.problem-section {
  padding: 96px 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 18px;
  padding: 32px 28px;
  transition: box-shadow .35s, transform .35s, border-color .35s;
}
.problem-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 16px 40px rgba(37,99,235,.07);
  transform: translateY(-4px);
}
.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(79,131,245,.08));
  border-radius: 14px;
  color: #2563eb;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 10px;
}
.problem-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a5a7d;
  margin: 0;
}

/* ---- CORE WEB VITALS SECTION ---- */
.cwv-section {
  padding: 96px 0;
  background: #f6f9ff;
}
.cwv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cwv-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 18px;
  padding: 36px 28px 28px;
  transition: box-shadow .35s, transform .35s;
}
.cwv-card:hover {
  box-shadow: 0 16px 40px rgba(37,99,235,.07);
  transform: translateY(-4px);
}
.cwv-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.cwv-good {
  background: rgba(22,179,100,.1);
  color: #16b364;
}
.cwv-metric {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #1d4ed8, #4f83f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.cwv-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 10px;
}
.cwv-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5a7d;
  margin: 0 0 16px;
}
.cwv-target {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37,99,235,.06);
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-block;
}
.cwv-target span {
  color: #4a5a7d;
  font-weight: 500;
}
.cwv-secondary .cwv-metric {
  font-size: 26px;
}

/* ---- SERVICES GRID ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.svc-card {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 18px;
  padding: 32px 28px;
  transition: box-shadow .35s, transform .35s, border-color .35s;
}
.svc-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 16px 40px rgba(37,99,235,.07);
  transform: translateY(-4px);
}
.svc-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #4f83f5);
  color: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
}
.svc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 10px;
}
.svc-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5a7d;
  margin: 0;
}

/* ---- PLATFORM-SPECIFIC OPTIMIZATION ---- */
.platform-opt {
  padding: 96px 0;
  background: #f6f9ff;
}
.pf-opt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pf-opt-card {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .35s, transform .35s, border-color .35s;
}
.pf-opt-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 16px 40px rgba(37,99,235,.07);
  transform: translateY(-4px);
}
.pf-opt-logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f9ff;
  border: 1px solid #e5ecf7;
  border-radius: 16px;
  margin: 0 auto 18px;
}
.pf-opt-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.pf-opt-letter {
  font-size: 28px;
  font-weight: 800;
  color: #f26322;
  background: linear-gradient(135deg, rgba(242,99,34,.1), rgba(242,99,34,.05));
  border: 1px solid rgba(242,99,34,.2);
}
.pf-opt-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 10px;
}
.pf-opt-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a5a7d;
  margin: 0;
}

/* ---- PROCESS 5-STEP ---- */
.process-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-5 .step {
  text-align: left;
  padding: 28px 22px;
}
.process-5 .step .step-no {
  position: static;
  margin-bottom: 14px;
}
.process-5 .step h3 {
  margin-bottom: 8px;
  color: var(--ink);
}
.process-5 .step p {
  color: var(--muted);
  line-height: 1.7;
}
.process-5 .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(17, 41, 107, .10);
}

/* ---- BEFORE / AFTER ---- */
.before-after-section {
  padding: 96px 0;
  background: #f6f9ff;
}
.ba-badge {
  display: inline-block;
  margin: 0 auto 32px;
  padding: 6px 16px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2563eb;
  text-align: center;
  width: 100%;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ba-card {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.ba-metric {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #1d4ed8, #4f83f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.ba-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ba-before, .ba-after {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ba-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #4a5a7d;
}
.ba-before strong {
  font-size: 22px;
  font-weight: 800;
}
.ba-after strong {
  font-size: 22px;
  font-weight: 800;
}
.ba-bad { color: #f4455f; }
.ba-good { color: #16b364; }
.ba-arrow {
  font-size: 20px;
  color: #4a5a7d;
  padding-top: 16px;
}
.ba-bar {
  width: 100%;
  height: 6px;
  background: #e5ecf7;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ba-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fill, 50%);
  border-radius: 999px;
}
.ba-bar-bad::after { background: #f4455f; }
.ba-bar-good::after { background: #16b364; }
.ba-metric-name {
  font-size: 13px;
  color: #4a5a7d;
  margin: 0;
}

/* ---- AUDIT SECTION ---- */
.audit-section {
  padding: 96px 0;
}
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.audit-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 16px;
}
.audit-content h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #0a1530;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.audit-content > p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #4a5a7d;
  margin: 0 0 28px;
}
.audit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.audit-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #0a1530;
  line-height: 1.5;
}
.audit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: rgba(37,99,235,.1);
  border-radius: 50%;
}
.audit-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
}
.audit-dashboard {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(37,99,235,.1);
}
.audit-dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f6f9ff;
  border-bottom: 1px solid #e5ecf7;
}
.audit-dots {
  display: flex;
  gap: 6px;
}
.audit-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.audit-dots span:nth-child(1) { background: #ff5f57; }
.audit-dots span:nth-child(2) { background: #ffbd2e; }
.audit-dots span:nth-child(3) { background: #28c840; }
.audit-dash-header span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: #4a5a7d;
}
.audit-dash-body {
  padding: 36px 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.audit-score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.audit-score-ring svg {
  width: 100%;
  height: 100%;
}
.audit-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 800;
  color: #0a1530;
}
.audit-findings {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-finding {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0a1530;
}
.audit-high { background: rgba(244,69,95,.06); border: 1px solid rgba(244,69,95,.15); }
.audit-med { background: rgba(245,165,36,.06); border: 1px solid rgba(245,165,36,.15); }
.audit-low { background: rgba(22,179,100,.06); border: 1px solid rgba(22,179,100,.15); }
.audit-sev {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.audit-high .audit-sev { background: #f4455f; color: #fff; }
.audit-med .audit-sev { background: #f5a524; color: #fff; }
.audit-low .audit-sev { background: #16b364; color: #fff; }

/* ---- BUSINESS VALUE ---- */
.value-section {
  padding: 96px 0;
  background: #f6f9ff;
}
.value-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
}
.value-node {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 0 12px;
}
.value-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #4f83f5);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  margin: 0 auto 16px;
}
.value-node h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 8px;
}
.value-node p {
  font-size: 13px;
  line-height: 1.65;
  color: #4a5a7d;
  margin: 0;
}
.value-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #4f83f5);
  margin-top: 20px;
  flex-shrink: 0;
  border-radius: 999px;
}

/* ---- STABILITY SECTION ---- */
.stability-section {
  padding: 96px 0;
}
.stability-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.stability-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 16px;
}
.stability-content h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #0a1530;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.stability-content > p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #4a5a7d;
  margin: 0 0 32px;
}
.stability-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stab-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.stab-check {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,179,100,.1);
  color: #16b364;
  border-radius: 10px;
}
.stab-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 4px;
}
.stab-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5a7d;
  margin: 0;
}
.stab-dashboard {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(37,99,235,.08);
}
.stab-dash-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.stab-dash-row:last-child {
  margin-bottom: 0;
}
.stab-dash-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #f6f9ff;
  border: 1px solid #e5ecf7;
  border-radius: 14px;
}
.stab-dash-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
}
.stab-safe { background: linear-gradient(135deg, #16b364, #0ea55a); }
.stab-test { background: linear-gradient(135deg, #2563eb, #4f83f5); }
.stab-compat { background: linear-gradient(135deg, #f5a524, #f59e0b); }
.stab-monitor { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.stab-dash-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0a1530;
}
.stab-dash-item span {
  font-size: 12px;
  color: #4a5a7d;
}

/* ---- WHY GRID 8 ---- */
.why-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ---- FAQ SECTION ---- */
.faq-section {
  padding: 96px 0;
  background: #f6f9ff;
}
.faq-list {
  max-width: 1100px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.faq-list .faq-item:nth-child(11) {
  grid-column: auto;
  grid-row: auto;
}
@media (min-width: 900px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: 18px;
    row-gap: 12px;
  }
  .faq-list .faq-item:nth-child(11) {
    grid-column: 1 / -1;
    grid-row: 6;
  }
}
.faq-item {
  background: #fff;
  border: 1px solid #e5ecf7;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.06);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: #0a1530;
  text-align: left;
  font-family: inherit;
  line-height: 1.4;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,.08);
  color: #2563eb;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  transition: transform .3s, background .3s;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: #2563eb;
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4a5a7d;
  margin: 0;
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] .platform-strip {
  background: #111b2e;
  border-bottom-color: #1e2d4a;
}
[data-theme="dark"] .platform-strip-title { color: #94a3c0; }
[data-theme="dark"] .platform-strip-item {
  background: #0f1a2e;
  border-color: #1e2d4a;
}
[data-theme="dark"] .platform-strip-item span { color: #e8ecf4; }

[data-theme="dark"] .problem-section,
[data-theme="dark"] .audit-section,
[data-theme="dark"] .stability-section { background: #0b1120; }
[data-theme="dark"] .problem-card,
[data-theme="dark"] .svc-card,
[data-theme="dark"] .cwv-card,
[data-theme="dark"] .pf-opt-card,
[data-theme="dark"] .ba-card,
[data-theme="dark"] .faq-item {
  background: #111b2e;
  border-color: #1e2d4a;
}
[data-theme="dark"] .problem-card h3,
[data-theme="dark"] .svc-card h3,
[data-theme="dark"] .cwv-card h3,
[data-theme="dark"] .pf-opt-card h3,
[data-theme="dark"] .faq-q { color: #e8ecf4; }
[data-theme="dark"] .problem-card p,
[data-theme="dark"] .svc-card p,
[data-theme="dark"] .cwv-card p,
[data-theme="dark"] .pf-opt-card p,
[data-theme="dark"] .audit-content > p,
[data-theme="dark"] .stability-content > p,
[data-theme="dark"] .value-node p,
[data-theme="dark"] .stab-item p,
[data-theme="dark"] .faq-a p { color: #94a3c0; }
[data-theme="dark"] .audit-content h2,
[data-theme="dark"] .stability-content h2 { color: #e8ecf4; }
[data-theme="dark"] .cwv-section,
[data-theme="dark"] .platform-opt,
[data-theme="dark"] .before-after-section,
[data-theme="dark"] .value-section,
[data-theme="dark"] .faq-section { background: #0f1a2e; }
[data-theme="dark"] .audit-dashboard,
[data-theme="dark"] .stab-dashboard {
  background: #111b2e;
  border-color: #1e2d4a;
}
[data-theme="dark"] .audit-dash-header {
  background: #0f1a2e;
  border-bottom-color: #1e2d4a;
}
[data-theme="dark"] .audit-list li { color: #e8ecf4; }
[data-theme="dark"] .stab-dash-item {
  background: #0f1a2e;
  border-color: #1e2d4a;
}
[data-theme="dark"] .stab-dash-item strong { color: #e8ecf4; }
[data-theme="dark"] .audit-score-num { color: #e8ecf4; }
[data-theme="dark"] .audit-score-ring circle:first-child { stroke: #1e2d4a; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .pf-opt-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid-8 { grid-template-columns: repeat(3, 1fr); }
  .process-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .cwv-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-opt-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: 1fr; gap: 40px; }
  .stability-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .process-5 { grid-template-columns: repeat(3, 1fr); }
  .value-flow { flex-direction: column; align-items: center; }
  .value-connector { width: 2px; height: 32px; margin-top: 0; background: linear-gradient(180deg, #2563eb, #4f83f5); }
  .value-node { max-width: 300px; }
  .audit-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .problem-section,
  .cwv-section,
  .services,
  .platform-opt,
  .process,
  .before-after-section,
  .audit-section,
  .value-section,
  .stability-section,
  .why-us-section,
  .faq-section { padding: 64px 0; }

  .problem-grid,
  .cwv-grid,
  .svc-grid,
  .pf-opt-grid,
  .ba-grid { grid-template-columns: 1fr; }

  .why-grid-8 { grid-template-columns: 1fr; }
  .process-5 { grid-template-columns: 1fr; }

  .audit-dash-body { flex-direction: column; align-items: center; }
  .audit-findings { width: 100%; }

  .stab-dash-row { flex-direction: column; }

  .platform-strip-item { padding: 8px 14px; margin-right: 10px; }
  .platform-strip-item span { font-size: 13px; }

  .faq-q { font-size: 14.5px; padding: 16px 18px; }
  .faq-a p { padding: 0 18px 16px; font-size: 14px; }
}

@media (max-width: 576px) {
  .ba-comparison { flex-direction: column; gap: 8px; }
  .ba-arrow { transform: rotate(90deg); padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .problem-card,
  .cwv-card,
  .svc-card,
  .pf-opt-card,
  .platform-strip-item,
  .faq-item { transition: none; }
  .platform-strip-track { animation: none; }
}
