:root {
  color-scheme: dark;
  --bg: #0b0e1a;
  --bg-soft: #11172a;
  --bg-card: rgba(17, 23, 42, 0.78);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #a7b0c3;
  --muted-strong: #cbd5e1;
  --blue: #3b82f6;
  --blue-strong: #60a5fa;
  --blue-soft: rgba(59, 130, 246, 0.14);
  --green: #a3e635;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(96, 165, 250, 0.12), transparent 36rem),
    linear-gradient(135deg, #0b0e1a 0%, #10172a 48%, #0b0e1a 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(11, 14, 26, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.42);
}

.button.secondary {
  background: rgba(15, 23, 42, 0.74);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: none;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 92px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 22px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--blue-soft);
  color: #bfdbfe;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.7);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 70px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header p {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 1.12rem;
  line-height: 1.65;
}

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: var(--bg-card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), transparent 45%);
}

.card > * {
  position: relative;
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  font-weight: 900;
}

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

.flow-step {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  background: rgba(15, 23, 42, 0.62);
}

.flow-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.flow-step span {
  color: var(--muted);
  line-height: 1.55;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 28px;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.72)),
    rgba(15, 23, 42, 0.86);
}

.price {
  margin-top: 18px;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

.price-card p {
  color: var(--muted-strong);
  line-height: 1.6;
}

.policy-page {
  max-width: 880px;
  padding: 72px 0 90px;
}

.policy-article {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(26px, 5vw, 52px);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.policy-article h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.policy-article h2 {
  margin-top: 42px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.policy-article h3 {
  margin-top: 28px;
  letter-spacing: -0.025em;
}

.policy-article p,
.policy-article li {
  color: var(--muted-strong);
  line-height: 1.72;
}

.policy-article a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-article ul {
  padding-left: 1.25rem;
}

.policy-article table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.policy-article th,
.policy-article td {
  border-bottom: 1px solid var(--border);
  padding: 14px;
  text-align: left;
  vertical-align: top;
  color: var(--muted-strong);
}

.policy-article th {
  background: rgba(59, 130, 246, 0.14);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .flow,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links .button {
    flex: 1;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
