:root {
  color-scheme: dark;
  --bg: #07090b;
  --panel: #111419;
  --panel-2: #171b22;
  --text: #f4f1e8;
  --muted: #b9b5aa;
  --yellow: #f2b51d;
  --blue: #55a9ff;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, #07090b, #10130f 42%, #07090b);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(7, 9, 11, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(85, 169, 255, 0.72);
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

nav a,
.lang-toggle {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 181, 29, 0.5);
}

.lang-toggle {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 38px 0 46px;
}

.hero-copy {
  max-width: 690px;
}

.sale-line,
.eyebrow,
.badge {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.sale-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}

.sale-line span {
  color: var(--muted);
}

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

h1 {
  font-size: clamp(40px, 5.7vw, 70px);
  line-height: 1;
  margin-bottom: 22px;
  max-width: 760px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 3.7vw, 46px);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.lede {
  max-width: 660px;
  font-size: clamp(19px, 2vw, 24px);
}

.hero-benefits,
.offer-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.hero-benefits li,
.offer-list li {
  position: relative;
  padding-left: 25px;
  color: #dfdbd0;
  font-size: 16px;
  line-height: 1.45;
}

.hero-benefits li::before,
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242, 181, 29, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.primary-cta,
.secondary-cta {
  min-height: 50px;
  border-radius: 6px;
  padding: 0 22px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-cta {
  border: 0;
  background: var(--yellow);
  color: #11100b;
  box-shadow: 0 12px 34px rgba(242, 181, 29, 0.22);
}

.primary-cta[aria-busy="true"] {
  opacity: 0.72;
  cursor: progress;
}

.secondary-cta {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 14px;
}

.hero-cover {
  position: relative;
  overflow: clip;
  border-radius: 8px;
  display: grid;
  gap: 14px;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 12% 4% 7%;
  background: rgba(85, 169, 255, 0.18);
  filter: blur(40px);
}

.hero-cover img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.cover-offer {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(242, 181, 29, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(242, 181, 29, 0.14), rgba(255, 255, 255, 0.055));
}

.cover-offer p {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.cover-kicker {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.cover-price {
  color: var(--text);
}

.cover-price s {
  color: var(--muted);
  margin-right: 8px;
}

.cover-price strong {
  color: var(--yellow);
  font-size: 30px;
}

section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.product-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.product-summary div {
  min-height: 122px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.product-summary strong,
.product-summary span,
.product-summary p {
  display: block;
}

.product-summary span {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-summary strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.product-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.feature-grid article,
.price-panel,
details {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.feature-grid article {
  min-height: 190px;
  overflow: hidden;
}

.feature-number {
  margin-bottom: 28px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid p,
.price-panel p,
details p,
.final-cta p {
  font-size: 16px;
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

.book-page {
  min-height: 380px;
  padding: 28px 26px;
  background: #f5efe4;
  color: #181a1f;
  border: 1px solid rgba(242, 181, 29, 0.24);
  border-radius: 3px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  transform: none;
}

.book-page:nth-child(2) {
  transform: none;
}

.book-page:nth-child(3) {
  transform: none;
}

.book-page h3 {
  color: #111419;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.18;
  margin-bottom: 18px;
}

.book-page p {
  color: #30343a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.58;
}

.book-page .sample-gloss {
  display: none;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(138, 113, 61, 0.26);
  color: #6d6250;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.45;
}

html[data-lang="en"] .book-page .sample-gloss {
  display: block;
}

.book-page .page-eyebrow {
  margin-bottom: 12px;
  color: #8a713d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.featured-page {
  background: #fffaf0;
  border-color: rgba(242, 181, 29, 0.48);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
}

.price-panel {
  background: linear-gradient(180deg, rgba(242, 181, 29, 0.12), rgba(255, 255, 255, 0.055));
}

.old-price {
  font-size: 28px;
  text-decoration: line-through;
  margin-bottom: 0;
}

.new-price {
  color: var(--yellow);
  font-size: 66px;
  line-height: 0.95;
  font-weight: 900;
  margin-bottom: 14px;
}

.wide {
  width: 100%;
}

.checkout-note {
  margin: 12px 0 0;
  color: #d7d0bd;
}

details {
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

details p {
  margin: 14px 0 0;
}

.final-cta {
  text-align: center;
  padding-bottom: 96px;
}

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 8px;
  background: #f2b51d;
  color: #11100b;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
  font-weight: 800;
  z-index: 20;
}

.mobile-buy-bar {
  display: none;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  background: #050607;
}

footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .offer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-cover {
    max-width: 430px;
  }

  .feature-grid,
  .page-gallery,
  .product-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  main {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  section {
    padding: 52px 0;
  }

  .hero {
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .lede {
    font-size: 18px;
  }

  .hero-cover img {
    max-height: 420px;
  }

  .feature-grid,
  .page-gallery,
  .product-summary {
    grid-template-columns: 1fr;
  }

  .book-page,
  .book-page:nth-child(2),
  .book-page:nth-child(3) {
    min-height: auto;
    transform: none;
  }

  .product-summary div {
    min-height: 0;
  }

  .new-price {
    font-size: 54px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .mobile-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 18;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid rgba(242, 181, 29, 0.34);
    background: rgba(7, 9, 11, 0.94);
    backdrop-filter: blur(12px);
  }

  .mobile-buy-bar span {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-buy-bar .primary-cta {
    width: auto;
    min-height: 42px;
    padding: 0 18px;
  }
}
