:root {
  --bg: #05040a;
  --bg-soft: #0b0814;
  --panel: rgba(18, 14, 31, 0.78);
  --panel-strong: rgba(26, 19, 46, 0.92);
  --text: #ffffff;
  --muted: #b9b0cf;
  --soft: #7f7694;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #9b5cff;
  --violet-2: #6d5dfc;
  --cyan: #57e3ff;
  --mint: #53f4b5;
  --rose: #ff70c8;
  --amber: #ffd166;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(155, 92, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 78% 3%, rgba(87, 227, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 70% 78%, rgba(255, 112, 200, 0.12), transparent 30rem),
    var(--bg);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1680px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 7, 18, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, var(--cyan), transparent 48%),
    linear-gradient(315deg, var(--rose), var(--violet));
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.54);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
}

.nav-cta,
.button.primary {
  border: 0;
  background: linear-gradient(135deg, var(--violet), var(--violet-2) 48%, var(--cyan));
  box-shadow: 0 18px 48px rgba(109, 93, 252, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.section {
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 58px;
  padding-bottom: 72px;
}

.hero-actions:has(.button:only-child) .button {
  min-width: min(375px, 100%);
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.25vw, 62px);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  text-wrap: balance;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
}

.hero-copy p {
  max-width: 700px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  perspective: 1200px;
}

.dashboard-stage {
  position: relative;
  min-height: 620px;
  transform: rotateX(8deg) rotateY(-8deg);
  transform-style: preserve-3d;
}

.hero-product-image {
  position: absolute;
  inset: 40px -30px auto auto;
  z-index: 2;
  width: min(100%, 660px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  opacity: 0.95;
  filter: saturate(1.15) contrast(1.08);
  box-shadow: 0 34px 110px rgba(109, 93, 252, 0.36);
}

.ticker {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.ticker span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  animation: drift 9s linear infinite;
}

.main-dashboard,
.showcase-panel,
.compare,
.comparison,
.mockup-card,
.quote-card,
.price-card,
.step-card,
.outcome-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.main-dashboard {
  position: relative;
  z-index: 3;
  width: min(84%, 560px);
  min-height: 420px;
  margin-top: 250px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(18, 14, 31, 0.76), rgba(255, 255, 255, 0.045));
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.window-bar strong {
  margin-left: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi-card,
.chart-card,
.donut-card,
.mini-table,
.preview-board {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 6, 14, 0.74);
}

.kpi-card,
.donut-card,
.mini-table {
  padding: 18px;
}

.kpi-card {
  grid-column: span 2;
}

small {
  color: var(--soft);
  font-weight: 700;
}

.kpi-card strong,
.float-card strong,
.outcome-grid strong,
.price-card strong {
  display: block;
  margin: 7px 0;
  color: var(--text);
  font-size: 34px;
}

.positive {
  color: var(--mint);
  font-weight: 800;
}

.wide {
  grid-column: span 4;
}

.card-top,
.preview-header {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px 0;
  font-weight: 800;
}

.line-chart,
.preview-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 136px;
  padding: 20px 18px;
}

.line-chart i,
.preview-chart span {
  flex: 1;
  height: var(--h);
  min-height: 18px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(to top, var(--violet), var(--cyan));
  animation: grow 1.6s ease both;
}

.profit-line-chart {
  display: block;
  height: 180px;
  padding: 10px 18px 18px;
}

.profit-line-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.profit-line-chart polyline {
  fill: none;
  stroke: url("#heroProfitGlow");
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(87, 227, 255, 0.38));
}

.profit-line-chart .line-fill {
  fill: rgba(155, 92, 255, 0.18);
}

.profit-line-chart circle {
  fill: #080712;
  stroke: #57e3ff;
  stroke-width: 4;
}

.donut-card {
  grid-column: span 2;
  display: flex;
  gap: 16px;
  align-items: center;
}

.donut {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 36%, var(--violet) 36% 68%, var(--rose) 68% 84%, rgba(255, 255, 255, 0.15) 84%);
  position: relative;
}

.donut::after {
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  background: #090712;
  content: "";
}

.mini-table {
  grid-column: span 2;
  display: grid;
  gap: 12px;
}

.mini-table span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.float-card {
  position: absolute;
  z-index: 3;
  width: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 9, 22, 0.88);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.float-card.finance {
  right: -8px;
  top: 112px;
}

.float-card.sales {
  left: -24px;
  bottom: 54px;
  animation-delay: -1.8s;
}

.float-card span {
  color: var(--muted);
  font-size: 13px;
}

.data-flow {
  position: absolute;
  inset: 108px 0 auto 8%;
  z-index: 4;
  width: 76%;
  height: 240px;
  pointer-events: none;
}

.data-flow span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 227, 255, 0.9), transparent);
  opacity: 0.7;
  transform: rotate(var(--r));
  animation: pulse-line 3.5s ease-in-out infinite;
}

.data-flow span:nth-child(1) {
  top: 28px;
  --r: 13deg;
}

.data-flow span:nth-child(2) {
  top: 118px;
  --r: -8deg;
  animation-delay: -1.4s;
}

.data-flow span:nth-child(3) {
  top: 190px;
  --r: 5deg;
  animation-delay: -2.1s;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.source-grid,
.steps,
.pricing-grid,
.outcome-grid,
.testimonials,
.chaos-grid,
.gain-grid,
.audience-grid,
.deliverable-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.chaos-grid {
  grid-template-columns: repeat(4, 1fr);
}

.chaos .section-heading {
  max-width: 1120px;
}

.tilt-card,
.gain-card,
.audience-grid span,
.deliverable-grid article,
.gallery-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
}

.tilt-card:hover,
.gallery-card:hover {
  --lift: -6px;
  border-color: rgba(87, 227, 255, 0.42);
  box-shadow: 0 28px 80px rgba(87, 227, 255, 0.11);
}

.chaos-grid article,
.gain-card,
.audience-grid span,
.deliverable-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.chaos-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.gain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gain-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  color: var(--text);
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 800;
  white-space: nowrap;
  background:
    linear-gradient(145deg, rgba(155, 92, 255, 0.16), rgba(87, 227, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
}

.source-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.source-grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.source-grid span:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 227, 255, 0.4);
  background: rgba(87, 227, 255, 0.08);
}

.library-callout {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.library-callout h3,
.library-callout p {
  margin-bottom: 0;
}

.library-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(87, 227, 255, 0.38);
  border-radius: 999px;
  color: var(--text);
  background: rgba(87, 227, 255, 0.1);
  font-weight: 800;
  white-space: nowrap;
}

.library-link::after {
  content: "→";
  margin-left: 10px;
}

.audience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.audience-grid span,
.deliverable-grid article {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.steps,
.pricing-grid,
.testimonials {
  grid-template-columns: repeat(3, 1fr);
}

.step-card,
.price-card {
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius);
}

.step-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 15px;
  background: rgba(155, 92, 255, 0.18);
  color: var(--cyan);
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  border-color: rgba(87, 227, 255, 0.5);
  background: rgba(87, 227, 255, 0.12);
  color: var(--text);
}

.showcase-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  min-height: 430px;
  padding: 28px;
  border-radius: 34px;
}

.showcase-panel h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.preview-board {
  min-height: 340px;
  padding-bottom: 18px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 18px;
}

.preview-metrics article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.preview-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 34px;
}

.spreadsheet,
.clarity-card {
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(5, 4, 10, 0.7);
}

.sheet-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.7fr;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.sheet-grid span {
  min-height: 52px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.sheet-grid span:nth-child(-n + 4) {
  color: var(--text);
  font-weight: 800;
}

.warn {
  color: var(--amber) !important;
}

.clarity-rings {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 38px 0;
}

.donut.large {
  width: 150px;
  height: 150px;
}

.clarity-rings strong {
  display: block;
  margin: 8px 0;
  font-size: 46px;
}

.clarity-rings span {
  color: var(--mint);
  font-weight: 800;
}

.clarity-bars {
  display: grid;
  gap: 16px;
}

.clarity-bars i {
  width: var(--w);
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.messy-stack {
  position: relative;
  min-height: 300px;
  margin-top: 20px;
}

.messy-sheet {
  position: absolute;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 8, 18, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.messy-sheet span {
  min-height: 46px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.sheet-a {
  inset: 0 8% auto 0;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.7fr;
  transform: rotate(-1.5deg);
}

.sheet-b {
  right: 0;
  bottom: 18px;
  width: 58%;
  grid-template-columns: 0.8fr 1fr 0.7fr;
  transform: rotate(2.2deg);
}

.messy-note {
  position: absolute;
  left: 24px;
  bottom: 28px;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 18px;
  background: rgba(255, 209, 102, 0.1);
  color: var(--amber);
  font-weight: 800;
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.exec-kpi,
.exec-chart,
.exec-table {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.exec-kpi strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 30px;
}

.exec-kpi span {
  color: var(--mint);
  font-weight: 800;
}

.wide-card {
  grid-column: span 2;
}

.spark-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 86px;
  margin-top: 10px;
}

.spark-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(to top, var(--violet), var(--cyan));
}

.revenue-card {
  align-items: stretch;
}

.exec-line-chart {
  width: 100%;
  height: 150px;
  margin-top: 4px;
}

.exec-line-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.exec-line-chart polyline {
  fill: none;
  stroke: url("#revenueGlow");
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(87, 227, 255, 0.36));
}

.exec-line-chart .line-fill {
  fill: rgba(155, 92, 255, 0.16);
}

.exec-line-chart circle {
  fill: #0d1020;
  stroke: #57e3ff;
  stroke-width: 4;
}

.exec-chart {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
}

.exec-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.exec-table b {
  color: var(--text);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
}

.compare-col {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.compare-col span {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.featured {
  background: linear-gradient(145deg, rgba(155, 92, 255, 0.22), rgba(87, 227, 255, 0.08));
}

.featured span {
  color: var(--text);
}

.outcome-grid {
  grid-template-columns: repeat(4, 1fr);
}

.outcome-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-radius: var(--radius);
  text-align: center;
}

.outcome-grid span,
.price-card span,
.quote-card span {
  color: var(--muted);
  line-height: 1.5;
}

.price-card.highlight {
  border-color: rgba(87, 227, 255, 0.45);
  background: linear-gradient(145deg, rgba(87, 227, 255, 0.16), rgba(155, 92, 255, 0.16));
}

.deliverable-grid {
  grid-template-columns: repeat(4, 1fr);
}

.testimonials {
  grid-template-columns: 1fr 1fr;
}

.testimonials .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 12px;
}

.quote-card {
  padding: 34px;
  border-radius: var(--radius);
}

.quote-card p {
  color: var(--text);
  font-size: 24px;
  line-height: 1.45;
}

.mockup-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding: 36px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.22), rgba(87, 227, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.upload-widget {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(5, 4, 10, 0.62);
}

.upload-widget label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.upload-widget input,
.upload-widget select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.upload-widget select option {
  color: #090712;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.library-hero {
  min-height: auto;
  padding-top: 96px;
  padding-bottom: 54px;
}

.library-hero .hero-copy {
  max-width: 900px;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.gallery-thumb {
  min-height: 230px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(87, 227, 255, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(155, 92, 255, 0.2), rgba(5, 4, 10, 0.86));
}

.thumb-window {
  height: 194px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 4, 10, 0.74);
}

.thumb-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.thumb-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.thumb-metrics span {
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.thumb-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 82px;
}

.thumb-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(to top, var(--violet), var(--cyan));
}

.gallery-card-body {
  padding: 22px;
}

.gallery-card-body h3 {
  font-size: 23px;
}

.gallery-card-body p {
  margin-bottom: 0;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-88px);
  }
}

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

@keyframes grow {
  from {
    transform: scaleY(0.15);
    transform-origin: bottom;
  }
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.05;
    transform: rotate(var(--r)) translateX(-18px);
  }
  45% {
    opacity: 0.85;
  }
  55% {
    transform: rotate(var(--r)) translateX(22px);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .showcase-panel,
  .compare,
  .comparison,
  .mockup-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-stage {
    min-height: 570px;
    transform: none;
  }

  .hero-product-image {
    inset: 42px 0 auto auto;
  }

  .source-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps,
  .pricing-grid,
  .outcome-grid,
  .chaos-grid,
  .gain-grid,
  .audience-grid,
  .deliverable-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav {
    top: 8px;
    width: min(100% - 20px, 1180px);
  }

  .nav-cta {
    display: none;
  }

  .section {
    width: min(100% - 24px, 1680px);
    padding: 40px 0;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy p,
  p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard-stage {
    min-height: auto;
  }

  .hero-product-image {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 14px;
    opacity: 1;
  }

  .main-dashboard {
    width: 100%;
    margin-top: 0;
  }

  .data-flow {
    display: none;
  }

  .float-card {
    display: none;
  }

  .dashboard-grid,
  .preview-metrics,
  .source-grid,
  .steps,
  .pricing-grid,
  .outcome-grid,
  .testimonials,
  .chaos-grid,
  .gain-grid,
  .audience-grid,
  .deliverable-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .library-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .kpi-card,
  .wide,
  .donut-card,
  .mini-table {
    grid-column: span 1;
  }

  .main-dashboard,
  .showcase-panel,
  .compare,
  .comparison,
  .mockup-card {
    padding: 14px;
    border-radius: 28px;
  }

  .line-chart,
  .preview-chart {
    height: 135px;
  }

  .sheet-grid span,
  .messy-sheet span {
    padding: 10px;
    font-size: 11px;
  }

  .clarity-rings {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}


.dashboard-page .section {
  width: min(1380px, calc(100% - 32px));
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 24px;
  align-items: end;
  padding-top: 86px;
  padding-bottom: 28px;
}

.dashboard-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(52px, 6vw, 88px);
}

.dashboard-status-card,
.dashboard-controls,
.dashboard-kpis article,
.dashboard-panel,
.dashboard-table-section {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.dashboard-status-card {
  min-height: 190px;
  padding: 26px;
  border-radius: var(--radius);
}

.dashboard-status-card strong {
  display: block;
  margin: 12px 0;
  font-size: 28px;
}

.dashboard-status-card span {
  color: var(--mint);
  font-weight: 800;
}

.dashboard-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  padding: 18px;
  border-radius: 26px;
}

.dashboard-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-controls select {
  min-height: 48px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(5, 4, 10, 0.72);
  outline: none;
}

.dashboard-controls option {
  color: #090712;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.dashboard-kpis article {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius);
}

.dashboard-kpis strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(32px, 3vw, 48px);
}

.dashboard-kpis span {
  color: var(--mint);
  font-weight: 800;
}

.dashboard-canvas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 26px;
}

.dashboard-panel,
.dashboard-table-section {
  overflow: hidden;
  padding: 22px;
  border-radius: 32px;
}

.wide-panel {
  grid-column: span 2;
}

.panel-heading {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 2.8vw, 42px);
}

.panel-heading.compact h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.panel-pill {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 4, 10, 0.72);
}

.dashboard-table-section {
  margin-top: 0;
}

.table-shell {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 4, 10, 0.72);
}

.metric-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

.metric-table th,
.metric-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.metric-table th:first-child,
.metric-table td:first-child {
  color: var(--text);
  font-weight: 800;
  text-align: left;
}

.metric-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--text);
  background: rgba(14, 11, 26, 0.96);
  font-size: 12px;
  text-transform: uppercase;
}

.metric-table tbody tr:hover td {
  background: rgba(87, 227, 255, 0.055);
  color: var(--text);
}

.gallery-card.featured-dashboard {
  border-color: rgba(87, 227, 255, 0.5);
  background: linear-gradient(145deg, rgba(87, 227, 255, 0.12), rgba(155, 92, 255, 0.1));
}

.gallery-card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 980px) {
  .dashboard-hero,
  .dashboard-controls,
  .dashboard-canvas-grid {
    grid-template-columns: 1fr;
  }

  .wide-panel {
    grid-column: span 1;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .dashboard-hero h1 {
    font-size: 46px;
  }

  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .panel-heading {
    flex-direction: column;
  }
}


/* Hero-image inspired Marketing Summary dashboard */
.dashboard-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(34, 71, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 24% 82%, rgba(117, 66, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgba(87, 227, 255, 0.1), transparent 28rem),
    #02030a;
}

.dashboard-page::before {
  opacity: 0.74;
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.7), transparent 92%);
}

.dashboard-nav {
  width: min(1520px, calc(100% - 32px));
  background: rgba(4, 5, 17, 0.7);
  border-color: rgba(89, 115, 255, 0.28);
}

.marketing-dashboard-main {
  padding: 34px 0 70px;
}

.sample-dashboard-frame {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0;
  width: min(1520px, calc(100% - 32px));
  margin: 42px auto 24px;
  padding: 0;
  border: 1px solid rgba(89, 115, 255, 0.36);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(10, 16, 44, 0.84), rgba(5, 5, 18, 0.94)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 38px 140px rgba(26, 22, 94, 0.55), inset 0 0 80px rgba(65, 74, 255, 0.08);
  overflow: hidden;
}

.sample-dashboard-frame::before {
  content: "";
  position: absolute;
  inset: -20% -8% auto 15%;
  height: 40%;
  background: radial-gradient(circle, rgba(83, 244, 181, 0.11), transparent 36rem);
  pointer-events: none;
}

.dashboard-rail {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  min-height: 900px;
  padding: 28px 16px;
  border-right: 1px solid rgba(89, 115, 255, 0.22);
  background: linear-gradient(to bottom, rgba(12, 18, 48, 0.96), rgba(7, 8, 23, 0.9));
}

.rail-logo,
.rail-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(127, 142, 255, 0.25);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 22px rgba(87, 227, 255, 0.03);
}

.rail-logo {
  background: linear-gradient(135deg, rgba(87, 227, 255, 0.88), rgba(155, 92, 255, 0.9));
  box-shadow: 0 0 34px rgba(87, 227, 255, 0.28);
}

.rail-icon {
  position: relative;
}

.rail-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(185, 176, 207, 0.64);
  border-radius: 7px;
}

.rail-icon.active {
  background: rgba(117, 66, 255, 0.24);
  box-shadow: 0 0 34px rgba(155, 92, 255, 0.32);
}

.rail-icon.active::after {
  border-color: var(--cyan);
}

.rail-icon.bottom {
  margin-top: auto;
  border-radius: 50%;
}

.dashboard-product-screen {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 34px;
}

.dashboard-glow-line {
  position: absolute;
  left: -7%;
  right: -8%;
  top: 47%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(87, 227, 255, 0.72), transparent);
  transform: rotate(-8deg);
  opacity: 0.75;
  pointer-events: none;
}

.product-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.product-topbar h1 {
  max-width: none;
  margin: 8px 0 8px;
  font-size: clamp(44px, 4.5vw, 74px);
  letter-spacing: 0;
}

.product-topbar p {
  max-width: 850px;
  margin-bottom: 0;
  color: rgba(221, 216, 241, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.compact-status {
  min-height: 132px;
  padding: 20px;
  border-radius: 26px;
  border-color: rgba(89, 115, 255, 0.28);
  background: rgba(7, 10, 30, 0.72);
  box-shadow: inset 0 0 28px rgba(87, 227, 255, 0.05), 0 20px 70px rgba(0, 0, 0, 0.26);
}

.compact-status strong {
  font-size: 20px;
}

.product-controls {
  width: 100%;
  margin: 0 0 18px;
  padding: 12px;
  border-color: rgba(89, 115, 255, 0.22);
  border-radius: 20px;
  background: rgba(3, 5, 18, 0.62);
  box-shadow: none;
}

.product-controls label {
  font-size: 10px;
  color: rgba(185, 176, 207, 0.68);
}

.product-controls select {
  min-height: 40px;
  border-radius: 13px;
  border-color: rgba(89, 115, 255, 0.24);
  background: rgba(12, 16, 42, 0.86);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.product-kpis {
  width: 100%;
  margin: 0;
  padding: 0 0 18px;
  gap: 12px;
}

.product-kpis article {
  min-height: 126px;
  padding: 18px;
  border-radius: 18px;
  border-color: rgba(89, 115, 255, 0.24);
  background: rgba(8, 12, 34, 0.78);
  box-shadow: inset 0 0 26px rgba(89, 115, 255, 0.04), 0 20px 70px rgba(0, 0, 0, 0.18);
}

.product-kpis strong {
  margin: 8px 0;
  font-size: clamp(26px, 2.5vw, 38px);
}

.product-kpis span {
  color: var(--mint);
  font-size: 12px;
}

.dashboard-product-grid {
  position: relative;
  display: grid;
  grid-template-columns: 290px minmax(0, 1.5fr) minmax(320px, 0.82fr);
  grid-template-areas:
    "mini trend channel"
    "mini trend efficiency";
  gap: 14px;
  align-items: stretch;
}

.mini-dashboard-stack {
  grid-area: mini;
  display: grid;
  gap: 14px;
}

.mini-insight-card,
.hero-panel,
.channel-panel,
.efficiency-panel,
.floating-roas-card,
.product-table {
  border: 1px solid rgba(89, 115, 255, 0.26);
  background: rgba(5, 8, 28, 0.74);
  box-shadow: inset 0 0 34px rgba(87, 227, 255, 0.035), 0 30px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.mini-insight-card {
  min-height: 250px;
  padding: 20px;
  border-radius: 24px;
}

.mini-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.mini-card-head h3 {
  margin: 0;
  font-size: 17px;
}

.mini-card-head span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(185, 176, 207, 0.42);
}

.mini-insight-card strong {
  display: block;
  margin: 8px 0 24px;
  font-size: 28px;
}

.mini-spark {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 92px;
}

.mini-spark i {
  flex: 1;
  height: calc(26% + var(--spark, 20%));
  border-radius: 999px 999px 7px 7px;
  background: linear-gradient(to top, rgba(54, 94, 255, 0.7), rgba(155, 92, 255, 0.95));
}

.mini-spark i:nth-child(1) { --spark: 10%; }
.mini-spark i:nth-child(2) { --spark: 22%; }
.mini-spark i:nth-child(3) { --spark: 14%; }
.mini-spark i:nth-child(4) { --spark: 42%; }
.mini-spark i:nth-child(5) { --spark: 36%; }
.mini-spark i:nth-child(6) { --spark: 54%; }
.mini-spark.reverse i:nth-child(1) { --spark: 48%; }
.mini-spark.reverse i:nth-child(2) { --spark: 30%; }
.mini-spark.reverse i:nth-child(3) { --spark: 52%; }
.mini-spark.reverse i:nth-child(4) { --spark: 20%; }
.mini-spark.reverse i:nth-child(5) { --spark: 38%; }
.mini-spark.reverse i:nth-child(6) { --spark: 44%; }

.trend-panel {
  grid-area: trend;
}

.channel-panel {
  grid-area: channel;
}

.efficiency-panel {
  grid-area: efficiency;
}

.dashboard-product-grid .dashboard-panel {
  padding: 18px;
  border-radius: 24px;
}

.dashboard-product-grid .panel-heading {
  margin-bottom: 10px;
}

.dashboard-product-grid .panel-heading h2 {
  font-size: 21px;
}

.dashboard-product-grid .eyebrow {
  font-size: 10px;
}

.dashboard-product-grid canvas {
  border-radius: 18px;
  border-color: rgba(89, 115, 255, 0.22);
  background: rgba(3, 5, 18, 0.86);
}

.floating-roas-card {
  position: absolute;
  right: -22px;
  top: 34%;
  z-index: 5;
  width: 220px;
  min-height: 210px;
  padding: 26px;
  border-radius: 38px;
  background: rgba(17, 12, 28, 0.86);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5), inset 0 0 44px rgba(255, 112, 200, 0.05);
}

.floating-roas-card strong {
  display: block;
  margin: 18px 0 6px;
  font-size: 52px;
}

.floating-roas-card span {
  color: rgba(221, 216, 241, 0.68);
  font-weight: 700;
}

.product-table {
  width: min(1520px, calc(100% - 32px));
  margin: 18px auto 0;
  border-radius: 28px;
  background: rgba(5, 8, 28, 0.84);
}

.product-table .table-shell {
  max-height: 560px;
  border-color: rgba(89, 115, 255, 0.2);
  background: rgba(3, 5, 18, 0.86);
}

.product-table .metric-table th {
  background: rgba(9, 13, 36, 0.98);
}

.product-table .metric-table th,
.product-table .metric-table td {
  border-bottom-color: rgba(89, 115, 255, 0.12);
}

.dashboard-page .footer {
  width: min(1520px, calc(100% - 32px));
}

@media (max-width: 1180px) {
  .sample-dashboard-frame {
    grid-template-columns: 1fr;
  }

  .dashboard-rail {
    display: none;
  }

  .dashboard-product-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "trend trend"
      "mini channel"
      "mini efficiency";
  }

  .floating-roas-card {
    display: none;
  }
}

@media (max-width: 820px) {
  .product-topbar,
  .product-controls,
  .product-kpis,
  .dashboard-product-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .mini-dashboard-stack,
  .trend-panel,
  .channel-panel,
  .efficiency-panel {
    grid-area: auto;
  }

  .dashboard-product-screen {
    padding: 18px;
  }

  .sample-dashboard-frame {
    width: min(100% - 20px, 1520px);
    border-radius: 26px;
  }
}


/* Practical mockup-style Marketing Summary layout */
.marketing-summary-main {
  padding: 36px 0 72px;
}

.marketing-board {
  width: min(1480px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid rgba(89, 115, 255, 0.3);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 8%, rgba(87, 227, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 82% 18%, rgba(155, 92, 255, 0.16), transparent 30rem),
    linear-gradient(145deg, rgba(8, 13, 38, 0.94), rgba(4, 5, 18, 0.98));
  box-shadow: 0 38px 140px rgba(0, 0, 0, 0.52), inset 0 0 90px rgba(89, 115, 255, 0.06);
}

.board-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.board-header h1 {
  max-width: none;
  margin: 8px 0 10px;
  font-size: clamp(44px, 4.6vw, 74px);
}

.board-header p {
  max-width: 820px;
  margin: 0;
  color: rgba(221, 216, 241, 0.72);
  font-size: 16px;
}

.board-source,
.mockup-filters,
.mockup-kpis article,
.mockup-panel {
  border: 1px solid rgba(89, 115, 255, 0.24);
  background: rgba(6, 9, 28, 0.78);
  box-shadow: inset 0 0 34px rgba(87, 227, 255, 0.035), 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.board-source {
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
}

.board-source strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
}

.board-source span {
  color: var(--mint);
  font-weight: 800;
}

.mockup-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 24px;
}

.mockup-filters label,
.table-controls {
  display: grid;
  gap: 8px;
  color: rgba(221, 216, 241, 0.62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mockup-filters select,
.table-controls select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(89, 115, 255, 0.26);
  border-radius: 14px;
  color: var(--text);
  background: rgba(3, 5, 18, 0.86);
  outline: none;
}

.mockup-filters option,
.table-controls option {
  color: #090712;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.mockup-kpis article {
  min-height: 136px;
  padding: 22px;
  border-radius: 20px;
}

.mockup-kpis strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(28px, 2.8vw, 44px);
}

.mockup-kpis span {
  color: var(--mint);
  font-weight: 800;
}

.mockup-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.mockup-panel {
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
}

.mockup-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.mockup-panel-head.stacked {
  display: block;
}

.mockup-panel-head h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.2vw, 34px);
}

.chart-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(89, 115, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 5, 18, 0.72);
}

.chart-toggle button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: rgba(221, 216, 241, 0.68);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.chart-toggle button.active {
  color: white;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.95), rgba(87, 227, 255, 0.72));
  box-shadow: 0 0 24px rgba(87, 227, 255, 0.18);
}

.chart-toggle.ghost {
  pointer-events: none;
  opacity: 0.72;
}

.mockup-panel canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(89, 115, 255, 0.2);
  border-radius: 20px;
  background: rgba(3, 5, 18, 0.88);
}

.dimension-section {
  margin-bottom: 22px;
}

.table-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-controls select {
  min-width: 180px;
}

.table-controls span {
  padding: 10px 12px;
  border: 1px solid rgba(89, 115, 255, 0.24);
  border-radius: 999px;
  color: rgba(221, 216, 241, 0.72);
  background: rgba(255, 255, 255, 0.045);
  white-space: nowrap;
}

.mockup-table-shell {
  max-height: 470px;
  border-color: rgba(89, 115, 255, 0.22);
  background: rgba(3, 5, 18, 0.86);
}

.mockup-table-shell .metric-table th {
  background: rgba(9, 13, 36, 0.98);
}

.mockup-table-shell .metric-table th,
.mockup-table-shell .metric-table td {
  border-bottom-color: rgba(89, 115, 255, 0.12);
}

.mockup-bottom-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.channel-revenue-card canvas {
  max-width: 100%;
}

.mini-table-shell {
  overflow: auto;
  border: 1px solid rgba(89, 115, 255, 0.2);
  border-radius: 18px;
  background: rgba(3, 5, 18, 0.78);
}

.top-campaign-table {
  width: 100%;
  border-collapse: collapse;
}

.top-campaign-table th,
.top-campaign-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(89, 115, 255, 0.12);
  color: rgba(221, 216, 241, 0.74);
  text-align: right;
  white-space: nowrap;
}

.top-campaign-table th:first-child,
.top-campaign-table td:first-child {
  color: white;
  font-weight: 800;
  text-align: left;
}

.top-campaign-table th {
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(9, 13, 36, 0.98);
}

@media (max-width: 980px) {
  .board-header,
  .mockup-filters,
  .mockup-kpis,
  .mockup-chart-row,
  .mockup-bottom-row {
    grid-template-columns: 1fr;
  }
}


.gallery-thumb.image-thumb {
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  background: #02030a;
}

.gallery-thumb.image-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-card:hover .gallery-thumb.image-thumb img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.05);
}


.pricing-grid:has(.price-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-outcomes article {
  min-height: 220px;
}

.text-outcomes article span {
  color: var(--text);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}

.upload-widget textarea {
  width: 100%;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  resize: vertical;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

@media (max-width: 680px) {
  .pricing-grid:has(.price-card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }
}


/* Larger dashboard-library cards */
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.gallery-card > a {
  display: block;
  height: 100%;
}

.gallery-thumb.image-thumb {
  min-height: 360px;
}

.gallery-thumb.image-thumb img {
  min-height: 360px;
}

.gallery-card-body {
  padding: 32px;
}

.gallery-card-body h3 {
  font-size: clamp(30px, 3vw, 44px);
}

.gallery-card-body p {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
}

.gallery-card-link {
  font-size: 18px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumb.image-thumb,
  .gallery-thumb.image-thumb img {
    min-height: 260px;
  }
}


/* Oversized dashboard preview gallery */
.gallery-section.section {
  padding-top: 56px;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px;
}

.gallery-card {
  min-height: 760px;
}

.gallery-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-thumb.image-thumb {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-thumb.image-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.gallery-card-body {
  flex: 1;
  padding: 38px;
}

.gallery-card-body h3 {
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.04;
}

.gallery-card-body p {
  max-width: 840px;
  font-size: 22px;
  line-height: 1.55;
}

.gallery-card-link {
  margin-top: 22px;
  font-size: 20px;
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-card {
    min-height: auto;
  }
}
