:root {
  --bg: #030817;
  --bg-2: #061127;
  --panel: #09152b;
  --panel-2: #0c1931;
  --panel-3: #081120;
  --line: rgba(117, 164, 255, 0.12);
  --text: #eef4ff;
  --muted: #92a0bf;
  --muted-2: #7081a8;
  --blue: #3b82ff;
  --blue-2: #58a6ff;
  --blue-3: #73c2ff;
  --cyan: #4cd7ff;
  --green: #31d67b;
  --pink: #ff4db8;
  --orange: #ff9c45;
  --purple: #8b5cf6;
  --red: #ff5f73;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #020614 0%, #040b19 35%, #051022 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 16% 12%, rgba(58, 130, 255, 0.28), transparent 26%),
              radial-gradient(circle at 82% 24%, rgba(39, 196, 255, 0.14), transparent 18%),
              radial-gradient(circle at 70% 78%, rgba(49, 214, 123, 0.08), transparent 24%),
              radial-gradient(circle at 30% 82%, rgba(139, 92, 246, 0.08), transparent 18%);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 35%, rgba(88, 166, 255, 0.09), transparent 26%),
              radial-gradient(circle at 50% 70%, rgba(49, 214, 123, 0.05), transparent 28%);
  filter: blur(40px);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.18;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 22px;
}

.btn-primary {
  color: #04111e;
  background: linear-gradient(180deg, #69b8ff, #31d67b);
  box-shadow: 0 14px 30px rgba(49, 214, 123, 0.18), 0 0 34px rgba(88, 166, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.btn-outline {
  background: transparent;
  border: 1px solid #58a6ff;
  color: #73c2ff;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(88, 166, 255, 0.1);
  transform: translateY(-2px);
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 21, 43, 0.88), rgba(7, 16, 33, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
  pointer-events: none;
}

.glow-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(88, 166, 255, 0.06) inset, 0 0 50px rgba(49, 214, 123, 0.08);
}

.glow-heavy {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(88, 166, 255, 0.08) inset, 0 0 80px rgba(49, 214, 123, 0.09);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head h2 span {
  color: var(--blue-3);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(88, 166, 255, 0.16);
  color: var(--blue-3);
  background: rgba(88, 166, 255, 0.06);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.icon-box.blue { background: rgba(59, 130, 255, 0.10); color: var(--blue-3); }
.icon-box.green { background: rgba(49, 214, 123, 0.10); color: #67f0a0; }
.icon-box.purple { background: rgba(139, 92, 246, 0.10); color: #b899ff; }
.icon-box.pink { background: rgba(255, 77, 184, 0.10); color: #ff75c6; }
.icon-box.cyan { background: rgba(76, 215, 255, 0.10); color: #7de4ff; }
.icon-box.orange { background: rgba(255, 156, 69, 0.10); color: #ffbf82; }

.loading-state {
  text-align: center;
  padding: 40px;
  color: var(--muted-2);
}

.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid var(--line);
  border-top-color: var(--blue-3);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
}