/* ===== Premium SaaS interior pages (match homepage quality) ===== */

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.page-hero .lede { max-width: 34rem; }
.page-hero-visual {
  position: relative;
  min-height: 320px;
}
.page-hero-visual .app-window,
.page-hero-visual .phone-device {
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  box-shadow: 0 40px 80px rgba(5, 11, 24, 0.45);
}

/* Homepage-matched content typography on interior pages */
main .section-block {
  margin-bottom: 3.25rem;
}
main .section-block .kicker,
main .section:not(.page-hero) .kicker,
main .page-sections .kicker {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  justify-content: center;
  text-align: center;
}
main .section-block .h2,
main .section-block .h-display.h2,
main .page-sections .h-display.h2,
main .section:not(.page-hero) .h-display.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  max-width: min(52rem, 100%);
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
main .section-block .lede,
main .page-sections .lede,
main .section:not(.page-hero) > .container > .lede,
main .section:not(.page-hero) .section-head .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.175rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  font-weight: 400;
}
main .check-list li {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--slate);
  font-weight: 500;
}
main .persona strong,
main .feature-group h3,
main .workflow-step h3,
main .problem-card h3,
main .hub-card h3,
main .security-item h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
main .persona p,
main .feature-group li,
main .workflow-step p,
main .problem-card p,
main .hub-card p,
main .security-item p,
main .faq-a {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}
main .faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
main .section-head .h2,
main .section-head .h-display {
  letter-spacing: -0.03em;
}

/* Insight strip sits over dark→light transition */
.page-hero + .section .insight-strip,
.page-hero .insight-strip {
  margin-top: 2rem;
}
.page-hero .insight-pill {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(5, 11, 24, 0.28);
}
.page-hero .insight-pill strong { color: var(--blue); }
.page-hero .insight-pill span { color: var(--muted); }

.insight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
}
.insight-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.insight-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.insight-pill span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.section-band {
  padding: 4.5rem 0;
}
.section-band.alt { background: var(--surface); }
.section-band.navy {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(59,130,246,0.28), transparent 45%),
    var(--navy);
  color: #fff;
}
.section-band.navy .kicker { color: #93c5fd; }
.section-band.navy .kicker::before { background: #93c5fd; }
.section-band.navy .h-display { color: #fff; }
.section-band.navy .lede { color: rgba(226,232,240,0.72); }
.section-band.navy figcaption { color: rgba(226,232,240,0.8); }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.workflow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  position: relative;
}
.workflow-step .num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.workflow-step h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.workflow-step p { font-size: 0.9rem; color: var(--muted); }

.persona {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 1.5rem 1.3rem !important;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}
.persona:hover { transform: translateY(-4px); }
.persona .persona-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.feature-group {
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}
.feature-group:hover {
  transform: translateY(-4px);
  border-color: rgba(26,95,219,0.28);
}
.feature-group .fg-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a5fdb, #3b82f6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* High-fidelity app windows */
.app-window {
  background: #0b1220;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.25);
  min-height: 280px;
  font-family: var(--font-body);
}
.app-window.light {
  background: #fff;
  color: var(--ink);
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.app-window.light .app-top {
  background: #f1f5f9;
  border-bottom-color: #e2e8f0;
}
.app-dots { display: flex; gap: 0.3rem; }
.app-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.28);
}
.app-window.light .app-dots i { background: #cbd5e1; }
.app-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(226,232,240,0.75);
  letter-spacing: 0.02em;
}
.app-window.light .app-title { color: var(--slate); }
.app-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 240px;
}
.app-side {
  padding: 0.75rem 0.45rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.app-window.light .app-side { border-right-color: #e2e8f0; background: #f8fafc; }
.app-side span {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(226,232,240,0.55);
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  text-align: center;
  line-height: 1.2;
}
.app-side span.active {
  background: rgba(59,130,246,0.22);
  color: #bfdbfe;
}
.app-window.light .app-side span { color: var(--muted); }
.app-window.light .app-side span.active {
  background: var(--blue-soft);
  color: var(--blue);
}
.app-main { padding: 0.85rem; }
.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.app-kpi {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
}
.app-window.light .app-kpi {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.app-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #93c5fd;
  letter-spacing: -0.02em;
}
.app-window.light .app-kpi b { color: var(--blue); }
.app-kpi small {
  font-size: 0.62rem;
  color: rgba(226,232,240,0.55);
}
.app-window.light .app-kpi small { color: var(--muted); }

.app-map {
  height: 110px;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 42%, #22c55e 0 5px, transparent 6px),
    radial-gradient(circle at 58% 58%, #3b82f6 0 6px, transparent 7px),
    radial-gradient(circle at 72% 30%, #f59e0b 0 5px, transparent 6px),
    radial-gradient(circle at 40% 70%, #38bdf8 0 4px, transparent 5px),
    linear-gradient(135deg, #132744, #0c1b33 60%, #152a4a);
}
.app-map::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1.5px dashed rgba(147,197,253,0.35);
  border-radius: 45% 55% 50% 50%;
}
.app-map-label {
  position: absolute;
  left: 0.6rem;
  bottom: 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #bfdbfe;
  background: rgba(5,11,24,0.55);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.app-list { display: grid; gap: 0.4rem; }
.app-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}
.app-window.light .app-row {
  background: #fff;
  border-color: #e2e8f0;
}
.app-row strong {
  font-size: 0.72rem;
  color: #e2e8f0;
  font-weight: 600;
}
.app-window.light .app-row strong { color: var(--ink); }
.app-row em {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(226,232,240,0.5);
}
.app-window.light .app-row em { color: var(--muted); }
.badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.ok { background: rgba(34,197,94,0.2); color: #86efac; }
.badge.warn { background: rgba(245,158,11,0.2); color: #fcd34d; }
.badge.risk { background: rgba(239,68,68,0.2); color: #fca5a5; }
.app-window.light .badge.ok { background: #dcfce7; color: #166534; }
.app-window.light .badge.warn { background: #fef3c7; color: #92400e; }
.app-window.light .badge.risk { background: #fee2e2; color: #991b1b; }

/* Phone mock */
.phone-device {
  width: min(210px, 100%);
  margin: 0 auto;
  background: #07111f;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.18);
  padding: 0.55rem;
  min-height: 300px;
  box-shadow: 0 24px 50px rgba(5,11,24,0.35);
}
.phone-notch {
  width: 42%;
  height: 10px;
  margin: 0.15rem auto 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  padding: 0 0.2rem;
}
.phone-head strong {
  font-size: 0.78rem;
  color: #e2e8f0;
  font-family: var(--font-display);
}
.phone-head span {
  font-size: 0.62rem;
  color: #86efac;
  font-weight: 700;
}
.phone-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
  margin-bottom: 0.5rem;
}
.phone-card strong {
  display: block;
  font-size: 0.72rem;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.phone-card p {
  font-size: 0.62rem;
  color: rgba(226,232,240,0.62);
  line-height: 1.35;
  margin: 0;
}
.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.phone-actions b {
  text-align: center;
  font-size: 0.65rem;
  padding: 0.55rem 0.3rem;
  border-radius: 10px;
  background: #1a5fdb;
  color: #fff;
  font-weight: 700;
}
.phone-actions b.ghost {
  background: rgba(255,255,255,0.08);
  color: #bfdbfe;
}

.shot-grid.premium {
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.35rem;
}
.shot-card {
  transition: 0.3s ease;
}
.shot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.shot-card .app-window,
.shot-card .phone-wrap {
  min-height: 300px;
  padding: 1rem;
  background: linear-gradient(160deg, #0b1a36, #12284f);
}
.shot-card .phone-wrap {
  display: grid;
  place-items: center;
}
.shot-card .app-window.light {
  background: linear-gradient(180deg, #eef3fb, #f8fafc);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.outcome-card {
  display: flex;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.outcome-card i {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfdf5;
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.outcome-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.6rem 1.35rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
  min-height: 220px;
}
.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26,95,219,0.3);
}
.hub-card .hub-visual {
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.hub-card .hub-visual .app-window,
.hub-card .hub-visual .phone-device {
  transform: scale(0.55);
  transform-origin: top left;
  width: 180%;
  pointer-events: none;
}
.hub-card .sol-num {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hub-card h3 { font-size: 1.08rem; }
.hub-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.hub-card .sol-link {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
}

.product-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .page-hero-grid,
  .workflow-steps,
  .insight-strip,
  .shot-grid.premium,
  .product-grid-premium { grid-template-columns: 1fr 1fr; }
  .page-hero-visual .app-window { transform: none; }
}
@media (max-width: 720px) {
  .page-hero-grid,
  .workflow-steps,
  .insight-strip,
  .shot-grid.premium,
  .outcome-grid,
  .product-grid-premium,
  .app-body { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
