/* Sales + thank-you pages (EarTrain) */
:root {
  --pg-bg0: #0b0612;
  --pg-text: rgba(255, 246, 250, 0.94);
  --pg-muted: rgba(255, 246, 250, 0.62);
  --pg-card: rgba(18, 10, 22, 0.82);
  --pg-stroke: rgba(255, 255, 255, 0.12);
  --pg-neon-a: #ff4fd8;
  --pg-neon-b: #ff7a59;
  --font: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--pg-text);
  background: linear-gradient(180deg, var(--pg-bg0), #12060f);
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.lead {
  color: var(--pg-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.card {
  border: 1px solid var(--pg-stroke);
  border-radius: 18px;
  background: var(--pg-card);
  padding: 20px 18px;
  margin-bottom: 18px;
}

.price {
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 14px;
}

.btnBuy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(12, 6, 10, 0.92);
  border: 1px solid rgba(255, 79, 216, 0.45);
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.95), rgba(255, 79, 216, 0.92));
  box-shadow: 0 18px 55px rgba(255, 79, 216, 0.16);
}

.btnBuy:hover {
  filter: brightness(1.05);
}

.note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--pg-muted);
  line-height: 1.45;
}

.credBox {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--pg-stroke);
  font-size: 15px;
}

.credBox code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  word-break: break-all;
}

.appLink {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--pg-text);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 122, 89, 0.55);
  padding-bottom: 2px;
}

.appLink:hover {
  border-bottom-color: var(--pg-neon-a);
}

/* --- Full landing (eartrain.html) */
.eartrain-landing {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

.landingBg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.landingOrb {
  position: absolute;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
}
.landingOrb-a {
  left: -18%;
  top: -12%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.55), transparent 68%);
}
.landingOrb-b {
  right: -22%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.45), transparent 65%);
}

.eartrain-landing > header,
.eartrain-landing > main,
.eartrain-landing > footer {
  position: relative;
  z-index: 1;
}

.landingTop {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 6, 12, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.landingTopInner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.landingLogo {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.landingTopLink {
  color: rgba(255, 230, 245, 0.78);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 89, 0.35);
  padding-bottom: 1px;
}
.landingTopLink:hover {
  color: #fff;
  border-bottom-color: rgba(255, 79, 216, 0.65);
}

.landingHero {
  padding: 28px 22px 48px;
}
.landingHeroInner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.landingEyebrow {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 211, 200, 0.72);
}

.landingHeadline {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.landingHeadlineAccent {
  display: block;
  margin-top: 4px;
  background: linear-gradient(92deg, var(--pg-neon-a), var(--pg-neon-b) 45%, #b56cff 78%, #ffd38a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landingSub {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.55;
  color: rgba(255, 246, 250, 0.82);
  font-weight: 600;
  max-width: 52ch;
}

.landingBullets {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 52ch;
}
.landingBullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 246, 250, 0.78);
  font-weight: 600;
}
.landingBullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg-neon-b), var(--pg-neon-a));
  box-shadow: 0 0 0 3px rgba(255, 79, 216, 0.2);
}

.landingCtaRow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.landingCtaPrimary {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 22px 17px;
  border-radius: 18px;
  text-decoration: none;
  color: rgba(12, 6, 10, 0.94);
  font-weight: 900;
  border: 1px solid rgba(255, 79, 216, 0.45);
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.98), rgba(255, 79, 216, 0.95));
  box-shadow: 0 22px 60px rgba(255, 79, 216, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
  max-width: 100%;
}
.landingCtaPrimary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 28px 70px rgba(255, 122, 89, 0.22);
}
.landingCtaMain {
  font-size: clamp(17px, 2.2vw, 20px);
  letter-spacing: -0.02em;
}
.landingCtaSub {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.landingCtaPrimaryWide {
  width: 100%;
  align-items: center;
  text-align: center;
}
.landingCtaPrimaryWide .landingCtaMain,
.landingCtaPrimaryWide .landingCtaSub {
  text-align: center;
  width: 100%;
}

.landingCtaFine {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 246, 250, 0.55);
}

.landingHeroVisual {
  min-width: 0;
}
.landingShotFrame {
  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);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: min(420px, 52vh);
}
.landingShotImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.landingShotCaption {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 246, 250, 0.52);
  text-align: center;
}

.landingBand {
  padding: 44px 22px 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}
.landingBandInner {
  max-width: 1180px;
  margin: 0 auto;
}
.landingSectionTitle {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.landingSectionLead {
  margin: 0 0 28px;
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 246, 250, 0.72);
  font-weight: 600;
}

.landingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.landingTile {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 10, 22, 0.72);
  padding: 20px 18px 18px;
  min-height: 0;
}
.landingTileTitle {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.landingTileBody {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 246, 250, 0.7);
  font-weight: 600;
}

.landingPricing {
  padding: 36px 22px 56px;
}
.landingPricingInner {
  max-width: 640px;
  margin: 0 auto;
}
.landingPriceCard {
  border-radius: 22px;
  border: 1px solid rgba(255, 122, 89, 0.28);
  background: linear-gradient(145deg, rgba(255, 79, 216, 0.12), rgba(18, 10, 22, 0.88));
  padding: 28px 24px 26px;
  text-align: center;
}
.landingPriceTitle {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.landingPriceTag {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}
.landingPriceNum {
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(92deg, #fff, #ffd38a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landingPriceOnce {
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 246, 250, 0.62);
}
.landingPriceCopy {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 246, 250, 0.78);
  font-weight: 600;
  text-align: center;
}
.landingPriceFoot {
  margin: 18px 0 0;
  font-size: 12px;
  color: rgba(255, 246, 250, 0.45);
  line-height: 1.45;
}

.landingFooter {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 22px 28px;
  background: rgba(7, 6, 12, 0.85);
}
.landingFooterInner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 246, 250, 0.5);
}
.landingFooter a {
  color: rgba(255, 211, 200, 0.85);
  text-decoration: none;
  font-weight: 800;
}
.landingFooter a:hover {
  text-decoration: underline;
}
.landingFooterDot {
  opacity: 0.45;
}

@media (max-width: 960px) {
  .landingHeroInner {
    grid-template-columns: 1fr;
  }
  .landingShotFrame {
    max-height: none;
    aspect-ratio: 16 / 10;
  }
  .landingGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .landingTopInner {
    padding: 12px 16px;
  }
  .landingHero {
    padding: 20px 16px 36px;
  }
  .landingCtaPrimary {
    width: 100%;
  }
}

