:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --muted: #555555;
  --text: #111111;
  --brand: #7c3aed;
  --brand-2: #22d3ee;
  --ring: rgba(124,58,237,.35);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(34,211,238,.1));
  border: 1px solid rgba(124,58,237,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.hero-inner {
  padding: 52px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,211,238,.12);
  color: #0b0f17;
  border: 1px solid rgba(34,211,238,.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 8px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #0b0f17;
}

.subtitle {
  color: var(--muted);
  max-width: 720px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  background: #111;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #111;
  border: 1px solid rgba(0,0,0,0.2);
}

.hero-art {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  height: 220px;
  border-radius: 22px;
  background: #222;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: inset 0 0 40px rgba(124,58,237,.12),
              inset 0 0 40px rgba(34,211,238,.12),
              0 12px 30px rgba(0,0,0,.15);
  position: relative;
}

.yt-frame {
  border: 3px solid ;
  border-radius: 15px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 4px 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 22px;
  color: #0b0f17;
}

.section-title .hint {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 4;
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.1);
  border-color: rgba(124,58,237,.3);
}

.card .title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #0b0f17;
}

.card .title .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(34,211,238,.1));
  border: 1px solid rgba(124,58,237,.25);
}

.card .desc {
  color: #333;
  margin: 8px 0 14px;
}

.card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-self: stretch;
    height: 180px;
  }
}

@media (max-width:920px) {
  .card {
    grid-column: span 6;
  }
}

@media (max-width:640px) {
  .card {
    grid-column: span 12;
  }
  h1 {
    font-size: 30px;
  }
}
