/* ── Product hero ─────────────────────────────────────────── */
.product-hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--white);
  padding-block: var(--space-5xl);
  overflow: hidden;
}
.product-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(0, 174, 239, 0.30) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(0, 119, 230, 0.22) 0%, transparent 50%);
  pointer-events: none;
}
.product-hero__inner { position: relative; }
.product-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 200, 150, 0.14);
  border: 1px solid rgba(0, 200, 150, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: var(--space-lg);
}
.product-hero__pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.product-hero__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--space-lg);
}
.product-hero__wordmark-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #00AEEF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.product-hero__wordmark-by {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.product-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}
.product-hero__sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  margin-bottom: var(--space-xl);
}
.product-hero__cta { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ── Problem section ──────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.problem-card:hover {
  border-color: var(--error);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.problem-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(233, 75, 75, 0.10);
  color: var(--error);
  margin-bottom: var(--space-md);
}
.problem-card h3 { font-size: 18px; margin-bottom: var(--space-sm); }
.problem-card p { font-size: 15px; color: var(--text-mid); }

/* ── Module showcase ──────────────────────────────────────── */
.modules { display: grid; gap: var(--space-2xl); }
.module {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.module:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}
.module:nth-child(even) .module__visual { order: -1; }
@media (max-width: 1024px) {
  .module, .module:nth-child(even) { grid-template-columns: 1fr; }
  .module:nth-child(even) .module__visual { order: 0; }
}
.module__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  margin-bottom: var(--space-sm);
}
.module h3 { font-size: 28px; margin-bottom: var(--space-md); }
.module p { color: var(--text-mid); margin-bottom: var(--space-md); }
.module ul { display: flex; flex-direction: column; gap: 10px; }
.module ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-mid);
}
.module ul li::before {
  content: "→";
  color: var(--brand-blue);
  font-weight: 700;
  margin-top: 1px;
}
.module__visual {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.module__visual .accent { color: var(--brand-blue); font-weight: 600; }
.module__visual .ok { color: var(--success); font-weight: 600; }
.module__visual .err { color: var(--error); font-weight: 600; }
.module__visual hr {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 12px 0;
}

/* ── Flow diagram ─────────────────────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr; }
}
.flow__step {
  position: relative;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.flow__step:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
}
.flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand-blue);
  font-weight: 700;
  z-index: 2;
}
@media (max-width: 1024px) {
  .flow__step:not(:last-child)::after { display: none; }
}
.flow__icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: var(--white);
}
.flow__step h4 { font-size: 16px; margin-bottom: 4px; }
.flow__step p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── Performance highlights ───────────────────────────────── */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 768px) { .perf-grid { grid-template-columns: repeat(2, 1fr); } }
.perf-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.perf-card:hover {
  background: rgba(0, 174, 239, 0.08);
  border-color: var(--brand-cyan);
}
.perf-card__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}
.perf-card__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Feature grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 174, 239, 0.10);
  color: var(--brand-blue);
  margin-bottom: var(--space-md);
}
.feature-card h4 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-mid); margin: 0; }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq {
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 200ms var(--ease);
}
.faq-trigger:hover { color: var(--brand-blue); }
.faq-trigger__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--off-white);
  color: var(--brand-blue);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.faq-item.is-open .faq-trigger__icon {
  transform: rotate(45deg);
  background: var(--brand-blue);
  color: var(--white);
}
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
}
.faq-item.is-open .faq-panel {
  max-height: 600px;
}
.faq-panel__inner {
  padding: 0 0 var(--space-lg);
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

/* ── Differentiator grid (Why ScanNetra) ──────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.diff-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.diff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.diff-card:hover::before { opacity: 1; }
.diff-card h3 { font-size: 18px; margin-bottom: var(--space-sm); }
.diff-card p { font-size: 14px; color: var(--text-mid); margin: 0; }
