:root {
  --bg: #08111f;
  --bg-soft: #0f1b2f;
  --surface: rgba(10, 19, 35, 0.72);
  --surface-strong: rgba(13, 25, 46, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef3ff;
  --muted: #b7c1d8;
  --brand: #6ee7ff;
  --brand-2: #8b5cf6;
  --brand-3: #22c55e;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 231, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 24%),
    linear-gradient(180deg, #07111d 0%, #07111d 38%, #0b1526 100%);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
}

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

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

.page {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 35%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 12px 24px rgba(110, 231, 255, 0.2);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(110, 231, 255, 0.22);
  background: rgba(110, 231, 255, 0.08);
  color: #d8fbff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero {
  padding: 70px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.glass-card {
  background: linear-gradient(180deg, rgba(16, 28, 49, 0.92), rgba(11, 20, 38, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -35% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
  pointer-events: none;
}

.kicker {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 12ch;
  margin-bottom: 18px;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #9bdcff 48%, #8b5cf6 100%);
  color: #07111d;
  box-shadow: 0 16px 28px rgba(110, 231, 255, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.mini-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.mini-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.section-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 25, 46, 0.96), rgba(10, 19, 35, 0.92));
  border: 1px solid var(--line);
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #07111d;
  background: linear-gradient(135deg, var(--brand) 0%, #b4f0ff 100%);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  margin: 26px 0 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(110, 231, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(13, 25, 46, 0.98), rgba(10, 19, 35, 0.98));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 54px 0 16px;
}

.page-hero .hero-card {
  padding: 34px;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 72ch;
}

.footer {
  margin-top: 34px;
  padding: 24px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.contact-box {
  padding: 26px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #93a1bf;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.iframe-shell {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  min-height: 520px;
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .process,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .section-head,
  .footer-inner,
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero-card,
  .page-hero .hero-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 22px));
  }

  .header-inner {
    padding: 14px 0;
  }

  .hero-card,
  .card,
  .contact-box,
  .step,
  .cta-band {
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .btn {
    width: 100%;
  }
}
