* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --text: #eef3ff;
  --muted: #b9c6e6;
  --accent-1: #7c3aed;
  --accent-2: #ff4d6d;
  --accent-3: #22d3ee;
  --line: rgba(255,255,255,0.08);
}
body {
  min-height: 100vh;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,0.08), transparent 2.2%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.06), transparent 1.8%),
    radial-gradient(circle at 24% 68%, rgba(255,255,255,0.05), transparent 1.8%),
    radial-gradient(circle at 52% 50%, rgba(124, 58, 237, 0.14), transparent 18%),
    linear-gradient(180deg, #02030a 0%, #050812 42%, #04050d 100%);
  overflow-x: hidden;
}
.bg-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(120,170,255,0.25);
  opacity: 0.55;
  animation: twinkle 4s ease-in-out infinite;
  z-index: -1;
}
.dot-1 { top: 14%; left: 8%; }
.dot-2 { top: 24%; right: 14%; animation-delay: .8s; }
.dot-3 { bottom: 18%; left: 15%; animation-delay: 1.4s; }
.dot-4 { bottom: 28%; right: 20%; animation-delay: 2s; }
.dot-5 { top: 56%; left: 50%; animation-delay: 1.2s; }
.page-wrap { width: min(1100px, calc(100% - 28px)); margin: 0 auto; padding: 38px 0 72px; }
.hero, .tutorials { border: none; background: transparent; box-shadow: none; }
.hero { text-align: center; padding: 24px 8px 12px; }
.top-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.cta-wrap { display: flex; justify-content: center; margin: 22px 0 6px; }
.logo { width: clamp(120px, 16vw, 180px); display: block; filter: drop-shadow(0 18px 40px rgba(255,255,255,0.16)); animation: float 4.8s ease-in-out infinite, glow 3.2s ease-in-out infinite; }
.youtube-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.youtube-btn:hover { transform: translateY(-2px) scale(1.03); border-color: rgba(255,255,255,0.18); box-shadow: 0 20px 42px rgba(0,0,0,0.34); }
.youtube-icon { width: 56px; height: 56px; display: block; }
h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; margin-bottom: 12px; }
.tags { font-family: 'Space Grotesk', sans-serif; color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.08rem); letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 16px; }
.tags span { display: inline-block; width: 26px; }
.intro { max-width: 760px; margin: 0 auto; color: #9fb1da; font-size: 1.02rem; line-height: 1.8; }
.tutorials { margin-top: 34px; }
h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin-bottom: 18px; letter-spacing: -0.03em; }
.tutorial-item { position: relative; border-radius: 26px; overflow: hidden; background: rgba(8, 12, 24, 0.22); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.tutorial-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(124,58,237,0.08), rgba(34,211,238,0.06)); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tutorial-item:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.14); box-shadow: 0 16px 44px rgba(0,0,0,0.25); }
.tutorial-item:hover::before { opacity: 1; }
.tutorial-toggle { width: 100%; border: 0; background: transparent; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; text-align: left; font-size: 1.02rem; font-weight: 700; position: relative; z-index: 1; }
.tutorial-toggle::after { content: ''; width: 12px; height: 12px; border-right: 2px solid rgba(255,255,255,0.7); border-bottom: 2px solid rgba(255,255,255,0.7); transform: rotate(45deg); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, opacity .25s ease; opacity: .9; margin-left: 10px; }
.tutorial-item.open .tutorial-toggle::after { transform: rotate(225deg) translateY(-2px); border-color: #fff; }
.tutorial-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.tutorial-item.open .tutorial-content { grid-template-rows: 1fr; }
.tutorial-content p { overflow: hidden; padding: 0 24px 0; color: #cad7f4; line-height: 1.75; }
.tutorial-item.open .tutorial-content p { padding-bottom: 22px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes glow { 0%,100% { filter: drop-shadow(0 18px 40px rgba(255,255,255,0.14)); } 50% { filter: drop-shadow(0 18px 50px rgba(255,255,255,0.28)); } }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 0.95; transform: scale(1.4); } }
@media (max-width: 768px) {
  .page-wrap { width: min(100% - 18px, 1000px); padding-top: 18px; }
  .top-row { gap: 12px; }
  .youtube-btn { width: 64px; height: 64px; }
  .youtube-icon { width: 50px; height: 50px; }
  .tutorial-toggle { padding: 18px; font-size: 0.98rem; }
  .tutorial-content p { padding-left: 18px; padding-right: 18px; }
  .tutorial-item.open .tutorial-content p { padding-bottom: 18px; }
}