/* ══════════════════════════════════════════
   SNAPDANCE AI – MINIMAL 3-SECTION SITE
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #080812;
  --bg2:     #0d0d1e;
  --card:    #111125;
  --card-h:  #17172f;
  --border:  rgba(255,255,255,0.07);
  --bp:      rgba(168,85,247,0.2);

  --p:  #a855f7;
  --pl: #c084fc;
  --c:  #22d3ee;
  --cl: #67e8f9;

  --t1: #ededff;
  --t2: #8888aa;
  --t3: #4a4a6a;

  --ease: cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 60px);
}

.grad {
  background: linear-gradient(135deg, var(--p) 0%, var(--c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background .25s var(--ease), backdrop-filter .25s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,18,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--t1);
}
.ai {
  background: linear-gradient(135deg, var(--p), var(--c));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-btn {
  padding: 9px 22px; border-radius: 50px;
  background: linear-gradient(135deg, var(--p), var(--c));
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 0 24px rgba(168,85,247,.35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 32px rgba(168,85,247,.55); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 110px 0 80px;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(140px); pointer-events: none;
  animation: glow 10s ease-in-out infinite;
}
.g1 { width: 640px; height: 640px; background: var(--p); top: -160px; left: -180px; opacity: .14; }
.g2 { width: 520px; height: 520px; background: var(--c); bottom: -160px; right: -140px; opacity: .1; animation-delay: -5s; }
@keyframes glow {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.hero-title {
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 900; letter-spacing: -3px; line-height: 1.02;
}

.hero-body {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--t2); line-height: 1.72; max-width: 440px;
}

/* ─── Download button ─── */
.btn-dl {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 50px;
  background: linear-gradient(135deg, var(--p), var(--c));
  color: #fff; font-weight: 700; font-size: 15px;
  width: fit-content;
  box-shadow: 0 0 36px rgba(168,85,247,.35);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 44px rgba(168,85,247,.55); }
.btn-dl svg { flex-shrink: 0; }

.btn-center { margin-inline: auto; }

.hero-note { font-size: 13px; color: var(--t3); }

/* ─── Phones ─── */
.hero-phones {
  position: relative; height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.phone-halo {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; opacity: .22;
}
.halo-purple { width: 280px; height: 280px; background: var(--p); left: 20px; top: 35%; }
.halo-cyan   { width: 230px; height: 230px; background: var(--c); right: 10px; top: 15%; }

.phone {
  position: absolute;
  transition: transform .5s var(--ease);
}
.phone img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }

.phone-front {
  width: 270px;
  left: 30px; top: 24px; z-index: 2;
  transform: rotate(-3deg);
}
.phone-back {
  width: 310px;
  right: -10px; top: 15px; z-index: 1;
  transform: rotate(4deg);
  opacity: .95;
}
.phone-front:hover { transform: rotate(-1deg) translateY(-7px); }
.phone-back:hover  { transform: rotate(2deg)  translateY(-5px); }

/* ─── WHY SECTION ─── */
.why {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.why-inner { display: flex; flex-direction: column; align-items: center; gap: 56px; }

.why-header { text-align: center; max-width: 600px; display: flex; flex-direction: column; gap: 18px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--p), var(--c));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.06;
}
.why-body { font-size: 17px; color: var(--t2); line-height: 1.72; }

/* ─── Dance Style Pills ─── */
.pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.pill {
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-size: 14px; font-weight: 500; color: var(--t2);
  transition: background .2s, border-color .2s, color .2s;
  cursor: default;
}
.pill:hover {
  background: rgba(168,85,247,.1);
  border-color: var(--bp);
  color: var(--pl);
}

/* ─── 3 Feature Cards ─── */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  width: 100%;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
  cursor: default;
}
.card:hover { background: var(--card-h); border-color: var(--bp); transform: translateY(-4px); }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .22s, box-shadow .22s;
}
.card:hover .card-icon {
  background: rgba(168,85,247,.18);
  box-shadow: 0 0 20px rgba(168,85,247,.2);
}
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.card p  { font-size: 14.5px; color: var(--t2); line-height: 1.65; }

/* ─── FOOTER ─── */
.footer { padding-top: 60px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 56px; padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tag { font-size: 14px; color: var(--t3); }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--t3);
  margin-bottom: 2px;
}
.footer-col a { font-size: 14px; color: var(--t2); transition: color .2s; }
.footer-col a:hover { color: var(--pl); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  font-size: 13px; color: var(--t3);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-body, .btn-dl:not(.btn-center) { margin-inline: auto; }
  .hero-phones { order: -1; height: 320px; }
  .phone-front { width: 150px; height: 305px; left: 10px; top: 8px; }
  .phone-back  { width: 139px; height: 283px; right: 10px; top: 28px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-phones { height: 270px; }
  .phone-front { width: 126px; height: 256px; left: 4px; top: 6px; }
  .phone-back  { width: 117px; height: 238px; right: 4px; top: 22px; }
  .footer-links { grid-template-columns: 1fr; }
}
