:root {
  --bg: #f5f3ff;
  --surface: #ffffff;
  --primary: #9333ea;
  --primary-dark: #7c3aed;
  --primary-light: #c084fc;
  --ink: #1e1b4b;
  --muted: #6b6484;
  --line: #e9e4f7;
  --shadow: 0 18px 50px rgba(124, 58, 237, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #efe7ff 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e9d5ff 0%, transparent 50%),
    var(--bg);
  line-height: 1.5;
}

.glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.45;
}
.glow-a {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 120px;
  background: #c084fc;
}
.glow-b {
  width: 340px;
  height: 340px;
  right: -80px;
  bottom: -40px;
  background: #9333ea;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 18px;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.langs button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font: 500 13px/1.2 Poppins, sans-serif;
  cursor: pointer;
}
.langs button[aria-current="true"] {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #c084fc, #7c3aed);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 20px;
}

.copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  max-width: 38ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn.primary {
  color: white;
  background: linear-gradient(135deg, #c084fc, #9333ea 45%, #7c3aed);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.28);
}
.btn.ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  cursor: default;
}

.hero-art {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #efe7ff;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 12px 0 48px;
}
.features article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.features h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.features p {
  margin: 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.footer a { color: var(--primary-dark); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .lead { max-width: none; }
}
