/* ===========================
   01. TOKENS
   Source: app.radar.vschk.online/radar/assets/styles.css
=========================== */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Brand */
  --primary: #3AA7E2;
  --primary-hover: #6EC1FF;
  --primary-weak: rgba(58, 167, 226, .16);

  /* Surfaces */
  --bg: #0B1320;
  --panel: #141F33;
  --panel-2: #1A2841;
  --surface-3: #233557;

  /* Text */
  --text: #DCE4F0;
  --text-2: #B7C3D8;
  --muted: #7A8CAA;

  /* Lines / shadows */
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .10);
  --shadow: 0 8px 20px rgba(0, 0, 0, .22);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .28);
  --blur: blur(18px);

  /* Geometry */
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

/* ===========================
   02. LIGHT THEME
=========================== */
html[data-theme="light"] {
  --bg: #edf4fa;
  --panel: rgba(255, 255, 255, .78);
  --panel-2: rgba(240, 248, 255, .86);
  --surface-3: rgba(220, 235, 248, .90);

  --text: #0b1b2e;
  --text-2: #43566d;
  --muted: #667a92;

  --line: rgba(22, 42, 68, .08);
  --line-2: rgba(22, 42, 68, .14);
  --shadow: 0 18px 42px rgba(31, 58, 97, .08);
  --shadow-lg: 0 20px 60px rgba(31, 58, 97, .12);
}

/* ===========================
   03. BASE
=========================== */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a, button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { appearance: none; -webkit-appearance: none; }

/* ===========================
   04. BACKGROUND
=========================== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg__gradient,
.page-bg__grid,
.page-bg__glow,
.page-bg__cursor,
.page-bg__vignette {
  position: absolute;
  inset: 0;
}

.page-bg__gradient {
  background:
    radial-gradient(circle at 12% 16%, rgba(58, 167, 226, .10), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(58, 167, 226, .12), transparent 26%),
    radial-gradient(circle at 78% 82%, rgba(58, 167, 226, .06), transparent 26%),
    linear-gradient(180deg, #040a14 0%, #08111d 100%);
}

html[data-theme="light"] .page-bg__gradient {
  background:
    radial-gradient(circle at 12% 16%, rgba(58, 167, 226, .06), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(58, 167, 226, .08), transparent 26%),
    radial-gradient(circle at 78% 82%, rgba(58, 167, 226, .04), transparent 26%),
    linear-gradient(180deg, #f0f6fc 0%, #e4eef7 100%);
}

.page-bg__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
}

html[data-theme="light"] .page-bg__grid {
  background-image:
    linear-gradient(rgba(22, 42, 68, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 42, 68, .05) 1px, transparent 1px);
}

.page-bg__glow { filter: blur(34px); border-radius: 999px; }

.page-bg__glow--1 {
  inset: auto auto 58% 60%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(58, 167, 226, .14) 0%, rgba(58, 167, 226, .05) 34%, transparent 72%);
}

.page-bg__glow--2 {
  inset: 68% auto auto -6%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(58, 167, 226, .08) 0%, rgba(58, 167, 226, .03) 34%, transparent 72%);
}

.page-bg__cursor {
  width: 360px; height: 360px;
  margin-left: -180px; margin-top: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(58, 167, 226, .14) 0%, rgba(58, 167, 226, .05) 42%, transparent 72%);
  opacity: 0.55;
  filter: blur(10px);
  transform: translate(-9999px, -9999px);
  transition: transform 0.08s linear;
}

html[data-theme="light"] .page-bg__cursor {
  background: radial-gradient(circle, rgba(58, 167, 226, .10) 0%, rgba(58, 167, 226, .04) 42%, transparent 72%);
  opacity: 0.42;
}

.page-bg__vignette {
  background:
    linear-gradient(180deg, rgba(3, 8, 20, .08) 0%, transparent 18%, transparent 78%, rgba(3, 8, 20, .18) 100%),
    linear-gradient(90deg, rgba(2, 8, 20, .14) 0%, transparent 12%, transparent 88%, rgba(2, 8, 20, .10) 100%);
}

html[data-theme="light"] .page-bg__vignette {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, transparent 18%, transparent 78%, rgba(219, 230, 240, .14) 100%),
    linear-gradient(90deg, rgba(232, 240, 248, .14) 0%, transparent 12%, transparent 88%, rgba(232, 240, 248, .10) 100%);
}

/* ===========================
   05. THEME TOGGLE
=========================== */
.top-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.theme-toggle {
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
  color: var(--text);
}

.theme-toggle__icon { font-size: 16px; line-height: 1; }
.theme-toggle__icon--sun { display: none; }
html[data-theme="light"] .theme-toggle__icon--moon { display: none; }
html[data-theme="light"] .theme-toggle__icon--sun { display: block; }

/* ===========================
   06. LAYOUT
=========================== */
.site-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 16px 80px;
}

.landing-section { margin-bottom: 16px; }

/* ===========================
   07. PANELS
=========================== */
.panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .01) 100%),
    rgba(20, 31, 51, .72);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

html[data-theme="light"] .panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .76) 0%, rgba(255, 255, 255, .54) 100%),
    rgba(255, 255, 255, .78);
}

.panel::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, transparent 42%);
  pointer-events: none;
}

.panel--strong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%),
    rgba(20, 37, 65, .84);
}

html[data-theme="light"] .panel--strong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .62) 100%),
    rgba(255, 255, 255, .90);
}

.panel--reveal {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 200ms ease;
}

.panel--reveal:hover,
.panel--reveal.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .01) 100%),
    rgba(20, 31, 51, .72);
  border-color: var(--line-2);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, .28),
    0 0 24px rgba(58, 167, 226, .08);
  transform: translateY(-4px);
}

html[data-theme="light"] .panel--reveal:hover,
html[data-theme="light"] .panel--reveal.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .64) 100%),
    rgba(255, 255, 255, .90);
}

.panel--strong.panel--reveal:hover,
.panel--strong.panel--reveal.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .015) 100%),
    rgba(20, 37, 65, .84);
}

.panel__shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .24) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

html[data-theme="light"] .panel__shade {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 24, 40, .08) 100%);
}

.panel--reveal:hover .panel__shade,
.panel--reveal.is-active .panel__shade { opacity: 1; }

.panel__action {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.panel--reveal:hover .panel__action,
.panel--reveal.is-active .panel__action { opacity: 1; transform: translateY(0); }

.panel__action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.panel__action-arrow { transition: transform 160ms ease; }
.panel--reveal:hover .panel__action-arrow,
.panel--reveal.is-active .panel__action-arrow { transform: translateX(3px); }

@media (hover: none) {
  .panel--reveal {
    transition: background 600ms ease, border-color 600ms ease, box-shadow 600ms ease, transform 500ms ease;
  }
  .panel--reveal .panel__shade { transition: opacity 600ms ease; }
  .panel--reveal .panel__action { transition: opacity 600ms ease, transform 500ms ease; }
}

.panel__inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel__inner--compact { padding-top: 22px; }
.panel__copy { display: grid; gap: 12px; }

/* ===========================
   08. TYPOGRAPHY
=========================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(58, 167, 226, .10);
  border: 1px solid rgba(58, 167, 226, .24);
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--text);
  text-wrap: balance;
}

.section-title--xl { font-size: clamp(38px, 5vw, 72px); line-height: 0.92; }
.section-title--sm { font-size: clamp(22px, 1.8vw, 30px); line-height: 1.02; }
.section-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }

/* ===========================
   09. BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn__arrow { transition: transform 160ms ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  box-shadow: 0 16px 30px rgba(58, 167, 226, .20);
}

html[data-theme="light"] .btn--primary { color: #09111a; }

.btn--secondary {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  color: var(--text);
}

.btn--secondary:hover { border-color: var(--line-2); }

/* ===========================
   10. SECTION GRIDS
=========================== */
.landing-grid--hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 540px;
}

.landing-grid--full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.landing-grid--4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ===========================
   11. COMPONENT ATOMS
=========================== */
.stat { display: grid; gap: 6px; }

.stat__value {
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1;
}

.stat__label { font-size: 14px; line-height: 1.4; color: var(--text-2); }

.steps { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.step__num {
  width: 48px; height: 48px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: rgba(58, 167, 226, .08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step__copy { display: grid; gap: 4px; }
.step__title { font-size: 15px; font-weight: 800; color: var(--text); }
.step__text { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.mode-result {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mode-result__item { font-size: 13px; font-weight: 700; color: var(--primary); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  max-width: 920px;
}

/* ===========================
   12. RESPONSIVE
=========================== */
@media (max-width: 1080px) {
  .landing-grid--4col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-shell { padding: 14px 12px 60px; }
  .landing-section { margin-bottom: 12px; }
  .landing-grid--hero { min-height: 380px; }
  .landing-grid--3col,
  .landing-grid--4col { grid-template-columns: 1fr; }
  .panel__inner { padding: 20px; }
  .btn { width: 100%; justify-content: center; min-height: 50px; }
  .cta-actions { flex-direction: column; }
  .section-title { font-size: 30px; }
  .section-title--xl { font-size: 38px; }
  .section-title--sm { font-size: 24px; }
  .section-text { font-size: 14px; }
  .panel__action { opacity: 1; transform: none; }
  .panel__shade { opacity: 0.72; }
  .step { grid-template-columns: 40px 1fr; gap: 12px; }
}
