/*
 * Wordcab Navy Theme — components
 * ---------------------------------
 * Section-level and UI components for the navy site.
 * Requires navy-theme.css to be loaded first (tokens + atoms).
 *
 * Component index:
 *   1.  Nav / Site header
 *   2.  Hero
 *   3.  Pain grid (4-col problem cards)
 *   4.  Proof / Social trust
 *   5.  Product flow (platform → trio → solutions)
 *   6.  Deployment grid
 *   7.  Industry selector (why-section)
 *   8.  CTA card (split poster + form)
 *   9.  Footer
 */


/* ─────────────────────────────────────────
   1. NAV / SITE HEADER
   ─────────────────────────────────────────
   3-column grid: logo | links (centered) | actions
   On mobile (<900px): links hidden, 2-column logo | actions
*/
.site-header { padding: 16px 0 8px; position: relative; z-index: 100; }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.logo {
  color: var(--accent);
}

.logo svg {
  height: 28px;
  width: auto;
  display: block;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-group a:hover { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .nav-group { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-actions { justify-content: flex-end; }
}


/* ─────────────────────────────────────────
   1b. NAV DROPDOWNS
   ─────────────────────────────────────────
   Hover-activated dropdown panels for Products, Solutions, Resources.
   .nav-drop wraps a trigger link + absolutely-positioned panel.
   The padding-top bridge on .nav-dropdown prevents mouseout when
   crossing the gap between trigger and panel.
*/
.nav-drop { position: relative; }

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-drop-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-drop:hover .nav-drop-trigger::after {
  transform: rotate(180deg);
  opacity: 0.8;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms;
  z-index: 200;
  pointer-events: none;
}

.nav-drop:hover .nav-dropdown,
.nav-drop:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 300px;
  display: grid;
  gap: 2px;
}

.nav-drop-link {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 150ms ease;
}

.nav-drop-link:hover {
  background: var(--bg-soft);
}

.nav-drop-link strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

.nav-drop-link span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}


/* ─────────────────────────────────────────
   2. HERO
   ─────────────────────────────────────────
   Center-aligned text + optional gradient hero card below CTAs.
   The hero card is decorative — a dark-to-light gradient with
   a dot-grid overlay and centered white copy.
*/
.hero { text-align: center; padding: 48px 0 88px; }

.hero h1 {
  margin: 20px auto 18px;
  max-width: 14ch;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  color: var(--accent);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-bright);
}

.hero > .container > p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
  2b. FLOWING GRADIENT PANELS (uniform “lava lamp”)
  ───────────────────────────────────────── */
:root {
  /* Default palette = Wordcab Platform (blue) */
  --wc-flow-a: #1a3a6e;
  --wc-flow-b: #2a5bad;
  --wc-flow-c: #2e6bdb;
  --wc-flow-d: #4d8af0;

  --wc-flow-ink: #ffffff;
  --wc-flow-ink-soft: rgba(255,255,255,0.82);
  --wc-flow-shade: rgba(0,0,0,0.18);

  /* Tinted blob colors (visible motion without color-mix()) */
  --wc-blob-1: rgba(255,255,255,0.18);
  --wc-blob-2: rgba(77,138,240,0.58);
  --wc-blob-3: rgba(46,107,219,0.46);
  --wc-blob-4: rgba(42,91,173,0.34);
  --wc-blob-deep: rgba(0,0,0,0.22);
  --wc-blob-hi: rgba(255,255,255,0.14);

  /* Light panel (CTA) defaults */
  --wc-flow-lite-a: #6da3f5;
  --wc-flow-lite-b: #8cb4f7;
  --wc-flow-lite-c: #a8c8fa;
  --wc-flow-lite-d: #e3eefd;
  --wc-flow-lite-ink: var(--accent);
  --wc-flow-lite-body: var(--muted);
}

body.theme-voice {
  --wc-flow-a: #164a2d;
  --wc-flow-b: #2c8b53;
  --wc-flow-c: #67d686;
  --wc-flow-d: #b9f6a8;
  --wc-flow-lite-a: #bff7b0;
  --wc-flow-lite-b: #d9fbd0;
  --wc-flow-lite-c: #b7f6c9;
  --wc-flow-lite-d: #f2fff0;
  --wc-flow-lite-ink: #1b6b3c;
  --wc-flow-shade: rgba(0,0,0,0.16);
  --wc-blob-2: rgba(185,246,168,0.58);
  --wc-blob-3: rgba(103,214,134,0.46);
  --wc-blob-4: rgba(44,139,83,0.34);
  --hover-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(103, 214, 134, 0.14), 0 0 22px rgba(103, 214, 134, 0.16), 0 0 54px rgba(103, 214, 134, 0.18);
  --hover-glow-soft: 0 10px 24px rgba(14, 26, 46, 0.05), 0 0 0 1px rgba(103, 214, 134, 0.1), 0 0 18px rgba(103, 214, 134, 0.12), 0 0 38px rgba(103, 214, 134, 0.14);
  --hover-glow-strong: 0 12px 30px rgba(22, 74, 45, 0.2), 0 0 0 1px rgba(103, 214, 134, 0.28), 0 0 22px rgba(103, 214, 134, 0.32), 0 0 64px rgba(103, 214, 134, 0.36);
}

body.theme-think {
  --wc-flow-a: #2a1f5c;
  --wc-flow-b: #4a3aa6;
  --wc-flow-c: #7a66ff;
  --wc-flow-d: #b5a8ff;
  --wc-flow-lite-a: #cfc7ff;
  --wc-flow-lite-b: #e2dcff;
  --wc-flow-lite-c: #d1c8ff;
  --wc-flow-lite-d: #f6f4ff;
  --wc-flow-lite-ink: #4a3aa6;
  --wc-flow-shade: rgba(0,0,0,0.18);
  --wc-blob-2: rgba(181,168,255,0.58);
  --wc-blob-3: rgba(122,102,255,0.46);
  --wc-blob-4: rgba(74,58,166,0.32);
  --hover-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(122, 102, 255, 0.14), 0 0 22px rgba(122, 102, 255, 0.16), 0 0 54px rgba(122, 102, 255, 0.18);
  --hover-glow-soft: 0 10px 24px rgba(14, 26, 46, 0.05), 0 0 0 1px rgba(122, 102, 255, 0.1), 0 0 18px rgba(122, 102, 255, 0.12), 0 0 38px rgba(122, 102, 255, 0.14);
  --hover-glow-strong: 0 12px 30px rgba(42, 31, 92, 0.2), 0 0 0 1px rgba(122, 102, 255, 0.28), 0 0 22px rgba(122, 102, 255, 0.32), 0 0 64px rgba(122, 102, 255, 0.36);
}

body.theme-adapt {
  --wc-flow-a: #6b4a12;
  --wc-flow-b: #b47b13;
  --wc-flow-c: #f0c34c;
  --wc-flow-d: #f6df87;
  --wc-flow-lite-a: #f4d36a;
  --wc-flow-lite-b: #f8e7a8;
  --wc-flow-lite-c: #f6dd86;
  --wc-flow-lite-d: #fff7dc;
  --wc-flow-lite-ink: #8a5a06;
  --wc-flow-shade: rgba(0,0,0,0.20);
  --wc-blob-2: rgba(246,223,135,0.56);
  --wc-blob-3: rgba(240,195,76,0.44);
  --wc-blob-4: rgba(180,123,19,0.32);
  --hover-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(240, 195, 76, 0.16), 0 0 22px rgba(240, 195, 76, 0.18), 0 0 54px rgba(240, 195, 76, 0.2);
  --hover-glow-soft: 0 10px 24px rgba(14, 26, 46, 0.05), 0 0 0 1px rgba(240, 195, 76, 0.12), 0 0 18px rgba(240, 195, 76, 0.14), 0 0 38px rgba(240, 195, 76, 0.16);
  --hover-glow-strong: 0 12px 30px rgba(107, 74, 18, 0.2), 0 0 0 1px rgba(240, 195, 76, 0.3), 0 0 22px rgba(240, 195, 76, 0.34), 0 0 64px rgba(240, 195, 76, 0.38);
}

/* Product-wide accent override (keep header/nav default by scoping to <main>) */
body.theme-voice main {
  --accent: #1b6b3c;
  --accent-bright: #67d686;
  --accent-glow: #b9f6a8;
}

body.theme-think main {
  --accent: #4a3aa6;
  --accent-bright: #7a66ff;
  --accent-glow: #b5a8ff;
}

body.theme-adapt main {
  --accent: #8a5a06;
  --accent-bright: #f0c34c;
  --accent-glow: #f6df87;
}

/* Inline product mention helpers (use anywhere in content) */
.wc-product-platform { color: #2e6bdb; }
.wc-product-voice { color: #1b6b3c; }
.wc-product-think { color: #4a3aa6; }
.wc-product-adapt { color: #8a5a06; }

.wc-product-platform strong,
.wc-product-voice strong,
.wc-product-think strong,
.wc-product-adapt strong {
  font-weight: 700;
}

/*
 * Product fit cards (solution vertical pages): same flow gradient + blobs as
 * product heroes; tokens mirror body.theme-* / Platform defaults.
 */
.wc-fit--platform {
  --wc-flow-a: #1a3a6e;
  --wc-flow-b: #2a5bad;
  --wc-flow-c: #2e6bdb;
  --wc-flow-d: #4d8af0;
  --wc-flow-shade: rgba(0, 0, 0, 0.18);
  --wc-blob-2: rgba(77, 138, 240, 0.58);
  --wc-blob-3: rgba(46, 107, 219, 0.46);
  --wc-blob-4: rgba(42, 91, 173, 0.34);
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.08), 0 0 0 1px rgba(46, 107, 219, 0.22), 0 0 24px rgba(46, 107, 219, 0.26), 0 0 62px rgba(46, 107, 219, 0.3);
}

.wc-fit--voice {
  --wc-flow-a: #164a2d;
  --wc-flow-b: #2c8b53;
  --wc-flow-c: #67d686;
  --wc-flow-d: #b9f6a8;
  --wc-flow-shade: rgba(0, 0, 0, 0.16);
  --wc-blob-2: rgba(185, 246, 168, 0.58);
  --wc-blob-3: rgba(103, 214, 134, 0.46);
  --wc-blob-4: rgba(44, 139, 83, 0.34);
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.08), 0 0 0 1px rgba(103, 214, 134, 0.22), 0 0 24px rgba(103, 214, 134, 0.26), 0 0 62px rgba(103, 214, 134, 0.3);
}

.wc-fit--think {
  --wc-flow-a: #2a1f5c;
  --wc-flow-b: #4a3aa6;
  --wc-flow-c: #7a66ff;
  --wc-flow-d: #b5a8ff;
  --wc-flow-shade: rgba(0, 0, 0, 0.18);
  --wc-blob-2: rgba(181, 168, 255, 0.58);
  --wc-blob-3: rgba(122, 102, 255, 0.46);
  --wc-blob-4: rgba(74, 58, 166, 0.32);
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.08), 0 0 0 1px rgba(122, 102, 255, 0.22), 0 0 24px rgba(122, 102, 255, 0.26), 0 0 62px rgba(122, 102, 255, 0.3);
}

.wc-fit--adapt {
  --wc-flow-a: #6b4a12;
  --wc-flow-b: #b47b13;
  --wc-flow-c: #f0c34c;
  --wc-flow-d: #f6df87;
  --wc-flow-shade: rgba(0, 0, 0, 0.2);
  --wc-blob-2: rgba(246, 223, 135, 0.56);
  --wc-blob-3: rgba(240, 195, 76, 0.44);
  --wc-blob-4: rgba(180, 123, 19, 0.32);
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.08), 0 0 0 1px rgba(240, 195, 76, 0.24), 0 0 24px rgba(240, 195, 76, 0.28), 0 0 62px rgba(240, 195, 76, 0.32);
}

.fit-card.wc-flow-panel .fit-card-label {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.fit-card.wc-flow-panel h3 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.fit-card.wc-flow-panel p {
  color: var(--wc-flow-ink-soft);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.fit-card.wc-flow-panel .wc-product-platform,
.fit-card.wc-flow-panel .wc-product-voice,
.fit-card.wc-flow-panel .wc-product-think,
.fit-card.wc-flow-panel .wc-product-adapt {
  color: inherit;
}

@keyframes wcBlobA {
  0% { transform: translate3d(-20%, -14%, 0) rotate(0deg) scale(1.1); }
  50% { transform: translate3d(18%, 16%, 0) rotate(175deg) scale(1.24); }
  100% { transform: translate3d(-20%, -14%, 0) rotate(350deg) scale(1.1); }
}

@keyframes wcBlobB {
  0% { transform: translate3d(20%, 16%, 0) rotate(0deg) scale(1.06); }
  50% { transform: translate3d(-16%, -14%, 0) rotate(-155deg) scale(1.22); }
  100% { transform: translate3d(20%, 16%, 0) rotate(-310deg) scale(1.06); }
}

@keyframes wcFlowGradientDrift {
  0% { background-position: 0 0, 0 0, 0% 50%; }
  50% { background-position: 14px 14px, 0 0, 100% 50%; }
  100% { background-position: 0 0, 0 0, 0% 50%; }
}

.wc-flow-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--wc-flow-ink);
  background:
    radial-gradient(circle, rgba(255,255,255,0.18) 0 1.4px, transparent 1.8px),
    linear-gradient(0deg, var(--wc-flow-shade), var(--wc-flow-shade)),
    linear-gradient(135deg, var(--wc-flow-a), var(--wc-flow-b), var(--wc-flow-d), var(--wc-flow-c), var(--wc-flow-a));
  background-size: 28px 28px, 100% 100%, 320% 320%;
  animation: wcFlowGradientDrift 30s ease-in-out infinite;
  box-shadow: var(--shadow);
}

.wc-flow-panel::before,
.wc-flow-panel::after {
  content: "";
  position: absolute;
  inset: -32%;
  border-radius: inherit;
  background-repeat: no-repeat;
  filter: blur(34px) saturate(1.35);
  opacity: 0.72;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.wc-flow-panel::before {
  background:
    radial-gradient(closest-side at 22% 28%, var(--wc-blob-1), transparent 62%),
    radial-gradient(closest-side at 62% 34%, var(--wc-blob-2), transparent 70%),
    radial-gradient(closest-side at 70% 78%, var(--wc-blob-3), transparent 66%),
    radial-gradient(closest-side at 30% 76%, var(--wc-blob-4), transparent 72%);
  animation: wcBlobA 18s ease-in-out infinite;
}

.wc-flow-panel::after {
  background:
    radial-gradient(closest-side at 30% 40%, var(--wc-blob-deep), transparent 70%),
    radial-gradient(closest-side at 78% 50%, var(--wc-blob-hi), transparent 64%),
    radial-gradient(closest-side at 58% 82%, rgba(255,255,255,0.10), transparent 72%),
    radial-gradient(closest-side at 18% 78%, rgba(255,255,255,0.08), transparent 74%);
  opacity: 0.5;
  animation: wcBlobB 24s ease-in-out infinite;
}

.wc-flow-panel > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .wc-flow-panel,
  .wc-flow-panel-lite,
  .hero-card,
  .product-platform,
  .product-solutions,
  .why-poster,
  .env-poster,
  .infra-poster,
  .cta-poster,
  .wc-flow-panel::before,
  .wc-flow-panel::after,
  .wc-flow-panel-lite::before,
  .wc-flow-panel-lite::after,
  .hero-card::before,
  .hero-card::after,
  .product-platform::before,
  .product-platform::after,
  .product-solutions::before,
  .product-solutions::after,
  .why-poster::before,
  .why-poster::after,
  .env-poster::before,
  .env-poster::after,
  .infra-poster::before,
  .infra-poster::after,
  .cta-poster::before,
  .cta-poster::after {
    animation: none !important;
  }
}

/* Light panels (CTA posters) */
.wc-flow-panel-lite {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle, rgba(255,255,255,0.28) 0 1.2px, transparent 1.6px),
    linear-gradient(0deg, rgba(255,255,255,0.22), rgba(255,255,255,0.22)),
    linear-gradient(150deg, var(--wc-flow-lite-a) 0%, var(--wc-flow-lite-b) 25%, var(--wc-flow-lite-c) 55%, var(--wc-flow-lite-d) 100%);
  background-size: 28px 28px, 100% 100%, 320% 320%;
  animation: wcFlowGradientDrift 34s ease-in-out infinite;
  color: var(--wc-flow-lite-ink);
}

.wc-flow-panel-lite::before,
.wc-flow-panel-lite::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: inherit;
  background-repeat: no-repeat;
  filter: blur(30px) saturate(1.18);
  opacity: 0.55;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.wc-flow-panel-lite::before {
  background:
    radial-gradient(closest-side at 26% 30%, rgba(255,255,255,0.35), transparent 64%),
    radial-gradient(closest-side at 70% 44%, rgba(255,255,255,0.20), transparent 72%),
    radial-gradient(closest-side at 60% 82%, rgba(255,255,255,0.14), transparent 72%);
  animation: wcBlobA 26s ease-in-out infinite;
}

.wc-flow-panel-lite::after {
  background:
    radial-gradient(closest-side at 78% 54%, rgba(255,255,255,0.28), transparent 66%),
    radial-gradient(closest-side at 32% 78%, rgba(255,255,255,0.14), transparent 74%),
    radial-gradient(closest-side at 52% 46%, rgba(255,255,255,0.16), transparent 72%);
  opacity: 0.42;
  animation: wcBlobB 32s ease-in-out infinite;
}

.wc-flow-panel-lite > * {
  position: relative;
  z-index: 1;
}

/* Gradient hero card */
.hero-card {
  margin-top: 48px;
  min-height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Apply flowing style to colored panels */
.hero-card,
.product-platform,
.product-solutions,
.why-poster,
.env-poster,
.infra-poster {
  border-radius: var(--radius-xl);
}

.hero-card,
.product-platform,
.product-solutions,
.why-poster,
.env-poster,
.infra-poster {
  /* marker class via selector */
}

.hero-card.wc-flow-panel,
.product-platform.wc-flow-panel,
.product-solutions.wc-flow-panel,
.why-poster.wc-flow-panel,
.env-poster.wc-flow-panel,
.infra-poster.wc-flow-panel { }

/* Make selectors inherit flow without HTML edits */
.hero-card,
.product-platform,
.product-solutions,
.why-poster,
.env-poster,
.infra-poster {
  /* mimic .wc-flow-panel */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--wc-flow-ink);
  background:
    radial-gradient(circle, rgba(255,255,255,0.18) 0 1.4px, transparent 1.8px),
    linear-gradient(0deg, var(--wc-flow-shade), var(--wc-flow-shade)),
    linear-gradient(135deg, var(--wc-flow-a), var(--wc-flow-b), var(--wc-flow-d), var(--wc-flow-c), var(--wc-flow-a));
  background-size: 28px 28px, 100% 100%, 320% 320%;
  animation: wcFlowGradientDrift 30s ease-in-out infinite;
  box-shadow: var(--shadow);
}

.hero-card::before,
.product-platform::before,
.product-solutions::before,
.why-poster::before,
.env-poster::before,
.infra-poster::before,
.hero-card::after,
.product-platform::after,
.product-solutions::after,
.why-poster::after,
.env-poster::after,
.infra-poster::after {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: inherit;
  background-repeat: no-repeat;
  filter: blur(34px) saturate(1.35);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.hero-card::before,
.product-platform::before,
.product-solutions::before,
.why-poster::before,
.env-poster::before,
.infra-poster::before {
  opacity: 0.72;
  background:
    radial-gradient(closest-side at 22% 28%, var(--wc-blob-1), transparent 62%),
    radial-gradient(closest-side at 62% 34%, var(--wc-blob-2), transparent 70%),
    radial-gradient(closest-side at 70% 78%, var(--wc-blob-3), transparent 66%),
    radial-gradient(closest-side at 30% 76%, var(--wc-blob-4), transparent 72%);
  animation: wcBlobA 18s ease-in-out infinite;
}

.hero-card::after,
.product-platform::after,
.product-solutions::after,
.why-poster::after,
.env-poster::after,
.infra-poster::after {
  opacity: 0.5;
  background:
    radial-gradient(closest-side at 30% 40%, var(--wc-blob-deep), transparent 70%),
    radial-gradient(closest-side at 78% 50%, var(--wc-blob-hi), transparent 64%),
    radial-gradient(closest-side at 58% 82%, rgba(255,255,255,0.12), transparent 72%),
    radial-gradient(closest-side at 18% 78%, rgba(255,255,255,0.10), transparent 74%);
  animation: wcBlobB 24s ease-in-out infinite;
}

/* Ensure body copy inside dark panels stays readable */
.hero-card-text p,
.product-platform p,
.product-solutions p,
.why-poster-content p,
.env-poster p,
.infra-poster p {
  color: var(--wc-flow-ink-soft);
  text-shadow: 0 2px 14px rgba(0,0,0,0.28);
}

.hero-card-text h3,
.product-platform h3,
.product-solutions h3,
.why-poster-content h3,
.env-poster h3,
.infra-poster h3 {
  text-shadow: 0 2px 18px rgba(0,0,0,0.34);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 48px;
  min-height: 300px;
}

.hero-card-text { color: #fff; max-width: 520px; }

.hero-card-text h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero-card-text p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}


/* ─────────────────────────────────────────
   3. PAIN GRID
   ─────────────────────────────────────────
   4-column grid of problem cards with icon, title, body.
   Use inside a .section.band. Drops to 2-col at 900px, 1-col at 580px.
*/
.problem-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.problem-head h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.problem-head-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-head-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pain-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  transition: var(--hover-transition);
}

.pain-card:hover {
  background: rgba(255,255,255,0.82);
  border-color: rgba(46, 107, 219, 0.16);
  box-shadow: var(--hover-glow);
}

.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 18px;
  background: linear-gradient(135deg, var(--bg-soft), #dbe8fd);
  color: var(--accent-bright);
  border: 1px solid rgba(46, 107, 219, 0.12);
}

.pain-card h3 {
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .problem-head { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .pain-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   4. PROOF / SOCIAL TRUST
   ─────────────────────────────────────────
   Center-aligned heading + pill customer names + 3-col enterprise cards.
*/
.proof-intro {
  text-align: center;
  margin-bottom: 48px;
}

.proof-intro h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.proof-intro p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* Named customer pills */
.proof-customer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.proof-customer {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white-panel);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: background 420ms ease, box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-customer:hover {
  background: #fff;
  box-shadow: var(--hover-glow-soft);
}

/* Confidential enterprise cards */
.proof-enterprise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-enterprise-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  text-align: center;
}

.proof-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #e8f0fe;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.proof-enterprise-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .proof-enterprise-row { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   5. PRODUCT FLOW
   ─────────────────────────────────────────
   Stacked layout: platform (dark gradient) → flow-arrow →
   product-trio (3 light cards) → flow-arrow → solutions (same gradient as platform).

   The flow-arrow is a ruled separator with a centered glyph.
   Do not add margin-top to .product-solutions — the parent gap handles spacing.
*/
.product-section { padding-bottom: 48px; }

.product-intro {
  text-align: center;
  margin-bottom: 56px;
}

.product-intro h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.02;
}

.product-flow { display: grid; gap: 14px; }

/* Platform — animated navy gradient */
.product-platform {
  padding: 36px 40px;
  border-radius: var(--radius-xl);
}

.product-platform-inner { position: relative; z-index: 1; }

.product-platform h3 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  margin-bottom: 8px;
}

.product-platform p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 48ch;
}

/* Trio of light product cards */
.product-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  transition: var(--hover-transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  background: rgba(255,255,255,0.84);
  border-color: rgba(46, 107, 219, 0.16);
  box-shadow: var(--item-glow, var(--hover-glow));
}

.product-card-label {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
}

/* Label color variants — nth-child order: Voice, Think, Adapt */
.product-card:nth-child(1) {
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(103, 214, 134, 0.16), 0 0 22px rgba(103, 214, 134, 0.18), 0 0 54px rgba(103, 214, 134, 0.2);
}
.product-card:nth-child(1) .product-card-label { background: rgba(185, 246, 168, 0.55); color: #1b6b3c; }
.product-card:nth-child(2) {
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(122, 102, 255, 0.16), 0 0 22px rgba(122, 102, 255, 0.18), 0 0 54px rgba(122, 102, 255, 0.2);
}
.product-card:nth-child(2) .product-card-label { background: rgba(207, 199, 255, 0.65); color: #4a3aa6; }
.product-card:nth-child(3) {
  --item-glow: 0 14px 34px rgba(14, 26, 46, 0.06), 0 0 0 1px rgba(240, 195, 76, 0.18), 0 0 22px rgba(240, 195, 76, 0.2), 0 0 54px rgba(240, 195, 76, 0.22);
}
.product-card:nth-child(3) .product-card-label { background: rgba(246, 223, 135, 0.62); color: #8a5a06; }

.product-card h3 { font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.product-card p { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* Solutions — same animated flow as .product-platform (shared layer above) */
.product-solutions {
  padding: 32px 40px;
  border-radius: var(--radius-lg);
}

.product-solutions-inner { position: relative; z-index: 1; }
.product-solutions h3 { font-size: 28px; margin-bottom: 8px; }

.product-solutions p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 56ch;
}

/* Flow arrow — ruled separator with centered glyph */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-bright);
  opacity: 0.35;
}

.flow-arrow::before,
.flow-arrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.flow-arrow span { font-size: 18px; line-height: 1; }

@media (max-width: 900px) {
  .product-trio { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   6. DEPLOYMENT GRID
   ─────────────────────────────────────────
   Centered heading + 2×2 grid of feature cards with icon, title, body.
*/
.deploy-head {
  text-align: center;
  margin-bottom: 48px;
}

.deploy-head h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  margin-bottom: 16px;
}

.deploy-head p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.deploy-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--hover-transition);
}

.deploy-card:hover {
  background: rgba(255,255,255,0.84);
  border-color: rgba(46, 107, 219, 0.16);
  box-shadow: var(--hover-glow);
}

.deploy-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: linear-gradient(135deg, #e8f0fe, #dbe8fd);
  color: var(--accent-bright);
  border: 1px solid rgba(46, 107, 219, 0.1);
}

.deploy-card h3 { font-size: 22px; line-height: 1.1; }
.deploy-card p { font-size: 13px; line-height: 1.7; color: var(--muted); }

@media (max-width: 900px) {
  .deploy-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   7. INDUSTRY SELECTOR (WHY SECTION)
   ─────────────────────────────────────────
   2-column layout: interactive list (left) + animated poster (right).
   Clicking or hovering an industry item updates the poster via JS.

   JS pattern (see home.html <script>):
     item.addEventListener('mouseenter', activate);
     item.addEventListener('click', activate);
     — reads data-title and data-desc attributes
     — fades poster content out/in on switch
*/
.why-section { overflow: hidden; }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.why-copy h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  margin-bottom: 16px;
}

.why-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
}

.industry-list { display: grid; gap: 10px; }

.industry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.46);
  border: 1px solid var(--line);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--muted);
  cursor: pointer;
  transition: background 420ms ease, color 420ms ease, box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1), border-color 420ms ease;
  letter-spacing: -0.02em;
}

.industry-item:hover,
.industry-item.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(237,241,248,0.95));
  color: var(--text);
  border-color: rgba(46, 107, 219, 0.14);
  box-shadow: var(--hover-glow-soft);
}

/* Arrow revealed on hover/active */
.industry-arrow {
  font-size: 14px;
  opacity: 0;
  transition: opacity 200ms ease;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}

.industry-item:hover .industry-arrow,
.industry-item.active .industry-arrow { opacity: 1; }

/* Animated dark gradient poster */
.why-poster {
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  box-shadow: var(--shadow);
}

.why-poster-content {
  position: relative;
  z-index: 1;
  transition: opacity 250ms ease;
}

.why-poster-content h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 12px;
  max-width: 14ch;
}

.why-poster-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-poster { min-height: 340px; }
}


/* ─────────────────────────────────────────
   7b. FAQ ACCORDION
   ─────────────────────────────────────────
   Centered heading + collapsible <details> list.
   Use inside a .section (with or without .band).
*/
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head h2 { font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; }

.faq-list { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }

.faq-list details {
  border-radius: var(--radius-md);
  background: var(--white-panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details:hover { box-shadow: var(--hover-glow-soft); }

.faq-list summary {
  padding: 22px 26px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary .wc-product-platform,
.faq-list summary .wc-product-voice,
.faq-list summary .wc-product-think,
.faq-list summary .wc-product-adapt {
  color: inherit;
}

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

.faq-list summary::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: '\2212'; }

.faq-list .faq-body {
  padding: 0 26px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}


/* ─────────────────────────────────────────
   8. CTA CARD (split poster + form)
   ─────────────────────────────────────────
   Full-width 2-column card: left = light gradient poster,
   right = white form panel.
*/
.final-cta { padding: 104px 0; }

.cta-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow);
}

/* Light blue gradient left panel */
.cta-poster {
  min-height: 480px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  background: none;
  color: var(--wc-flow-lite-ink);
  /* mimic .wc-flow-panel-lite */
  background:
    radial-gradient(circle, rgba(255,255,255,0.28) 0 1.2px, transparent 1.6px),
    linear-gradient(0deg, rgba(255,255,255,0.22), rgba(255,255,255,0.22)),
    linear-gradient(150deg, var(--wc-flow-lite-a) 0%, var(--wc-flow-lite-b) 25%, var(--wc-flow-lite-c) 55%, var(--wc-flow-lite-d) 100%);
  background-size: 28px 28px, 100% 100%, 320% 320%;
  animation: wcFlowGradientDrift 34s ease-in-out infinite;
}

.cta-poster::before {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: inherit;
  background:
    radial-gradient(closest-side at 26% 30%, rgba(255,255,255,0.35), transparent 64%),
    radial-gradient(closest-side at 70% 44%, rgba(255,255,255,0.20), transparent 72%),
    radial-gradient(closest-side at 60% 82%, rgba(255,255,255,0.14), transparent 72%);
  filter: blur(30px) saturate(1.18);
  opacity: 0.55;
  animation: wcBlobA 26s ease-in-out infinite;
  will-change: transform;
}

.cta-poster::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: inherit;
  background:
    radial-gradient(closest-side at 78% 54%, rgba(255,255,255,0.28), transparent 66%),
    radial-gradient(closest-side at 32% 78%, rgba(255,255,255,0.14), transparent 74%),
    radial-gradient(closest-side at 52% 46%, rgba(255,255,255,0.16), transparent 72%);
  filter: blur(30px) saturate(1.18);
  opacity: 0.42;
  animation: wcBlobB 32s ease-in-out infinite;
  will-change: transform;
}

.cta-poster-text { position: relative; z-index: 1; }

.cta-poster-text h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.04;
  margin-bottom: 14px;
  max-width: 14ch;
  color: var(--wc-flow-lite-ink);
}

.cta-poster-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--wc-flow-lite-body);
  max-width: 36ch;
}

/* White right panel */
.cta-form-wrap {
  padding: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-form-wrap h3 { font-size: 28px; margin-bottom: 8px; }

.cta-form-wrap > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-grid { display: grid; gap: 12px; }

/* Form fields */
.field,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(20, 40, 80, 0.1);
  background: var(--bg-soft);
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  font-size: 14px;
  transition: border-color 200ms ease;
}

.field:focus,
textarea:focus { border-color: var(--accent-bright); }

textarea { min-height: 110px; resize: vertical; }

/* Checkbox interest group */
.interest-box {
  border-radius: 12px;
  border: 1px solid rgba(20, 40, 80, 0.1);
  background: var(--bg-soft);
  padding: 14px 16px;
}

.interest-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  transition: background 200ms;
}

.chip:hover { background: #fff; }
.chip input { margin: 0; accent-color: var(--accent-bright); }

.form-submit { width: 100%; margin-top: 4px; }
.form-note { text-align: center; margin-top: 6px; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-poster { min-height: 340px; }
}


/* ─────────────────────────────────────────
   9. FOOTER
   ─────────────────────────────────────────
   Centered wordmark + 5-column link grid + copyright bar.
*/
.site-footer { padding: 80px 0 36px; text-align: center; }

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.footer-brand-mark {
  display: flex;
  flex-shrink: 0;
  color: var(--accent);
  line-height: 0;
}

.footer-brand-mark svg {
  display: block;
  width: 44px;
  height: auto;
  max-height: 38px;
}

.footer-brand-lockup h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.footer-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  color: var(--accent);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 180ms;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}


/* ─────────────────────────────────────────
   10. GLASS CARDS (frosted on gradient)
   ─────────────────────────────────────────
   Translucent cards inside a .wc-flow-panel gradient wrapper.
   Use for product showcases, model catalogs, and product-fit sections.
*/
.glass-wrap {
  border-radius: var(--radius-xl);
  padding: 40px 32px;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.glass-card {
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.16);
  transition: box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1), background 420ms ease, border-color 420ms ease;
  color: #fff;
}

.glass-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.glass-card-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid rgba(255,255,255,0.14);
}

.glass-card-label.conditional {
  background: rgba(255, 200, 100, 0.18);
  border-color: rgba(255, 200, 100, 0.22);
  color: rgba(255, 230, 170, 0.95);
}

.glass-card h3 {
  font-size: 22px;
  line-height: 1.12;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.glass-card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
}

.glass-card > p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}

/*
 * Solution pages: add class `solution-fit-glass` on the glass-wrap (with .wc-flow-panel).
 * Voice / Think / Adapt gradients match product pages; fourth card uses platform blue (→ deployment).
 */
.solution-fit-glass a.glass-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background-size: 200% 200%;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
    background-position 420ms ease,
    border-color 420ms ease;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.solution-fit-glass a.glass-card:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.solution-fit-glass .glass-card--voice {
  background-color: transparent;
  background-image: linear-gradient(135deg, #164a2d 0%, #2c8b53 32%, #67d686 68%, #b9f6a8 100%);
  box-shadow: 0 10px 36px rgba(22, 74, 45, 0.22);
}

.solution-fit-glass .glass-card--think {
  background-color: transparent;
  background-image: linear-gradient(135deg, #2a1f5c 0%, #4a3aa6 35%, #7a66ff 70%, #b5a8ff 100%);
  box-shadow: 0 10px 36px rgba(42, 31, 92, 0.26);
}

.solution-fit-glass .glass-card--adapt {
  background-color: transparent;
  background-image: linear-gradient(135deg, #6b4a12 0%, #b47b13 34%, #f0c34c 72%, #f6df87 100%);
  box-shadow: 0 10px 36px rgba(107, 74, 18, 0.24);
}

.solution-fit-glass .glass-card--platform {
  background-color: transparent;
  background-image: linear-gradient(135deg, #1a3a6e 0%, #2a5bad 35%, #2e6bdb 70%, #4d8af0 100%);
  box-shadow: 0 10px 36px rgba(26, 58, 110, 0.22);
}

.solution-fit-glass .glass-card--voice .glass-card-label {
  background: rgba(185, 246, 168, 0.55);
  color: #1b6b3c;
  border: 1px solid rgba(103, 214, 134, 0.35);
}

.solution-fit-glass .glass-card--think .glass-card-label {
  background: rgba(207, 199, 255, 0.65);
  color: #4a3aa6;
  border: 1px solid rgba(122, 102, 255, 0.28);
}

.solution-fit-glass .glass-card--adapt .glass-card-label {
  background: rgba(246, 223, 135, 0.62);
  color: #8a5a06;
  border: 1px solid rgba(240, 195, 76, 0.4);
}

.solution-fit-glass .glass-card--platform .glass-card-label {
  background: rgba(232, 240, 254, 0.55);
  color: #2e6bdb;
  border: 1px solid rgba(46, 107, 219, 0.25);
}

.solution-fit-glass .glass-card--voice > p,
.solution-fit-glass .glass-card--think > p,
.solution-fit-glass .glass-card--adapt > p,
.solution-fit-glass .glass-card--platform > p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.solution-fit-glass .glass-card--voice:hover {
  background-color: transparent;
  background-image: linear-gradient(135deg, #164a2d 0%, #2c8b53 32%, #67d686 68%, #b9f6a8 100%);
  background-size: 200% 200%;
  border-color: rgba(185, 246, 168, 0.45);
  box-shadow: 0 18px 48px rgba(22, 74, 45, 0.35), 0 0 0 1px rgba(103, 214, 134, 0.25);
  background-position: 100% 50%;
}

.solution-fit-glass .glass-card--think:hover {
  background-color: transparent;
  background-image: linear-gradient(135deg, #2a1f5c 0%, #4a3aa6 35%, #7a66ff 70%, #b5a8ff 100%);
  background-size: 200% 200%;
  border-color: rgba(181, 168, 255, 0.5);
  box-shadow: 0 18px 48px rgba(42, 31, 92, 0.38), 0 0 0 1px rgba(122, 102, 255, 0.28);
  background-position: 100% 50%;
}

.solution-fit-glass .glass-card--adapt:hover {
  background-color: transparent;
  background-image: linear-gradient(135deg, #6b4a12 0%, #b47b13 34%, #f0c34c 72%, #f6df87 100%);
  background-size: 200% 200%;
  border-color: rgba(246, 223, 135, 0.55);
  box-shadow: 0 18px 48px rgba(107, 74, 18, 0.36), 0 0 0 1px rgba(240, 195, 76, 0.32);
  background-position: 100% 50%;
}

.solution-fit-glass .glass-card--platform:hover {
  background-color: transparent;
  background-image: linear-gradient(135deg, #1a3a6e 0%, #2a5bad 35%, #2e6bdb 70%, #4d8af0 100%);
  background-size: 200% 200%;
  border-color: rgba(140, 180, 247, 0.45);
  box-shadow: 0 18px 48px rgba(26, 58, 110, 0.32), 0 0 0 1px rgba(46, 107, 219, 0.28);
  background-position: 100% 50%;
}

@media (max-width: 900px) {
  .glass-grid,
  .glass-grid--2 { grid-template-columns: 1fr; }
  .glass-wrap { padding: 28px 20px; }
}


/* ─────────────────────────────────────────
   11. STAT-HEADER CARDS
   ─────────────────────────────────────────
   Cards with a bold gradient metric at top.
   Use for features and capability sections.
*/
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.stat-card {
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  transition: var(--hover-transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.86);
  box-shadow: var(--hover-glow);
}

.stat-card-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  line-height: 1.1;
}

.stat-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  opacity: 0.6;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
}

.stat-card h3 {
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 900px) {
  .stat-grid,
  .stat-grid--2 { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   12. EDITORIAL CARDS (magazine-style split)
   ─────────────────────────────────────────
   Full-width cards stacked vertically with a left/right split.
   Use for detailed explanations and deployment topics.
*/
.editorial-stack {
  display: grid;
  gap: 16px;
}

.editorial-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  border: 1px solid var(--line);
  transition: var(--hover-transition);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.editorial-card:hover {
  background: rgba(255,255,255,0.86);
  box-shadow: var(--hover-glow);
}

.editorial-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.editorial-card h3 {
  font-size: 26px;
  line-height: 1.08;
  margin-bottom: 12px;
}

.editorial-card-left > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.editorial-card-right {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.editorial-card-right p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.editorial-card-right p + p {
  margin-top: 12px;
}

.editorial-card-right strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .editorial-card { grid-template-columns: 1fr; }
  .editorial-card-right {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
}
