:root {
  color-scheme: dark;
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  --glass-bg-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-soft: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 30px 80px rgba(5, 10, 30, 0.45);
  --text-main: #f5f8ff;
  --text-muted: #c3ccdf;
  --accent: #4f7dff;
  --accent-2: #4cc4ff;
  --danger: #ff6b82;
  --ok: #2ad6a2;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: 'SF Pro Display', 'SF Pro Text', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1100px 520px at 10% -20%, rgba(82, 152, 255, 0.5), transparent 60%),
    radial-gradient(900px 520px at 110% -25%, rgba(117, 201, 255, 0.38), transparent 62%),
    radial-gradient(1100px 720px at 50% 120%, rgba(130, 112, 255, 0.34), transparent 70%),
    linear-gradient(170deg, #0d1425 0%, #101b36 45%, #0b1121 100%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(520px 200px at 15% 16%, rgba(255, 255, 255, 0.22), transparent 72%),
    radial-gradient(440px 170px at 82% 10%, rgba(255, 255, 255, 0.18), transparent 70%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%);
  mix-blend-mode: screen;
}

body > * {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.01em;
}

p,
span,
li,
label,
small {
  color: inherit;
}

.glass,
.card,
.steps-item,
[class*='rounded-2xl'],
[class*='rounded-3xl'] {
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.glass,
.card,
.steps-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-soft);
  box-shadow: var(--glass-shadow);
}

a,
button {
  transition: transform 0.2s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease;
}

button:hover,
a:hover {
  filter: brightness(1.03);
}

button:active,
a:active {
  transform: translateY(1px) scale(0.985);
}

input,
textarea,
select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: var(--text-main) !important;
  border-radius: 14px;
  backdrop-filter: blur(16px);
}

input::placeholder,
textarea::placeholder {
  color: rgba(225, 233, 255, 0.56);
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: rgba(116, 199, 255, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(79, 125, 255, 0.23);
}

.bg-purple-600,
.bg-br-600,
[class*='bg-primary-600'] {
  background: linear-gradient(135deg, #5c8bff, #56c9ff) !important;
  color: #081528 !important;
  box-shadow: 0 12px 35px rgba(86, 201, 255, 0.28);
}

.bg-purple-600:hover,
.bg-br-600:hover,
[class*='bg-primary-600']:hover {
  filter: brightness(1.06);
}

.bg-white\/5,
.bg-white\/10,
.bg-slate-900\/80,
.bg-dk-800,
.bg-dk-950,
.dark\:bg-dk-800,
.dark\:bg-dk-950 {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.border-white\/10,
.border-white\/5,
.border-gray-200,
.dark\:border-white\/5 {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.text-gray-400,
.text-gray-500,
.text-gray-300,
.dark\:text-gray-400,
.dark\:text-gray-500 {
  color: var(--text-muted) !important;
}

.logo {
  background: linear-gradient(145deg, #5c8bff, #56c9ff);
  color: #06162a;
  box-shadow: 0 14px 32px rgba(86, 201, 255, 0.3);
}

.shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps-item span {
  background: rgba(116, 199, 255, 0.28);
  color: #deefff;
}

.cta-button {
  background: linear-gradient(135deg, #5c8bff, #56c9ff);
  color: #06162a;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(86, 201, 255, 0.34);
}

.btn-content small {
  color: rgba(6, 22, 42, 0.72);
}

.plane {
  background: rgba(255, 255, 255, 0.44);
}

.links,
.links a {
  color: var(--text-muted);
}

.links a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.links a:hover {
  color: #dff3ff;
  border-bottom-color: rgba(223, 243, 255, 0.72);
}

.prose,
.prose p,
.prose li,
.prose h1,
.prose h2,
.prose h3 {
  color: var(--text-main) !important;
}

.prose p,
.prose li {
  color: var(--text-muted) !important;
}

.prose a {
  color: #9dc7ff !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar-thumb {
  background: rgba(157, 199, 255, 0.48);
  border-radius: 999px;
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(580px 300px at 8% -8%, rgba(82, 152, 255, 0.48), transparent 68%),
      radial-gradient(520px 280px at 100% -12%, rgba(117, 201, 255, 0.36), transparent 70%),
      linear-gradient(170deg, #0d1425 0%, #101b36 48%, #0b1121 100%);
  }

  .shell {
    grid-template-columns: 1fr;
  }
}
