:root {
  --bg: #0a0b10;
  --bg-soft: #13151c;
  --card: rgba(20, 22, 29, 0.9);
  --card-strong: rgba(18, 20, 26, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f8fd;
  --muted: #98a6c0;
  --accent: #8e92a6;
  --accent-2: #5a6075;
  --danger: #ff8e73;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1240px, calc(100% - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(142, 146, 166, 0.12), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(92, 97, 117, 0.16), transparent 22%),
    linear-gradient(180deg, #040711 0%, #09101d 46%, #050913 100%);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 92%);
}
img { display: block; max-width: 100%; }
.site-frame {
  position: fixed;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 28px;
  pointer-events: none;
}
.starfield {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.stars-layer,
.shooting-layer {
  position: absolute;
  inset: 0;
}
.star {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(237, 240, 255, 0.85);
  box-shadow: 0 0 10px rgba(237, 240, 255, 0.18);
  animation: starPulse ease-in-out infinite;
}
.shooting-star {
  position: absolute;
  width: 150px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(236,239,250,0.95), rgba(255,255,255,0));
  opacity: 0;
  transform: rotate(-24deg) translate3d(0, 0, 0);
  filter: drop-shadow(0 0 8px rgba(210, 214, 231, 0.45));
  animation: shootingStar linear infinite;
}
.topbar, .landing-shell, .page-shell, .dashboard-shell {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 0;
}
.page-topbar { padding-bottom: 12px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.brand strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
}
.brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topnav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.topnav a, .nav-cta, .btn { text-decoration: none; }
.topnav a {
  color: rgba(246, 248, 253, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
}
.topnav a:hover, .topnav a.is-active { color: var(--text); }
.nav-cta, .btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.nav-cta, .btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line-strong);
}
.btn-primary {
  color: #071018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  box-shadow: 0 18px 42px rgba(110, 116, 141, 0.22);
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); }
.header-cta-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-cta-secondary {
  background: rgba(255,255,255,0.03);
}
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.landing-shell {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 44px 0 32px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 28px;
  align-items: center;
}
.hero-copy h1, .page-hero h1, .page-card h2, .chart-card h2, .focus-card h2, .timeline h2, .danger-card h2, .soft-card h2, .panel-head h2, .dashboard-sidebar h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}
.hero-copy h1 {
  margin-top: 18px;
  max-width: 10ch;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 0.92;
}
.hero-text, .page-hero p, .page-card p, .chart-card p, .focus-card p, .timeline p, .danger-card li, .soft-card p, .dashboard-sidebar p, .deal-row small {
  color: var(--muted);
}
.hero-text {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-card, .page-card, .chart-card, .focus-card, .timeline article, .danger-card, .soft-card, .dashboard-sidebar, .deals-panel, .editor-panel {
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.92), rgba(10, 15, 27, 0.97));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-card { padding: 24px; }
.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-header p, .mini-label, .mock-lines span, .panel-head span, .dashboard-kpis span, .metric-card span {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(110, 116, 141, 0.14);
}
.mock-lines {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.mock-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.mock-lines strong { text-align: right; }
.mock-lines .warn {
  background: rgba(255, 142, 115, 0.08);
  border-color: rgba(255, 142, 115, 0.16);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.page-card {
  padding: 24px;
  color: var(--text);
}
.page-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(125, 149, 255, 0.22), rgba(102, 224, 212, 0.18));
  font-weight: 800;
  font-size: 0.82rem;
}
.page-card h2 {
  margin-top: 18px;
  font-size: 1.45rem;
}
.page-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}
.page-shell {
  padding: 38px 0 56px;
}
.page-hero.compact {
  max-width: 860px;
  margin-bottom: 28px;
}
.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
}
.page-hero p:last-child {
  max-width: 58ch;
  margin: 18px 0 0;
  line-height: 1.8;
}
.stats-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.metric-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.92), rgba(10, 15, 27, 0.97));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.metric-card strong {
  display: block;
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.metric-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.stats-board {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}
.stats-board-single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.chart-card, .focus-card { padding: 26px; }
.chart-card-centered {
  width: min(100%, 980px);
}
.chart-card h2, .focus-card h2, .timeline h2, .danger-card h2, .soft-card h2, .panel-head h2 {
  margin-top: 12px;
  font-size: 1.9rem;
  line-height: 1.04;
}
.bars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 70px;
  align-items: center;
  gap: 14px;
}
.bar-row label, .bar-row strong { color: #d9e0ee; font-weight: 700; }
.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.focus-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.focus-metrics div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.focus-metrics strong {
  display: block;
  margin-top: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
}
.video-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}
.video-copy,
.video-card {
  background: linear-gradient(180deg, rgba(14, 21, 35, 0.92), rgba(10, 15, 27, 0.97));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.video-copy {
  padding: 28px;
}
.video-copy h2 {
  margin: 12px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  line-height: 1.02;
}
.video-copy p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.video-card {
  padding: 18px;
}
.how-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #05070c;
  border: 1px solid rgba(255,255,255,0.06);
  object-fit: cover;
}
.timeline {
  display: grid;
  gap: 16px;
}
.timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
}
.timeline span {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(125, 149, 255, 0.22), rgba(102, 224, 212, 0.18));
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
}
.timeline p {
  margin: 10px 0 0;
  line-height: 1.74;
}
.support-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}
.danger-card, .soft-card { padding: 28px; }
.danger-card {
  background: linear-gradient(180deg, rgba(40, 18, 17, 0.95), rgba(24, 12, 12, 0.98));
  border-color: rgba(255, 142, 115, 0.18);
}
.danger-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}
.danger-card li { line-height: 1.72; }
.soft-card p {
  margin: 16px 0 0;
  line-height: 1.74;
}
.dashboard-shell {
  padding: 34px 0 56px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}
.dashboard-sidebar, .deals-panel, .editor-panel { padding: 24px; }
.dashboard-sidebar h1 {
  margin-top: 14px;
  font-size: 2.5rem;
  line-height: 0.94;
}
.dashboard-sidebar p {
  margin: 14px 0 0;
  line-height: 1.7;
}
.dashboard-kpis {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.dashboard-kpis .metric-card {
  padding: 18px;
  box-shadow: none;
}
.dashboard-main { display: grid; gap: 18px; }
.dashboard-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
}
.dashboard-toolbar input,
.deal-form input,
.deal-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.deal-rows {
  display: grid;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  padding-right: 6px;
}
.deal-row {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.deal-row.is-active {
  border-color: rgba(102, 224, 212, 0.35);
  background: rgba(102, 224, 212, 0.06);
}
.deal-row strong {
  display: block;
  font-size: 1.04rem;
}
.deal-row small {
  display: block;
  margin-top: 8px;
  line-height: 1.6;
}
.deal-form {
  display: grid;
  gap: 14px;
}
.deal-form label {
  display: grid;
  gap: 8px;
  color: #dae0ef;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
@media (max-width: 1180px) {
  .hero-panel,
  .stats-board,
  .video-showcase,
    .support-grid,
  .dashboard-shell,
  .dashboard-grid { grid-template-columns: 1fr; }
  .link-grid, .stats-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .topnav { justify-content: flex-start; gap: 18px; }
  .landing-shell { min-height: auto; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(2.8rem, 11vw, 4.8rem); }
  .link-grid, .stats-overview, .focus-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1240px); }
  .site-frame { inset: 10px; border-radius: 20px; }
  .brand-logo { width: 48px; height: 48px; }
  .nav-cta, .btn { width: 100%; }
  .header-cta-group { width: 100%; flex-direction: column; }
  .hero-actions, .dashboard-toolbar, .form-actions { flex-direction: column; }
  .mock-lines div, .timeline article, .bar-row { grid-template-columns: 1fr; }
  .mock-lines strong { text-align: left; }
}





@keyframes starPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: rotate(-24deg) translate3d(0, 0, 0);
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-24deg) translate3d(-360px, 180px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .star,
  .shooting-star {
    animation: none !important;
    opacity: 0.5;
  }
}


