:root {
  --bg: #07111f;
  --bg-soft: #0d1c2e;
  --panel: rgba(15, 27, 42, 0.86);
  --panel-strong: rgba(10, 17, 28, 0.96);
  --card: #0f1d2d;
  --card-2: #11253d;
  --line: rgba(148, 163, 184, 0.18);
  --text: #eaf2ff;
  --muted: #a8bbd8;
  --muted-2: #8aa2c3;
  --primary: #7c9cff;
  --primary-2: #5eead4;
  --purple: #a78bfa;
  --purple-2: #7c3aed;
  --glow: rgba(124, 156, 255, 0.42);
  --success: #7cf5c2;
  --warning: #f6c97a;
  --shadow: 0 30px 80px rgba(4, 8, 18, 0.5);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 156, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(168, 139, 250, 0.14), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0b1524 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0 8px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  box-shadow: 0 12px 30px rgba(124, 156, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.section {
  padding: 110px 0;
}

.alt-section {
  background: rgba(10, 18, 28, 0.62);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 720px;
  gap: 56px;
  padding-top: 52px;
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-2);
}

.eyebrow-inline {
  display: inline-block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
  max-width: 670px;
}

.lead {
  max-width: 620px;
  font-size: 1.18rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.center-row {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.95rem 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
  box-shadow: 0 18px 40px rgba(124, 156, 255, 0.38);
}

.button-secondary {
  background: rgba(15, 27, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
  color: var(--text);
}

.button.large {
  padding: 1.15rem 2rem;
  font-size: 1rem;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
}

.microcopy {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: 580px;
}

.hero-metrics div {
  background: rgba(17, 31, 47, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-metrics strong {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-scene {
  position: relative;
  width: min(100%, 520px);
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-shadow {
  position: absolute;
  inset: auto 35px 10px 35px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 21, 36, 0.9);
  filter: blur(30px);
}

.book-cover {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-8deg) skewY(-4deg);
}

.actual-cover {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  filter: drop-shadow(0 25px 30px rgba(12, 18, 29, 0.18));
  background: transparent;
}

.author-section {
  padding-top: 30px;
}

.author-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(16, 26, 39, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px rgba(3, 8, 16, 0.2);
}

.author-photo-wrap {
  display: flex;
  justify-content: center;
}

.author-photo {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 3px solid rgba(255, 211, 110, 0.45);
  box-shadow: 0 20px 35px rgba(5, 10, 18, 0.26);
}

.author-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.author-copy p:last-child {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.linkedin-link,
.footer-link {
  color: var(--primary-2);
  font-weight: 700;
  transition: color 0.2s ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.linkedin-link span {
  display: inline-block;
  margin-left: 4px;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  max-width: 760px;
  margin-bottom: 0;
}

.align-center {
  text-align: center;
}

.align-center h2 {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 20px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  background: rgba(18, 30, 44, 0.72);
  border: 1px solid var(--line);
  padding: 26px 22px;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(4, 8, 18, 0.18);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(124, 156, 255, 0.12);
  color: var(--primary-2);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.info-card p {
  color: var(--muted);
  margin: 0;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.solution-copy {
  font-size: 1.08rem;
  color: var(--muted);
}

.solution-copy > p:first-child {
  font-size: 1.12rem;
  color: var(--text);
}

.steps {
  margin: 28px 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 16px;
  color: var(--text);
}

.steps li strong {
  color: var(--primary-2);
}

.soft-text {
  margin: 0;
}

.solution-panel {
  background: rgba(12, 20, 32, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(24, 35, 49, 0.9);
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.dot.red { background: #ff7a7a; }
.dot.yellow { background: #f7d766; }
.dot.green { background: #70e7a3; }

.code-window {
  padding: 22px 18px 18px;
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 0.85rem;
  color: var(--muted);
}

.code-line {
  margin-bottom: 10px;
  line-height: 1.65;
}

.token.role {
  color: var(--primary-2);
  font-weight: 700;
}

.inside-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.carousel-section {
  overflow: hidden;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.carousel-card {
  flex: 0 0 clamp(220px, 28vw, 280px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 29, 43, 0.8);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 17, 28, 0.9);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: var(--primary);
  color: var(--primary-2);
}

.carousel-arrow-prev {
  left: -18px;
}

.carousel-arrow-next {
  right: -18px;
}

.stack-card {
  position: relative;
  padding: 26px 22px 18px;
  border-radius: 26px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 34px rgba(4, 8, 18, 0.2);
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.14), transparent 42%, rgba(94, 234, 212, 0.08));
  pointer-events: none;
}

.stack-header {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.12);
  color: var(--primary-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.stack-card h3 {
  font-size: 2rem;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.stack-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.stack-card li {
  padding: 0.5rem 0.65rem 0.5rem 1.1rem;
  border-radius: 12px;
  background: rgba(9, 15, 24, 0.18);
  border-left: 2px solid rgba(94, 234, 212, 0.7);
  color: var(--text);
}

.freelancer-card {
  background: linear-gradient(180deg, rgba(21, 29, 44, 0.78), rgba(10, 20, 30, 0.96));
}

.developer-card {
  background: linear-gradient(180deg, rgba(22, 28, 48, 0.78), rgba(7, 18, 28, 0.96));
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.preview-card {
  padding: 22px 20px 18px;
  background: rgba(15, 25, 38, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.preview-topline {
  color: var(--primary-2);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.preview-card h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
}

.preview-card p {
  color: var(--muted);
  margin-bottom: auto;
}

.preview-footer {
  margin-top: 18px;
  color: var(--primary-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.comparison-card {
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.before-card {
  background: rgba(18, 25, 38, 0.88);
}

.after-card {
  background: linear-gradient(135deg, rgba(20, 37, 52, 0.9), rgba(14, 23, 36, 0.9));
  border-color: rgba(94, 234, 212, 0.32);
}

.comparison-card h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.comparison-card li {
  position: relative;
  padding-left: 20px;
}

.before-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--warning);
}

.after-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--success);
}

.comparison-arrow {
  font-size: 3rem;
  color: var(--primary-2);
  font-weight: 700;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-card {
  padding: 24px 20px;
  background: rgba(17, 29, 43, 0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.audience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
}

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.chip {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(14, 24, 37, 0.7);
  color: var(--text);
  padding: 0.8rem 1.15rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 22px 18px 18px;
  background: rgba(17, 27, 38, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 170px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 156, 255, 0.7), transparent);
}

.day {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(17, 27, 38, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

.feature-item span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(124, 156, 255, 0.12);
  color: var(--primary-2);
  font-weight: 900;
}

.included-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.included-item {
  background: rgba(17, 29, 43, 0.8);
  border: 1px solid rgba(124, 156, 255, 0.2);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.product-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  background: linear-gradient(135deg, rgba(17, 30, 46, 0.96), rgba(9, 17, 27, 0.96));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.product-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  margin-bottom: 10px;
}

.buy-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price-value {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.digital-note {
  margin: 0;
  color: var(--muted-2);
}

.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: rgba(17, 27, 38, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  color: var(--muted);
  padding: 0 0 18px;
  margin: 0;
}

.final-cta {
  padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 40px);
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 31, 47, 0.9), rgba(10, 18, 28, 0.9));
  border: 1px solid rgba(124, 156, 255, 0.2);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.06em;
  max-width: 880px;
  margin: 0 auto 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px 0 58px;
  color: var(--muted);
}

.footer-brand {
  font-weight: 800;
  color: var(--text);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.policy-content {
  max-width: 860px;
  padding-top: 54px;
  padding-bottom: 56px;
}

.policy-content h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.policy-content h2 {
  margin: 30px 0 8px;
  font-size: 1.25rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.thank-you-page {
  min-height: 100vh;
}

.thank-you-header {
  position: static;
}

.thank-you-header .brand-wrap {
  text-decoration: none;
}

.thank-you-main {
  display: grid;
  min-height: calc(100vh - 92px);
  place-items: center;
  padding-top: 36px;
  padding-bottom: 72px;
}

.thank-you-card {
  width: min(100%, 760px);
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
  background: linear-gradient(145deg, rgba(17, 30, 46, 0.96), rgba(9, 17, 27, 0.96));
  border: 1px solid rgba(124, 156, 255, 0.24);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.thank-you-check {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  border: 1px solid rgba(124, 245, 194, 0.35);
  border-radius: 50%;
  background: rgba(124, 245, 194, 0.1);
  color: var(--success);
}

.thank-you-check svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thank-you-card h1 {
  max-width: 620px;
  margin: 0 auto 16px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.thank-you-lead {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.thank-you-product {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px;
  text-align: left;
  background: rgba(8, 15, 25, 0.5);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.thank-you-product img {
  width: 110px;
  height: 135px;
  flex: 0 0 auto;
  object-fit: contain;
}

.product-kicker {
  color: var(--primary-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.thank-you-product h2 {
  margin: 7px 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.thank-you-product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 0 26px;
  padding: 18px;
  text-align: left;
  background: rgba(124, 156, 255, 0.08);
  border: 1px solid rgba(124, 156, 255, 0.16);
  border-radius: 16px;
}

.delivery-icon {
  color: var(--primary-2);
  font-size: 1.3rem;
  line-height: 1.2;
}

.delivery-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.delivery-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.delivery-note a {
  color: var(--primary-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thank-you-home {
  min-width: 230px;
}

.thank-you-author {
  margin: 20px 0 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy,
  .hero .lead,
  .hero .hero-metrics {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-layout,
  .product-card {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 18px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-card {
    flex-basis: min(76vw, 280px);
  }

  .book-scene {
    transform: scale(0.84);
  }

  .problem-grid,
  .inside-grid,
  .preview-grid,
  .audience-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .thank-you-header {
    justify-content: flex-start;
  }

  .thank-you-main {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .thank-you-product {
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }

  .thank-you-product img {
    width: 76px;
    height: 104px;
  }

  .thank-you-product h2 {
    font-size: 1.05rem;
  }

  .thank-you-product p {
    font-size: 0.8rem;
  }

  .thank-you-home {
    width: 100%;
  }

  .button,
  .button.large {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

:root {
  --gold: #f5a623;
  --gold-light: #ffd36e;
  --navy: #0b1020;
  --teal: #2dd4bf;
  --purple: #8b5cf6;
  --bg: var(--navy);
  --bg-soft: #11172e;
  --primary: var(--gold);
  --primary-2: var(--teal);
  --purple-2: var(--purple);
  --line: rgba(255, 255, 255, 0.15);
  --panel: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.06);
  --card-2: rgba(255, 255, 255, 0.08);
  --glow: rgba(245, 166, 35, 0.3);
}

html {
  background: var(--navy);
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: linear-gradient(155deg, #0b1020 0%, #11172e 55%, #0b1020 100%);
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.page-shell::before {
  background:
    radial-gradient(ellipse at 18% 18%, rgba(245, 166, 35, 0.22), transparent 28%),
    radial-gradient(ellipse at 77% 30%, rgba(45, 212, 191, 0.2), transparent 30%),
    radial-gradient(ellipse at 56% 78%, rgba(139, 92, 246, 0.2), transparent 32%);
  filter: blur(55px);
  opacity: 0.7;
  animation: aurora-drift 26s ease-in-out infinite alternate;
}

.page-shell::after {
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.65) 50%, transparent 100%),
    radial-gradient(1px 1px at 82% 14%, rgba(255, 211, 110, 0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 67%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 32% 82%, rgba(45, 212, 191, 0.6) 50%, transparent 100%);
  opacity: 0.22;
  animation: star-twinkle 5s ease-in-out infinite alternate;
}

.alt-section {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.topbar {
  background: rgba(11, 16, 32, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 22px 22px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241707;
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.28);
}

.eyebrow {
  color: var(--gold-light);
}

.eyebrow::before {
  content: "✦";
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 211, 110, 0.5);
}

.button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: scale(1.05);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(115deg, var(--gold-light), var(--gold) 58%, #f5a623);
  color: #211707;
  box-shadow: 0 12px 34px rgba(245, 166, 35, 0.3);
}

.button-primary::after {
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 35%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: translateX(430%) skewX(-18deg);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 14px 38px rgba(245, 166, 35, 0.42);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.price-tag {
  background: rgba(34, 24, 7, 0.12);
  color: #251907;
}

.hero-metrics div,
.author-card,
.info-card,
.stack-card,
.preview-card,
.audience-card,
.feature-item,
.timeline-item,
.included-item,
.faq-list details,
.comparison-card,
.solution-panel,
.carousel-card,
.product-card,
.final-cta {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(3, 7, 18, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-metrics div {
  min-width: 0;
  background-color: rgba(255, 255, 255, 0.06);
}

.info-card,
.stack-card,
.preview-card,
.audience-card,
.feature-item,
.timeline-item,
.faq-list details,
.comparison-card,
.solution-panel,
.carousel-card {
  border-radius: 24px;
}

.stack-card::before {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), transparent 45%, rgba(45, 212, 191, 0.08));
}

.badge,
.icon,
.feature-item span {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-light);
  text-shadow: 0 0 14px rgba(245, 166, 35, 0.3);
}

.stack-card li {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.035);
}

.included-item {
  color: var(--text);
  border-radius: 999px;
}

.book-cover {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) rotate(-8deg) skewY(-4deg);
  animation: book-float 5s ease-in-out infinite;
  will-change: transform;
}

.actual-cover {
  filter: drop-shadow(0 24px 34px rgba(3, 8, 20, 0.34));
}

.carousel-card {
  overflow: hidden;
}

.carousel-card:hover,
.carousel-card:focus-within,
.info-card:hover,
.stack-card:hover,
.preview-card:hover,
.audience-card:hover,
.feature-item:hover,
.timeline-item:hover,
.included-item:hover {
  transform: perspective(900px) translateY(-4px) rotateX(1deg);
  border-color: rgba(255, 211, 110, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 46px rgba(245, 166, 35, 0.12);
}

.carousel-arrow {
  border-color: rgba(255, 211, 110, 0.32);
  background: rgba(11, 16, 32, 0.86);
  color: var(--gold-light);
  backdrop-filter: blur(12px);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 22px rgba(245, 166, 35, 0.2);
}

.buy-price-row {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.price-value {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 72%, #f5a623);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  filter: drop-shadow(0 0 12px rgba(245, 166, 35, 0.24));
}

.price-period {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.price-card {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 211, 110, 0.28);
}

.price-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  box-shadow: 0 0 38px rgba(245, 166, 35, 0.17), inset 0 0 24px rgba(245, 166, 35, 0.06);
  content: "";
  opacity: 0.45;
  animation: price-card-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.price-card > * {
  position: relative;
  z-index: 1;
}

.hero-metrics > div {
  position: relative;
  overflow: hidden;
}

.hero-metrics > div::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease;
}

.hero-metrics > div.is-visible::after {
  transform: scaleX(1);
}

.hero-metrics strong {
  font-variant-numeric: tabular-nums;
}

.has-reveal main > section,
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-reveal main > section.is-visible,
.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.has-reveal [data-reveal].is-visible:hover,
.has-reveal [data-reveal].is-visible:focus-within {
  transform: perspective(900px) translateY(-4px) rotateX(1deg);
}

@keyframes aurora-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes star-twinkle {
  from {
    opacity: 0.12;
  }
  to {
    opacity: 0.28;
  }
}

@keyframes book-float {
  0%,
  100% {
    transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 6px), 0) rotate(-8deg) skewY(-4deg);
  }
  50% {
    transform: translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + 12px), 0) rotate(-6.5deg) skewY(-4deg);
  }
}

@keyframes price-card-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.6;
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 0 0 18px 18px;
  }

  .author-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-cover {
    will-change: auto;
  }

  .price-value {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .has-reveal main > section,
  .has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
