:root {
  color-scheme: dark;
  --bg: #020204;
  --panel: #07070c;
  --panel-2: #0d0d16;
  --field: #14141f;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .11);
  --text: #fffefe;
  --muted: #e1e4e9;
  --blue: #006afb;
  --blue-deep: #003ced;
  --blue-2: #02d5fd;
  --blue-soft: rgba(0, 106, 251, .1);
  --shadow-soft: rgba(225, 228, 233, .16);
  --glow: rgba(0, 106, 251, .58);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fbff;
  --panel: #f5f8ff;
  --panel-2: #eef3ff;
  --field: #ffffff;
  --line: rgba(15, 23, 42, .08);
  --line-strong: rgba(15, 23, 42, .14);
  --text: #0f172a;
  --muted: #475569;
  --blue: #2563eb;
  --blue-deep: #1e40af;
  --blue-2: #38bdf8;
  --blue-soft: rgba(59, 130, 246, .12);
  --shadow-soft: rgba(15, 23, 42, .08);
  --glow: rgba(59, 130, 246, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 106, 251, .28), transparent 32%),
    radial-gradient(circle at 12% 28%, rgba(0, 106, 251, .08), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 50% 8%, rgba(2, 213, 253, .18), transparent 32%),
    radial-gradient(circle at 12% 28%, rgba(0, 106, 251, .08), transparent 24%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1104px, calc(100% - 56px));
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 2, 4, .52);
  transition: min-height .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  border-color: rgba(0, 106, 251, .2);
  background: rgba(2, 8, 18, .76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 0 24px var(--shadow-soft);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12), 0 0 24px rgba(0, 106, 251, .08);
}

.brand,
.main-nav,
.header-actions,
.footer,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  font-weight: 900;
  font-size: 18px;
}

.brand-logo {
  width: 48px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 106, 251, .48));
}

.main-nav {
  position: relative;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  transition: color .2s ease;
}

.main-nav a.is-active {
  color: var(--text);
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 18px rgba(0, 106, 251, .38);
  opacity: 0;
  transform: translateX(var(--nav-left, 0));
  transition: transform .28s ease, width .28s ease, opacity .2s ease;
}

.main-nav a:hover,
.nav-contact:hover,
.footer a:hover {
  color: var(--text);
}

.header-actions {
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}

.language-switch button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-2));
  color: #fffefe;
  box-shadow: 0 0 18px rgba(0, 106, 251, .28);
}

.theme-toggle {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.theme-toggle:hover {
  border-color: rgba(59, 130, 246, .32);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

:root[data-theme="light"] .language-switch,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .nav-contact {
  background: rgba(255, 255, 255, .72);
}

.nav-contact {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.nav-contact:hover {
  border-color: rgba(0, 106, 251, .18);
  background: rgba(0, 106, 251, .08);
  transform: translateY(-1px);
}

.primary {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(0, 106, 251, .36);
  border-radius: 999px;
  padding: 0 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 106, 251, .16), rgba(0, 60, 237, .08)),
    #000000;
  color: #fffefe;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 12px 28px rgba(0, 0, 0, .34),
    0 0 0 4px rgba(0, 106, 251, .09);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

:root[data-theme="light"] .primary {
  background:
    linear-gradient(180deg, rgba(0, 106, 251, .92), rgba(0, 60, 237, .92)),
    #006afb;
  color: #fffefe;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 12px 28px rgba(0, 106, 251, .22),
    0 0 0 4px rgba(0, 106, 251, .09);
}

.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity .22s ease, transform .42s ease;
}

.primary::after {
  content: "->";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 106, 251, .12);
  color: #fffefe;
  font-size: 12px;
  line-height: 1;
  transition: transform .22s ease, background .22s ease;
}

.primary > span,
.primary::after {
  position: relative;
  z-index: 1;
}

.primary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 106, 251, .58);
  background:
    linear-gradient(180deg, rgba(0, 106, 251, .2), rgba(0, 106, 251, .11)),
    #08172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 16px 36px rgba(0, 0, 0, .42),
    0 0 34px rgba(0, 106, 251, .16);
}

.primary:hover::before {
  opacity: 1;
  transform: translateX(70%);
}

.primary:hover::after {
  transform: translateX(3px);
  background: rgba(0, 106, 251, .2);
}

.primary:focus-visible,
.nav-contact:focus-visible,
.secondary:focus-visible {
  outline: 3px solid rgba(0, 106, 251, .28);
  outline-offset: 3px;
}

.primary.small {
  min-height: 46px;
  padding: 0 18px 0 22px;
  font-size: 13px;
}

.secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .035);
  color: #d8efff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 106, 251, .3);
  background: rgba(0, 106, 251, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 22px rgba(0, 106, 251, .08);
}

.menu-button {
  display: none;
  width: 34px;
  height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
}

main {
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  padding: 92px 0 40px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .pill,
.hero-copy h1,
.hero-copy > p,
.hero-actions,
.dashboard-mockup {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .72s ease forwards;
}

.hero-copy .pill {
  animation-delay: .05s;
}

.hero-copy h1 {
  animation-delay: .16s;
}

.hero-copy > p {
  animation-delay: .28s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  animation-delay: .42s;
}

.dashboard-mockup {
  position: relative;
  max-width: 920px;
  margin: 70px auto 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(29, 78, 216, .08), transparent 42%),
    linear-gradient(180deg, rgba(7, 15, 32, .94), rgba(9, 13, 22, .96));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .38),
    0 0 54px rgba(29, 78, 216, .08);
  text-align: left;
  animation-delay: .56s;
  overflow: hidden;
}

.dashboard-mockup::before {
  content: "";
  position: absolute;
  inset: -80px 14% auto;
  height: 120px;
  background: rgba(0, 106, 251, .18);
  filter: blur(70px);
}

.mockup-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #cfeeff;
  font-size: 13px;
  font-weight: 900;
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.mockup-top strong {
  margin-left: 8px;
}

.mockup-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mockup-panel {
  min-height: 136px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
}

.mockup-panel.wide {
  grid-column: 1 / -1;
}

.mockup-panel span,
.stat-card span,
.chart-head span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mockup-panel strong {
  color: #dff7ff;
  font-size: 32px;
}

.mockup-panel p {
  margin: 0;
  color: #c4d9e8;
  font-weight: 800;
}

.mockup-chart {
  min-height: 178px;
  border: 1px solid rgba(0, 106, 251, .14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(2, 213, 253, .08), transparent 28%),
    linear-gradient(180deg, rgba(0, 106, 251, .08), rgba(0, 106, 251, .02));
  overflow: hidden;
}

.mockup-chart svg {
  width: 100%;
  height: 178px;
  display: block;
}

.mockup-chart-grid {
  fill: none;
  stroke: rgba(225, 228, 233, .08);
  stroke-width: 1;
}

.mockup-chart-area {
  fill: url(#mockupFill);
  opacity: .95;
}

.mockup-chart-line {
  fill: none;
  stroke: url(#mockupStroke);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(2, 213, 253, .26));
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
}

.mockup-chart.is-drawn .mockup-chart-line {
  animation: drawLine 1.1s ease forwards;
}

:root[data-theme="light"] .dashboard-mockup {
  background:
    radial-gradient(circle at 50% 0%, rgba(2, 213, 253, .18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(238, 246, 255, .96));
  box-shadow:
    0 34px 90px rgba(15, 23, 42, .12),
    0 0 54px rgba(0, 106, 251, .1);
}

:root[data-theme="light"] .mockup-top,
:root[data-theme="light"] .mockup-panel strong,
:root[data-theme="light"] .mockup-panel p {
  color: var(--text);
}

:root[data-theme="light"] .mockup-panel {
  border-color: rgba(0, 106, 251, .12);
  background: rgba(255, 255, 255, .7);
}

.pill {
  width: max-content;
  margin: 0 auto 32px;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--blue-soft);
  color: #a8dcff;
  font-size: 12px;
  font-weight: 900;
}

:root[data-theme="light"] .pill {
  color: var(--blue-deep);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: clamp(44px, 7vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.pill),
.section-title p,
.info-card p,
.panel-head p,
.faq details p,
.cta-card p,
.footer p {
  color: var(--muted);
  line-height: 1.55;
}

.hero p:not(.pill) {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.panel-card,
.faq details,
.cta-card,
.stat-card,
.chart-card,
.preview-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 0%, rgba(20, 93, 194, .26), transparent 36%),
    var(--panel);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease, background .26s ease;
}

.info-card:hover,
.faq details:hover,
.panel-card:hover,
.cta-card:hover,
.stat-card:hover,
.chart-card:hover,
.preview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 106, 251, .2);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .35), 0 0 34px rgba(0, 106, 251, .1);
}

.info-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  padding: 24px;
}

.icon-card {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  transition: background .24s ease, transform .24s ease, box-shadow .24s ease;
}

.info-card:hover .icon-card {
  background: rgba(0, 106, 251, .14);
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(0, 106, 251, .12);
}

.icon-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #d9f3ff;
  stroke-width: 1.8;
}

:root[data-theme="light"] .icon-card {
  background: rgba(0, 106, 251, .08);
}

:root[data-theme="light"] .icon-card svg {
  stroke: var(--blue-deep);
}

.info-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.info-card p {
  max-width: 330px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.panel-card {
  margin-top: 24px;
  padding: 28px;
}

.panel-head {
  margin-bottom: 26px;
}

.panel-head h2,
.section-title h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.panel-head p,
.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--field);
  color: var(--muted);
  outline: 0;
}

textarea {
  min-height: 96px;
  padding-top: 14px;
  resize: vertical;
}

.stats-section,
.feature-preview,
.faq {
  padding: 120px 0 0;
}

.section-title {
  max-width: 620px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card,
.chart-card,
.preview-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 0%, rgba(20, 93, 194, .24), transparent 34%),
    var(--panel);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.stat-card {
  min-height: 172px;
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  color: #e8fbff;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

:root[data-theme="light"] .stat-card strong {
  color: var(--blue-deep);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.stat-card:hover,
.chart-card:hover,
.preview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 106, 251, .2);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .35), 0 0 34px rgba(0, 106, 251, .1);
}

.chart-card {
  margin-top: 18px;
  padding: 24px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

.preview-card {
  min-height: 154px;
  display: grid;
  align-content: space-between;
  padding: 20px;
}

.preview-card.large {
  grid-row: span 2;
  min-height: 324px;
}

.preview-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.preview-card strong {
  color: #e8fbff;
  font-size: clamp(30px, 4vw, 48px);
}

:root[data-theme="light"] .preview-card strong {
  color: var(--blue-deep);
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.mini-dashboard-chart {
  height: 150px;
  border: 1px solid rgba(0, 106, 251, .14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 18%, rgba(2, 213, 253, .12), transparent 30%),
    rgba(255,255,255,.03);
  overflow: hidden;
}

.mini-dashboard-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-grid {
  fill: none;
  stroke: rgba(225, 228, 233, .08);
  stroke-width: 1;
}

.mini-area {
  fill: rgba(2, 213, 253, .1);
}

.mini-stroke {
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(2, 213, 253, .28));
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.chart-head span {
  margin: 0;
}

.chart-head strong {
  color: #cfeeff;
  font-size: 13px;
}

.price-chart {
  height: 260px;
  border: 1px solid rgba(0, 106, 251, .14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(2, 213, 253, .1), transparent 28%),
    linear-gradient(180deg, rgba(0, 106, 251, .06), rgba(0, 106, 251, .015));
  overflow: hidden;
}

.price-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.price-grid {
  fill: none;
  stroke: rgba(225, 228, 233, .08);
  stroke-width: 1;
}

.price-area {
  fill: url(#publicLineFill);
  opacity: 0;
  transition: opacity .45s ease;
}

.price-line {
  fill: none;
  stroke: url(#publicLineStroke);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(2, 213, 253, .3));
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.price-chart.is-drawn .price-area {
  opacity: 1;
}

.price-chart.is-drawn .price-line {
  animation: drawLine 1.1s ease forwards;
}

.bio-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
}

.avatar-pulse {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 106, 251, .32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .22), transparent 18%),
    linear-gradient(135deg, #003ced, #02d5fd);
  color: white;
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 0 0 0 rgba(0, 106, 251, .18), 0 0 46px rgba(0, 106, 251, .18);
  animation: avatarPulse 2.8s ease-in-out infinite;
}

.pill.inline {
  margin: 0 0 18px;
}

.bio-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.bio-card p:not(.pill) {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.65;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .035);
  color: #d8efff;
  font-weight: 900;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.social-links a:hover {
  transform: translateX(4px);
  border-color: rgba(0, 106, 251, .28);
  background: rgba(0, 106, 251, .08);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq details {
  overflow: hidden;
  will-change: height;
}

.faq summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 34px;
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  transition: color .22s ease, background .22s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--text);
  font-size: 30px;
  font-weight: 300;
  transition: transform .26s ease, color .26s ease;
}

.faq details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq details p {
  margin: -8px 34px 24px;
  max-width: 680px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .24s ease, transform .24s ease;
}

.faq details[open] p {
  opacity: 1;
  transform: translateY(0);
}

.faq details.is-closing p {
  opacity: 0;
  transform: translateY(-8px);
}

.cta-card {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  margin: 150px 0 92px;
  padding: 46px 24px;
  text-align: center;
  color: #fffefe;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 11, 22, .92), rgba(10, 27, 55, .96), rgba(11, 11, 22, .92)),
    var(--panel);
  background-size: 220% 220%;
  animation: ctaGradient 8s ease-in-out infinite;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: var(--blue);
  box-shadow: 0 0 38px 13px var(--glow);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .62s ease, transform .62s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.info-card.reveal.is-visible:hover,
.faq details.reveal.is-visible:hover,
.panel-card.reveal.is-visible:hover,
.cta-card.reveal.is-visible:hover,
.stat-card.reveal.is-visible:hover,
.chart-card.reveal.is-visible:hover,
.preview-card.reveal.is-visible:hover {
  transform: translateY(-5px);
}

:root[data-theme="light"] .cta-card {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(2, 213, 253, .16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(238, 246, 255, .98));
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .08),
    inset 0 0 0 1px rgba(0, 106, 251, .08);
}

:root[data-theme="light"] .cta-card::after {
  height: 7px;
  box-shadow: 0 0 24px 8px rgba(0, 106, 251, .18);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes avatarPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 106, 251, .16), 0 0 46px rgba(0, 106, 251, .18);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(0, 106, 251, 0), 0 0 62px rgba(0, 106, 251, .28);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ctaGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.cta-card h2 {
  margin: 0 0 14px;
  color: #fffefe;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: 0;
}

:root[data-theme="light"] .cta-card h2 {
  color: var(--text);
}

.cta-card p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 254, 254, .76);
  font-weight: 700;
}

:root[data-theme="light"] .cta-card p {
  color: var(--muted);
}

.footer {
  width: min(1104px, calc(100% - 56px));
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
  padding: 0 0 90px;
}

.footer-brand {
  max-width: 280px;
}

.footer p {
  margin: 18px 0 0;
  font-weight: 700;
}

.footer nav {
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  min-width: 140px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer nav strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 18px;
}

.footer-copy {
  max-width: 190px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.footer-copy strong,
.footer-copy span {
  display: block;
}

.footer-copy strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.not-found {
  width: min(820px, calc(100% - 32px));
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 46px;
  margin: 0 auto;
}

.not-found .brand {
  width: max-content;
}

.not-found h1 {
  max-width: 760px;
}

.not-found p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .site-header {
    width: min(696px, calc(100% - 48px));
  }

  .main-nav {
    display: none;
  }

  .header-actions .nav-contact,
  .header-actions .primary {
    display: none;
  }

  .menu-button {
    display: block;
  }

  main,
  .footer {
    width: min(696px, calc(100% - 48px));
  }

  .hero {
    padding-top: 92px;
  }

  h1 {
    font-size: 58px;
  }

  .quick-cards {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-panel.wide {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .footer {
    width: min(342px, calc(100% - 32px));
  }

  .site-header {
    min-height: 58px;
    margin-top: 10px;
    padding: 0 12px;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .pill {
    margin-bottom: 24px;
  }

  h1 {
    font-size: 34px;
    letter-spacing: 0;
  }

  .hero p:not(.pill) {
    font-size: 14px;
  }

  .hero-actions,
  .quick-cards,
  .control-grid,
  .mockup-grid,
  .preview-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .dashboard-mockup {
    margin-top: 44px;
    padding: 12px;
  }

  .mockup-panel {
    min-height: 112px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .price-chart {
    height: 220px;
  }

  .preview-card.large {
    grid-row: auto;
    min-height: 220px;
  }

  .info-card {
    min-height: 178px;
  }

  .panel-card {
    padding: 22px;
  }

  label.wide {
    grid-column: auto;
  }

  .stats-section,
  .feature-preview,
  .faq {
    padding-top: 84px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .faq summary {
    min-height: 88px;
    padding: 0 20px;
    font-size: 17px;
  }

  .faq details p {
    margin: -4px 20px 22px;
  }

  .cta-card {
    margin: 92px 0 68px;
  }

  .footer {
    gap: 34px;
    padding-bottom: 64px;
  }
}


