:root {
  --bg: #05090c;
  --bg2: #07141b;
  --panel: rgba(8, 18, 24, 0.86);
  --line: rgba(76, 195, 223, 0.22);
  --text: #f0f7fb;
  --muted: #a4b7c4;
  --teal: #2ec0df;
  --teal2: #1aa7c5;
  --red: #f06c6c;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #0c212b 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
body { min-height: 100vh; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 34px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand .bar {
  width: 2px;
  height: 36px;
  background: linear-gradient(var(--teal), rgba(46,192,223,0.1));
  border-radius: 4px;
}

.brand .inside { color: #ffffff; }
.brand .line { color: var(--teal); }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #d7e3ea;
  font-size: 15px;
}

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

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(90deg, #1fb0cf, #2ad0ec); color: #07131b; }
.btn.secondary { border: 1px solid rgba(255,255,255,0.18); color: #eaf5fb; background: rgba(255,255,255,0.02); }

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 42px;
  align-items: center;
  padding: 58px 0 28px;
}

.eyebrow {
  color: #50c1db;
  letter-spacing: .18em;
  font-size: 15px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: .9;
  letter-spacing: -0.05em;
}

.sub {
  max-width: 700px;
  margin: 0 0 18px;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.15;
}

.body {
  max-width: 700px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.checks {
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
  font-size: 18px;
  color: #deebf2;
}

.checks div::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #39c4de;
  color: #39c4de;
  margin-right: 10px;
  font-size: 14px;
  position: relative;
  top: -1px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 30px;
}

.stats {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:last-child { border-right: none; }

.ico {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(60,200,230,.35);
  display: grid;
  place-items: center;
  color: #4fd0ea;
  font-size: 18px;
}

.num { font-size: 28px; font-weight: 800; line-height: 1; }
.label { font-size: 12px; letter-spacing: .12em; color: #a7b9c5; margin-top: 4px; }

.mockup {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.book {
  position: absolute;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  border-radius: 2px;
  overflow: hidden;
}

.book.main {
  width: 360px;
  height: 560px;
  left: 20px;
  background: linear-gradient(135deg, #0d161b, #101f29 40%, #03070a);
  transform: rotate(-2deg);
}

.book.main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book.main::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(63,190,220,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}

.book.sheet {
  width: 250px;
  height: 500px;
  background: #f2f2f2;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.book.back {
  width: 300px;
  height: 402px;
  right: 0;
  top: 296px;
  transform: rotate(6deg);
}

.book.back img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book.sheet.one { right: 34px; transform: rotate(8deg); }
.book.sheet.two { right: 160px; top: 26px; transform: rotate(4deg); }
.book.sheet.three { right: 290px; top: 50px; transform: rotate(-5deg); }

.book.sheet.preview img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top;
}

.book .small {
  position: absolute;
  left: 28px;
  top: 96px;
  color: #39c7e6;
  font-size: 18px;
  z-index: 2;
}

.book .title {
  position: absolute;
  left: 28px;
  top: 150px;
  max-width: 240px;
  font-size: 32px;
  line-height: 1.02;
  font-weight: 700;
  z-index: 2;
}

.book .credit {
  position: absolute;
  left: 28px;
  top: 220px;
  color: #a9c2cf;
  font-size: 14px;
  font-weight: 400;
  z-index: 2;
}

.book .glow {
  position: absolute;
  left: 28px;
  bottom: 22px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,180,214,.35), transparent 65%);
  z-index: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.cell {
  padding: 22px 18px;
  min-height: 180px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.cell:last-child { border-right: none; }
.cell h3 { margin: 10px 0 10px; font-size: 20px; }
.cell p { margin: 0; color: #b6c4cf; line-height: 1.5; }
.iconline { color: #45c2df; font-size: 30px; }

.toc-preview {
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.preview-card h2 {
  margin: 0 0 20px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.preview-card img {
  max-width: 420px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.compare {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.compare .box { padding: 24px 28px 30px; min-height: 220px; }
.compare h4 { margin: 0 0 18px; font-size: 18px; letter-spacing: .08em; }
.before { background: linear-gradient(90deg, rgba(244,111,111,.12), transparent); }
.after { background: linear-gradient(90deg, rgba(38,183,214,.10), transparent); }

.bitem, .aitem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  color: #dce7ee;
  line-height: 1.4;
}

.x { color: var(--red); }
.y { color: #37c3df; }

.arrow {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  font-size: 42px;
  color: #39c7e6;
}

.about {
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.about h2, .faq h2, .buy h2 {
  margin: 0 0 18px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.about p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.about p:last-child { margin-bottom: 0; }

.more-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

.faq {
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.qa { margin: 0 0 22px; }
.qa:last-child { margin-bottom: 0; }
.qa .q { font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 6px; }
.qa .a { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

.buy {
  margin-top: 24px;
}

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}

.buy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.buy-card h3 { margin: 0 0 10px; font-size: 22px; }
.buy-card p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 20px; }

.page-content {
  margin-top: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.page-content h1 {
  font-size: 44px;
  margin: 0 0 24px;
}

.page-content p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.page-content p:last-child { margin-bottom: 0; }

.footer {
  padding: 22px 0 8px;
  color: #8fa2af;
  font-size: 13px;
  text-align: center;
}

.footer a { color: #8fa2af; }

@media (max-width: 720px) {
  .about, .faq, .toc-preview, .page-content { padding: 24px 20px; }
  .buy-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1200px) {
  h1 { font-size: 72px; }
  .hero { grid-template-columns: 1fr; }
  .mockup { min-height: 620px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .cell:nth-child(2n) { border-right: none; }
  .compare { grid-template-columns: 1fr; }
  .arrow { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px 28px; }
  nav { display: none; }
  h1 { font-size: 54px; }
  .sub { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat { border-right: none; padding-right: 0; }
  .mockup { transform: scale(.8); transform-origin: center top; min-height: 520px; }
}
