:root {
  --bg: #08080a;
  --bg-elev: #0f0f13;
  --bg-card: #131318;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: #9a9aa6;
  --text-dim: #767684;
  --ember: #f26322;
  --ember-bright: #ff7a3d;
  --ember-deep: #c74310;
  --ember-border: rgba(242, 99, 34, 0.42);
  --yt-blue: #3ea6ff;
  --yt-blue-soft: rgba(62, 166, 255, 0.2);
  --yt-blue-bright: #6bc0ff;
  --green: #3ddc84;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ffffff;
}

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

button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

/* Subtle top radial lighting */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.05), transparent 36%),
    radial-gradient(circle at 50% 42%, rgba(242, 99, 34, 0.08), transparent 46%);
}

/* TOP NAVBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--ember-bright), var(--ember-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(242, 99, 34, 0.36);
  flex-shrink: 0;
}

.brand-mark.small {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav a {
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: #ffffff;
}

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

.nav-link-btn {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 10px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-link-btn:hover {
  color: #ffffff;
}

.nav-pill-btn {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(242, 99, 34, 0.24), rgba(242, 99, 34, 0.09));
  border: 1px solid var(--ember-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nav-pill-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(242, 99, 34, 0.35), rgba(242, 99, 34, 0.16));
  box-shadow: 0 8px 24px rgba(242, 99, 34, 0.28);
}

/* Mobile-only quick anchor rail */
.mobile-subnav {
  display: none;
}

/* HERO */
.hero {
  padding: 68px 0 40px;
  position: relative;
}

.hero-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #e4e4ec;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  max-width: 100%;
}

.ember-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember-bright);
  box-shadow: 0 0 12px var(--ember-bright);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.05rem);
  font-weight: 800;
  line-height: 1.07;
  background: linear-gradient(180deg, #ffffff 30%, #bdbdc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.hero-sub {
  margin: 0 auto 28px;
  max-width: 590px;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ember {
  background: linear-gradient(180deg, var(--ember-bright), var(--ember));
  color: #ffffff;
  border-color: rgba(255, 165, 118, 0.35);
  box-shadow: 0 10px 30px rgba(242, 99, 34, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ember:hover {
  box-shadow: 0 14px 36px rgba(242, 99, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.05);
  color: #f3f3f7;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.full-width {
  width: 100%;
}

.small-btn {
  padding: 10px 15px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.play-tri {
  font-size: 0.72rem;
  color: var(--ember-bright);
}

/* HERO ECLIPSE RING + STUDIO DASHBOARD PREVIEW */
.dashboard-stage {
  position: relative;
  margin-top: 56px;
  scroll-margin-top: 110px;
}

.eclipse-ring {
  position: absolute;
  left: 50%;
  top: -58px;
  transform: translateX(-50%);
  width: min(620px, 86vw);
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(242, 99, 34, 0.44) 0%, rgba(242, 99, 34, 0.16) 38%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
}

.eclipse-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 78%;
  height: 140px;
  border-radius: 50%;
  border-top: 2px solid rgba(255, 148, 92, 0.65);
  box-shadow: 0 -10px 44px rgba(242, 99, 34, 0.52);
  filter: blur(1px);
}

.dashboard-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.97), rgba(12, 12, 16, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(242, 99, 34, 0.12);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.dash-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.9rem;
}

.dash-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
  gap: 4px;
}

.dash-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.dash-tab.active {
  background: linear-gradient(180deg, var(--ember-bright), var(--ember));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(242, 99, 34, 0.36);
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.75);
  flex-shrink: 0;
}

.dash-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* YOUTUBE STUDIO REALTIME GRAPH PANEL */
.yt-studio-panel {
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px 22px 18px;
}

.yt-studio-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.yt-realtime-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yt-blue);
  margin-bottom: 6px;
}

.yt-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yt-blue);
  box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.22);
  animation: ytPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ytPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.24); }
  50% { box-shadow: 0 0 0 7px rgba(62, 166, 255, 0.05); }
}

.yt-big-metric-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.yt-big-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.95rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.05;
}

.yt-big-unit {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.yt-subnote {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 5px;
}

.yt-inspector {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(62, 166, 255, 0.26);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-insp-time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.yt-insp-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--yt-blue-bright);
}

.yt-insp-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* YouTube Studio Chart Area */
.yt-graph-shell {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: stretch;
}

.yt-y-axis {
  height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  padding: 2px 0;
}

.yt-plot-col {
  min-width: 0;
}

.yt-bars-area {
  position: relative;
  height: 176px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 6px 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 58px
  );
  touch-action: pan-y;
}

.yt-bars-area.mode-48h {
  gap: 2px;
}

.yt-bar-slot {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  position: relative;
  outline: none;
}

.yt-bar-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.12s ease;
}

.yt-bar-slot:hover::before,
.yt-bar-slot.active::before {
  background: rgba(62, 166, 255, 0.1);
}

.yt-bar-fill {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #52b3ff 0%, #2486df 100%);
  min-height: 3px;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.14s ease, background 0.18s ease;
}

.yt-bar-slot.peak .yt-bar-fill {
  background: linear-gradient(180deg, var(--ember-bright) 0%, var(--ember) 100%);
  box-shadow: 0 0 12px rgba(242, 99, 34, 0.42);
}

.yt-bar-slot.active .yt-bar-fill,
.yt-bar-slot:hover .yt-bar-fill {
  filter: brightness(1.22);
  box-shadow: 0 0 14px rgba(62, 166, 255, 0.55);
}

.yt-bar-slot.peak.active .yt-bar-fill,
.yt-bar-slot.peak:hover .yt-bar-fill {
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.72);
}

.yt-x-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* LOWER DASHBOARD GRID */
.dash-lower-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 16px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 18px;
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pill-mini {
  font-size: 0.72rem;
  font-weight: 600;
  color: #d6d6e0;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.balance-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.65rem, 3.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
}

.balance-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.up-tag {
  color: var(--green);
  font-weight: 600;
}

.dash-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.dash-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dash-action.primary {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

.dash-action:hover {
  background: rgba(242, 99, 34, 0.22);
  border-color: var(--ember-border);
}

.mini-wallets {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-wallets-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 9px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wallet-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 9px;
  min-width: 0;
}

.w-name {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-chip strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  margin-top: 3px;
  color: #ffffff;
}

/* 2x2 KPI Tiles */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi-tile {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.kpi-tile.ember-tile {
  background: linear-gradient(155deg, var(--ember-bright), #c94612);
  border-color: rgba(255, 165, 118, 0.4);
  box-shadow: 0 12px 32px rgba(242, 99, 34, 0.34);
}

.kpi-tile-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ember-tile .kpi-tile-label,
.ember-tile .kpi-tile-sub {
  color: rgba(255, 255, 255, 0.88);
}

.kpi-tile-val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
  letter-spacing: -0.03em;
}

.kpi-tile-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* CHANNEL TRUST STRIP */
.trust-strip {
  margin-top: 40px;
  text-align: center;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: #7b7b89;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

/* SHARED SECTIONS */
.section {
  padding: 68px 0;
  scroll-margin-top: 96px;
}

.section-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-bright);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-sub {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-sub.left {
  margin: 0;
  max-width: 560px;
}

.ember-text {
  color: var(--ember-bright);
}

/* DAILY VIEWS PANEL */
.views-panel {
  background: linear-gradient(180deg, rgba(20, 20, 26, 0.92), rgba(14, 14, 18, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.views-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.views-metrics-inline {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 16px 32px;
}

.m-label {
  display: block;
  font-size: 0.73rem;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.views-metrics-inline strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.seg-control {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  max-width: 100%;
}

.seg-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.seg-btn.active {
  background: linear-gradient(180deg, var(--ember-bright), var(--ember));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(242, 99, 34, 0.34);
}

.channel-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 185px 1fr 145px;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.bar-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(242, 99, 34, 0.3);
}

.bar-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f0f0f5;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.bar-rank {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 18px;
  flex-shrink: 0;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember-bright));
  box-shadow: 0 0 18px rgba(242, 99, 34, 0.4);
  transition: width 0.38s ease;
}

.bar-num {
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.bar-num span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-dim);
}

/* TOP CLIPS GRID */
.clips-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.clip-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.clip-card:hover {
  transform: translateY(-4px);
  border-color: var(--ember-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 99, 34, 0.22);
}

.clip-proof-card {
  padding: 16px 15px;
  gap: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 99, 34, 0.16), transparent 56%),
    var(--bg-card);
}

.clip-proof-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.clip-rank-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ember-bright);
  letter-spacing: 0.06em;
}

.clip-dur-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e4e4ec;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.clip-proof-views {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-top: 6px;
}

.clip-proof-sub {
  font-size: 0.73rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.clip-proof-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.clip-style-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.clip-proof-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.proof-cta {
  color: var(--ember-bright);
  font-weight: 600;
  white-space: nowrap;
}

.clip-thumb-wrap {
  position: relative;
  aspect-ratio: 9 / 13;
  background: #0d0d11;
  overflow: hidden;
}

.clip-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.clip-card:hover .clip-thumb {
  transform: scale(1.05);
}

.clip-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(8, 8, 10, 0.85) 100%);
  pointer-events: none;
}

.clip-views-badge,
.clip-dur-badge {
  position: absolute;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.71rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}

.clip-views-badge {
  top: 8px;
  left: 8px;
  background: rgba(242, 99, 34, 0.92);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(242, 99, 34, 0.45);
}

.clip-dur-badge {
  bottom: 8px;
  right: 8px;
  background: rgba(8, 8, 10, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}

.clip-meta {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
}

.clip-title {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f4f4f8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clip-channel {
  font-size: 0.73rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.clip-channel::after {
  content: "Watch";
  color: var(--ember-bright);
  font-weight: 600;
  flex-shrink: 0;
}

/* 6-CARD BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.bento-card.ember-corner {
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 99, 34, 0.28), transparent 55%),
    var(--bg-card);
  border-color: var(--ember-border);
}

.bento-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ember-corner .bento-icon {
  background: rgba(242, 99, 34, 0.18);
  border-color: rgba(242, 99, 34, 0.45);
  color: var(--ember-bright);
}

.bento-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.bento-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* PRICING / PACKAGES */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}

.plan-card.featured-plan {
  background:
    radial-gradient(ellipse at 50% -15%, rgba(242, 99, 34, 0.36), transparent 58%),
    var(--bg-card);
  border-color: var(--ember-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(242, 99, 34, 0.2);
  color: var(--ember-bright);
  border: 1px solid rgba(242, 99, 34, 0.4);
  margin-bottom: 14px;
}

.plan-badge.subtle {
  background: rgba(255, 255, 255, 0.06);
  color: #cfcfd9;
  border-color: rgba(255, 255, 255, 0.12);
}

.plan-card h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.plan-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.plan-price span {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.9rem;
  color: #d6d6e0;
}

.plan-list li {
  position: relative;
  padding-left: 20px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember-bright);
  box-shadow: 0 0 10px rgba(242, 99, 34, 0.65);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.faq-intro .btn {
  margin-top: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.open {
  background:
    radial-gradient(circle at 92% 10%, rgba(242, 99, 34, 0.24), transparent 55%),
    var(--bg-card);
  border-color: var(--ember-border);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 17px 18px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-plus {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-plus::before {
  width: 10px;
  height: 1.5px;
}

.faq-plus::after {
  width: 1.5px;
  height: 10px;
}

.faq-item.open .faq-plus {
  border-color: var(--ember-border);
  background: rgba(242, 99, 34, 0.2);
}

.faq-item.open .faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-panel {
  display: none;
  padding: 0 18px 17px;
}

.faq-item.open .faq-panel {
  display: block;
}

.faq-panel p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
}

/* CONTACT CTA BANNER */
.contact-section {
  padding-top: 24px;
  padding-bottom: 76px;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 15%, rgba(242, 99, 34, 0.24), transparent 52%),
    linear-gradient(180deg, #14141a, #0e0e12);
  border: 1px solid var(--ember-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  overflow: hidden;
}

.cta-left h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  margin-bottom: 10px;
}

.cta-left p {
  margin: 0;
  color: var(--text-muted);
  max-width: 460px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 13px 15px;
}

.c-meta {
  min-width: 0;
}

.c-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.c-val {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.93rem;
  font-weight: 600;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.link-val:hover {
  color: var(--ember-bright);
}

.copy-toast {
  margin: 2px 0 0;
  min-height: 20px;
  font-size: 0.82rem;
  color: var(--green);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.83rem;
  color: var(--text-dim);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

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

/* TABLET */
@media (max-width: 1024px) {
  .dash-lower-grid {
    grid-template-columns: 1fr;
  }
  .clips-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-layout,
  .cta-banner {
    grid-template-columns: 1fr;
  }
  .views-metrics-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

/* MOBILE */
@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav {
    display: none;
  }

  .topbar-inner {
    height: 58px;
    gap: 8px;
  }

  .brand {
    font-size: 0.98rem;
    gap: 8px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .nav-link-btn {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

  .nav-pill-btn {
    font-size: 0.8rem;
    padding: 7px 13px;
  }

  .mobile-subnav {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 0 12px 9px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-subnav::-webkit-scrollbar {
    display: none;
  }

  .mobile-subnav a {
    flex-shrink: 0;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .hero {
    padding: 30px 0 28px;
  }

  .eyebrow-pill {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.55rem);
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 0.91rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 12px 12px;
    font-size: 0.85rem;
    width: 100%;
  }

  .dashboard-stage {
    margin-top: 34px;
  }

  .dash-topbar {
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dash-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .dash-tab {
    padding: 9px 10px;
    font-size: 0.84rem;
    text-align: center;
  }

  .dash-status {
    font-size: 0.74rem;
  }

  .dash-body {
    padding: 14px;
    gap: 14px;
  }

  .yt-studio-panel {
    padding: 14px 12px 13px;
  }

  .yt-studio-top {
    gap: 12px;
    margin-bottom: 14px;
  }

  .yt-inspector {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
  }

  .yt-graph-shell {
    grid-template-columns: 28px 1fr;
    gap: 6px;
  }

  .yt-y-axis {
    height: 148px;
    font-size: 0.62rem;
  }

  .yt-bars-area {
    height: 148px;
    gap: 2px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 49px
    );
  }

  .yt-bars-area.mode-48h {
    gap: 1px;
  }

  .yt-x-axis {
    font-size: 0.62rem;
  }

  .dash-card {
    padding: 14px;
  }

  .dash-kpis {
    gap: 10px;
  }

  .kpi-tile {
    padding: 13px 12px;
  }

  .kpi-tile-label {
    font-size: 0.73rem;
  }

  .kpi-tile-sub {
    font-size: 0.69rem;
  }

  .trust-strip {
    margin-top: 28px;
  }

  .trust-logos {
    gap: 8px 16px;
    font-size: 0.82rem;
  }

  .section {
    padding: 46px 0;
  }

  .section-center {
    margin-bottom: 24px;
  }

  .section-split {
    margin-bottom: 20px;
  }

  .views-panel {
    padding: 16px 14px;
  }

  .views-panel-head {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .views-metrics-inline {
    gap: 12px 16px;
  }

  .views-metrics-inline strong {
    font-size: 1.05rem;
  }

  .seg-control {
    width: 100%;
  }

  .seg-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.79rem;
    text-align: center;
  }

  .bar-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name num"
      "track track";
    gap: 7px 10px;
    padding: 10px;
  }

  .bar-name {
    grid-area: name;
    font-size: 0.84rem;
  }

  .bar-num {
    grid-area: num;
    font-size: 0.8rem;
  }

  .bar-track {
    grid-area: track;
    height: 8px;
  }

  .clips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .clip-meta {
    padding: 10px;
  }

  .clip-title {
    font-size: 0.78rem;
  }

  .clip-channel {
    font-size: 0.68rem;
  }

  .bento-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card {
    padding: 20px 18px;
    text-align: left;
  }

  .bento-icon {
    margin: 0 0 12px;
  }

  .plan-card {
    padding: 22px 18px;
  }

  .plan-price {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 22px 16px;
  }

  .contact-box-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-box-row .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}
