/* EarTrain — eartrainapp.com · modern dark */
:root {
  --bg0: #07090f;
  --bg1: #0c1018;
  --text: #f1f5f9;
  --muted: rgba(226, 232, 240, 0.68);
  --accent: #5eead4;
  --accent2: #fb7185;
  --accent3: #fbbf24;
  --ink: #071018;
  --stroke: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --font: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(165deg, var(--bg0) 0%, #0a1214 45%, var(--bg1) 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.fxGlow {
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 20s ease-in-out infinite alternate;
}
.fxGlow-a {
  left: -22%;
  top: -28%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35), transparent 62%);
}
.fxGlow-b {
  right: -20%;
  bottom: -32%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.28), transparent 62%);
  animation-delay: -7s;
}
.fxGrain {
  position: absolute;
  inset: -20%;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(5%, 7%) scale(1.08);
  }
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.topInner,
.footInner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.logoMark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.topLink {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.topLink:hover {
  color: var(--text);
}

/* —— Hero —— */
.hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: 20px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.heroHeadline {
  margin: 0 0 18px;
  font-weight: 900;
  font-size: clamp(42px, 6.2vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  animation: rise 0.7s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.heroAccent {
  display: block;
  background: linear-gradient(100deg, var(--accent) 0%, #99f6e4 40%, var(--accent2) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroSub {
  margin: 0 0 28px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  animation: rise 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.heroCta {
  animation: rise 0.7s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btnBuy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(94, 234, 212, 0.45);
  background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 55%, #f472b6 120%);
  box-shadow: 0 16px 48px rgba(45, 212, 191, 0.28);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btnBuy:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(45, 212, 191, 0.35);
}
.btnBuyMain {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.btnBuySub {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.btnBuyWide {
  width: 100%;
  align-items: center;
  text-align: center;
}

.heroVisual {
  min-width: 0;
  animation: rise 0.85s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shotFrame {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(94, 234, 212, 0.08);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: min(440px, 54vh);
}
.shotImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shotCaption {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* —— Band —— */
.band {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 20px;
  border-top: 1px solid var(--stroke);
}
.bandTitle {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.035em;
}
.bandLead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.5;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 500;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 22px 18px;
  background: var(--card);
  transition: border-color 160ms ease, background 160ms ease;
}
.tile:hover {
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(94, 234, 212, 0.05);
}
.tile h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

/* —— Price —— */
.priceBlock {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 56px;
}
.priceCard {
  max-width: 440px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  background: linear-gradient(165deg, rgba(94, 234, 212, 0.1), rgba(12, 16, 24, 0.92));
  padding: 28px 24px 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.priceEyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.priceNum {
  margin: 0 0 18px;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}
.priceNum span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.priceList {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.priceList li {
  padding: 10px 0;
  border-top: 1px solid var(--stroke);
  font-size: 15px;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.9);
}
.priceFine {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.foot {
  border-top: 1px solid var(--stroke);
}
.footInner {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.footInner a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.footInner a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .heroVisual {
    order: -1;
  }
  .shotFrame {
    max-height: min(320px, 42vh);
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .heroHeadline {
    font-size: clamp(36px, 10vw, 52px);
  }
}
