:root {
  --bg: #090d16;
  --bg-soft: #101826;
  --panel: #121a2b;
  --panel-2: #0f1727;
  --line: #28344c;
  --text: #eef3ff;
  --muted: #9ab0d6;
  --primary: #8db1ff;
  --primary-strong: #5f8fff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -20%, #1f2e4f, transparent 45%),
    radial-gradient(circle at 90% -10%, #1f254a, transparent 35%),
    var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(9, 13, 22, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.top-nav-minimal {
  justify-content: flex-end;
}

.nav-back {
  border: 1px solid #35527a;
  background: #0f1a2f;
  color: #dbe9ff;
  border-radius: 999px;
}

.top-nav a {
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--text);
  border-color: #2d3f5f;
}

.top-nav a.active {
  color: var(--text);
  border-color: #355287;
  background: rgba(99, 142, 255, 0.12);
}

.cta-pill {
  border-radius: 999px;
  border: 1px solid #b7ccff;
  background: linear-gradient(135deg, #bfd2ff, #95b6ff 52%, #7398ff);
  color: #06183a;
  padding: 0.62rem 1.18rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(102, 141, 242, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 22px rgba(102, 141, 242, 0.3);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem 3rem;
}

.hero {
  text-align: center;
  padding: 2.7rem 0 1.7rem;
}

.eyebrow {
  color: var(--primary);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  max-width: 980px;
  margin: 0 auto;
}

.hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.66rem 1.22rem;
  font-weight: 700;
  border: 1px solid #b7ccff;
  background: linear-gradient(135deg, #bfd2ff, #95b6ff 52%, #7398ff);
  color: #06183a;
  box-shadow: 0 8px 18px rgba(102, 141, 242, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 22px rgba(102, 141, 242, 0.3);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 8px 18px rgba(102, 141, 242, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #bfd2ff, #95b6ff 52%, #7398ff);
  color: #06183a;
}

.btn-secondary {
  background: linear-gradient(135deg, #bfd2ff, #95b6ff 52%, #7398ff);
  color: #06183a;
}

.mock-grid,
.card-grid,
.pricing-grid,
.story-grid,
.steps-grid {
  display: grid;
  gap: 0.85rem;
}

.mock-grid,
.card-grid,
.pricing-grid,
.story-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(23, 31, 48, 0.95), rgba(13, 20, 33, 0.95));
  padding: 1rem;
}

.mock-card {
  min-height: 215px;
  position: relative;
  overflow: hidden;
}

.mock-card::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 158, 255, 0.35), transparent 70%);
}

.mock-card h3,
.card h3,
.pricing-card h3,
.story-card h3 {
  margin-bottom: 0.35rem;
}

.card,
.pricing-card,
.story-card,
.step-card,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  padding: 1rem;
}

.section {
  margin-top: 1.8rem;
}

.section h2 {
  margin-bottom: 0.35rem;
}

.section .lead {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.pricing-card.popular {
  border-color: #7ea5ff;
  box-shadow: 0 0 0 1px rgba(126, 165, 255, 0.3) inset;
}

.pricing-leadgen-card {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-leadgen-card:hover,
.pricing-leadgen-card:focus-visible {
  border-color: #7ea5ff;
  box-shadow: 0 0 0 1px rgba(126, 165, 255, 0.3) inset;
  transform: translateY(-2px);
}

.pricing-slider-wrap {
  margin-top: 0.4rem;
  border: 1px solid #2f4368;
  border-radius: 0.8rem;
  background: #0e1728;
  padding: 0.7rem;
}

.pricing-slider-wrap label {
  font-size: 0.9rem;
}

.pricing-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: #84abff;
}

.pricing-slider-meta {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.3rem;
}

.pricing-slider-meta strong {
  color: #dbe8ff;
}

.pricing-slider-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  border: 1px solid #5978b7;
  color: #bcd0ff;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  margin-bottom: 0.45rem;
}

.price {
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
  margin: 0.25rem 0;
}

ul.clean {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

ul.clean li {
  margin-bottom: 0.32rem;
}

.centered-card {
  max-width: 520px;
  margin: 2rem auto 0;
}

.auth-card {
  background: linear-gradient(180deg, #121d31, #101726);
}

.auth-card form {
  display: grid;
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #33476c;
  border-radius: 0.7rem;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: #0d1423;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #6f9dff;
  border-color: #6f9dff;
}

button.btn-solid {
  border: 1px solid #b7ccff;
  border-radius: 999px;
  background: linear-gradient(135deg, #bfd2ff, #95b6ff 52%, #7398ff);
  color: #06183a;
  font-weight: 700;
  padding: 0.66rem 1.22rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(102, 141, 242, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

button.btn-solid:hover,
button.btn-solid:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 22px rgba(102, 141, 242, 0.3);
}

.message {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: #b8c9ea;
}

.message.error {
  color: #ff9f9f;
}

.message.success {
  color: #9fe2bf;
}

.footer-cta {
  margin-top: 2.4rem;
  text-align: center;
}

.leadgen-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.leadgen-shell.single {
  grid-template-columns: 1fr;
}

.leadgen-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  padding: 1rem;
}

.leadgen-form {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leadgen-form .full {
  grid-column: 1 / -1;
}

.leadgen-form.single-col {
  grid-template-columns: 1fr;
}

.step-kicker {
  margin: 0 0 0.3rem;
  color: #8fb2ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.instruction-card {
  border: 1px solid #334a73;
  border-radius: 0.8rem;
  background: #0f192d;
  padding: 0.8rem;
  margin-bottom: 0.9rem;
}

.instruction-card h3 {
  margin-bottom: 0.5rem;
}

.channel-fieldset {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid #33476c;
  border-radius: 0.7rem;
}

.channel-fieldset legend {
  color: #b8cefb;
  font-size: 0.9rem;
  padding: 0 0.35rem;
}

.channel-choice-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.channel-choice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #33476c;
  border-radius: 0.65rem;
  padding: 0.5rem 0.6rem;
  color: #d8e6ff;
  background: #0e1729;
}

.channel-choice input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #84abff;
}

.choice-stack {
  display: grid;
  gap: 0.55rem;
}

.choice-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #33476c;
  border-radius: 0.65rem;
  padding: 0.5rem 0.6rem;
  color: #d8e6ff;
  background: #0e1729;
}

.choice-item input[type="radio"] {
  accent-color: #84abff;
}

#budgetSlider {
  width: 100%;
  accent-color: #84abff;
}

.budget-slider-row {
  margin-top: 0.45rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #d8e6ff;
  font-size: 0.92rem;
}

.funnel-actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.allocation-stack {
  display: grid;
  gap: 0.8rem;
}

.allocation-row {
  border: 1px solid #33476c;
  border-radius: 0.75rem;
  padding: 0.7rem;
  background: #0f182b;
}

.allocation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.tracker-kpi-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.owner-summary-card {
  border: 1px solid #324e73;
  border-radius: 1rem;
  background: linear-gradient(180deg, #11203a, #0d172a);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.owner-summary-label {
  margin: 0;
  color: #94b0d6;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.owner-summary-value {
  margin: 0.3rem 0 0;
  color: #dceaff;
  font-size: 1rem;
  font-weight: 600;
}

.owner-summary-card h2 {
  margin-top: 0.26rem;
  font-size: 1.5rem;
}

.owner-kpi-grid .tracker-kpi-card {
  border-color: #365279;
  background: linear-gradient(180deg, #12233f, #0f1b31);
}

.tracker-kpi-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--panel);
  padding: 0.85rem;
}

.tracker-kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.tracker-kpi-card strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 1.5rem;
  color: #dbe8ff;
}

.tracker-kpi-sub {
  margin-top: 0.38rem !important;
  font-size: 0.8rem !important;
}

.tracker-filter-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.tracker-filter {
  border: 1px solid #334a73;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: #c9dafc;
  background: #0f1a2f;
  cursor: pointer;
}

.tracker-filter.active {
  border-color: #7ea5ff;
  background: #1a2a49;
  color: #ecf3ff;
}

.tracker-chart-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.tracker-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  padding: 0.9rem;
}

.source-bar-row {
  margin-top: 0.65rem;
}

.source-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.source-bar-head span {
  color: var(--muted);
}

.source-bar-track {
  width: 100%;
  border: 1px solid #304462;
  border-radius: 999px;
  background: #0b1322;
  height: 11px;
}

.source-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.trend-chart {
  width: 100%;
  height: auto;
}

.trend-grid {
  stroke: #2d3f5e;
  stroke-dasharray: 4 6;
}

.trend-axis-line {
  stroke: #4f6995;
  stroke-width: 1.2;
}

.trend-line {
  fill: none;
  stroke: #8db1ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-point {
  fill: #8db1ff;
}

.trend-label,
.trend-axis {
  fill: #95abd2;
  font-size: 11px;
}

.source-section-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.source-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: #0f1a2f;
  padding: 0.85rem;
}

.source-card p {
  margin: 0.26rem 0 0;
  color: #c1d2f2;
  font-size: 0.9rem;
}

.source-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.source-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.tracker-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.tracker-table th,
.tracker-table td {
  padding: 0.62rem 0.68rem;
  border-bottom: 1px solid #2d3f5f;
  text-align: left;
  font-size: 0.9rem;
}

.tracker-table th {
  color: #c8dafd;
  background: #101d34;
  position: sticky;
  top: 0;
}

.tracker-table td {
  color: #dce9ff;
}

.leadgen-summary {
  margin: 0;
  color: #d8e6ff;
}

.leadgen-meta {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.leadgen-empty {
  margin: 0;
  color: var(--muted);
}

.leadgen-block {
  margin-top: 0.9rem;
  border-top: 1px dashed #2f4164;
  padding-top: 0.9rem;
}

.leadgen-block h3,
.leadgen-channel h4 {
  margin-bottom: 0.35rem;
}

.leadgen-label {
  margin: 0.45rem 0 0.35rem;
  color: #b8cefb;
  font-size: 0.9rem;
}

.leadgen-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.leadgen-list li {
  margin-bottom: 0.32rem;
}

.leadgen-script {
  margin: 0;
  border: 1px solid #2f4368;
  background: #0d1525;
  border-radius: 0.8rem;
  padding: 0.7rem;
  white-space: pre-wrap;
  color: #d8e7ff;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.45;
}

.leadgen-channel-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.leadgen-channel {
  border: 1px solid #2a3a59;
  border-radius: 0.9rem;
  padding: 0.7rem;
  background: #0f192b;
}

.leadgen-budget-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.leadgen-budget-list li {
  border: 1px solid #334a73;
  border-radius: 0.6rem;
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
}

.leadgen-sequence {
  display: grid;
  gap: 0.5rem;
}

.leadgen-sequence-step {
  border: 1px solid #334a73;
  border-radius: 0.7rem;
  padding: 0.6rem;
  background: #111b2f;
}

.leadgen-sequence-step p {
  margin: 0;
  color: var(--muted);
}

.leadgen-sequence-step p + p {
  margin-top: 0.3rem;
}

.marketing-direct-hero h1 {
  max-width: 980px;
}

.snapshot-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.snapshot-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(23, 31, 48, 0.95), rgba(13, 20, 33, 0.95));
  padding: 0.85rem;
}

.snapshot-card h3 {
  margin: 0 0 0.6rem;
}

.snapshot-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid #2d4165;
  display: block;
  background: #0d1524;
}

.flow-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flow-step-card {
  border: 1px solid #334a73;
  border-radius: 0.9rem;
  background: #0f192d;
  padding: 0.8rem;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.flow-step-card:hover,
.flow-step-card:focus-visible {
  border-color: #7ea5ff;
  transform: translateY(-1px);
}

.flow-step-index {
  display: inline-block;
  color: #9fc1ff;
  border: 1px solid #4d6ea6;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.42rem;
}

.flow-step-card h3 {
  margin-bottom: 0.3rem;
}

.flow-step-card p {
  margin: 0;
  color: var(--muted);
}

.flow-step-card-static {
  transition: none;
}

.flow-step-card-static:hover,
.flow-step-card-static:focus-visible {
  border-color: #334a73;
  transform: none;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .leadgen-shell {
    grid-template-columns: 1fr;
  }

  .leadgen-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-actions,
  .funnel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .funnel-actions .btn,
  .footer-cta .btn {
    width: 100%;
  }

  .snapshot-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }
}
