/* ============================================================
   Hero variants A / B / C — for design-shotgun comparison
   All variants share base styles.css; this file layers variant-specific styles.
   ============================================================ */

/* -------- Compare page scaffold -------- */
.cmp-tabs {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(247, 243, 237, .96);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(17, 34, 51, .04);
}
.cmp-tabs__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  margin-right: 8px;
}
.cmp-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.cmp-tab:hover { background: rgba(26, 77, 110, .08); color: var(--primary); }
.cmp-tab strong { font-weight: 800; color: var(--text); }
.cmp-pick-btn {
  margin-left: auto;
  padding: 9px 18px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.cmp-pick-btn:hover { background: var(--brand-gradient-hover); }

.cmp-section {
  min-height: 100vh;
  padding: 48px 0 96px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cmp-section__head {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cmp-section__letter {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-gradient);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(61, 107, 133, .25);
}
.cmp-section__meta { flex: 1; }
.cmp-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cmp-section__desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-top: 3px;
}
.cmp-section__pick {
  padding: 10px 20px;
  background: var(--surface);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.cmp-section__pick:hover { background: var(--primary); color: #fff; }

/* =========================================================
   VARIANT A — Asymmetric Split (classic SaaS Stripe/Linear)
   ========================================================= */
.hero--a {
  padding: 80px 0 100px;
  position: relative;
}
.hero--a .container { max-width: 1240px; }
.hero--a .a-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero--a .a-left { text-align: left; }
.hero--a h1 {
  font-size: clamp(2.8rem, 4.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero--a .hero__lead {
  margin: 0 0 28px 0;
  max-width: 520px;
  font-size: 1.1rem;
}
.hero--a .hero__ctas { justify-content: flex-start; margin-bottom: 22px; }
.hero--a .hero__trust { justify-content: flex-start; gap: 18px; }

.hero--a .a-visual {
  position: relative;
  isolation: isolate;
}
.hero--a .a-visual__glow {
  position: absolute;
  inset: -8% -6% -8% -6%;
  background:
    radial-gradient(45% 50% at 22% 25%, rgba(61, 107, 133, .24), transparent 70%),
    radial-gradient(50% 55% at 80% 75%, rgba(139, 58, 79, .20), transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero--a .a-visual__frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 36px 70px -20px rgba(17, 34, 51, .32),
    0 14px 28px -14px rgba(17, 34, 51, .18);
  transform: perspective(1800px) rotateY(-3deg) rotateX(1.5deg);
}
.hero--a .a-visual__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.hero--a .a-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(17, 34, 51, .14);
  z-index: 2;
  animation: aFloat 6s ease-in-out infinite;
}
.hero--a .a-float__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero--a .a-float__label { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.hero--a .a-float__value { font-size: 0.86rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.hero--a .a-float--tl { top: 6%; left: -7%; }
.hero--a .a-float--br { bottom: 6%; right: -6%; animation-delay: -2s; }

@keyframes aFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* =========================================================
   VARIANT B — Editorial Magazine (stacked, left-hung, wide visual)
   ========================================================= */
.hero--b {
  padding: 56px 0 80px;
  position: relative;
}
.hero--b .container { max-width: 1280px; }
.hero--b .b-top {
  max-width: 920px;
  margin: 0 0 48px 0;
  text-align: left;
}
.hero--b h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero--b .hero__lead {
  max-width: 620px;
  margin: 0 0 32px 0;
  font-size: 1.24rem;
  line-height: 1.5;
  text-align: left;
}
.hero--b .hero__ctas { justify-content: flex-start; margin-bottom: 22px; }
.hero--b .hero__trust { justify-content: flex-start; gap: 22px; }

.hero--b .b-visual-wrap {
  position: relative;
  margin: 32px auto 0;
  max-width: 1180px;
  padding: 0 20px;
}
.hero--b .b-ocher-strip {
  position: absolute;
  top: 24px; bottom: 40px;
  left: -3%; right: -3%;
  background: linear-gradient(90deg, rgba(184, 137, 94, .16), rgba(184, 137, 94, .06));
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}
.hero--b .b-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -24px rgba(17, 34, 51, .30);
}
.hero--b .b-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* crop sidebar off with clip-path — show only main working area */
  clip-path: inset(0 0 0 13%);
  transform: translateX(-13%) scale(1.15);
  transform-origin: left center;
}
.hero--b .b-frame-inner {
  overflow: hidden;
  aspect-ratio: 2.6/1;
}

/* =========================================================
   VARIANT C — Modular Grid (6-tile mosaic showing module previews)
   ========================================================= */
.hero--c {
  padding: 80px 0 100px;
  position: relative;
}
.hero--c .container { max-width: 1280px; }
.hero--c .c-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.hero--c .c-left { text-align: left; }
.hero--c h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero--c .hero__lead {
  margin: 0 0 28px 0;
  max-width: 480px;
  font-size: 1.08rem;
}
.hero--c .hero__ctas { justify-content: flex-start; margin-bottom: 22px; }
.hero--c .hero__trust { justify-content: flex-start; gap: 18px; }

.hero--c .c-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}
.hero--c .c-mosaic::before {
  content: '';
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(45% 50% at 80% 15%, rgba(61, 107, 133, .18), transparent 72%),
    radial-gradient(50% 55% at 20% 85%, rgba(139, 58, 79, .14), transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero--c .c-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(17, 34, 51, .05);
  padding: 14px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  min-height: 170px;
  display: flex;
  flex-direction: column;
}
.hero--c .c-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(17, 34, 51, .12); }
.hero--c .c-tile--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--brand-gradient) border-box;
  box-shadow: 0 8px 24px rgba(61, 107, 133, .18);
}
.hero--c .c-tile__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.hero--c .c-tile__icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(26, 77, 110, .08);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero--c .c-tile--featured .c-tile__icon { background: var(--brand-gradient); color: #fff; }
.hero--c .c-tile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero--c .c-tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}
.hero--c .c-tile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 7px;
  background: var(--bg);
  border-radius: 6px;
}
.hero--c .c-tile__row-name { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero--c .c-tile__row-val { font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.7rem; flex-shrink: 0; }
.hero--c .c-tile__chip {
  display: inline-flex;
  padding: 1px 6px;
  font-size: 0.6rem;
  border-radius: 8px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero--c .c-tile__chip--ok { background: rgba(12, 123, 92, .14); color: var(--success); }
.hero--c .c-tile__chip--wr { background: rgba(179, 116, 0, .14); color: var(--warning); }
.hero--c .c-tile__chip--pr { background: rgba(26, 77, 110, .12); color: var(--primary); }

.hero--c .c-pipeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.hero--c .c-pipeline-col {
  background: var(--bg);
  border-radius: 5px;
  padding: 4px;
  display: flex; flex-direction: column; gap: 3px;
}
.hero--c .c-pipeline-col-head {
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-align: center;
  padding: 2px 0;
}
.hero--c .c-pipeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  height: 12px;
}
.hero--c .c-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  flex: 1;
}
.hero--c .c-cal-d {
  aspect-ratio: 1;
  border-radius: 3px;
  display: grid; place-items: center;
  font-size: 0.58rem;
  color: var(--text-muted);
  background: var(--bg);
}
.hero--c .c-cal-d.today { background: var(--brand-gradient); color: #fff; font-weight: 700; }
.hero--c .c-cal-d.mark { background: rgba(26, 77, 110, .1); color: var(--primary); }
.hero--c .c-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 54px;
}
.hero--c .c-bars > i {
  display: block;
  flex: 1;
  background: linear-gradient(to top, var(--primary), rgba(61, 107, 133, .3));
  border-radius: 2px 2px 0 0;
}
.hero--c .c-bars > i:nth-child(6) { background: var(--brand-gradient); }
.hero--c .c-stat {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .hero--a .a-grid,
  .hero--c .c-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero--a .a-visual__frame { transform: none; }
  .hero--a .a-float--tl { left: 2%; }
  .hero--a .a-float--br { right: 2%; }
}
