/* ============ TOKENS ============ */
:root {
  --navy: #0f2044;
  --navy-2: #14295a;
  --orange: #f5a623;
  --orange-dark: #e2941a;
  --cream: #faf6ee;
  --white: #ffffff;
  --ink: #142033;
  --ink-soft: #4a5468;
  --border: #e6e0d4;
  --red: #d9534f;
  --green-ok: #2e7d5b;
  --radius: 10px;
  --shadow: 0 20px 45px rgba(15, 32, 68, 0.14);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.6; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--navy); }
.btn-large { padding: 16px 34px; font-size: 1rem; }
.btn-nav { padding: 11px 22px; font-size: 0.85rem; }

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.text-link-light { color: var(--white); }

/* ============ NAV ============ */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  display: flex;
  align-items: center;
}
.brand-logo { height: 32px; width: auto; display: block; }
.brand-break { display: block; color: var(--orange); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--cream); padding: 76px 0 0; overflow: hidden; }
.hero-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 58%;
  background: var(--navy);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 46% 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 2.9rem;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub { font-size: 1.05rem; max-width: 480px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.stat-row li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.stat-icon {
  display: block;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.hero-cover { position: relative; justify-self: center; padding-top: 40px; }
.hero-cover img {
  width: 360px;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  padding: 10px;
  box-shadow: var(--shadow);
}

/* ============ PROBLEM ============ */
.problem { background: var(--white); padding: 90px 0; }
.problem-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.problem-text h2 { font-size: 2.1rem; color: var(--navy); margin-bottom: 18px; }
.problem-text p { max-width: 420px; }

.model-diagram { background: var(--cream); border-radius: var(--radius); padding: 32px; }
.model-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 30px;
}
.model-row:last-child { margin-bottom: 0; }
.model-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  width: 84px;
}
.model-step small { font-weight: 500; color: var(--ink-soft); }
.model-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.model-bad .model-icon { border-color: var(--red); color: var(--red); }
.model-good .model-icon { border-color: var(--orange); color: var(--orange-dark); background: #fff6e6; }
.model-arrow { color: var(--ink-soft); font-size: 1.1rem; flex-shrink: 0; }

/* ============ KEYS ============ */
.keys { background: var(--navy); padding: 90px 0; text-align: center; }
.keys-title { font-size: 1.9rem; color: var(--white); max-width: 640px; margin: 0 auto 54px; }
.keys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.key-card { text-align: left; }
.key-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.key-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.key-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ============ AUTHOR ============ */
.author { background: var(--cream); padding: 90px 0; }
.author-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 56px;
  align-items: center;
}
.author-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.author-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.author-text h2 { font-size: 2.1rem; color: var(--navy); margin: 4px 0 10px; text-transform: uppercase; }
.author-role { font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.author-text p { margin-bottom: 14px; max-width: 620px; }
.author-stats {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.author-stats li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.author-stats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
  font-weight: 800;
}
.author-stats strong { color: var(--ink); }

/* ============ SOFTWARE ============ */
.software { background: var(--white); padding: 90px 0; }
.software-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.software-text h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 18px; }
.software-text p { max-width: 480px; margin-bottom: 26px; }

.software-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}
.mockup-laptop {
  width: 100%;
  max-width: 420px;
  background: var(--navy);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.mockup-screen { background: var(--white); border-radius: 6px; padding: 16px; }
.mockup-topbar { display: flex; gap: 6px; margin-bottom: 16px; }
.mockup-topbar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mockup-topbar span:first-child { background: var(--orange); }
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.mockup-chart span {
  flex: 1;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  border-radius: 4px 4px 0 0;
}
.mockup-phone {
  position: absolute;
  right: 6%;
  bottom: -10px;
  width: 110px;
  height: 200px;
  background: var(--navy-2);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.mockup-phone-bar { width: 30px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 4px; margin: 0 auto 8px; }
.mockup-phone-body { background: var(--white); border-radius: 10px; height: calc(100% - 16px); }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--navy); padding: 90px 0; }
.final-cta-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 60px;
  align-items: center;
}
.final-cta-cover { position: relative; justify-self: center; }
.final-cta-cover img { width: 240px; border-radius: 4px; box-shadow: var(--shadow); }
.final-cta-badge {
  position: absolute;
  top: -16px;
  left: -22px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.final-cta-text h2 { font-size: 2rem; color: var(--white); margin-bottom: 16px; }
.final-cta-book-title { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.final-cta-author { color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.rating { color: var(--orange); font-size: 1rem; margin-bottom: 18px; }
.rating span { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.checklist { display: grid; gap: 10px; margin-bottom: 30px; }
.checklist li {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}
.final-cta-buy {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.price { font-size: 1.7rem; font-weight: 800; color: var(--white); }
.price-note { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* ============ FOOTER ============ */
.footer { background: #0a1730; padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr 1.2fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--orange); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 14px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 0.85rem;
}
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.85rem;
}
.newsletter-form button {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--orange); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner, .problem-inner, .author-inner, .software-inner, .final-cta-inner {
    grid-template-columns: 1fr;
  }
  .hero-cover, .final-cta-cover { justify-self: center; margin-top: 40px; }
  .hero-backdrop { display: none; }
  .hero-cover { background: var(--navy); border-radius: 20px; padding: 36px 20px 56px; }
  .keys-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.1rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .model-row { flex-wrap: wrap; justify-content: center; }
  .keys-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .final-cta-buy { flex-direction: column; align-items: flex-start; }
}
