:root {
  --bg: #050712;
  --text: #f7f8fb;
  --muted: #c8ccda;
  --ink: #101426;
  --ink-muted: #4c536b;
  --line: rgba(255,255,255,.09);
  --blue: #3184ff;
  --indigo: #5f61ff;
  --purple: #8b45ff;
  --soft: #f7f8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2vw;
  background: rgba(4, 6, 16, .96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 13px; font-size: 31px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 56px; height: 43px; }
.brand-accent { color: #4587ff; }
.nav { display: flex; align-items: center; gap: 44px; font-size: 15px; font-weight: 600; }
.nav > a:not(.button) { color: #f2f3f8; opacity: .92; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 17px;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-1px); opacity: .96; }
.button-small { min-height: 46px; padding: 0 23px; border-radius: 16px; }
.button-primary { background: linear-gradient(135deg, #4069ff, #5262ff); box-shadow: 0 12px 30px rgba(65,90,255,.18); }
.button-secondary { border: 1px solid rgba(175, 165, 255, .55); background: rgba(11,12,26,.35); }
.github-dot { font-size: 19px; margin-right: 10px; }

.hero {
  min-height: 475px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 58%, rgba(30,73,255,.08), transparent 31%),
    linear-gradient(180deg, #050712 0%, #050713 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg img { width: 72%; position: absolute; right: -1%; top: 12px; opacity: .98; }
.hero-content { position: relative; z-index: 2; width: 49%; padding: 62px 0 54px 5.2vw; }
.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #4e9cff;
  background: rgba(39,73,178,.13);
}
.hero h1 { margin: 26px 0 20px; font-size: clamp(54px, 5vw, 77px); line-height: .98; letter-spacing: -.055em; max-width: 730px; }
.hero h1 span { background: linear-gradient(90deg, #2f8cff, #7763ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0; font-size: 19px; line-height: 1.55; color: #e6e7ed; }
.hero-actions { display: flex; gap: 18px; margin-top: 28px; }

.platform { background: #fff; color: var(--ink); padding: 36px 5.2vw 30px; }
.section-heading { text-align: center; }
.kicker { font-size: 11px; color: #4f60ff; font-weight: 800; letter-spacing: .09em; }
.section-heading h2 { margin: 12px 0 10px; font-size: 31px; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 43px 0 42px; }
.feature { padding: 0 36px; min-height: 165px; border-left: 1px solid #e1e4ef; }
.feature:first-child { border-left: 0; padding-left: 15px; }
.feature-icon { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; background: #f0efff; color: #5358ff; font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.025em; }
.feature p { margin: 0; color: #313852; font-size: 14px; line-height: 1.5; max-width: 245px; }

.open-card {
  display: grid;
  grid-template-columns: 2.7fr .8fr .85fr .85fr;
  gap: 0;
  align-items: center;
  background: linear-gradient(120deg, #f4f2ff, #fbfbff);
  border-radius: 15px;
  min-height: 112px;
  padding: 20px 30px;
}
.open-copy { display: flex; gap: 20px; align-items: center; padding-right: 25px; }
.open-copy img { width: 67px; height: 67px; }
.open-copy h3 { margin: 0 0 5px; font-size: 17px; }
.open-copy p { margin: 0; color: #454c64; font-size: 13px; line-height: 1.45; max-width: 500px; }
.open-stat { text-align: center; min-height: 52px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #d9dbea; }
.open-stat strong { color: #515eff; font-size: 16px; margin-bottom: 4px; }
.open-stat span { color: #464c62; font-size: 13px; }

@media (max-width: 980px) {
  .nav > a:not(.button) { display: none; }
  .hero { min-height: 640px; }
  .hero-bg img { width: 115%; right: -38%; top: 150px; opacity: .72; }
  .hero-content { width: 90%; padding-top: 70px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .feature:nth-child(3) { border-left: 0; padding-left: 15px; }
  .open-card { grid-template-columns: 1fr 1fr 1fr; }
  .open-copy { grid-column: 1 / -1; margin-bottom: 20px; }
  .open-stat:first-of-type { border-left: 0; }
}

@media (max-width: 640px) {
  .site-header { height: 74px; padding: 0 22px; }
  .brand { font-size: 24px; }
  .brand img { width: 45px; }
  .button-small { min-height: 40px; padding: 0 16px; }
  .hero-content { padding: 52px 22px 42px; width: 100%; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 260px; }
  .platform { padding: 36px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3) { border-left: 0; border-top: 1px solid #e1e4ef; padding: 25px 0 0; }
  .feature:first-child { border-top: 0; padding-top: 0; }
  .open-card { grid-template-columns: 1fr; }
  .open-stat { border-left: 0; border-top: 1px solid #d9dbea; padding: 13px 0; }
}
