/* ========================================
   GFMP Component Library — Premium v2
   ======================================== */

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid hsl(220 20% 92% / 0.6);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-nav-shell {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

/* ===== Logo ===== */

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

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

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

.logo-text {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--foreground);
}

.logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  margin-top: 3px;
}

/* Dark context logo */
.section-dark .logo-text,
.site-footer .logo-text {
  color: #ffffff;
}
.section-dark .logo-sub,
.site-footer .logo-sub {
  color: hsl(215 30% 60%);
}

/* ===== Navigation ===== */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--muted-foreground);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--foreground);
  background: hsl(220 30% 96%);
}

.nav-link[aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-panel {
  display: none;
  overflow: hidden;
  padding-bottom: 14px;
}

.mobile-panel nav {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.mobile-panel a {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-panel a[aria-current="page"] {
  border-color: var(--accent);
  background: hsl(221 83% 53% / 0.06);
  font-weight: 600;
}

/* ===== Buttons ===== */

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.25s var(--ease-out);
}

.cta-primary {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  box-shadow: var(--shadow-md);
}

.cta-primary:hover {
  background: hsl(222 47% 16%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-primary .arrow {
  transition: transform 0.25s var(--ease-out);
}
.cta-primary:hover .arrow {
  transform: translateX(4px);
}

.cta-secondary {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
}

.cta-secondary:hover {
  border-color: var(--foreground);
  background: hsl(220 30% 97%);
  transform: translateY(-1px);
}

.cta-accent {
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  box-shadow: var(--shadow-accent);
}

.cta-accent:hover {
  background: hsl(221 83% 48%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(37, 99, 235, 0.35);
}

/* Ghost button for dark sections */
.cta-ghost {
  background: transparent;
  color: hsl(210 40% 92%);
  border: 1.5px solid hsl(220 30% 35%);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
}

.cta-ghost:hover {
  border-color: hsl(220 30% 55%);
  background: hsl(222 40% 16%);
}

/* Link button */
.cta-link {
  background: none;
  color: var(--accent);
  padding: 0;
  font-weight: 600;
  gap: 6px;
  border: 0;
}

.cta-link:hover {
  gap: 10px;
}

.cta-link .arrow {
  transition: transform 0.25s var(--ease-out);
}
.cta-link:hover .arrow {
  transform: translateX(3px);
}

/* Arrow SVG helper */
.arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
}

/* ===== Tag / Chip ===== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsl(220 50% 97%);
  border: 1px solid hsl(220 30% 90%);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}

.metric-chip {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground);
}

/* ===== Cards ===== */

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(220 20% 86%);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Card with top accent stripe */
.card-accent-top {
  border-top: 3px solid var(--accent);
}

.card-accent-top.green { border-top-color: var(--positive); }
.card-accent-top.amber { border-top-color: var(--warning); }
.card-accent-top.blue { border-top-color: var(--accent); }
.card-accent-top.purple { border-top-color: hsl(262 83% 58%); }

/* Card in dark sections */
.section-dark .card {
  background: var(--bg-dark-card);
  border-color: var(--bg-dark-border);
}

.section-dark .card h3 { color: #ffffff; }
.section-dark .card p { color: hsl(215 30% 65%); }

.card-flat {
  background: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px;
}

/* ===== Icon System ===== */

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.card:hover .icon-wrap {
  transform: scale(1.08) rotate(-2deg);
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
}

.icon-wrap-accent {
  background: hsl(221 83% 53% / 0.1);
  color: var(--accent);
}

.icon-wrap-positive {
  background: hsl(152 69% 31% / 0.1);
  color: var(--positive);
}

.icon-wrap-warning {
  background: hsl(38 92% 50% / 0.1);
  color: hsl(30 80% 40%);
}

.icon-wrap-negative {
  background: hsl(346 87% 43% / 0.08);
  color: var(--negative);
}

.icon-wrap-purple {
  background: hsl(262 83% 58% / 0.1);
  color: hsl(262 83% 58%);
}

/* ===== Hero ===== */

.hero {
  padding: clamp(100px, 14vw, 160px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, hsl(221 83% 53% / 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, hsl(262 83% 58% / 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 90%, hsl(152 69% 31% / 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero .page-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--foreground);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero .page-subtitle {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ===== Hero Visual — Dashboard Mockup ===== */

.hero-visual {
  border-radius: var(--radius-xl);
  padding: 0;
  background: var(--bg-dark);
  color: white;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(222 30% 24%);
}

.hero-visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid hsl(222 30% 22%);
}

.hero-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: hsl(222 30% 28%);
}

.hero-visual-dot:first-child { background: hsl(0 70% 55%); }
.hero-visual-dot:nth-child(2) { background: hsl(45 80% 55%); }
.hero-visual-dot:nth-child(3) { background: hsl(140 60% 45%); }

.hero-visual-topbar span {
  font-size: 0.75rem;
  color: hsl(215 30% 50%);
  margin-left: 8px;
  font-weight: 500;
}

.hero-visual-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-visual h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.hero-visual p {
  color: hsl(215 30% 60%);
  margin: 0;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-visual-card {
  border: 1px solid hsl(222 30% 22%);
  background: hsl(222 40% 14%);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.3s ease;
}

.hero-visual-card:hover {
  border-color: hsl(221 83% 53% / 0.4);
}

.hero-visual-card small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(215 30% 50%);
  margin-bottom: 6px;
  font-weight: 600;
}

.hero-visual-card .metric {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-visual-card .metric-accent {
  color: hsl(152 69% 55%);
}

/* Mini chart bars */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-top: 12px;
}

.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: hsl(221 83% 53% / 0.6);
  transition: height 0.5s var(--ease-out);
}

.mini-bar.accent { background: hsl(221 83% 53%); }
.mini-bar.positive { background: hsl(152 69% 50%); }

/* ===== Trust Strip ===== */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--foreground);
  display: block;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-top: 4px;
}

/* Dark trust strip */
.section-dark .trust-value { color: #ffffff; }
.section-dark .trust-label { color: hsl(215 30% 55%); }

/* ===== Pain / Pillar Cards ===== */

.pain-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

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

.pain-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-proof {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 16px;
  font-weight: 500;
  font-style: italic;
}

/* ===== KPI Strip ===== */

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.kpi-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

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

.kpi-value {
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--foreground);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.kpi-label {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ===== Stepper / Workflow ===== */

.stepper {
  display: flex;
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.stepper-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.stepper-step::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.stepper-step:first-child::before { left: 50%; }
.stepper-step:last-child::before { right: 50%; }

.stepper-index {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: white;
  border: 2px solid var(--border);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
  color: var(--muted-foreground);
}

.stepper-step.is-active .stepper-index {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 0 6px hsl(221 83% 53% / 0.15), var(--shadow-accent);
}

.stepper-label {
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: var(--foreground);
}

.stepper-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Timeline ===== */

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-node {
  position: relative;
  padding: 0 0 40px;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 4px white;
  z-index: 1;
}

.timeline-node:last-child { padding-bottom: 0; }

.timeline-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===== Filter Bar ===== */

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--muted-foreground);
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-chip.is-active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

/* ===== Accordion / FAQ ===== */

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
  border-color: hsl(220 20% 82%);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: transparent;
  border: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  border-radius: 0;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.is-open .accordion-trigger::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
  padding: 0 28px;
}

.accordion-item.is-open .accordion-content {
  max-height: 500px;
  padding: 0 28px 28px;
}

.accordion-content p {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Proof Table ===== */

.proof-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.proof-table th {
  text-align: left;
  font-weight: 700;
  padding: 16px 24px;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  background: var(--muted);
}

.proof-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  background: white;
}

.proof-table tr:last-child td { border-bottom: 0; }

.proof-table .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-pass {
  background: hsl(152 69% 31% / 0.1);
  color: var(--positive);
  border: 1px solid hsl(152 69% 31% / 0.2);
}

/* ===== Pricing Cards ===== */

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
  position: relative;
  transform: scale(1.02);
}

.pricing-featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-featured::before {
  content: "Most popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--foreground);
}

.pricing-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 16px 0 4px;
  color: var(--foreground);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.pricing-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 16px 0 28px;
  line-height: 1.6;
}

.pricing-features {
  flex: 1;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--foreground);
}

.pricing-features li::before {
  content: "\2713";
  color: var(--positive);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== Add-on Cards ===== */

.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  transition: all 0.25s var(--ease-out);
}

.addon-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.addon-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.addon-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===== CTA Band ===== */

.cta-band {
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, hsl(221 83% 53% / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  color: white;
  font-weight: 800;
  position: relative;
}

.cta-band p {
  color: hsl(215 30% 65%);
  max-width: 55ch;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  position: relative;
}

.cta-band .hero-ctas {
  justify-content: center;
  position: relative;
}

/* ===== Capability List ===== */

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: all 0.25s var(--ease-out);
}

.capability-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.capability-item .icon-wrap {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  margin-bottom: 0;
  border-radius: var(--radius-sm);
}

.capability-text h4 {
  font-size: 1.05rem;
  font-family: "Outfit", sans-serif;
  margin-bottom: 4px;
  font-weight: 700;
}

.capability-text p {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

/* ===== Control Badges ===== */

.control-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.control-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

/* ===== Comparison Block ===== */

.comparison-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comparison-side {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-side.is-legacy {
  background: hsl(0 0% 98%);
  color: var(--muted-foreground);
}

.comparison-side.is-gfmp {
  background: white;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.comparison-side h4 {
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.comparison-side li {
  padding: 8px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-side li:last-child { border-bottom: 0; }

/* ===== Scenes ===== */

.scene {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.scene-stage {
  position: relative;
  min-height: 200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: center;
}

.node {
  position: relative;
  z-index: 2;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 24px;
  font-weight: 700;
  transition: all 0.35s var(--ease-out);
}

.node.is-active {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
  color: var(--accent);
}

.scene-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}

.scene-progress {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.scene-dot {
  position: absolute;
  top: calc(50% - 6px);
  left: 10%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px white;
}

/* ===== Steps (Waterfall, Demo) ===== */

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
}

.section-dark .step {
  background: var(--bg-dark-card);
  border-color: var(--bg-dark-border);
  color: white;
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.step-value {
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 0.9rem;
}

.step.is-active {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.01);
}

.step.is-active .step-index {
  background: var(--accent);
  color: white;
}

/* ===== Forms ===== */

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
}

input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  background: white;
  color: var(--foreground);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

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

/* ===== Dividers ===== */

.lux-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ===== Kbd ===== */

kbd {
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--foreground);
}

/* ===== Footer ===== */

.site-footer {
  margin-top: 0;
  background: var(--bg-dark);
  color: hsl(210 40% 85%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}

.footer-grid {
  padding: 80px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-list li + li {
  margin-top: 14px;
}

.footer-list a {
  color: hsl(215 30% 55%);
  font-size: 0.92rem;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-note {
  color: hsl(215 30% 50%);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-bottom {
  padding: 28px 0;
  border-top: 1px solid hsl(222 30% 20%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: hsl(215 30% 45%);
}

/* Footer logo white variant */
.site-footer .logo-icon path:not([stroke="#3B82F6"]) {
  stroke: #ffffff;
}
.site-footer .logo-icon circle:not([fill="#3B82F6"]) {
  fill: #ffffff;
}

/* ===== Problem List (editorial numbered layout) ===== */

.problem-list {
  max-width: 840px;
  margin: 56px auto 0;
}

.problem-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 44px 0;
  border-bottom: 1px solid hsl(222 30% 20%);
}

.problem-item:first-child {
  border-top: 1px solid hsl(222 30% 20%);
}

.problem-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: hsl(215 60% 65%);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.problem-content h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-content p {
  color: hsl(215 30% 60%);
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
}

/* ===== Pillars Grid (2x2 editorial layout) ===== */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  margin-top: 56px;
}

.pillar-item {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.pillar-number {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.pillar-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-item > p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 1rem;
}

.pillar-evidence {
  display: block;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  font-weight: 500;
  font-style: italic;
  opacity: 0.75;
}

/* ===== Module List (editorial directory layout) ===== */

.module-list {
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.module-row {
  display: grid;
  grid-template-columns: 220px 1fr 24px;
  gap: 32px;
  align-items: center;
  padding: 28px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out);
}

.module-row:hover {
  background: hsl(220 50% 96%);
  padding-left: 28px;
}

.module-name {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--foreground);
}

.module-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.module-row .arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease-out);
  color: var(--accent);
}

.module-row:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Capability Editorial (light background numbered list) ===== */

.capability-editorial {
  max-width: 840px;
  margin-top: 32px;
}

.capability-editorial-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.capability-editorial-item:first-child {
  border-top: 1px solid var(--border);
}

.capability-editorial-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.capability-editorial-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--foreground);
}

.capability-editorial-item p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
}

/* ===== Proof Editorial (clean 3-col, no cards) ===== */

.proof-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 32px;
}

.proof-editorial-item {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.proof-editorial-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--foreground);
}

.proof-editorial-item p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Scene — Premium Migration Path ===== */

#excel-goldenset-scene .scene-progress {
  background: linear-gradient(90deg, hsl(38 72% 52%), hsl(160 50% 42%));
  box-shadow: 0 0 20px rgba(168, 135, 60, 0.25);
}

#excel-goldenset-scene .scene-dot {
  background: hsl(38 72% 52%);
  box-shadow: 0 0 0 4px white, 0 0 16px rgba(168, 135, 60, 0.25);
}

#excel-goldenset-scene .node.is-active {
  border-color: hsl(160 42% 42%);
  color: hsl(160 42% 35%);
  box-shadow: 0 0 0 3px hsl(160 42% 42% / 0.12), var(--shadow-md);
}

.node-excel {
  border-left: 3px solid hsl(38 72% 52%);
}

.node-goldenset {
  border-left: 3px solid hsl(160 50% 42%);
}

.node-gfmp {
  border-left: 3px solid hsl(230 40% 48%);
}

