/* ===== DESIGN SYSTEM — ProbePioniere V2 (Light & Trust) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Mulish:wght@400;500;600;700&display=swap');

:root {
  /* ── Exact "Light & Trust" Palette ── */
  --bg-header: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --cta-bg: #FFC107;
  --cta-text: #000000;
  --dark-section: #1e293b;

  /* Accent */
  --clr-primary: #FFC107;
  --clr-primary-dark: #e6ad00;
  --clr-star: #FFD700;
  --clr-heart: #e74c3c;

  /* Neutral helpers */
  --clr-gray-100: #f1f5f9;
  --clr-gray-200: #e2e8f0;
  --clr-gray-300: #cbd5e1;
  --clr-gray-500: #64748b;
  --clr-white: #ffffff;

  /* Typography */
  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Mulish', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-cta: 0 4px 16px rgba(255, 193, 7, 0.4);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.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;
}

/* ===== BUTTONS — Vibrant Amber CTA ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(180deg, #FFD54F 0%, #FFC107 100%);
  color: var(--cta-text);
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FFC107 0%, #e6ad00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 193, 7, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4), 0 0 0 0 rgba(255, 193, 7, 0.5);
  }

  70% {
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4), 0 0 0 12px rgba(255, 193, 7, 0);
  }

  100% {
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.4), 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.btn-pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ======================================================
   HEADER — Floating Island (Pill Navigation)
   ====================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.7rem 0;
  background: transparent;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  width: 100%;
}

.site-header.scrolled {
  width: 92%;
  max-width: 780px;
  margin: 0 auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  top: 15px;
  padding: 0.45rem 1.2rem;
  height: 52px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 30px;
  height: 30px;
}

/* Logo text is dark on white header */
.logo-text-full {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  transition: max-width 0.3s ease, opacity 0.3s ease;
  max-width: 200px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
}

.logo-text-full span {
  color: var(--clr-primary);
}

/* Short logo (PP) — hidden by default */
.logo-text-short {
  display: none;
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.logo-text-short span {
  color: var(--cta-bg);
}

.header-cta .btn {
  font-size: 0.82rem;
  padding: 0.35rem 1.1rem;
  line-height: 1.2;
  box-shadow: none;
  white-space: nowrap;
  height: 34px;
}

.header-cta .btn:hover {
  transform: none;
}

/* ── Header CTA: hidden by default, expands smoothly ── */
.header-cta {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width 0.4s ease, opacity 0.4s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-cta.header-cta-visible {
  max-width: 220px;
  opacity: 1;
  pointer-events: auto;
}

/* ── Mobile: show PP short logo when pill is active (only on pages with short logo) ── */
@media (max-width: 768px) {
  .site-header.scrolled .logo:has(.logo-text-short) .logo-text-full {
    display: none;
  }

  .site-header.scrolled .logo-text-short {
    display: inline-block;
  }
}

/* ======================================================
   HERO — Dual-Image Responsive Layout
   ====================================================== */
.hero {
  background: var(--bg-light);
  padding: calc(var(--space-lg) + 56px) 0 0;
  overflow: hidden;
}

.hero-grid {
  position: relative;
}

/* ── Trust Badge (above H1) ── */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.hero-trust-badge .trust-stars {
  color: var(--cta-bg);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* ── Text Content ── */
.hero-content {
  text-align: center;
}

.hero h1 {
  color: var(--text-main);
  font-size: clamp(1.35rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-body);
  margin-bottom: var(--space-md);
  max-width: 540px;
  line-height: 1.65;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-wrap {
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 10;
}

.hero-microcopy {
  font-size: 0.82rem;
  color: #475569;
  text-align: center;
  margin-bottom: 0;
}

/* ── Mobile: Pull CTA snugly into glowing space (not over the box) ── */
@media (max-width: 767px) {
  .hero-cta-wrap {
    margin-top: -0.75rem;
  }
}

/* ── Mobile Image ── */
.hero-img-mobile {
  display: block;
  text-align: center;
  margin-bottom: var(--space-md);
}

.hero-img-mobile img {
  max-width: 350px;
  width: 80%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

/* ── Desktop Image ── */
.hero-img-desktop {
  display: none;
}

.hero-img-desktop img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

/* ======================================================
   Desktop: 2-column flex, image anchored to bottom
   ====================================================== */
@media (min-width: 768px) {
  .hero {
    padding: calc(var(--space-xl) + 56px) 0 0;
  }

  .hero-grid {
    display: flex;
    align-items: flex-end;
    /* Anchors image to bottom edge */
    gap: var(--space-xl);
  }

  .hero-content {
    flex: 1 1 50%;
    text-align: left;
    padding-bottom: var(--space-xl);
  }

  .hero-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-microcopy {
    text-align: center;
  }

  /* Desktop: center microcopy under the button */
  .hero-cta-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hide mobile image, show desktop image */
  .hero-img-mobile {
    display: none;
  }

  .hero-img-desktop {
    display: flex;
    flex: 1 1 50%;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-img-desktop img {
    max-width: 520px;
  }
}

/* ======================================================
   TRUST CARD — Vorteilsleiste (floating card)
   ====================================================== */
.benefit-strip {
  background-color: #f8fafc;
  padding: 3rem 0;
}

.trust-card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.benefit-item span {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .trust-card-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
  }

  .benefit-item span {
    font-size: 0.9rem;
    white-space: normal;
  }
}

/* ===== SECTION GENERIC ===== */
.section {
  padding: var(--space-xl) 0;
}

.section-gray {
  background: var(--bg-light);
}

.section-title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: -1rem auto var(--space-lg);
  color: var(--text-body);
  font-size: 1rem;
}

/* ===== STEPS (Cardified) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.step-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.step-card img {
  border-radius: 12px;
  margin-bottom: var(--space-sm);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, #FFD54F 0%, #FFC107 100%);
  color: var(--cta-text);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== SHOWCASE — Face-safe images ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.showcase-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.showcase-card-img {
  height: 220px;
  background-size: cover;
  background-position: center top;
}

.showcase-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.showcase-card p {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
  line-height: 1.55;
}

.showcase-card .btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
  border-radius: 50px;
}

.trademark-disclaimer {
  background-color: #f1f5f9;
  padding: 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #475569;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid #e2e8f0;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--clr-gray-100);
}

.testimonial-author {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--clr-gray-500);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.6rem;
}

.testimonial-stars .star {
  font-size: 0.9rem;
  color: var(--clr-star);
}

.star {
  color: var(--clr-star);
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 0.88rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-body);
}

/* ===== CATEGORY CARDS — Image-Top / Text-Bottom ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.category-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.category-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-img {
  transform: scale(1.05);
}

.category-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-body h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-primary-dark);
  margin-bottom: 0.2rem;
}

.category-card-body h3 {
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.category-card-body .divider {
  width: 35px;
  height: 3px;
  background: linear-gradient(90deg, #FFD54F, #FFC107);
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.category-card-body p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0.7rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--clr-gray-100);
  font-size: 0.78rem;
  margin-top: auto;
  color: var(--clr-gray-500);
}

.card-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-stars .label {
  opacity: 0.7;
  margin-right: 0.15rem;
}

.card-likes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-likes svg {
  width: 14px;
  height: 14px;
  fill: var(--clr-heart);
}

/* ===== INFO CARDS ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.info-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
}

.info-card-image h3 {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  right: var(--space-sm);
  color: #fff;
  font-size: 1rem;
  z-index: 2;
}

.info-card-body {
  padding: var(--space-md);
}

.info-card-body p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== KODEX — Dark section ===== */
.kodex-section {
  background: #f8fafc;
  padding: var(--space-xl) 0;
}

.kodex-section .section-title {
  color: var(--text-main);
}

.kodex-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.kodex-item {
  display: flex;
  gap: var(--space-sm);
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.kodex-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.kodex-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 213, 79, 0.2), rgba(255, 193, 7, 0.15));
  border-radius: 12px;
}

.kodex-item h4 {
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.kodex-item p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--clr-gray-100);
}

.faq-question {
  width: 100%;
  background: none;
  padding: var(--space-md) 0;
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--clr-primary-dark);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: var(--space-lg) 0;
}

.cta-banner .btn {
  margin-bottom: 0.5rem;
}

.cta-banner .cta-sub {
  font-size: 0.82rem;
  color: var(--clr-gray-500);
}

/* ===== FOOTER — Dark ===== */
.site-footer {
  background: var(--dark-section);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cta-bg);
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: var(--clr-gray-100);
  padding: var(--space-md) 0;
  text-align: center;
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--clr-gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== QUIZ REVIEWS ===== */
.quiz-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-md);
}

.quiz-reviews {
  max-width: 280px;
  width: 100%;
  margin: 0;
  margin-bottom: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.quiz-review-card {
  display: flex;
  gap: 0.8rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.quiz-review-card img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.quiz-review-body {
  flex: 1;
}

.quiz-review-body .testimonial-stars {
  margin-bottom: 0.3rem;
}

.quiz-review-body .testimonial-stars .star {
  font-size: 0.8rem;
}

.quiz-review-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-body);
  font-style: italic;
}

.quiz-review-author {
  font-size: 0.75rem;
  color: var(--clr-gray-500);
  margin-top: 0.2rem;
  font-weight: 600;
}

/* ===== BLOG PREVIEW CARDS ===== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-preview-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--clr-gray-100);
}

.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-gray-200);
}

.blog-preview-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff3cd;
  color: #856404;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-preview-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.blog-preview-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-main);
}

.blog-preview-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.blog-preview-link {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--clr-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}

.blog-preview-card:hover .blog-preview-link {
  color: #b38600;
}

.blog-preview-card-all {
  background: var(--bg-light);
  border: 1px dashed var(--clr-gray-200);
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ===== SEO ARTICLE ACCORDION ===== */
.seo-content-details {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--clr-gray-200);
}

.seo-content-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--bg-white);
  user-select: none;
  list-style: none;
  gap: 1rem;
  transition: background 0.25s ease;
}

.seo-content-toggle:hover {
  background: var(--bg-light);
}

.seo-content-toggle::-webkit-details-marker {
  display: none;
}

.seo-content-toggle h2 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
  line-height: 1.3;
}

.seo-toggle-hint {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--clr-primary-dark);
  background: var(--bg-light);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.seo-content-details[open] .seo-toggle-hint {
  background: var(--clr-gray-200);
}

.seo-article-body {
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid var(--clr-gray-100);
  background: var(--bg-white);
}

.seo-article-body h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.seo-article-body h3:first-child {
  margin-top: 0;
}

.seo-article-body h4 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.seo-article-body p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.92rem;
}

.seo-article-body ul,
.seo-article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.seo-article-body ul li,
.seo-article-body ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.seo-article-body ul li {
  list-style-type: disc;
}

.seo-article-body a:not(.btn) {
  color: var(--clr-primary-dark);
  text-decoration: underline;
  font-weight: 600;
}

.seo-article-cta {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 2.5rem;
  border: 1px solid var(--clr-gray-200);
}

.seo-article-cta p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.seo-article-cta .btn {
  display: inline-flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .categories-grid,
  .info-grid,
  .steps-grid,
  .showcase-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kodex-grid {
    grid-template-columns: 1fr;
  }

  .blog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .categories-grid,
  .info-grid,
  .showcase-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Taller showcase images — never crop faces */
  .showcase-card-img {
    height: 280px;
    background-position: center top;
  }

  .category-card::before {
    height: 160px;
  }

  .header-cta .btn-text-long {
    display: none;
  }

  .header-cta .btn-text-short {
    display: inline;
  }

  .header-cta .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-checks {
    flex-direction: column;
    align-items: center;
  }

  .quiz-reviews {
    max-width: 100%;
    margin-top: var(--space-md);
  }

  .quiz-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .seo-content-toggle {
    padding: 1rem 1.2rem;
  }

  .seo-content-toggle h2 {
    font-size: 0.95rem;
  }

  .seo-article-body {
    padding: 1.2rem 1.2rem 1.5rem;
  }

  .seo-article-cta {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1rem;
  }

  .logo-icon {
    width: 26px;
    height: 26px;
  }

  .btn-lg {
    padding: 0.85rem 1.3rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.15rem;
  }
}

.btn-text-short {
  display: none;
}

.btn-text-long {
  display: inline;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 120px 0 var(--space-xl);
}

.legal-page h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--clr-primary-dark);
}

.legal-page h3 {
  font-size: 1rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0.7rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page a {
  color: var(--clr-primary-dark);
  text-decoration: underline;
}

/* ===== EXIT-INTENT MODAL ===== */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.exit-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.exit-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exit-modal.active .exit-modal-card {
  transform: translateY(0);
}

.exit-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-gray-100);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.exit-modal-close:hover {
  background: var(--clr-gray-200);
  color: var(--text-main);
}

.exit-modal-icon {
  margin-bottom: 1rem;
}

.exit-modal-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(255, 159, 10, 0.35));
}

.exit-modal-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.exit-modal-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.exit-modal-card .btn {
  width: 100%;
}

/* ===== URGENCY & SCARCITY ===== */
.hero-urgency-badge {
  background: #f1f5f9;
  border: none;
  color: #475569;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.7rem;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.card-action-wrapper {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.scarcity-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.scarcity-flash {
  color: #dc2626;
  transform: scale(1.05);
  transition: all 0.3s ease;
}