/* =========================================================
   Cosmic Creativity — store.nonasapiens.com
   Fonts: Montserrat Alternates (display) + Source Sans 3 (body)
   ========================================================= */

:root {
  --gold: #d4af37;
  --gold-btn: #f0d078;
  --gold-btn-hover: #f5d98f;
  --indigo: #1a1a3e;
  --indigo-card: #262347;
  --indigo-card-2: #2f2b52;
  --bg-deep: #0d0b1f;
  --bg-mid: #171331;
  --terracotta: #b4543a;
  --cream: #f4f1ea;
  --cream-text: #2a2740;
  --green: #2e5e3a;
  --text-light: #e9e6f2;
  --text-dim: #b9b4cf;
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--text-light);
  background: var(--bg-deep);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .card-title, .card-subtitle {
  font-family: "Montserrat Alternates", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 .5em;
}

a { color: inherit; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 84px 0; position: relative; }
.section-dark { background: var(--bg-deep); }
.section-mid  { background: var(--bg-mid); }
.section-cream { background: var(--cream); color: var(--cream-text); }
.section-title { font-size: clamp(28px, 4.2vw, 44px); }
.eyebrow {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-size: 14px;
  margin: 0 0 14px;
}
.gold { color: var(--gold); }
.gold-dark { color: #b58f2b; }
.prose p { margin: 0 0 1.1em; color: var(--text-dim); }
.prose .emphasis { color: var(--text-light); font-weight: 700; font-size: 1.08em; }
.small { font-size: .95em; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 16px;
  letter-spacing: .01em;
}

/* ---------- Buttons ---------- */
.btn, .buy-fallback {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  text-align: center;
  padding: 18px 30px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  letter-spacing: .01em;
}
.cta-secondary, .buy-fallback {
  background: var(--gold-btn);
  color: var(--indigo);
  box-shadow: 0 10px 30px rgba(240,208,120,.28);
}
.cta-secondary:hover, .buy-fallback:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(240,208,120,.4);
}
.buy-fallback { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    linear-gradient(180deg, rgba(13,11,31,.72) 0%, rgba(13,11,31,.86) 60%, rgba(13,11,31,.96) 100%),
    url("https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?w=1920&q=80") center/cover no-repeat fixed;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}
.hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.hero-sub { color: var(--text-dim); font-size: 19px; max-width: 34ch; margin-bottom: 30px; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  aspect-ratio: 3 / 4;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.5,.05,.2,1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(240,208,120,.82);
  color: var(--indigo);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: background .15s ease, transform .15s ease;
}
.carousel-btn:hover { background: var(--gold-btn-hover); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
}
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45);
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots button.active { background: var(--gold-btn); transform: scale(1.25); }

/* ---------- Pricing card ---------- */
.pricing-card {
  background: linear-gradient(180deg, var(--indigo-card-2), var(--indigo-card));
  border: 1px solid rgba(240,208,120,.18);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  position: sticky;
  top: 20px;
}
.pill {
  display: inline-block;
  background: linear-gradient(90deg, #c86a3f, #b4543a);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 auto 18px;
}
.pricing-card { text-align: center; }
.card-title { font-size: 34px; color: #fff; margin-bottom: 6px; }
.card-subtitle { font-size: 18px; font-weight: 700; color: var(--text-light); }
.price-line { margin: 18px 0 4px; }
.price-old { color: var(--text-dim); text-decoration: line-through; font-size: 30px; font-weight: 700; }
.price-new { color: var(--gold); font-size: 46px; font-weight: 900; font-family: "Montserrat Alternates", sans-serif; }
.price-note { color: var(--text-dim); font-size: 15px; margin: 4px 0; }
.card-rule { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 22px 0; }
.card-label { font-weight: 800; text-align: left; margin: 0 0 14px; }
.check-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--text-light);
  font-size: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--gold);
  font-weight: 900;
}
.check-list.big li { font-size: 18px; padding: 12px 0 12px 34px; }
.buy-slot { margin: 26px 0 16px; min-height: 56px; }
.reassure {
  display: flex; justify-content: center; gap: 22px;
  color: var(--text-dim); font-size: 14px; flex-wrap: wrap; margin-top: 6px;
}
.access-bar {
  margin-top: 16px;
  background: rgba(46,94,58,.9);
  color: #eafaef;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Problem section ---------- */
.sub-question { font-weight: 800; font-size: 22px; margin: 40px 0 22px; color: #fff; }
.quote-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px;
}
.quote-grid blockquote {
  margin: 0;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  font-style: italic;
  color: var(--text-light);
}

/* ---------- Missing piece / features ---------- */
.pull-quote {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--gold);
  max-width: 800px; margin: 18px auto 34px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px;
}
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.feature-icon { font-size: 40px; margin-bottom: 12px; }
.feature-card h3 { font-size: 20px; color: #fff; }
.feature-card p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* ---------- Created band ---------- */
.band {
  background: linear-gradient(135deg, #2a2350, #3a2b5e);
  border-top: 1px solid rgba(240,208,120,.15);
  border-bottom: 1px solid rgba(240,208,120,.15);
}

/* ---------- Comparison ---------- */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px;
}
.compare-col { border-radius: 16px; padding: 30px 28px; }
.compare-col.old { background: rgba(180,84,58,.1); border: 1px solid rgba(180,84,58,.35); }
.compare-col.new { background: rgba(46,94,58,.12); border: 1px solid rgba(240,208,120,.3); }
.compare-head { font-size: 22px; margin-bottom: 18px; }
.compare-col.old .compare-head { color: #e79b83; }
.compare-col.new .compare-head { color: var(--gold); }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { position: relative; padding: 10px 0 10px 30px; color: var(--text-dim); }
.compare-col.old li::before { content: "✗"; position: absolute; left: 0; color: #e0795b; font-weight: 900; }
.compare-col.new li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.compare-col.new li { color: var(--text-light); }

/* ---------- Case studies ---------- */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 34px;
}
.case-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px 26px;
}
.case-sign {
  display: inline-block; color: var(--gold); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-bottom: 8px;
}
.case-card h3 { font-size: 24px; color: #fff; margin-bottom: 4px; }
.case-tag { color: var(--text-light); font-style: italic; font-weight: 600; margin: 0 0 14px; }
.case-card p { color: var(--text-dim); font-size: 15.5px; }
.case-lesson-label { color: var(--gold); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin: 16px 0 6px; }
.case-lesson { color: var(--text-light) !important; }

/* ---------- What's inside ---------- */
.inside-list { max-width: 860px; margin: 44px auto 0; }
.inside-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.inside-item .check {
  color: var(--indigo);
  background: var(--gold);
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; margin-top: 4px;
}
.inside-item h3 { font-size: 19px; color: #fff; margin-bottom: 4px; }
.inside-item p { color: var(--text-dim); font-size: 15.5px; margin: 0; }
.inside-item .value { color: var(--gold); font-weight: 800; white-space: nowrap; font-size: 15px; margin-top: 4px; }
.value-box {
  max-width: 640px; margin: 44px auto 0; text-align: center;
  background: linear-gradient(180deg, var(--indigo-card-2), var(--indigo-card));
  border: 1px solid rgba(240,208,120,.25);
  border-radius: 22px; padding: 40px 32px;
}
.total-value { font-size: 20px; color: var(--text-dim); margin: 0; }
.today-label { margin: 14px 0 0; color: var(--text-light); font-weight: 700; }
.today-price { font-family: "Montserrat Alternates", sans-serif; font-size: 60px; font-weight: 900; color: var(--gold); margin: 0; line-height: 1; }
.save { color: #7fd39a; font-weight: 800; margin: 8px 0 24px; }
.value-box .btn { margin-bottom: 12px; }

/* ---------- Feature quotes ---------- */
.feature-quote {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 25px);
  color: var(--gold);
  border: none;
  margin: 34px auto;
  max-width: 760px;
  line-height: 1.4;
}
.section-cream .feature-quote { color: #7a5c14; }

/* ---------- Author ---------- */
.author-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 46px; align-items: center;
}
.author-photo img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  border: 1px solid rgba(240,208,120,.2);
  width: 100%;
}
.author-text p { color: var(--text-dim); }

/* ---------- Urgency ---------- */
.urgency {
  background: linear-gradient(135deg, #7a2f22, #b4543a);
  text-align: center;
}
.urgency .section-title { color: #fff; }
.urgency .prose p { color: #ffe9e0; }
.urgency .btn { margin: 12px 0 18px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 30px; border-top: 1px solid rgba(0,0,0,.12); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.12); }
.faq-q {
  width: 100%;
  background: none; border: none;
  text-align: left;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cream-text);
  padding: 22px 40px 22px 4px;
  cursor: pointer;
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-chevron {
  color: #9a7a2a; font-size: 22px; transition: transform .25s ease; flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p {
  margin: 0; padding: 0 40px 24px 4px;
  color: #4a4660; font-size: 16.5px;
}

/* ---------- Final / footer ---------- */
.final .stars { font-size: 24px; letter-spacing: 8px; margin: 18px 0; }
.final .ps { color: var(--text-dim); font-size: 16px; max-width: 640px; margin: 24px auto 0; }
.footer {
  background: #08060f; text-align: center; padding: 30px 16px;
  color: var(--text-dim); font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-card { position: static; }
  .carousel { max-width: 460px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; text-align: center; }
  .author-photo { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .inside-item { grid-template-columns: 26px 1fr; }
  .inside-item .value { grid-column: 2; }
  .reassure { gap: 14px; }
}

/* =========================================================
   THANK-YOU / DOWNLOAD PAGE
   ========================================================= */
.ty-body {
  min-height: 100vh;
  display: flex;
  background:
    linear-gradient(180deg, rgba(13,11,31,.82) 0%, rgba(13,11,31,.92) 100%),
    url("https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?w=1920&q=80") center/cover no-repeat fixed;
}
.ty-wrap {
  margin: auto;
  width: 100%;
  max-width: 680px;
  padding: 48px 24px;
  text-align: center;
}
.ty-card {
  background: linear-gradient(180deg, var(--indigo-card-2), var(--indigo-card));
  border: 1px solid rgba(240,208,120,.25);
  border-radius: 24px;
  padding: 46px 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.ty-check {
  width: 76px; height: 76px; margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7fd39a, #2e8b57);
  color: #fff; font-size: 40px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(46,139,87,.45);
}
.ty-title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 800; color: #fff;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.15; margin: 0 0 14px;
}
.ty-lead { color: var(--text-light); font-size: 19px; margin: 0 auto 28px; max-width: 46ch; }
.ty-download { display: inline-block; width: 100%; max-width: 420px; font-size: 19px; padding: 20px 30px; }
.ty-download.is-loading {
  opacity: .7; cursor: progress;
  background: var(--gold-btn);
  box-shadow: none;
}
.ty-download.is-loading:hover { transform: none; }
.ty-verify-status {
  margin: 16px auto 0; max-width: 46ch;
  color: var(--text-dim); font-size: 15.5px; line-height: 1.5;
}
.ty-verify-status.is-error { color: #f0a58c; }
.ty-verify-status a { color: var(--gold); font-weight: 700; text-decoration: none; }
.ty-verify-status a:hover { text-decoration: underline; }
.ty-email {
  margin: 22px auto 6px; max-width: 48ch;
  color: var(--text-dim); font-size: 15.5px; line-height: 1.5;
}
.ty-email strong { color: var(--text-light); }
.ty-order {
  margin: 14px auto 0; color: var(--text-dim); font-size: 14px;
}
.ty-order code {
  background: rgba(0,0,0,.3); padding: 3px 8px; border-radius: 6px;
  color: var(--gold); font-size: 13px;
}
.ty-next { text-align: left; margin-top: 6px; }
.ty-next-title {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 22px; color: #fff; text-align: center; margin-bottom: 14px;
}
.ty-steps { color: var(--text-dim); padding-left: 22px; margin: 0; }
.ty-steps li { padding: 7px 0; font-size: 16px; }
.ty-steps strong { color: var(--text-light); }
.ty-support {
  margin: 28px auto 8px; color: var(--text-dim); font-size: 15px; max-width: 48ch;
}
.ty-support a { color: var(--gold); font-weight: 700; text-decoration: none; }
.ty-support a:hover { text-decoration: underline; }
.ty-home {
  display: inline-block; margin-top: 10px;
  color: var(--text-light); font-weight: 700; text-decoration: none; font-size: 15px;
}
.ty-home:hover { color: var(--gold); }
.ty-footer { color: var(--text-dim); font-size: 13px; margin-top: 26px; }

@media (max-width: 560px) {
  .ty-body { background-attachment: scroll; }
  .ty-card { padding: 34px 22px; }
}
