:root {
  /* VentureRush Tech Official Palette: White · Royal Blue · Deep Navy */
  --white: #FFFFFF;
  --off-white: #F6F9FE;
  --blue: #3B73E8;
  --blue-bright: #5E95FF;
  --blue-sky: #8AC0FF;
  --navy: #0A1633;
  --navy-mid: #13285C;
  --navy-deep: #060E22;

  --ink: #0A1633;
  --ink-muted: #47597B;
  --ink-soft: #7183A6;

  /* Score Pillars & Severity */
  --seo-color: #10B981;
  --aeo-color: #8B5CF6;
  --geo-color: #F59E0B;
  --critical: #DC2626;
  --high: #EA580C;
  --medium: #D97706;
  --low: #64748B;

  --container: 1240px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  line-height: 1.62;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

button, a, input, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(10, 22, 51, 0.35);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.serif-accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Google Brand Multi-Color (G:blue, o:red, o:yellow, g:blue, l:green, e:red) */
.google-brand {
  display: inline-block;
  font-weight: 700;
  white-space: nowrap;
}
.google-brand .gb-b { color: #4285F4 !important; }
.google-brand .gb-r { color: #EA4335 !important; }
.google-brand .gb-y { color: #FBBC05 !important; }
.google-brand .gb-g { color: #34A853 !important; }

.google-brand.google-on-sky {
  background: rgba(255, 255, 255, 0.94);
  padding: 0 7px 1px;
  border-radius: 7px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(10, 22, 51, 0.16);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

/* ==================== VENTURERUSH GLASSMORPHISM ==================== */
.glass-card-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 22, 51, 0.08);
  box-shadow: 0 22px 52px -20px rgba(10, 22, 51, 0.12);
  border-radius: var(--radius-lg);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}

.glass-card-light:hover {
  border-color: rgba(59, 115, 232, 0.32);
  box-shadow: 0 30px 64px -20px rgba(59, 115, 232, 0.2);
}

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

.glass-card-navy {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), background 0.38s ease, border-color 0.38s ease;
}

.glass-card-navy:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(138, 192, 255, 0.55);
}

/* ==================== SIGNATURE PILL BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.68;
  cursor: wait;
}

.btn-navy {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 14px 30px -10px rgba(10, 22, 51, 0.45);
}

.btn-navy:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  box-shadow: 0 20px 38px -10px rgba(59, 115, 232, 0.52);
}

.btn-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
  box-shadow: 0 14px 30px -10px rgba(59, 115, 232, 0.55);
}

.btn-blue:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -10px rgba(59, 115, 232, 0.72);
}

.btn-whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #22C55E 0%, #0F766E 100%);
  box-shadow: 0 22px 42px -10px rgba(37, 211, 102, 0.72);
}

.btn-hero-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn-hero-glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 0.94rem;
}

/* ==================== KINETIC SCROLL-DRIVEN REVEAL ANIMATIONS ==================== */
.anim-reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kinetic-heading {
  overflow: hidden;
}

.kinetic-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) skewY(2.5deg);
  letter-spacing: 0.03em;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease, letter-spacing 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view .kinetic-line,
.kinetic-line.in-view {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
  letter-spacing: -0.03em;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.22s; }
.stagger-4 { transition-delay: 0.3s; }

/* Pulse Indicators */
.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: greenPing 1.6s ease-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes greenPing {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.visual-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 115, 232, 0.09);
  border: 1px solid rgba(59, 115, 232, 0.2);
  width: fit-content;
}

.pulse-dot-blue {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(59, 115, 232, 0.8);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==================== FLOATING PILL NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px -14px rgba(10, 22, 51, 0.22);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-logo {
  width: 42px;
  height: 30px;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  display: block;
  line-height: 1.05;
}

.brand-name span {
  color: var(--blue);
}

.brand-city {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.84rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid rgba(10, 22, 51, 0.12);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  z-index: 999;
  padding: 20px 22px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(59, 115, 232, 0.15);
  box-shadow: 0 24px 55px rgba(10, 22, 51, 0.22);
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 22, 51, 0.08);
  font-size: 0.95rem;
}

.mobile-drawer a.btn {
  color: var(--white);
  padding: 13px 20px;
  border-bottom: none;
  margin-top: 6px;
  width: 100%;
  font-size: 0.9rem;
}

/* ==================== LUMINOUS DAYLIGHT SKY HERO + FLYING WHITE CLOUDS ==================== */
.hero {
  padding: 146px 0 132px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #102A6B 0%, #2457C5 34%, #4D88F0 68%, #9AC5FF 92%, #E8F2FF 100%);
  color: var(--white);
}

.hero-sun-halo {
  position: absolute;
  width: 680px;
  height: 680px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(160, 206, 255, 0.14) 48%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.cloud-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.fly-cloud {
  position: absolute;
  left: 0;
  will-change: transform;
  filter: drop-shadow(0 18px 28px rgba(10, 22, 51, 0.14));
  animation: flyAcross linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes flyAcross {
  0% { transform: translate3d(-38vw, 0, 0); }
  100% { transform: translate3d(118vw, 0, 0); }
}

.cloud-1 { top: 8%;  width: 340px; opacity: 0.9;  animation-duration: 34s; animation-delay: -6s; }
.cloud-2 { top: 20%; width: 460px; opacity: 0.7;  animation-duration: 48s; animation-delay: -26s; }
.cloud-3 { top: 44%; width: 290px; opacity: 0.86; animation-duration: 28s; animation-delay: -15s; }
.cloud-4 { top: 58%; width: 520px; opacity: 0.62; animation-duration: 54s; animation-delay: -40s; }
.cloud-5 { top: 14%; width: 220px; opacity: 0.8;  animation-duration: 24s; animation-delay: -19s; }
.cloud-6 { top: 68%; width: 390px; opacity: 0.92; animation-duration: 38s; animation-delay: -9s; }

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 860px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 18px;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 26px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.1rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(10, 22, 51, 0.22);
}

.hero h1 .serif-accent {
  color: #DCEBFF;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(242, 247, 255, 0.94);
  max-width: 660px;
  margin: 0 auto 34px;
}

/* Liquid Glass Scanner Input Card */
.scan-form {
  max-width: 740px;
  margin: 0 auto;
}

.scan-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  box-shadow: 0 26px 56px -14px rgba(10, 22, 51, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.9);
  gap: 10px;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.scan-input-wrap:focus-within {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.34), 0 28px 60px -14px rgba(10, 22, 51, 0.42);
  transform: translateY(-1px);
}

.input-icon {
  width: 21px;
  height: 21px;
  color: var(--blue);
  flex-shrink: 0;
}

.scan-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy);
  padding: 10px 4px;
  background: transparent;
}

.scan-input::placeholder {
  color: var(--ink-soft);
}

.btn-scan {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-scan-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.btn-scan:hover:not(:disabled) .btn-scan-arrow {
  transform: translateX(3px);
}

.scan-examples {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.examples-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.example-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

.example-chip:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.error-banner {
  margin: 18px auto 0;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(220, 38, 38, 0.9);
  border: 1px solid rgba(254, 202, 202, 0.6);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(153, 27, 27, 0.28);
}

/* Hero Bottom Stats Row */
.hero-stats {
  margin: 38px auto 0;
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 14px rgba(10, 22, 51, 0.2);
}

.hero-stat span {
  font-size: 0.84rem;
  color: rgba(240, 247, 255, 0.9);
}

.hero-cloud-horizon {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

/* ==================== KINETIC SCROLL TYPOGRAPHY RIBBON ==================== */
.kinetic-ribbon-wrap {
  overflow: hidden;
  padding: 18px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
  position: relative;
  width: 100%;
  display: flex;
  gap: 44px;
  isolation: isolate;
  contain: paint;
  transform: translateZ(0);
}

.kinetic-ribbon {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-shrink: 0;
  min-width: 100%;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.kinetic-ribbon-wrap:hover .kinetic-ribbon {
  animation-play-state: paused;
}

.kinetic-ribbon-left {
  animation: ribbonLoopLeft 34s linear infinite;
}

@keyframes ribbonLoopLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-100% - 44px), 0, 0); }
}

.kinetic-ribbon .outline-word {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(138, 192, 255, 0.82);
}

/* ==================== EDITORIAL SECTION HEADERS ==================== */
.section-pad {
  padding: 88px 0;
  position: relative;
  scroll-margin-top: 92px;
}

#resultsSection,
#checksExplorer,
#loadingSection {
  scroll-margin-top: 92px;
}

.overview-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 52%, #FFFFFF 100%);
}

.editorial-head {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(10, 22, 51, 0.1);
}

.index-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.index-line::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

.editorial-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  color: var(--navy);
}

.editorial-head p {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 455px;
  justify-self: end;
}

/* Overview 3 Pillar Cards */
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.ov-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.ov-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 999px;
}

.ov-seo { background: rgba(16, 185, 129, 0.12); color: #059669; }
.ov-aeo { background: rgba(139, 92, 246, 0.12); color: #6D28D9; }
.ov-geo { background: rgba(245, 158, 11, 0.14); color: #B45309; }

.ov-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.overview-card h3 {
  font-size: 1.32rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.ov-list {
  list-style: none;
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 22, 51, 0.08);
  margin-top: auto;
}

.ov-list li {
  font-size: 0.87rem;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ov-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ==================== LOADING STAGE ==================== */
.loading-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FE 100%);
}

.loader-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 44px 36px;
  text-align: center;
}

.loader-spinner-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #E2E8F0;
  border-top-color: var(--blue);
  border-right-color: var(--blue-sky);
  animation: spin 0.9s linear infinite;
}

.loader-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-title {
  margin-bottom: 6px;
  font-size: 1.38rem;
  color: var(--navy);
}

.loader-url {
  margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  color: var(--blue);
  word-break: break-all;
}

.loader-progress-track {
  width: 100%;
  height: 9px;
  background: #E8F0FE;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.loader-progress-bar {
  height: 100%;
  width: 12%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 50%, #10B981 100%);
  transition: width 0.35s ease;
}

.loader-stage {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==================== RESULTS DASHBOARD ==================== */
.results-section {
  padding: 68px 0 88px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 45%, #EEF4FF 100%);
}

.report-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin-bottom: 28px;
}

.report-domain-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.report-domain {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--navy);
}

.grade-pill {
  padding: 5px 14px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(59, 115, 232, 0.11);
  color: var(--blue);
  border: 1px solid rgba(59, 115, 232, 0.25);
}

.report-meta-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.meta-chip {
  background: var(--off-white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.export-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==================== SIGNATURE NAVY CRYSTAL STAGE CARD ==================== */
.chart-stage-card {
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  margin-bottom: 28px;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(94, 149, 255, 0.34) 0%, transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(59, 115, 232, 0.25) 0%, transparent 70%),
    linear-gradient(155deg, var(--navy) 0%, #12275A 58%, #1E4499 100%);
  color: var(--white);
  box-shadow: 0 38px 82px -26px rgba(10, 22, 51, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.stage-orb-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 192, 255, 0.24) 0%, transparent 70%);
  pointer-events: none;
}

.chart-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 2;
}

.stage-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 6px;
}

.stage-title {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: var(--white);
}

.stage-grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.stage-grade-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(220, 234, 255, 0.85);
}

.grade-square {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #DCEBFF 100%);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* 4 Core Meters Grid inside Navy Crystal Stage */
.meters-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.meter-card {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.meter-overall-card {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(138, 192, 255, 0.42);
}

.meter-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.meter-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.tag-overall { background: rgba(138, 192, 255, 0.22); color: #DCEBFF; border: 1px solid rgba(138, 192, 255, 0.4); }
.tag-seo { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.36); }
.tag-aeo { background: rgba(167, 139, 250, 0.22); color: #DDD6FE; border: 1px solid rgba(167, 139, 250, 0.38); }
.tag-geo { background: rgba(251, 191, 36, 0.2); color: #FDE68A; border: 1px solid rgba(251, 191, 36, 0.38); }

.meter-ratio {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(218, 232, 255, 0.8);
}

.speedometer-wrap {
  width: 100%;
  max-width: 245px;
  margin: 4px auto;
}

.ring-gauge-wrap {
  width: 138px;
  height: 138px;
  margin: 4px auto 8px;
}

.meter-title {
  margin: 4px 0 4px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white);
}

.meter-caption {
  font-size: 0.78rem;
  color: rgba(218, 232, 255, 0.76);
  max-width: 240px;
}

/* 5 KPI Glass Cards inside Navy Stage */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.kpi-glass {
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.28s ease, background 0.28s ease;
}

.kpi-glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
}

.kpi-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(218, 232, 255, 0.78);
  margin-top: 4px;
}

/* ==================== SECTION CARDS ==================== */
.section-card {
  padding: 28px;
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy);
}

.section-sub {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Priority Distribution */
.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.priority-card {
  position: relative;
  border: 1px solid rgba(10, 22, 51, 0.08);
  border-radius: 18px;
  padding: 18px 20px 18px 24px;
  cursor: pointer;
  background: var(--white);
  text-align: left;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease;
  font-family: inherit;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -12px rgba(10, 22, 51, 0.14);
}

.priority-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 18px 0 0 18px;
}

.p-critical { background: #FEF2F2; border-color: #FECACA; }
.p-critical::before { background: var(--critical); }
.p-critical .p-count { color: var(--critical); }

.p-high { background: #FFF7ED; border-color: #FED7AA; }
.p-high::before { background: var(--high); }
.p-high .p-count { color: var(--high); }

.p-medium { background: #FFFBEB; border-color: #FDE68A; }
.p-medium::before { background: var(--medium); }
.p-medium .p-count { color: var(--medium); }

.p-low { background: var(--off-white); border-color: rgba(10, 22, 51, 0.1); }
.p-low::before { background: var(--low); }
.p-low .p-count { color: var(--low); }

.p-count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
}

.p-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.analytics-grid > .section-card {
  margin-bottom: 0;
}

.analytics-right-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.analytics-right-col .section-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.chart-center-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart-center-wrap svg {
  max-width: 100%;
  height: auto;
}

.category-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-row {
  display: grid;
  grid-template-columns: 90px 1fr 56px;
  align-items: center;
  gap: 12px;
}

.cat-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.cat-track {
  height: 14px;
  border-radius: 999px;
  background: #FEE2E2;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.cat-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  border-radius: 999px;
  transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-ratio {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.donut-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Quick Wins */
.quick-wins-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.qw-card {
  border: 1px solid rgba(10, 22, 51, 0.08);
  border-left-width: 4px;
  border-radius: 18px;
  padding: 18px;
  background: var(--off-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qw-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(10, 22, 51, 0.14);
}

.qw-card.sev-CRITICAL { border-left-color: var(--critical); background: #FFFBFB; }
.qw-card.sev-HIGH { border-left-color: var(--high); }

.qw-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.qw-title {
  margin-bottom: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.qw-impact {
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.qw-fix {
  font-size: 0.83rem;
  color: #065F46;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 9px 12px;
  border-radius: 12px;
  overflow-wrap: anywhere;
}

/* ==================== DETAILED CHECKS EXPLORER (FAQ ACCORDION STYLE) ==================== */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(10, 22, 51, 0.08);
}

.pillar-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid rgba(10, 22, 51, 0.1);
  background: var(--off-white);
  color: var(--ink-muted);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.tab-btn:hover {
  background: #E8F0FE;
  border-color: rgba(59, 115, 232, 0.35);
  color: var(--blue);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(10, 22, 51, 0.45);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pills {
  display: inline-flex;
  background: var(--off-white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  padding: 4px;
  border-radius: 999px;
  gap: 3px;
}

.status-pill {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-pill.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(10, 22, 51, 0.1);
}

.filter-select {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 51, 0.12);
  background: var(--off-white);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.filter-select:focus {
  border-color: var(--blue);
  background: var(--white);
}

.search-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(10, 22, 51, 0.12);
  border-radius: 999px;
  background: var(--off-white);
  color: var(--ink-soft);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.search-wrap:focus-within {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 115, 232, 0.12);
}

.filter-search {
  border: none;
  outline: none;
  width: 100%;
  padding: 9px 0;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  background: transparent;
}

/* Check Rows (Inspired by Reference FAQ Accordion Cards) */
.checks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  background: var(--white);
  border: 1px solid rgba(10, 22, 51, 0.09);
  border-radius: 18px;
  box-shadow: 0 8px 22px -14px rgba(10, 22, 51, 0.09);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.check-item:hover {
  border-color: rgba(59, 115, 232, 0.34);
  box-shadow: 0 14px 32px -14px rgba(59, 115, 232, 0.16);
}

.check-item.open {
  border-color: rgba(59, 115, 232, 0.42);
  box-shadow: 0 18px 38px -16px rgba(59, 115, 232, 0.18);
}

.check-summary {
  width: 100%;
  border: none;
  background: transparent;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.check-left {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  flex: 1;
}

.status-badge {
  flex-shrink: 0;
  width: 54px;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 5px 0;
  border-radius: 999px;
  margin-top: 1px;
}

.st-PASS { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.28); }
.st-FAIL { background: rgba(239, 68, 68, 0.1); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.st-NA   { background: #F1F5F9; color: #64748B; border: 1px solid #CBD5E1; }

.check-body {
  min-width: 0;
  flex: 1;
}

.check-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.38;
  word-break: break-word;
}

.check-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.code-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: var(--off-white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  color: var(--ink-muted);
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-pillar {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.bp-SEO { background: rgba(16, 185, 129, 0.12); color: #047857; }
.bp-AEO { background: rgba(139, 92, 246, 0.12); color: #6D28D9; }
.bp-GEO { background: rgba(245, 158, 11, 0.14); color: #B45309; }

.badge-cat {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid rgba(10, 22, 51, 0.09);
  color: var(--ink-muted);
}

.badge-prio {
  font-size: 0.67rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.pr-CRITICAL { background: #DC2626; color: #FFFFFF; }
.pr-HIGH     { background: #EA580C; color: #FFFFFF; }
.pr-MEDIUM   { background: #FEF3C7; color: #92400E; }
.pr-LOW      { background: #F1F5F9; color: #475569; }

/* Signature VentureRush Rotating Circle Toggle Button */
.faq-toggle-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 115, 232, 0.1);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.28s ease, background 0.25s ease, color 0.25s ease;
}

.check-item.open .faq-toggle-ico {
  transform: rotate(45deg);
  background: var(--blue);
  color: #FFFFFF;
}

.check-details {
  display: none;
  padding: 0 18px 16px 85px;
  border-top: 1px solid rgba(10, 22, 51, 0.06);
  background: #FAFBFD;
}

.check-item.open .check-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
}

.detail-block h4 {
  margin-bottom: 5px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.detail-block p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  overflow-wrap: anywhere;
}

.detail-block.fix-block p {
  color: #065F46;
}

.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* ==================== SIGNATURE ACTION CTA CARD ==================== */
.action-cta-card {
  margin-top: 32px;
  border-radius: 32px;
  padding: 44px 48px;
  background: linear-gradient(145deg, var(--navy) 0%, #152D6B 55%, #2B5CC7 100%);
  color: var(--white);
  box-shadow: 0 38px 80px -24px rgba(10, 22, 51, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.action-cta-copy {
  max-width: 580px;
}

.action-cta-copy h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  color: var(--white);
  margin-bottom: 12px;
}

.action-cta-copy p {
  color: rgba(226, 236, 255, 0.86);
  font-size: 0.98rem;
}

.action-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== AEO / GEO GUIDE, TABLE, GLOSSARY & FAQ ACCORDION ==================== */
.toc-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(59, 115, 232, 0.06);
  border: 1px solid rgba(59, 115, 232, 0.16);
}

.toc-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-right: 4px;
}

.toc-strip a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  transition: all 0.2s ease;
}

.toc-strip a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.guide-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FE 55%, #FFFFFF 100%);
  padding-top: 32px;
}

.aeo-answer-summary {
  background: linear-gradient(135deg, rgba(59, 115, 232, 0.08) 0%, rgba(138, 192, 255, 0.15) 100%);
  border: 1px solid rgba(59, 115, 232, 0.22);
  border-radius: 22px;
  padding: 22px 26px;
  margin-bottom: 44px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.aeo-summary-badge {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--navy);
  color: #8AC0FF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 2px;
}

.aeo-answer-summary p {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.65;
  margin: 0;
}

.inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(59, 115, 232, 0.35);
  text-underline-offset: 3px;
}

.inline-link:hover {
  text-decoration-color: var(--blue);
}

.table-card {
  padding: 8px;
  margin-bottom: 26px;
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sga-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}

.sga-table thead tr {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.sga-table th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 18px;
}

.sga-table th:first-child { border-radius: 16px 0 0 0; }
.sga-table th:last-child { border-radius: 0 16px 0 0; }

.sga-table td {
  padding: 15px 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-bottom: 1px solid rgba(10, 22, 51, 0.07);
  vertical-align: top;
}

.sga-table tbody tr:last-child td {
  border-bottom: none;
}

.sga-table tbody tr:hover {
  background: var(--off-white);
}

.sga-table code,
.sga-dl code,
.guide-body code,
.faq-answer code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8em;
  background: rgba(59, 115, 232, 0.09);
  color: var(--navy);
  padding: 2px 6px;
  border-radius: 5px;
}

.guide-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.guide-card h3 {
  font-size: 1.28rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.guide-lead,
.guide-body {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.steps-ol {
  margin-top: 16px;
  padding-left: 20px;
  display: grid;
  gap: 13px;
  font-size: 0.91rem;
  color: var(--ink-muted);
}

.steps-ol li strong {
  color: var(--navy);
}

.sga-dl {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.sga-dl dt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.sga-dl dd {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(10, 22, 51, 0.1);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.sga-dl dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.expert-quote {
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--off-white);
  border-radius: 0 14px 14px 0;
  font-size: 0.89rem;
  color: var(--navy);
  font-style: italic;
}

.expert-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.sga-figure {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}

.sga-figure img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.sga-figure figcaption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.author-byline-bar {
  margin-top: 28px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(10, 22, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.author-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* FAQ Accordion Section (Exact Reference Design) */
.faq-section {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #F5F8FE 0%, #FFFFFF 100%);
  scroll-margin-top: 92px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(10, 22, 51, 0.09);
  border-radius: 20px;
  box-shadow: 0 12px 30px -16px rgba(10, 22, 51, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(59, 115, 232, 0.38);
  box-shadow: 0 18px 40px -16px rgba(59, 115, 232, 0.18);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.38;
  user-select: none;
}

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

.faq-item[open] .faq-toggle-ico {
  transform: rotate(45deg);
  background: var(--blue);
  color: #FFFFFF;
}

.faq-answer {
  padding: 14px 22px 20px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.66;
  border-top: 1px solid rgba(10, 22, 51, 0.06);
}

.footer-grid-4 {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

/* ==================== SIGNATURE DEEP NAVY FOOTER ==================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(218, 230, 255, 0.78);
  padding: 60px 0 32px;
}

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

.footer-about {
  font-size: 0.9rem;
  max-width: 360px;
  line-height: 1.65;
  color: rgba(218, 230, 255, 0.72);
}

.footer-col h5,
.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(218, 230, 255, 0.72);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-sky);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(218, 230, 255, 0.56);
}

/* ==================== RESPONSIVE (TABLET & MOBILE PERFECTION) ==================== */
@media (max-width: 1060px) {
  .editorial-head,
  .analytics-grid,
  .guide-2col,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-head p {
    justify-self: start;
  }
  .tri-grid {
    grid-template-columns: 1fr;
  }
  .meters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .meter-overall-card {
    grid-column: 1 / -1;
  }
  .kpi-strip {
    grid-template-columns: repeat(6, 1fr);
  }
  .kpi-glass:nth-child(1),
  .kpi-glass:nth-child(2),
  .kpi-glass:nth-child(3) {
    grid-column: span 2;
  }
  .kpi-glass:nth-child(4),
  .kpi-glass:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  /* Compact Floating Pill Navbar + Mobile Drawer */
  .navbar { top: 12px; }
  .nav-bar { padding: 8px 10px 8px 14px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: flex; width: 40px; height: 40px; }
  .brand-link { gap: 9px; }
  .brand-logo { width: 34px; height: 24px; }
  .brand-name { font-size: 0.96rem; }
  .brand-city { font-size: 0.58rem; letter-spacing: 0.08em; }
  .mobile-drawer { top: 72px; }

  /* Luminous Cloud Hero */
  .hero { padding: 100px 0 84px; }
  .hero-kicker { font-size: 0.68rem; letter-spacing: 0.1em; gap: 8px; margin-bottom: 12px; }
  .hero-kicker::before, .hero-kicker::after { width: 16px; }
  .hero h1 { font-size: clamp(2rem, 8.2vw, 2.55rem); line-height: 1.1; margin-bottom: 14px; }
  .hero-lead { font-size: 0.94rem; line-height: 1.6; margin-bottom: 24px; }
  .hero-cloud-horizon svg { height: 52px !important; }
  .fly-cloud { opacity: 0.55; }

  /* Mobile Liquid Glass Input Card */
  .scan-input-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 22px;
    gap: 8px;
  }
  .input-icon { display: none; }
  .scan-input {
    font-size: 16px;
    padding: 11px 14px;
    border-radius: 14px;
    background: var(--off-white);
    border: 1px solid rgba(10, 22, 51, 0.1);
  }
  .scan-input:focus {
    background: var(--white);
    border-color: var(--blue);
  }
  .btn-scan {
    width: 100%;
    min-height: 48px;
    font-size: 0.96rem;
    padding: 13px 20px;
  }
  .hero-stats {
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
  }
  .hero-stat strong { font-size: 0.92rem; }
  .hero-stat span { font-size: 0.7rem; line-height: 1.3; display: block; margin-top: 2px; }

  /* Ribbon */
  .kinetic-ribbon-wrap { padding: 13px 0; gap: 28px; }
  .kinetic-ribbon { font-size: 1.04rem; gap: 28px; }

  /* Overview & Sections */
  .section-pad { padding: 54px 0; }
  .editorial-head { gap: 14px; margin-bottom: 26px; padding-bottom: 16px; }
  .editorial-head h2 { font-size: clamp(1.65rem, 6.8vw, 2.1rem); line-height: 1.15; }
  .editorial-head p { font-size: 0.9rem; }
  .overview-card { padding: 22px 18px; border-radius: 20px; }

  /* Loader */
  .loading-section { padding: 36px 0; }
  .loader-card { padding: 30px 20px; border-radius: 22px; }

  /* Results Dashboard */
  .results-section { padding: 36px 0 56px; }
  .section-card { padding: 18px 16px; margin-bottom: 16px; border-radius: 20px; }
  .section-head { margin-bottom: 14px; }
  .section-title { font-size: 1.08rem; }
  .section-sub { font-size: 0.82rem; }

  /* Report Header & Mobile 2+1 Action Button Grid */
  .report-header-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 14px;
    margin-bottom: 18px;
    border-radius: 20px;
  }
  .report-domain { font-size: 1.2rem; overflow-wrap: anywhere; }
  .report-meta-chips { gap: 6px; font-size: 0.74rem; }
  .export-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
  }
  .export-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .export-actions .btn-whatsapp {
    grid-column: 1 / -1;
    min-height: 48px;
    font-size: 0.94rem;
  }

  /* Navy Crystal Stage + 4 Meters Above the Fold */
  .chart-stage-card {
    border-radius: 24px;
    padding: 20px 14px;
    margin-bottom: 18px;
  }
  .chart-top-bar {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }
  .stage-eyebrow { font-size: 0.66rem; }
  .stage-title { font-size: 1.18rem; }
  .stage-grade-badge { padding: 6px 8px 6px 13px; gap: 8px; }
  .stage-grade-label { font-size: 0.64rem; }
  .grade-square { width: 30px; height: 30px; font-size: 0.86rem; }

  .meters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-bottom: 16px;
  }
  .meter-overall-card {
    grid-column: 1 / -1;
    padding: 16px 14px 12px;
    border-radius: 18px;
  }
  .meter-overall-card .speedometer-wrap { max-width: 220px; }
  .meter-card:not(.meter-overall-card) {
    padding: 11px 6px;
    border-radius: 16px;
  }
  .meter-card:not(.meter-overall-card) .meter-card-head {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
  }
  .meter-card:not(.meter-overall-card) .meter-tag {
    font-size: 0.58rem;
    padding: 3px 7px;
    white-space: nowrap;
  }
  .meter-card:not(.meter-overall-card) .meter-ratio {
    font-size: 0.64rem;
    white-space: nowrap;
  }
  .meter-card:not(.meter-overall-card) .ring-gauge-wrap {
    width: 74px;
    height: 74px;
    margin: 4px auto;
  }
  .meter-card:not(.meter-overall-card) .meter-title {
    font-size: 0.68rem;
    line-height: 1.24;
    margin-top: 2px;
  }
  .meter-card:not(.meter-overall-card) .meter-caption {
    display: none;
  }

  /* KPI Strip (Symmetrical 3 top + 2 bottom) */
  .kpi-strip { gap: 8px; }
  .kpi-glass { padding: 12px 6px; border-radius: 14px; }
  .kpi-val { font-size: 1.32rem; }
  .kpi-label { font-size: 0.68rem; }

  /* Priority 2x2 */
  .priority-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .priority-card { padding: 14px 12px 14px 16px; border-radius: 15px; }
  .p-count { font-size: 1.48rem; }
  .p-name { font-size: 0.78rem; }

  /* Analytics */
  .analytics-grid { gap: 16px; margin-bottom: 16px; }
  .analytics-right-col { grid-template-columns: 1fr; gap: 16px; }
  .cat-row { grid-template-columns: 72px 1fr 44px; gap: 8px; }
  .cat-name { font-size: 0.76rem; }
  .cat-ratio { font-size: 0.74rem; text-align: right; }

  /* Quick Wins */
  .quick-wins-list { grid-template-columns: 1fr; gap: 12px; }
  .qw-card { padding: 15px; border-radius: 16px; }

  /* Explorer Filters */
  .pillar-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tab-btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.82rem;
    text-align: center;
  }
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .status-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }
  .status-pill {
    min-height: 36px;
    padding: 6px 4px;
    font-size: 0.78rem;
    text-align: center;
  }
  .filter-select {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
  }
  .search-wrap {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
  .filter-search {
    font-size: 16px;
    padding: 10px 0;
  }

  /* Check Accordion Rows */
  .check-summary { padding: 13px 14px; gap: 10px; }
  .check-left { gap: 9px; }
  .status-badge { width: 46px; font-size: 0.64rem; }
  .check-desc { font-size: 0.86rem; }
  .code-id { font-size: 0.68rem; word-break: break-all; }
  .check-details { padding: 0 14px 14px 14px; }
  .check-item.open .check-details {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 12px;
  }
  .detail-block {
    background: var(--white);
    border: 1px solid rgba(10, 22, 51, 0.08);
    border-radius: 12px;
    padding: 11px 13px;
  }
  .detail-block.fix-block {
    background: #F0FDF4;
    border-color: #BBF7D0;
  }

  /* Action CTA Card */
  .action-cta-card {
    border-radius: 24px;
    padding: 28px 20px;
    gap: 20px;
  }
  .toc-strip {
    border-radius: 18px;
    padding: 12px;
  }
  .aeo-answer-summary {
    flex-direction: column;
    padding: 18px;
    gap: 10px;
    margin-bottom: 28px;
  }
  .guide-card {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .faq-section {
    padding: 48px 0 60px;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 12px 18px 16px;
    font-size: 0.86rem;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }
  .action-cta-buttons {
    width: 100%;
    flex-direction: column;
  }
  .action-cta-buttons .btn {
    width: 100%;
    min-height: 48px;
  }

  /* Footer */
  .site-footer { padding: 44px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.76rem;
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .brand-city { display: none; }
  .meters-grid { gap: 6px; }
  .meter-card:not(.meter-overall-card) { padding: 10px 4px; }
  .meter-card:not(.meter-overall-card) .ring-gauge-wrap { width: 64px; height: 64px; }
  .meter-card:not(.meter-overall-card) .meter-title { font-size: 0.64rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fly-cloud, .kinetic-ribbon-left, .pulse-dot-green, .pulse-dot-blue { animation: none; }
  .anim-reveal, .kinetic-line { opacity: 1; transform: none; transition: none; }
}
