/* ===========================================================
   SOLUTIONS.CSS — Shared styles for solution & resource pages
   Used by: scrummaster.php, individualcontributor.php, FAQ.php
   =========================================================== */

:root {
  --lnd-purple: #614b9e;
  --lnd-purple-deep: #4a3a7d;
  --lnd-blue: #2a91cf;
  --lnd-teal: #00abb1;
  --lnd-cyan: #10a9e2;
  --lnd-ink: #0b0d12;
  --lnd-ink-80: #1e2128;
  --lnd-ink-60: #444851;
  --lnd-ink-40: #6b7280;
  --lnd-ink-20: #a7acb7;
  --lnd-line: #e5e7ec;
  --lnd-line-soft: #eef0f4;
  --lnd-bg: #ffffff;
  --lnd-bg-soft: #f7f8fa;
  --lnd-accent-soft: #ece8f5;
  --lnd-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --lnd-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --lnd-r-lg: 18px;
  --lnd-gradient: linear-gradient(135deg, var(--lnd-purple) 0%, var(--lnd-blue) 55%, var(--lnd-teal) 100%);
}

/* ── BASE ── */
.sol-page {
  font-family: var(--lnd-sans);
  color: var(--lnd-ink);
  background: var(--lnd-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.sol-page *, .sol-page *::before, .sol-page *::after { box-sizing: border-box; }
.sol-page * { margin: 0; padding: 0; }
.sol-page a { color: inherit; text-decoration: none; }
.sol-page img { max-width: 100%; display: block; }

/* ── CONTAINER ── */
.sol-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── REVEAL ── */
.sol-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sol-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── EYEBROW ── */
.sol-eyebrow {
  display: inline-block;
  font-family: var(--lnd-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lnd-purple);
  margin-bottom: 14px;
}

/* ── BUTTONS ── */
.sol-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--lnd-sans);
  font-size: 15px;
  font-weight: 500;
  background: var(--lnd-gradient);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: white !important;
  box-shadow: 0 12px 28px -12px rgba(97,75,158,0.5);
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s, background-position .25s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.sol-btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 50%;
  color: white !important;
  box-shadow: 0 18px 36px -14px rgba(97,75,158,0.6);
}

.sol-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--lnd-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--lnd-ink);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.12);
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s, color .25s;
  white-space: nowrap;
  cursor: pointer;
}
.sol-btn-ghost:hover {
  transform: translateY(-1px);
  color: var(--lnd-purple);
  box-shadow: inset 0 0 0 1px rgba(97,75,158,0.28);
}

/* ── HERO ── */
.sol-hero {
  position: relative;
  padding: 180px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 65% 55% at 50% 30%, rgba(97,75,158,0.13), transparent 60%),
    radial-gradient(ellipse 50% 55% at 88% 10%, rgba(42,145,207,0.12), transparent 65%),
    radial-gradient(ellipse 45% 50% at 8% 85%, rgba(0,171,177,0.10), transparent 65%),
    linear-gradient(180deg, #f7f3fc 0%, #fbfaff 40%, #ffffff 100%);
}
.sol-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(97,75,158,0.22), transparent 65%);
  filter: blur(70px);
  border-radius: 50%;
  animation: sol-aurora-1 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.sol-hero::after {
  content: '';
  position: absolute;
  top: 20%; right: -140px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(0,171,177,0.18), transparent 65%);
  filter: blur(80px);
  border-radius: 50%;
  animation: sol-aurora-2 13s ease-in-out infinite;
  animation-delay: -3s;
  pointer-events: none;
  z-index: 0;
}
@keyframes sol-aurora-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(120px,70px) scale(1.1); }
  66%      { transform: translate(-50px,140px) scale(0.95); }
}
@keyframes sol-aurora-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-100px,-70px) scale(1.15); }
  66%      { transform: translate(70px,-120px) scale(0.92); }
}

.sol-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

/* Single column hero variant (FAQ) */
.sol-hero-inner.sol-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.sol-hero-inner.sol-centered .sol-hero-actions {
  justify-content: center;
}
.sol-hero-inner.sol-centered .sol-hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.sol-hero-title {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--lnd-ink);
  margin-bottom: 20px;
}
.sol-gradient-text {
  background: linear-gradient(135deg, var(--lnd-purple) 0%, var(--lnd-blue) 50%, var(--lnd-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sol-hero-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--lnd-ink-60);
  margin-bottom: 34px;
  max-width: 480px;
}
.sol-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Storylane embed frame */
.sol-hero-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.10),
    0 12px 36px -12px rgba(15,23,42,0.18);
}
.sol-hero-frame .sl-embed {
  position: relative;
  padding-bottom: calc(54.68% + 25px);
  width: 100%;
  height: 0;
}
.sol-hero-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}

/* ── SECTION HEAD ── */
.sol-section { padding: 80px 0; }
.sol-section--soft { background: var(--lnd-bg-soft); }
.sol-section--white { background: var(--lnd-bg); }

.sol-section-head { margin-bottom: 48px; }
.sol-section-title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--lnd-ink);
  margin-bottom: 14px;
  max-width: 680px;
}
.sol-section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--lnd-ink-60);
  max-width: 640px;
}

/* ── CARDS GRID ── */
.sol-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sol-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--lnd-r-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.22,1,0.36,1), box-shadow .3s;
}
.sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(97,75,158,0.18) 0%,
    rgba(42,145,207,0.10) 50%,
    rgba(0,171,177,0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(97,75,158,0.14);
}
.sol-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lnd-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.sol-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--lnd-purple);
  stroke-width: 1.8;
}
.sol-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--lnd-ink);
  margin-bottom: 10px;
}
.sol-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--lnd-ink-60);
}

/* ── SPLIT LAYOUT ── */
.sol-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── GRADIENT PANEL ── */
.sol-gradient-panel {
  background: linear-gradient(135deg, rgba(97,75,158,0.07), rgba(42,145,207,0.07));
  border: 1px solid rgba(97,75,158,0.12);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.sol-gradient-panel::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(97,75,158,0.12);
  top: -80px; right: -80px;
  filter: blur(50px);
  pointer-events: none;
}
.sol-gradient-panel-title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--lnd-ink);
  margin-bottom: 16px;
}
.sol-gradient-panel-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lnd-ink-60);
  margin-bottom: 28px;
}

/* ── USER TILES ── */
.sol-user-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sol-user-tile {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  padding: 20px;
}
.sol-user-tile-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  background: var(--lnd-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sol-user-tile-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--lnd-ink-60);
}

/* ── TIMELINE ── */
.sol-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.sol-timeline-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--lnd-bg-soft);
  border: 1px solid var(--lnd-line);
  border-radius: 16px;
  padding: 22px;
}
.sol-timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lnd-gradient);
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sol-timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--lnd-ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.sol-timeline-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lnd-ink-60);
}

/* ── CTA SPLIT (solutions pages) ── */
.sol-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sol-cta-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(42,145,207,0.10);
}
.sol-cta-panel {
  background: linear-gradient(135deg, rgba(42,145,207,0.10), rgba(97,75,158,0.12));
  border: 1px solid rgba(97,75,158,0.12);
  border-radius: 28px;
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
}
.sol-cta-panel::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(42,145,207,0.14);
  top: -100px; right: -80px;
  filter: blur(50px);
  pointer-events: none;
}
.sol-cta-panel-inner { position: relative; z-index: 1; }
.sol-cta-title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--lnd-ink);
  margin-bottom: 20px;
}
.sol-cta-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--lnd-ink-60);
  margin-bottom: 14px;
}
.sol-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── CTA BANNER (FAQ) ── */
.sol-cta-banner {
  background: var(--lnd-gradient);
  border-radius: 28px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sol-cta-banner::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  top: -160px; left: -160px;
  pointer-events: none;
}
.sol-cta-banner::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  bottom: -100px; right: -100px;
  pointer-events: none;
}
.sol-cta-banner-inner { position: relative; z-index: 1; }
.sol-cta-banner-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}
.sol-cta-banner-sub {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 32px;
}
.sol-cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.sol-cta-banner-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--lnd-sans);
  font-size: 15px;
  font-weight: 500;
  background: #ffffff;
  color: var(--lnd-purple) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s;
  white-space: nowrap;
}
.sol-cta-banner-btn-primary:hover {
  transform: translateY(-1px);
  color: var(--lnd-purple) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
.sol-cta-banner-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--lnd-sans);
  font-size: 15px;
  font-weight: 500;
  color: white !important;
  background: rgba(255,255,255,0.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  transition: transform .25s, background .25s;
  white-space: nowrap;
}
.sol-cta-banner-btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.25);
  color: white !important;
}

/* ── IMPACT ORG BANNER (solutions pages) ── */
.sol-impact-banner {
  background: var(--lnd-gradient);
  border-radius: 28px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sol-impact-banner::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  top: -160px; left: -160px;
  pointer-events: none;
}
.sol-impact-banner::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  bottom: -100px; right: -100px;
  pointer-events: none;
}
.sol-impact-inner { position: relative; z-index: 1; }
.sol-impact-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}
.sol-impact-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  max-width: 860px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sol-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .sol-hero-title { text-align: center; }
  .sol-hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .sol-hero-actions { justify-content: center; }
  .sol-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-split { grid-template-columns: 1fr; gap: 40px; }
  .sol-cta-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .sol-hero { padding: 140px 0 64px; }
  .sol-container { padding: 0 20px; }
  .sol-cards-grid { grid-template-columns: 1fr; }
  .sol-user-tiles { grid-template-columns: 1fr; }
  .sol-cta-panel { padding: 36px 24px; }
  .sol-impact-banner, .sol-cta-banner { padding: 48px 28px; }
  .sol-section { padding: 56px 0; }
}