/* ===== Muztie theme — matched to the YouTube banner (black + hot pink → violet) ===== */
:root {
  --bg: #08080c;
  --bg-2: #0f0f16;
  --card: rgba(255, 255, 255, 0.035);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f7;
  --muted: #9a9aab;
  --pink: #ff2e63;
  --magenta: #e0218a;
  --violet: #6d4aff;
  --grad: linear-gradient(120deg, #ff2e63 0%, #e0218a 45%, #6d4aff 100%);
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(255, 46, 99, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.1; letter-spacing: -0.02em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 2.5rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background effects */
.bg-glow {
  position: fixed; inset: -20% -10% auto; height: 90vh; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(255, 46, 99, 0.22), transparent 70%),
    radial-gradient(40% 50% at 85% 10%, rgba(109, 74, 255, 0.22), transparent 70%);
  filter: blur(20px);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -16px rgba(255, 46, 99, 0.6); }
.btn--ghost { border: 1px solid var(--card-border); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 12, 0.7); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: "Space Grotesk"; font-weight: 700; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pink); }
.brand em { font-style: normal; color: var(--pink); }
.nav__links { display: flex; gap: 2rem; font-size: .92rem; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; padding: 6rem 0 5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; color: #ffd0dc;
  background: rgba(255, 46, 99, 0.1); border: 1px solid rgba(255, 46, 99, 0.3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,46,99,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,46,99,0); } }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); margin: 1.3rem 0 1.2rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 33rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__trust { display: flex; gap: 2.5rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--card-border); }
.hero__trust strong { display: block; font-family: "Space Grotesk"; font-size: 1.6rem; }
.hero__trust span { font-size: .82rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__card { overflow: hidden; box-shadow: 0 40px 120px -40px rgba(224, 33, 138, 0.55); }
.hero__banner { height: 120px; background-size: cover; background-position: center; }
.hero__profile { display: flex; align-items: center; gap: 1rem; padding: 0 1.4rem; margin-top: -34px; }
.hero__profile img { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--pink); }
.hero__profile h3 { font-size: 1.15rem; margin-top: 2rem; }
.hero__profile p { font-size: .85rem; color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: 1.3rem 1.4rem; }
.mini-stats div { background: rgba(255,255,255,0.04); border-radius: 12px; padding: .75rem .9rem; }
.mini-stats span { display: block; font-size: .75rem; color: var(--muted); }
.mini-stats strong { font-family: "Space Grotesk"; font-size: 1.25rem; }
.spark { padding: 0 1.4rem 1.4rem; }
.spark__label { font-size: .75rem; color: var(--muted); margin-bottom: .6rem; }
.spark__bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.spark__bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .9; transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleY(0); } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 12px; font-size: .82rem; font-weight: 600;
  background: rgba(20, 20, 30, 0.85); border: 1px solid var(--card-border); backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}
.float-chip--a { top: 90px; left: -40px; }
.float-chip--b { bottom: 30px; right: -24px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 5.5rem 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: .8rem; }
.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .8rem; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.kpi { padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; transition: transform .25s, border-color .25s; }
.kpi:hover { transform: translateY(-4px); border-color: rgba(255, 46, 99, 0.4); }
.kpi__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 46, 99, 0.12); margin-bottom: .6rem; }
.kpi__label { font-size: .85rem; color: var(--muted); }
.kpi__value { font-family: "Space Grotesk"; font-size: 2.1rem; }
.kpi__sub { font-size: .8rem; color: var(--muted); }

/* Charts */
.charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.chart { padding: 1.8rem; }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; gap: 1rem; }
.chart__head h3 { font-size: 1.1rem; }
.chart__head .muted { font-size: .82rem; }
.bars { display: flex; flex-direction: column; gap: .85rem; }
.bar { display: grid; grid-template-columns: 170px 1fr 56px; align-items: center; gap: .9rem; font-size: .85rem; }
.bar__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d6d6e0; }
.bar__track { height: 10px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bar__val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.donut { position: relative; width: 200px; margin: 0 auto 1.5rem; }
.donut svg { transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center strong { font-family: "Space Grotesk"; font-size: 2rem; }
.donut__center span { font-size: .78rem; color: var(--muted); }
.legend { list-style: none; display: grid; gap: .55rem; font-size: .85rem; }
.legend li { display: flex; align-items: center; gap: .6rem; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; font-weight: 600; }

/* Portfolio */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.chip {
  font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer;
  padding: .55rem 1.1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border);
  transition: all .2s;
}
.chip:hover { color: var(--text); }
.chip.is-active { color: #fff; background: var(--grad); border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.video { cursor: pointer; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.video:hover { transform: translateY(-6px); border-color: rgba(255, 46, 99, 0.45); box-shadow: var(--shadow); }
.video__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video:hover .video__thumb img { transform: scale(1.06); }
.video__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,12,.7), transparent 50%); }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: var(--grad);
  opacity: 0; transform: scale(.8); transition: all .3s;
}
.video:hover .video__play { opacity: 1; transform: scale(1); }
.video__dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: .75rem; font-weight: 600; background: rgba(0,0,0,.75); padding: .15rem .45rem; border-radius: 6px; }
.video__rank { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--grad); }
.video__body { padding: 1.1rem 1.2rem 1.3rem; }
.video__body h3 { font-family: "Inter"; font-size: .98rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__meta { display: flex; gap: .9rem; margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.video__meta strong { color: var(--pink); }
.video.is-hidden { display: none; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; padding: 3rem; }
.about h2 { margin-bottom: 1rem; }
.features { list-style: none; display: grid; gap: 1.2rem; margin-top: 2rem; }
.features li { display: flex; gap: 1rem; }
.features li > span { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(109, 74, 255, 0.15); }
.features p { font-size: .88rem; color: var(--muted); }
.quote { padding: 1.5rem; border-radius: 14px; background: linear-gradient(135deg, rgba(255,46,99,.14), rgba(109,74,255,.14)); border: 1px solid var(--card-border); }
.quote p { font-size: 1.05rem; font-weight: 500; }
.quote span { display: block; margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.timeline { margin-top: 1.6rem; display: grid; gap: 1rem; border-left: 2px solid rgba(255, 46, 99, 0.35); padding-left: 1.2rem; }
.timeline div { position: relative; }
.timeline div::before { content: ""; position: absolute; left: calc(-1.2rem - 6px); top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.timeline strong { font-family: "Space Grotesk"; margin-right: .6rem; }
.timeline span { font-size: .88rem; color: var(--muted); }

/* CTA */
.cta {
  text-align: center; padding: 4.5rem 2rem; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255,46,99,.18), transparent 70%), var(--card);
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 720px; margin: 0 auto 1rem; }
.cta .hero__cta { justify-content: center; }
.socials { display: flex; justify-content: center; gap: .8rem; margin-top: 2rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--card-border); color: var(--muted); transition: all .2s; }
.socials a:hover { color: #fff; border-color: var(--pink); background: rgba(255,46,99,.12); }
.socials svg { width: 20px; height: 20px; }

/* Footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--card-border); font-size: .85rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(960px, 92vw); }
.modal__frame { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 120px rgba(224,33,138,.35); background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--card-border); background: var(--bg-2); color: #fff; cursor: pointer; font-size: 1rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; gap: 3rem; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .charts, .about { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip--a { left: 10px; top: 10px; }
  .float-chip--b { right: 10px; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .grid, .kpis { grid-template-columns: 1fr; }
  .hero__trust { gap: 1.5rem; }
  .bar { grid-template-columns: 110px 1fr 48px; }
  .about { padding: 1.8rem; }
}
