:root {
  --bg: #08111f;
  --bg-soft: #0e1c32;
  --surface: rgba(13, 25, 45, 0.76);
  --surface-strong: rgba(10, 20, 38, 0.9);
  --ink: #edf3ff;
  --ink-soft: #d9e8ff;
  --muted: #aac0e5;
  --line: rgba(173, 212, 255, 0.18);
  --brand: #00d1ff;
  --brand-strong: #7be8ff;
  --brand-soft: rgba(0, 209, 255, 0.1);
  --accent: #ffd166;
  --accent-strong: #ffe39a;
  --accent-soft: rgba(255, 209, 102, 0.12);
  --success: #00ffa3;
  --shadow-lg: 0 30px 70px rgba(3, 8, 16, 0.54);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(940px 520px at 10% -10%, rgba(0, 209, 255, 0.2), transparent 62%),
    radial-gradient(760px 440px at 100% 0%, rgba(0, 255, 163, 0.14), transparent 58%),
    radial-gradient(720px 420px at 50% 110%, rgba(255, 209, 102, 0.12), transparent 58%),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.22;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(168, 216, 255, 0.03) 79px,
      rgba(168, 216, 255, 0.03) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 79px,
      rgba(168, 216, 255, 0.03) 79px,
      rgba(168, 216, 255, 0.03) 80px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
}

body::after {
  background:
    radial-gradient(420px 260px at 22% 18%, rgba(0, 209, 255, 0.16), transparent 68%),
    radial-gradient(420px 240px at 80% 14%, rgba(0, 255, 163, 0.1), transparent 66%);
  filter: blur(28px);
  opacity: 0.9;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  appearance: none;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.pageMain {
  padding: 36px 0 60px;
}

.sectionBlock {
  margin-top: 30px;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.82), rgba(8, 17, 31, 0.66));
  border-bottom: 1px solid rgba(173, 212, 255, 0.08);
  box-shadow: 0 12px 32px rgba(3, 8, 16, 0.28);
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brandLogo {
  width: auto;
  height: 44px;
  max-width: min(220px, 48vw);
  object-fit: contain;
  filter:
    drop-shadow(0 14px 26px rgba(0, 209, 255, 0.12))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.siteNavPanel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navLinks,
.navActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navLinks a {
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(237, 243, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.navLinks a:hover,
.navLinks a[aria-current="page"] {
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(173, 212, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.navToggle {
  display: none;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.eyebrow,
.cardTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 13px;
  border: 1px solid rgba(123, 232, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(0, 209, 255, 0.08), rgba(0, 255, 163, 0.08));
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cardSurface {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(173, 212, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(13, 25, 45, 0.78), rgba(10, 20, 38, 0.9)),
    linear-gradient(135deg, rgba(0, 209, 255, 0.06), rgba(0, 255, 163, 0.04));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.cardSurface::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 209, 255, 0.92), rgba(0, 255, 163, 0.82), rgba(255, 209, 102, 0.74));
  opacity: 0.88;
}

.cardSurface::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.sectionIntro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 18px;
}

.sectionIntro.compact {
  margin-bottom: 14px;
}

.sectionIntro h2 {
  margin: 14px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pageHero h1 {
  margin: 14px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.sectionIntro p,
.heroLead,
.cardSurface p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.pageHero {
  padding: 18px 0 4px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  cursor: pointer;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0.9;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(120deg, var(--brand) 0%, var(--success) 100%);
  color: #032018;
  box-shadow: 0 22px 44px rgba(0, 209, 255, 0.18);
}

.btn-secondary {
  border-color: rgba(173, 212, 255, 0.18);
  background: linear-gradient(180deg, rgba(16, 34, 60, 0.95), rgba(10, 22, 40, 0.94));
  color: #f8fbff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.btn-ghost {
  border-color: rgba(173, 212, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn-inline {
  min-width: 112px;
}

.textLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-weight: 800;
}

.textLink::after {
  content: "->";
  font-size: 14px;
  line-height: 1;
  transition: transform 180ms ease;
}

.textLink:hover::after {
  transform: translateX(4px);
}

.chipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chipBtn {
  padding: 11px 16px;
  border: 1px solid rgba(173, 212, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.chipBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 209, 255, 0.24);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.chipBtn.is-active {
  border-color: rgba(0, 209, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.14), rgba(0, 255, 163, 0.12));
  color: var(--brand-strong);
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(166, 206, 255, 0.24);
  border-radius: 18px;
  background: rgba(8, 19, 36, 0.84);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #8ca6cb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 209, 255, 0.58);
  background: rgba(8, 19, 36, 0.94);
  box-shadow:
    0 0 0 4px rgba(0, 209, 255, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.fieldLabel {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.actionStrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    radial-gradient(340px 200px at 16% 0%, rgba(255, 255, 255, 0.08), transparent 66%),
    linear-gradient(135deg, #07111f 0%, #0d2f53 50%, #004f60 100%);
  color: #fff;
}

.actionStrip::before {
  background: linear-gradient(90deg, rgba(0, 209, 255, 0.88), rgba(0, 255, 163, 0.84), rgba(255, 209, 102, 0.5));
}

.actionStrip::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0.9;
}

.actionStrip h2 {
  margin: 12px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.actionStrip p {
  color: rgba(255, 255, 255, 0.78);
}

.actionStrip .eyebrow {
  color: #baf6ff;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.actionStrip .btn-ghost {
  border-color: rgba(173, 212, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

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

.emptyState {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.08), rgba(0, 255, 163, 0.08));
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.siteFooter {
  border-top: 1px solid rgba(173, 212, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.4), rgba(7, 16, 31, 0.72));
}

.footerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
}

.footerInner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .navToggle {
    display: inline-flex;
  }

  .siteNavPanel {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(173, 212, 255, 0.12);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(11, 22, 40, 0.98), rgba(8, 17, 31, 0.94)),
      linear-gradient(135deg, rgba(0, 209, 255, 0.05), rgba(0, 255, 163, 0.05));
    box-shadow: var(--shadow-lg);
  }

  .siteNavPanel.is-open {
    display: flex;
  }

  .navLinks,
  .navActions {
    flex-direction: column;
    align-items: stretch;
  }

  .navLinks a,
  .navActions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .brandLogo {
    height: 38px;
    max-width: min(180px, 46vw);
  }

  .pageMain {
    padding: 24px 0 40px;
  }

  .cardSurface {
    padding: 20px;
    border-radius: 28px;
  }

  .actionStrip,
  .footerInner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stripActions {
    width: 100%;
  }

  .stripActions .btn {
    width: 100%;
  }
}
