/* =====================================================================
 * PRODUCT PAGE — CSS
 *
 * Hierarquia:
 *   Hero ............. neutro (HeroGridBg particles), centrado
 *   Problema ......... claro
 *   Como funciona .... ESCURO (dark-band) — 3 steps
 *   Módulos .......... claro (tabs para Plexy)
 *   Features ......... claro (cards para Signum/Marketplace)
 *   Integrações ...... ESCURO (dark-band) — logo mural / chips
 *   Casos de uso ..... claro
 *   FAQ .............. claro (reusa .svc-faq de services.css)
 *   Contact .......... canonical (ContactForm component)
 *
 * Tokens: var(--s-*), var(--fs-*), var(--r-*), var(--t-*) de tokens.css
 * Headings: .h-display (400, fs-display) — mesma assinatura da home
 * ===================================================================== */

/* ── DARK BAND — base class for dark sections ──
   Duplicated here because product pages load product-page.css,
   NOT service-pillar.css. Keeps products self-contained. */
.dark-band {
  background: var(--black-rock);
  color: var(--white);
}
.dark-band .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.dark-band .eyebrow::before {
  opacity: 0.3;
}
.dark-band p {
  color: rgba(255, 255, 255, 0.65);
}
.dark-band h2,
.dark-band h3 {
  color: var(--white);
}
.dark-band .lead {
  color: rgba(255, 255, 255, 0.65);
}

/* ── SHARED LAYOUT ── */
.sec-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section head — eyebrow + h2 (staggered reveal) */
.m-section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.m-section-head h2 {
  margin-top: 12px;
}


/* =====================================================================
 * 1. HERO — .prod-hero
 * ===================================================================== */
.prod-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.prod-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 160px var(--gutter) var(--s-9);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.prod-hero-content {
  max-width: 720px;
}
.prod-hero-content h1 {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: -0.018em;
  text-wrap: balance;
  margin-top: 16px;
}
.prod-hero-content h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--primary-hi);
}
.prod-hero-content .lead {
  margin-top: 20px;
}

/* Product wordmark (e.g. Plexy, Signum logo) */
.prod-hero-wordmark {
  height: clamp(28px, 3vw, 40px);
  width: auto;
  margin-bottom: 8px;
}

/* CTAs — reuse .pillar-hero-ctas pattern */
.pillar-hero-ctas,
.prod-hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =====================================================================
 * 1b. PARTICLE TYPOGRAPHY — .sec-particle-name
 * ===================================================================== */
.sec-particle-name {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.particle-typo-wrap {
  width: 100%;
  height: 320px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  touch-action: none;
  cursor: crosshair;
}
.particle-typo-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .particle-typo-wrap {
    height: 200px;
  }
}
@media (max-width: 480px) {
  .particle-typo-wrap {
    height: 140px;
  }
}


/* =====================================================================
 * 2. PROBLEMA — .sec-problem (light bg)
 * ===================================================================== */
.sec-problem {
  padding: var(--s-10) 0;
}
.sec-problem.has-border {
  border-bottom: 1px solid var(--rule);
}
.sec-problem .problem-centered {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
}
.sec-problem .problem-centered h2 {
  margin-top: 12px;
}
.sec-problem .problem-centered p {
  margin-top: 16px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-muted);
}

/* Also support the 2-column problem layout from service-pillar */
.problem-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.problem-visual {
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  overflow: hidden;
}
.problem-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.problem-text h2 {
  margin-top: 12px;
}
.problem-text p {
  margin-top: 16px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-muted);
}


/* =====================================================================
 * 2b. VIDEO — .prod-video-wrap (inside sec-problem)
 * ===================================================================== */
.prod-video-wrap {
  margin-top: var(--s-7);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.prod-video {
  display: block;
  width: 100%;
  height: auto;
}


/* =====================================================================
 * 3. COMO FUNCIONA — .sec-how (dark-band)
 * ===================================================================== */
.sec-how {
  padding: var(--s-10) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: clamp(24px, 3vw, 48px);
}
.how-step {
  border-top: 2px solid var(--energizing);
  padding-top: var(--s-5);
}
.how-num {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-bottom: 16px;
}
.how-step h3 {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 10px;
}
.how-step p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-body);
  margin: 0;
}


/* =====================================================================
 * 4. MÓDULOS — .sec-modules (light bg, tabs for Plexy)
 * ===================================================================== */
.sec-modules {
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--rule);
}

/* Tab row */
.mod-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-5);
}
.mod-tab {
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: transparent;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}
.mod-tab:hover {
  border-color: var(--rule-strong);
  color: var(--fg);
}
.mod-tab.active {
  background: var(--black-rock);
  color: var(--white);
  border-color: var(--black-rock);
}

/* ── 2-Column Grid: text LEFT, carousel RIGHT ── */
.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-top: var(--s-7);
  align-items: center;
}

/* ── 3D Circular Carousel (right column) ── */
.mod-carousel {
  position: relative;
  width: 100%;
  height: 26rem;
}

/* Individual module card — one at a time with crossfade */
.mod-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--r-3);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Galaxy sparkle canvas — very subtle */
.mod-card-sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* Subtle nebula glow */
.mod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(105,17,223,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 75%, rgba(186,239,38,0.04) 0%, transparent 50%),
    linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.25) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Logo — big and readable */
.mod-card-logo {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 360px;
  height: auto;
  margin-bottom: auto;
  margin-top: auto;
  filter: drop-shadow(0 2px 12px rgba(255,255,255,0.08));
}

/* Tagline bottom */
.mod-card-tagline {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  margin-top: auto;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Card color variants */
.mod-card.card-ai {
  background: radial-gradient(ellipse at 50% 40%, #1e0545 0%, #12022a 60%, #08011a 100%);
}
.mod-card.card-sense {
  background: radial-gradient(ellipse at 50% 40%, #2d0e5c 0%, #160530 60%, #08011a 100%);
}
.mod-card.card-flow {
  background: radial-gradient(ellipse at 50% 40%, #151035 0%, #10022a 60%, #08011a 100%);
}

/* Pagination dots */
.mod-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.mod-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.mod-dot:hover {
  border-color: rgba(186,239,38,0.5);
}
.mod-dot.active {
  background: var(--energizing, #BAEF26);
  border-color: var(--energizing, #BAEF26);
  box-shadow: 0 0 8px rgba(186,239,38,0.4);
}

/* Content panel (left column) */
.mod-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 24rem;
}
.mod-content h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 8px;
}

/* Word-by-word blur reveal animation */
.mod-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(4px);
  animation: modWordReveal 0.3s ease-out forwards;
}
@keyframes modWordReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* Arrow navigation */
.mod-arrows {
  display: flex;
  gap: 12px;
  margin-top: var(--s-6);
}
.mod-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--black-rock);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.mod-arrow:hover {
  background: var(--primary-hi);
  transform: scale(1.08);
}
.mod-arrow svg {
  width: 20px;
  height: 20px;
}

/* Panel — legacy (kept for backward compat) */
.mod-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: var(--s-6);
}
.mod-panel h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.mod-panel p {
  color: var(--fg-muted);
  line-height: var(--lh-body);
  margin: 0;
}
.mod-panel .lead {
  margin-top: 0;
}

/* Module visual (screenshot / illustration) */
.mod-visual {
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  overflow: hidden;
}
.mod-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.mod-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--r-3);
}
.mod-tagline {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--primary-hi);
  margin: 0 0 12px;
}
.mod-desc {
  color: var(--fg-muted);
  line-height: var(--lh-body);
  margin: 0;
}

/* Feature list inside a module panel */
.mod-features {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
}
.mod-features li {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--fg-muted);
  line-height: var(--lh-body);
}
.mod-features li:last-child {
  border-bottom: none;
}
.mod-features svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--primary-hi);
}


/* =====================================================================
 * 4b. FEATURES — .sec-features (light bg, cards for Signum/Marketplace)
 * ===================================================================== */
.sec-features {
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--rule);
}
.feat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: clamp(24px, 3vw, 48px);
}
.feat-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition:
    transform var(--t-med) var(--ease-out),
    border-color var(--t-fast),
    box-shadow var(--t-med) var(--ease-out);
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Icon container */
.feat-card .ic {
  width: 42px;
  height: 42px;
  border-radius: var(--r-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--rainbow-indigo) 10%, transparent);
  border: 1px solid var(--rule);
  margin-bottom: 14px;
  color: var(--primary-hi);
}
.feat-card h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 6px;
}
.feat-card p {
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: var(--lh-body);
  margin: 0;
}


/* =====================================================================
 * 5. INTEGRAÇÕES — .sec-integrations (dark-band) + gravity badges
 * ===================================================================== */
.sec-integrations {
  padding: var(--s-10) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gravity container — light box inside dark section */
.int-gravity {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--r-3, 16px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  touch-action: none;
  margin-top: clamp(24px, 3vw, 48px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Badge — DOM element positioned via transform by physics engine */
.grav-badge {
  position: absolute;
  top: 0; left: 0;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: transform;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

/* Purple variant — on light background */
.grav-purple {
  background: var(--black-rock, #15032D);
  color: #ffffff;
  border: 1px solid rgba(105, 17, 223, 0.3);
}
/* Lime variant — on light background */
.grav-lime {
  background: #baef26;
  color: #0e0b1a;
  border: 1px solid rgba(140, 190, 20, 0.5);
}

/* Dark mode overrides */
[data-theme="dark"] .int-gravity {
  background: #1c1c1e;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .grav-purple {
  background: #2d1b4e;
  border-color: rgba(105, 17, 223, 0.35);
}
[data-theme="dark"] .grav-lime {
  background: #baef26;
  color: #0e0b1a;
}

@media (max-width: 640px) {
  .int-gravity { height: 220px; }
  .grav-badge { font-size: 12px; padding: 8px 18px; }
}


/* =====================================================================
 * 6. CASOS DE USO — .sec-usecases (light bg)
 * ===================================================================== */
.sec-usecases {
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--rule);
}
.uc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: clamp(24px, 3vw, 48px);
}
.uc-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition:
    transform var(--t-med) var(--ease-out),
    border-color var(--t-fast),
    box-shadow var(--t-med) var(--ease-out);
}
.uc-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Icon container */
.uc-card .ic {
  width: 42px;
  height: 42px;
  border-radius: var(--r-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--rainbow-indigo) 10%, transparent);
  border: 1px solid var(--rule);
  margin-bottom: 14px;
  color: var(--primary-hi);
}
.uc-card h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 6px;
}
.uc-card p {
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: var(--lh-body);
  margin: 0;
}

/* Eyebrow / tag inside use-case card */
.uc-card .uc-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-hi);
  margin-bottom: 10px;
}


/* =====================================================================
 * 7. FAQ — reuses .svc-faq classes from services.css
 *
 * The product pages import services.css OR define .svc-faq locally.
 * Below is the full FAQ accordion duplicated for product-page
 * self-containment (same as services.css §9).
 * ===================================================================== */
.svc-faq {
  padding: var(--s-9) var(--gutter);
  background: var(--bg);
}
.svc-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}
.svc-faq-head {
  text-align: center;
  margin-bottom: var(--s-8);
}
.svc-faq-head h2 {
  margin: 12px 0 0;
  text-wrap: balance;
}

/* Accordion */
.faq-accordion {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}

/* Trigger */
.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: opacity 300ms ease;
  opacity: 0.2;
  color: var(--fg);
}
.faq-trigger:hover {
  opacity: 0.45;
}
.faq-item.is-open .faq-trigger {
  opacity: 1;
  color: var(--primary-hi);
}

/* Number */
.faq-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: inherit;
  flex-shrink: 0;
  min-width: 28px;
  opacity: 0.6;
  transition: opacity 300ms ease;
}
.faq-item.is-open .faq-num {
  opacity: 1;
}

/* Title */
.faq-title {
  flex: 1;
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.faq-title strong {
  font-weight: 700;
}

/* Plus icon */
.faq-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    background 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
  color: var(--fg);
}
.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black-rock);
}

/* Body — grid height transition */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}
.faq-body-wrap {
  overflow: hidden;
  min-height: 0;
}

/* Content */
.faq-body-content {
  padding: 0 0 24px 44px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 600px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 400ms ease-out 120ms,
    transform 400ms ease-out 120ms;
}
.faq-item.is-open .faq-body-content {
  opacity: 1;
  transform: none;
}
.faq-body-content p {
  margin: 0;
}


/* =====================================================================
 * 8. CONTACT — canonical ContactForm component
 *    (no extra CSS needed — uses shared component styles)
 * ===================================================================== */


/* =====================================================================
 * RESPONSIVE
 * ===================================================================== */

/* ── Tablets / medium ── */
@media (max-width: 980px) {
  .feat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .uc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  /* How-it-works: stack */
  .how-grid {
    grid-template-columns: 1fr;
  }

  /* Module panels: stack */
  .mod-panel {
    grid-template-columns: 1fr;
  }

  /* Carousel: slightly smaller on tablet */
  .mod-carousel {
    height: 24rem;
  }

  /* Modules grid: stack on mobile — carousel on top, text below */
  .mod-grid {
    grid-template-columns: 1fr;
  }
  .mod-grid .mod-content {
    order: 2;
    min-height: auto;
  }
  .mod-grid .mod-carousel {
    order: 1;
  }

  /* Feature cards: stack */
  .feat-cards {
    grid-template-columns: 1fr;
  }

  /* Problem grid: stack */
  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* Hero padding adjust */
  .prod-hero-inner {
    padding: 100px var(--gutter) var(--s-7);
  }
}

@media (max-width: 768px) {
  /* Use-case cards: single column */
  .uc-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  /* FAQ adjustments */
  .faq-trigger {
    padding: 16px 0;
    gap: 12px;
  }
  .faq-title {
    font-size: 18px;
  }
  .faq-plus {
    width: 28px;
    height: 28px;
  }
  .faq-body-content {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  /* Hero CTAs: vertical stack */
  .pillar-hero-ctas,
  .prod-hero-ctas {
    flex-direction: column;
  }
  .pillar-hero-ctas .btn,
  .prod-hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Module carousel: compact */
  .mod-carousel {
    height: 220px;
  }
  .mod-card {
    padding: var(--s-5) var(--s-4);
  }
  .mod-card-logo {
    max-width: 200px;
  }
  .mod-card-tagline {
    font-size: 12px;
  }
  .mod-arrow {
    width: 40px;
    height: 40px;
  }

  /* Tabs: horizontal scroll */
  .mod-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .mod-tabs::-webkit-scrollbar {
    display: none;
  }
  .mod-tab {
    flex-shrink: 0;
  }

  /* Problem section: less padding */
  .sec-problem {
    padding: var(--s-7) 0;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .feat-card:hover,
  .uc-card:hover {
    transform: none;
  }
  .mod-card {
    transition: none !important;
  }
  .mod-word {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }
  .mod-arrow:hover {
    transform: none;
  }
  .grav-badge {
    transition: none;
  }
}

/* ── Touch devices — FAQ opacity fix ── */
@media (hover: none) {
  .faq-trigger {
    opacity: 0.5;
  }
}
