:root {
  --purple-950: #2d0b4f;
  --purple-900: #3b1266;
  --purple-800: #4c1d95;
  --purple-700: #5b21b6;
  --purple-600: #7c3aed;
  --purple-100: #ede9fe;
  --purple-50: #f5f3ff;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #e7e2f1;
  --surface: #ffffff;
  --soft: #faf9fc;
  --success: #15803d;
  --success-bg: #dcfce7;
  --shadow: 0 18px 48px rgba(59, 18, 102, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,226,241,.9);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  box-shadow: 0 10px 28px rgba(91,33,182,.28);
}
.brand strong { display: block; color: var(--purple-900); letter-spacing: .04em; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: .74rem; margin-top: -1px; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { text-decoration: none; font-weight: 650; font-size: .92rem; color: #4b5563; }
nav a:hover { color: var(--purple-700); }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-800) 52%, var(--purple-700) 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; border: 30px solid rgba(255,255,255,.12); }
.orb-one { width: 260px; height: 260px; right: -70px; top: -95px; }
.orb-two { width: 150px; height: 150px; left: 44%; bottom: -105px; opacity: .55; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr .8fr; gap: 64px; align-items: center;
  min-height: 520px; padding: 80px 0;
}
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .15em; color: #ddd6fe; }
.eyebrow.purple { color: var(--purple-700); }
h1 { margin: 14px 0 18px; font-size: clamp(2.55rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; max-width: 760px; }
.lead { margin: 0; max-width: 650px; font-size: 1.2rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border-radius: 10px; text-decoration: none; font-weight: 750; }
.btn-primary { background: #fff; color: var(--purple-800); box-shadow: 0 12px 30px rgba(24,8,42,.2); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.07); }
.environment-note { margin-top: 18px; font-size: .84rem; color: rgba(255,255,255,.63); }

.hero-card {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(25,7,48,.28);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
}
.hero-card-header { display: flex; align-items: center; gap: 9px; padding: 18px 20px; font-weight: 800; color: var(--purple-800); border-bottom: 1px solid var(--line); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 20px; border-bottom: 1px solid #f0edf6; }
dl div:last-child { border-bottom: 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; color: #374151; text-align: right; }

.section { padding: 82px 0; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: #251138; letter-spacing: -.035em; }
.section-heading p, .info-grid p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(39,19,60,.06); }
.service-card.featured, .service-card.converter-card { border-top: 4px solid var(--purple-700); }
.service-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple-700); font-weight: 900; font-size: .82rem; }
.service-icon.muted { background: #f1f5f9; color: #64748b; font-size: 1.3rem; }
.service-icon.converter-icon { font-size: .68rem; letter-spacing: -.02em; background: #eef2ff; color: #4f46e5; }
.service-body { min-width: 0; flex: 1; }
.service-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card h3 { margin: 0 0 8px; color: var(--purple-900); font-size: 1.3rem; }
.service-card p { margin: 0; color: var(--muted); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; background: var(--success-bg); color: var(--success); font-size: .73rem; font-weight: 800; white-space: nowrap; }
.service-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.service-meta span { border: 1px solid #e7e2f1; background: #faf9fc; color: #5f4b6f; border-radius: 999px; padding: 4px 8px; font-size: .73rem; font-weight: 700; }
.service-links { margin-top: 18px; }
.text-link { color: var(--purple-700); text-decoration: none; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.placeholder-card { background: linear-gradient(180deg, #fff, #fbfaff); }

.alt { background: var(--soft); border-top: 1px solid #f0edf6; border-bottom: 1px solid #f0edf6; }
.info-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: center; }
.architecture-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.architecture-points li {
  position: relative;
  padding-left: 20px;
  color: #475569;
  font-size: .94rem;
}
.architecture-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-600);
  box-shadow: 0 0 0 4px var(--purple-100);
}
.architecture-figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(39,19,60,.07);
}
.architecture-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.architecture-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}

footer { background: #1f0d33; color: rgba(255,255,255,.72); }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .86rem; }
.footer-inner strong { color: #fff; letter-spacing: .06em; }

@media (max-width: 820px) {
  nav { display: none; }
  .hero-grid, .cards, .info-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; min-height: auto; padding: 64px 0; }
  .hero-card { max-width: 560px; }
  .section { padding: 62px 0; }
  .info-grid { gap: 28px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 18px 0; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1120px); }
  .service-card { flex-direction: column; }
  .service-title-row { align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}
