:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --card: rgba(255,255,255,0.75);
  --stroke: rgba(15,23,42,0.10);
  --shadow: 0 18px 45px rgba(15,23,42,0.10);

  --a: #6d28d9;   /* purple */
  --b: #0ea5e9;   /* sky */
  --c: #22c55e;   /* green */
  --d: #f97316;   /* orange */
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a{ text-decoration:none; color: inherit; }

.nav{
  position: sticky;
  top:0;
  z-index: 20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 22px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}

.nav__left{
  display:flex;
  gap: 12px;
  align-items:center;
}
.brand__logo{
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--stroke);
  padding: 6px;
}
.brand__title{
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* YouTube-inspired RED */
.brand__red{
  color: #0f172a;                 /* YouTube-like red */
  font-weight: 900;
}

/* Neutral black for balance */
.brand__dark{
  color: #0f172a;
  font-weight: 800;
}


.brand__subtitle{
  font-weight: 500;
  font-size: 20px;
  color: #475569;
  line-height: 1;
}


.nav__right{
  display:flex;
  gap: 10px;
  align-items:center;
}
.link{
  font-size: 18px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.link:hover{ background: rgba(2,6,23,0.04); color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: white;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  font-weight: 650;
  font-size: 14px;
}
.btn--primary{
  background: linear-gradient(135deg, rgba(109,40,217,0.95), rgba(14,165,233,0.95));
  color: white;
  border: none;
}
.btn--ghost{
  background: rgba(2,6,23,0.03);
}
.btn--soft{
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.20);
}
.btn--lg{ padding: 12px 16px; border-radius: 16px; }
.icon{ font-size: 16px; }

.hero{
  position: relative;
  padding: 52px 18px 10px;
}
.hero__bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.grid{
  position:absolute;
  inset:-40px;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(2,6,23,0.06) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .35;
  mask-image: radial-gradient(circle at 30% 20%, black 40%, transparent 70%);
}

.blob{
  position:absolute;
  width: 520px;
  height: 520px;
  filter: blur(45px);
  opacity: .25;
  border-radius: 999px;
  animation: drift 10s ease-in-out infinite alternate;
}
.blob--a{ background: var(--a); left:-180px; top:-140px;  display: none;}
.blob--b{ background: var(--b); right:-220px; top: 40px; animation-delay: .7s;  display: none;}
.blob--c{ background: var(--c); left: 40%; bottom:-260px; animation-delay: 1.3s;  display: none;}

@keyframes drift{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{ transform: translate3d(30px,-20px,0) scale(1.05); }
}

.hero__content{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(109,40,217,0.08);
  border: 1px solid rgba(109,40,217,0.18);
  color: #3b0764;
  font-weight: 650;
  font-size: 13px;
}
.dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 0 0 6px rgba(109,40,217,0.10);
}

.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.accent{
  background: linear-gradient(135deg, var(--a), var(--b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent2{
  background: linear-gradient(135deg, var(--c), var(--d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; }

.stats{
  margin-top: 18px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stat{
  min-width: 130px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(2,6,23,0.03);
  border: 1px solid var(--stroke);
}
.stat__num{ font-size: 22px; font-weight: 800; }
.stat__label{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.cards{ position: relative; min-height: 380px; }
.card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 28px rgba(15,23,42,0.10);
  backdrop-filter: blur(10px);
  position:absolute;
  width: min(360px, 92%);
}
.card__icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-size: 20px;
  color: white;
}
.i1{ background: linear-gradient(135deg, var(--a), var(--b)); }
.i2{ background: linear-gradient(135deg, var(--b), var(--c)); }
.i3{ background: linear-gradient(135deg, var(--c), var(--d)); }
.i4{ background: linear-gradient(135deg, var(--d), var(--a)); }
.card__title{ font-weight: 800; margin-bottom: 4px; }
.card__desc{ color: var(--muted); font-size: 13px; line-height: 1.45; }

.float{ animation: float 3.6s ease-in-out infinite; }
.float--1{ top: 20px; left: 0; }
.float--2{ top: 115px; left: 0; animation-delay: .3s; }
.float--3{ top: 215px; left: 0; animation-delay: .6s; }
.float--4{ top: 300px; left: 0; animation-delay: .9s; }

@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.section{
  max-width: 1100px;
  margin: 34px auto;
  padding: 0 18px;
}
.section__head{
  text-align: center;
  margin-bottom: 18px;
}
.section__head h2{
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.section__head p{
  margin: 0;
  color: var(--muted);
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature{
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: white;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.feature__icon{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.20);
  font-size: 20px;
  margin-bottom: 10px;
}
.feature h3{ margin: 0 0 6px; }
.feature p{ margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.section--alt{
  padding-top: 10px;
  padding-bottom: 28px;
}
.module-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.module{
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.module__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.badge{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(109,40,217,0.10);
  border: 1px solid rgba(109,40,217,0.18);
  color: #3b0764;
}
.spark{ font-size: 18px; }

.center{ display:flex; justify-content:center; margin-top: 18px; }

.footer{
  max-width: 1100px;
  margin: 28px auto 40px;
  padding: 14px 18px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links a{
  color: var(--muted);
  margin-left: 14px;
}
.footer__links a:hover{ color: var(--text); }

@media (max-width: 980px){
  .hero__content{ grid-template-columns: 1fr; }
  .cards{ min-height: 340px; margin-top: 8px; }
  .feature-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .nav__right .link{ display:none; }
  .feature-grid{ grid-template-columns: 1fr; }
}
