﻿:root {
  --landing-header-height: 108px;
  --bg-dark: #0f172a;
  --bg-dark-soft: #111c35;
  --bg-light: #f8fafc;
  --panel-dark: #16233f;
  --panel-light: #ffffff;
  --accent-dark: #22c55e;
  --accent-light: #16a34a;
  --secondary: #3b82f6;
  --text-dark: #ffffff;
  --text-light: #111827;
  --muted-dark: #b3c0db;
  --muted-light: #4b5563;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

body.dark {
  background:
    radial-gradient(circle at 15% 20%, #1d3b70 0%, transparent 40%),
    radial-gradient(circle at 86% 28%, #0f4d57 0%, transparent 35%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-dark);
}

body.light {
  background:
    radial-gradient(circle at 15% 20%, #e2e8f0 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, #cbd5f5 0%, transparent 40%),
    #f8fafc;
  color: var(--text-light);
}

.currency-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.currency-float {
  position: absolute;
  font-weight: 700;
  user-select: none;
  animation: currencyDrift linear infinite;
}

body.dark .currency-float {
  color: rgba(255, 255, 255, 0.03);
}

body.light .currency-float {
  color: rgba(0, 0, 0, 0.03);
}

@keyframes currencyDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(6px, -18px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.hero,
main {
  position: relative;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(12px);
  z-index: 5000;
  isolation: isolate;
  border-bottom: 1px solid transparent;
}

body.dark .landing-nav {
  background: rgba(15, 23, 42, 0.55);
  border-bottom-color: rgba(59, 130, 246, 0.18);
}

body.light .landing-nav {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(148, 163, 184, 0.28);
}

.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid;
  border-radius: 0.7rem;
  overflow: hidden;
}

body.dark .lang-switch,
body.dark .theme-btn {
  border-color: #294b84;
  background: rgba(20, 34, 63, 0.4);
}

body.light .lang-switch,
body.light .theme-btn {
  border-color: #bfdbfe;
  background: #ffffff;
}

.lang-btn,
.theme-btn {
  color: inherit;
  border: 0;
  background: transparent;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(59, 130, 246, 0.18);
  font-weight: 700;
}

.theme-btn {
  border: 1px solid;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  width: 42px;
  height: 38px;
  padding: 0;
}

.hero {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding-top: 82px;
}

.hero-content {
  max-width: 1200px;
  margin: 2.4rem auto 2.2rem;
  padding: 0 1.5rem 0.75rem;
}

.hero h1 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  max-width: 680px;
}

.hero-trust {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.subtitle {
  font-size: 1.12rem;
  max-width: 620px;
  margin: 0 0 1.2rem;
}

body.dark .subtitle,
body.dark .hero-trust {
  color: var(--muted-dark);
}

body.light .subtitle,
body.light .hero-trust {
  color: var(--muted-light);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
}

body.dark .eyebrow {
  color: var(--accent-dark);
}

body.light .eyebrow {
  color: var(--accent-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1fr);
  align-items: center;
  gap: 1.9rem;
}

.hero-copy {
  text-align: left;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-dashboard {
  position: relative;
  width: min(100%, 820px);
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  transform-origin: center center;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.25s ease;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateX(10deg);
  }
  50% {
    transform: translateY(-10px) rotateX(10deg);
  }
  100% {
    transform: translateY(0px) rotateX(10deg);
  }
}

.hero-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.hero-dashboard:hover {
  animation-play-state: paused;
  transform: scale(1.02) rotateX(8deg);
}

.hero-dashboard img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid;
}

body.dark .hero-dashboard img {
  border-color: #2a4478;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(34, 197, 94, 0.15);
}

body.light .hero-dashboard img {
  border-color: #bfdbfe;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.22),
    0 0 40px rgba(34, 197, 94, 0.08);
}

.hero-dashboard .badge {
  position: absolute;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.hero-dashboard .badge-positive {
  top: 14px;
  left: 14px;
  color: #4ade80;
}

.hero-dashboard .badge-negative {
  bottom: 14px;
  right: 14px;
  color: #fda4af;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  color: #062013;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark .btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), #86efac);
}

body.light .btn-primary {
  background: linear-gradient(135deg, var(--accent-light), #4ade80);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  color: inherit;
}

body.dark .btn-outline {
  border-color: #2d4b85;
  background: rgba(20, 34, 63, 0.35);
}

body.light .btn-outline {
  border-color: #93c5fd;
  background: rgba(255, 255, 255, 0.9);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-head h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3.3vw, 2.2rem);
}

.product-demo .container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.3rem 0 0.65rem;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
}

.section-heading p {
  margin: 0;
}

body.dark .section-heading p {
  color: var(--muted-dark);
}

body.light .section-heading p {
  color: var(--muted-light);
}

.demo-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.demo-row.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.demo-row.reverse .demo-copy {
  order: 2;
}

.demo-row.reverse .demo-shot {
  order: 1;
}

.demo-copy {
  display: grid;
  gap: 0.7rem;
}

.demo-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.dark .demo-kicker {
  color: #86efac;
}

body.light .demo-kicker {
  color: #166534;
}

.demo-copy h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
  line-height: 1.3;
}

.demo-copy p {
  margin: 0;
}

body.dark .demo-copy p {
  color: var(--muted-dark);
}

body.light .demo-copy p {
  color: var(--muted-light);
}

.demo-shot {
  appearance: none;
  width: 100%;
  border: 1px solid;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.demo-shot img {
  display: block;
  width: 100%;
  height: auto;
}

body.dark .demo-shot {
  background: #0b1328;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(34, 197, 94, 0.08) inset;
}

body.light .demo-shot {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.demo-shot:hover {
  transform: scale(1.015);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 6500;
  display: none;
}

.demo-modal.open {
  display: block;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
}

.demo-modal-dialog {
  position: relative;
  width: min(1200px, calc(100% - 3rem));
  max-height: calc(100vh - 3rem);
  margin: 1.5rem auto;
  border: 1px solid;
  border-radius: 18px;
  overflow: hidden;
}

body.dark .demo-modal-dialog {
  background: rgba(10, 16, 34, 0.98);
  border-color: rgba(255, 255, 255, 0.08);
}

body.light .demo-modal-dialog {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
}

.demo-modal-close,
.demo-modal-nav {
  position: absolute;
  border: 1px solid;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

body.dark .demo-modal-close,
body.dark .demo-modal-nav {
  background: rgba(20, 30, 56, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.light .demo-modal-close,
body.light .demo-modal-nav {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.14);
  color: #0f172a;
}

.demo-modal-close {
  top: 0.9rem;
  right: 0.9rem;
}

.demo-modal-nav.prev {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.demo-modal-nav.next {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.demo-modal-content {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 3.8rem 1.2rem;
  max-height: calc(100vh - 3rem);
}

.demo-modal-meta h3 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}

.demo-modal-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.09em;
}

body.dark .demo-modal-kicker {
  color: #86efac;
}

body.light .demo-modal-kicker {
  color: #166534;
}

.demo-modal-image-wrap {
  border-radius: 14px;
  overflow: hidden;
}

.demo-modal-image-wrap img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 11.5rem);
  object-fit: contain;
  margin: 0 auto;
}

.feature-grid,
.benefit-grid,
.stats-grid,
.screen-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.screen-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card,
.screen-card,
.stat-card {
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid;
}

body.dark .card,
body.dark .screen-card,
body.dark .stat-card {
  background: linear-gradient(160deg, rgba(26, 40, 71, 0.95), rgba(18, 29, 54, 0.9));
  border-color: #223865;
}

body.light .card,
body.light .screen-card,
body.light .stat-card {
  background: linear-gradient(160deg, #ffffff, #eff6ff);
  border-color: #dbeafe;
}

.card h3,
.stat-card p {
  margin: 0;
}

.card p {
  margin: 0.5rem 0 0;
}

body.dark .card p,
body.dark .stat-label,
body.dark .screen-card figcaption,
body.dark .hero-dashboard-preview figcaption {
  color: var(--muted-dark);
}

body.light .card p,
body.light .stat-label,
body.light .screen-card figcaption,
body.light .hero-dashboard-preview figcaption {
  color: var(--muted-light);
}

.icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

body.dark .icon {
  background: #1e3a6f;
  color: #8cb3ff;
}

body.light .icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.screen-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.8rem;
}

.screen-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem;
}

body.dark .screen-card img {
  background: #0b1328;
}

body.light .screen-card img {
  background: #f1f5f9;
}

.screen-card figcaption {
  margin-top: 0.6rem;
}

.stat-value {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}

.cta {
  text-align: center;
  padding-bottom: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card,
.landing-addons,
.landing-donation,
.pricing-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.66);
  padding: 1.25rem;
}

.pricing-card--featured {
  border-color: rgba(139, 92, 246, 0.72);
  box-shadow: 0 18px 60px rgba(79, 70, 229, 0.18);
}

.pricing-card {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.pricing-card:hover,
.pricing-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(74, 222, 128, 0.58);
  box-shadow:
    0 18px 64px rgba(34, 197, 94, 0.12),
    0 0 0 1px rgba(139, 92, 246, 0.20) inset;
}

.pricing-card span {
  color: #a7f3d0;
  font-size: 0.85rem;
}

.pricing-card h3 {
  margin: 0.5rem 0;
}

.pricing-card strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.pricing-card ul,
.landing-addons ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.pricing-actions {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0;
}

.pricing-table-wrap {
  overflow: visible;
  margin-top: 1.5rem;
  max-width: 100%;
  scroll-margin-top: calc(var(--landing-header-height, 88px) + 18px);
}

.landing-demo-data[hidden] {
  display: none;
}

.demo-data-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.13);
  color: #a7f3d0;
  font-size: 0.84rem;
  font-weight: 800;
}

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

.demo-data-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(16, 185, 129, 0.06)),
    rgba(15, 23, 42, 0.70);
  padding: 1.15rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.demo-data-card--wide {
  grid-column: 1 / -1;
}

.demo-card-head,
.demo-metric-list li,
.demo-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.demo-card-head {
  align-items: center;
  margin-bottom: 1rem;
}

.demo-card-head span,
.demo-data-card h3 {
  margin: 0;
  font-size: 1rem;
}

.demo-card-head strong,
.demo-metric-list strong,
.demo-row strong {
  color: #bbf7d0;
  white-space: nowrap;
}

.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.demo-kpi-grid div,
.demo-row,
.demo-table__row,
.demo-forecast__bar {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.42);
  padding: 0.75rem;
}

.demo-kpi-grid span,
.demo-row span,
.demo-metric-list span,
.demo-table__head,
.demo-forecast__meta {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.demo-kpi-grid strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.18rem;
}

.demo-metric-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.demo-list,
.demo-table,
.demo-forecast {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.demo-table__row {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(92px, auto));
  gap: 0.75rem;
  align-items: center;
}

.demo-table__row strong {
  color: #f8fafc;
}

.demo-forecast__bar {
  display: grid;
  grid-template-columns: 96px 1fr 90px;
  gap: 0.75rem;
  align-items: center;
}

.demo-forecast__track {
  display: grid;
  grid-template-columns: var(--income, 50%) var(--expense, 50%);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.demo-forecast__income {
  background: linear-gradient(90deg, #22c55e, #86efac);
}

.demo-forecast__expense {
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.pricing-sheet {
  position: relative;
  padding: 0;
  overflow: visible;
  border-color: rgba(139, 92, 246, 0.26);
  background:
    radial-gradient(circle at 72% 0%, rgba(139, 92, 246, 0.16), transparent 34%),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  vertical-align: middle;
}

.pricing-table thead {
  position: sticky;
  top: var(--landing-header-height, 88px);
  z-index: 80;
}

.pricing-table thead th {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #172044, #0f172a);
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 0.7rem 0.8rem;
  backdrop-filter: blur(16px);
}

.pricing-head-feature {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  color: #e5e7eb;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-plan-head {
  display: grid;
  align-content: center;
  gap: 0.12rem;
  width: 100%;
  min-height: 68px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: #e5e7eb;
  background: #0f172a;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.pricing-plan-head:hover,
.pricing-table th.is-active-plan .pricing-plan-head {
  transform: translateY(-1px);
  border-color: rgba(74, 222, 128, 0.58);
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.12), inset 0 0 0 1px rgba(139, 92, 246, 0.18);
}

.pricing-plan-head span {
  font-size: 0.98rem;
  font-weight: 900;
}

.pricing-plan-head em {
  display: block;
  min-width: 0;
  color: var(--muted-dark);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}

.pricing-plan-head strong {
  color: #a7f3d0;
  font-size: 0.8rem;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
}

.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
  text-align: center;
}

.pricing-table tbody th:first-child,
.pricing-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 245px;
  min-width: 245px;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
}

.pricing-table thead th:first-child {
  position: relative;
  left: auto;
  z-index: 2;
  background: linear-gradient(180deg, #172044, #0f172a);
  border-top-left-radius: 18px;
}

.pricing-table thead th:last-child {
  border-top-right-radius: 18px;
}

.pricing-table thead th.is-active-plan {
  background: linear-gradient(180deg, #1f3152, #172044);
}

.pricing-table th:nth-child(4),
.pricing-table td:nth-child(4) {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.06));
  box-shadow: inset 1px 0 rgba(167, 139, 250, 0.12), inset -1px 0 rgba(167, 139, 250, 0.12);
}

.pricing-table th.is-active-plan,
.pricing-table td.is-active-plan {
  opacity: 1;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.13), rgba(139, 92, 246, 0.11));
  box-shadow:
    inset 1px 0 rgba(74, 222, 128, 0.20),
    inset -1px 0 rgba(74, 222, 128, 0.20);
}

.pricing-table th.is-muted-plan,
.pricing-table td.is-muted-plan {
  opacity: 0.54;
}

.pricing-table thead th.is-muted-plan {
  opacity: 1;
}

.pricing-table thead th.is-muted-plan .pricing-plan-head {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
}

.pricing-table tbody tr:not(.pricing-section-row):not(.pricing-cta-row):nth-child(even) {
  background: rgba(15, 23, 42, 0.20);
}

.pricing-table tbody tr:not(.pricing-section-row):not(.pricing-cta-row):hover {
  background: rgba(99, 102, 241, 0.12);
}

.pricing-section-row th {
  position: static;
  width: auto;
  min-width: 0;
  padding: 0.72rem 1rem;
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.34), rgba(30, 64, 175, 0.16));
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

.pricing-value {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  color: #e5e7eb;
  font-weight: 800;
  line-height: 1.32;
  overflow-wrap: anywhere;
  white-space: normal;
}

.pricing-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  margin: 0 auto;
}

.pricing-status--yes {
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.58);
  background: rgba(34, 197, 94, 0.14);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.28), inset 0 0 14px rgba(34, 197, 94, 0.10);
}

.pricing-status--no {
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(51, 65, 85, 0.20);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.08), inset 0 0 12px rgba(148, 163, 184, 0.06);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin: 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.pricing-badge--basic {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.32);
}

.pricing-badge--limited,
.pricing-badge--preview,
.pricing-badge--partial {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.34);
}

.pricing-badge--planned,
.pricing-badge--foundation {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(167, 139, 250, 0.30);
}

.pricing-badge--addon,
.pricing-badge--advanced {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(45, 212, 191, 0.30);
}

.pricing-cta-row th,
.pricing-cta-row td {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(139, 92, 246, 0.35);
}

.pricing-cta-cell {
  text-align: center;
}

.pricing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.34);
  border: 1px solid rgba(191, 219, 254, 0.20);
}

.pricing-legend {
  padding: 0.9rem 1rem 1rem;
  color: var(--muted-dark);
  font-size: 0.84rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.pricing-selected-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.14), transparent 32%),
    rgba(15, 23, 42, 0.72);
}

.pricing-selected-cta span {
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-selected-cta h3 {
  margin: 0.3rem 0 0.25rem;
}

.pricing-selected-cta p {
  margin: 0;
  color: var(--muted-dark);
}

.pricing-selected-cta__action {
  display: grid;
  gap: 0.65rem;
  justify-items: end;
}

.pricing-selected-cta__action strong {
  font-size: 1.1rem;
}

.landing-addons,
.landing-donation {
  margin-top: 1rem;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.addon-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.10), transparent 34%),
    rgba(15, 23, 42, 0.38);
}

.addon-card span {
  color: #f8fafc;
  font-weight: 900;
}

.addon-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.45;
}

.addon-card strong {
  color: #a7f3d0;
}

.landing-footer {
  padding: 2rem;
  text-align: center;
}

.landing-footer a {
  color: var(--muted);
}

body.light .pricing-card,
body.light .landing-addons,
body.light .landing-donation,
body.light .pricing-table-wrap,
body.light .demo-data-card {
  background: #ffffff;
  color: #172033;
}

body.light .demo-data-badge {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

body.light .demo-kpi-grid div,
body.light .demo-row,
body.light .demo-table__row,
body.light .demo-forecast__bar {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(148, 163, 184, 0.28);
}

body.light .demo-kpi-grid span,
body.light .demo-row span,
body.light .demo-metric-list span,
body.light .demo-table__head,
body.light .demo-forecast__meta {
  color: #475569;
}

body.light .demo-card-head strong,
body.light .demo-metric-list strong,
body.light .demo-row strong,
body.light .demo-table__row strong {
  color: #064e3b;
}

body.light .pricing-card {
  border-color: rgba(99, 102, 241, 0.14);
}

body.light .pricing-card--featured,
body.light .pricing-card:hover,
body.light .pricing-card.is-active {
  border-color: rgba(16, 185, 129, 0.50);
  box-shadow:
    0 18px 56px rgba(16, 185, 129, 0.13),
    0 0 0 1px rgba(99, 102, 241, 0.10) inset;
}

body.light .pricing-card span {
  color: #334155;
}

body.light .pricing-card h3,
body.light .pricing-card ul {
  color: #172033;
}

body.light .pricing-card strong {
  color: #0f172a;
}

body.light .pricing-card strong span {
  color: #059669;
  font-weight: 900;
}

body.light .pricing-sheet {
  background:
    radial-gradient(circle at 72% 0%, rgba(139, 92, 246, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.84);
  border-color: rgba(99, 102, 241, 0.18);
}

body.light .pricing-table thead th,
body.light .pricing-table thead th:first-child,
body.light .pricing-cta-row th,
body.light .pricing-cta-row td {
  background: #ffffff;
  color: #172033;
}

body.light .pricing-head-feature {
  color: #172033;
}

body.light .pricing-table tbody th:first-child,
body.light .pricing-table tbody td:first-child {
  background: #f8fafc;
  color: #0f172a;
}

body.light .pricing-table thead th.is-active-plan {
  background: #ecfdf5;
}

body.light .pricing-table td {
  background: #ffffff;
}

body.light .pricing-table th:nth-child(4),
body.light .pricing-table td:nth-child(4) {
  background: #eefcf7;
  box-shadow: inset 1px 0 rgba(16, 185, 129, 0.16), inset -1px 0 rgba(16, 185, 129, 0.16);
}

body.light .pricing-table th.is-active-plan,
body.light .pricing-table td.is-active-plan {
  background: #e7fbf3;
}

body.light .pricing-section-row th {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.08));
  color: #172033;
}

body.light .pricing-value {
  color: #172033;
}

body.light .pricing-plan-head {
  color: #172033;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
}

body.light .pricing-plan-head span {
  color: #172033;
}

body.light .pricing-plan-head em {
  color: #334155;
}

body.light .pricing-plan-head strong {
  color: #059669;
}

body.light .pricing-table thead th.is-muted-plan .pricing-plan-head {
  color: #172033;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light .pricing-table thead th.is-muted-plan .pricing-plan-head span {
  color: #475569;
}

body.light .pricing-table thead th.is-muted-plan .pricing-plan-head strong {
  color: #059669;
}

body.light .pricing-status--yes {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.50);
  background: #d1fae5;
  box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.12), 0 8px 22px rgba(5, 150, 105, 0.16);
}

body.light .pricing-status--no {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.32);
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.10);
}

body.light .pricing-badge--limited,
body.light .pricing-badge--preview,
body.light .pricing-badge--partial {
  color: #92400e;
  background: #fef3c7;
  border-color: rgba(217, 119, 6, 0.35);
}

body.light .pricing-badge--basic {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: rgba(37, 99, 235, 0.32);
}

body.light .pricing-badge--addon,
body.light .pricing-badge--advanced {
  color: #047857;
  background: #d1fae5;
  border-color: rgba(5, 150, 105, 0.42);
}

body.light .pricing-badge--planned,
body.light .pricing-badge--foundation {
  color: #6d28d9;
  background: #ede9fe;
  border-color: rgba(109, 40, 217, 0.32);
}

body.light .pricing-cta-button {
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.26);
}

body.light .pricing-table tbody tr:not(.pricing-section-row):not(.pricing-cta-row):nth-child(even) {
  background: #f8fafc;
}

body.light .pricing-table tbody tr:not(.pricing-section-row):not(.pricing-cta-row):nth-child(even) td {
  background: #f8fafc;
}

body.light .pricing-table tbody tr:not(.pricing-section-row):not(.pricing-cta-row):hover {
  background: rgba(99, 102, 241, 0.08);
}

body.light .pricing-legend {
  color: var(--muted-light);
}

body.light .pricing-selected-cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.09), transparent 32%),
    rgba(255, 255, 255, 0.84);
}

body.light .pricing-selected-cta p {
  color: var(--muted-light);
}

body.light .addon-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.08), transparent 34%),
    rgba(248, 250, 252, 0.74);
  border-color: rgba(99, 102, 241, 0.14);
}

body.light .addon-card span {
  color: #172033;
}

body.light .addon-card p {
  color: var(--muted-light);
}

@media (max-width: 760px) {
  .landing-nav {
    padding: 1rem;
    gap: 0.75rem;
  }

  .hero-content {
    margin-top: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .hero-copy {
    text-align: center;
  }

  .subtitle {
    margin: 0 auto 1rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-dashboard .badge {
    font-size: 11px;
    padding: 5px 8px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .demo-row,
  .demo-row.reverse {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .demo-row.reverse .demo-copy,
  .demo-row.reverse .demo-shot {
    order: initial;
  }

  .demo-modal-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
  }

  .demo-modal-content {
    padding: 0.9rem 3rem 0.9rem;
    max-height: calc(100vh - 1rem);
  }

  .demo-modal-nav.prev {
    left: 0.35rem;
  }

  .demo-modal-nav.next {
    right: 0.35rem;
  }

  .demo-modal-close {
    top: 0.45rem;
    right: 0.45rem;
  }

  .demo-modal-image-wrap img {
    max-height: calc(100vh - 10rem);
  }

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

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

  .pricing-plan-head {
    min-height: 72px;
    padding: 0.5rem 0.55rem;
  }

  .pricing-selected-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-selected-cta__action {
    justify-items: stretch;
  }

  .pricing-selected-cta__action .btn {
    width: 100%;
    justify-content: center;
  }
}
