:root {
  --navy: #06142d;
  --text: #001536;
  --muted: #34445c;
  --orange: #c84b09;
  --gold: #c89500;
  --yellow: #ffd84a;
  --green: #18a84f;
  --red: #e62326;
  --page: #f7f8fa;
  --card: #ffffff;
  --line: rgba(0, 21, 54, 0.1);
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: "Inter", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px clamp(18px, 9vw, 178px);
  background: #fff;
}

.brand,
.auth-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(22px, 3.4vw, 25px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 999px;
  color: #071326;
  background:
    radial-gradient(circle at 52% 45%, #ff7b22 0 20%, transparent 21%),
    radial-gradient(circle, #f5aa00 0 48%, #fb6b11 49% 68%, #08214a 69% 78%, #f2a500 79%);
  border: 2px solid #f7b217;
  box-shadow: inset 0 0 0 2px rgba(0, 21, 54, 0.45);
  font-weight: 900;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ghost-link {
  min-height: 40px;
  border: 0;
  color: #000;
  background: transparent;
  font-weight: 700;
}

.small-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #ff633c;
  font-weight: 700;
}

.hero {
  min-height: 646px;
  padding: 75px 18px 70px;
  color: #fff;
  background: linear-gradient(115deg, #c94908 0%, #cc4f07 46%, #c89b00 100%);
}

.hero-inner {
  width: min(1504px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffd6a7;
  background: rgba(73, 161, 60, 0.75);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(43px, 9.8vw, 68px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-copy {
  margin: 0;
  color: #fff;
  font-size: clamp(21px, 4.8vw, 24px);
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 33px auto 20px;
}

.stat-box {
  min-height: 90px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-box strong {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.stat-box span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.primary-cta,
.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 477px);
  min-height: 49px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 900;
}

.primary-cta span {
  font-weight: 500;
}

.guarantee {
  margin: 28px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.section-pad {
  padding: 72px 18px 80px;
}

.methods {
  background: var(--page);
}

.results {
  background: #fff;
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(38px, 6.5vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 3.8vw, 20px);
  line-height: 1.45;
}

.method-grid,
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: min(1504px, 100%);
  margin: 0 auto;
}

.method-card {
  min-height: 265px;
  padding: 31px 32px;
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.08);
}

.icon-bubble {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 27px;
}

.icon-bubble svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bubble.green {
  background: #d9fbe2;
}

.icon-bubble.green svg {
  stroke: #1cad54;
}

.icon-bubble.orange {
  background: #ffebcf;
}

.icon-bubble.orange svg {
  stroke: #fb5b12;
}

.icon-bubble.blue {
  background: #dcecff;
}

.icon-bubble.blue svg {
  stroke: #226bff;
}

.method-card h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
}

.method-card p {
  margin: 0;
  color: #2c3d56;
  font-size: 16px;
  line-height: 1.5;
}

.result-grid {
  gap: 24px;
}

.result-card {
  min-height: 262px;
  padding: 24px;
  border: 1px solid #b9f5c9;
  border-radius: 9px;
  background: #e6faec;
  text-align: center;
}

.money-badge {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 999px;
  color: #fff;
  background: #20c65e;
  font-size: 34px;
  line-height: 1;
}

.result-card h3 {
  margin: 0 0 3px;
  color: #00a13c;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.result-card strong {
  display: block;
  margin-bottom: 19px;
  color: #000;
  font-size: 14px;
}

.result-card p {
  min-height: 50px;
  margin: 0 0 12px;
  color: #06213c;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
}

.stars {
  color: #efa900;
  font-size: 17px;
  letter-spacing: 0;
}

.offer {
  padding: 70px 18px 64px;
  color: #fff;
  background: var(--red);
  text-align: center;
}

.offer-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.offer h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(39px, 7vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}

.offer p {
  margin: 0 0 27px;
  font-size: clamp(21px, 4.9vw, 25px);
}

.offer p strong {
  color: var(--yellow);
}

.offer span {
  display: block;
  margin-bottom: 35px;
  font-size: 18px;
}

.offer-cta {
  background: #39934a;
}

.offer-checks {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
}

.site-footer {
  padding: 49px 18px 44px;
  color: #aeb7c5;
  background: #09152b;
  text-align: center;
}

.footer-brand {
  color: #fff;
  justify-content: center;
  margin-bottom: 20px;
}

.site-footer p {
  margin: 0 0 24px;
  color: #aeb7c5;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #aeb7c5;
  font-size: 23px;
  font-weight: 800;
}

.animate-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 620ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-shell {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 34px 18px;
  background: linear-gradient(145deg, #c94908, #c89500);
}

.auth-card {
  width: min(100%, 430px);
  padding: 26px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.auth-brand {
  justify-content: center;
  margin-bottom: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #f0f2f5;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.auth-tab.active {
  color: #fff;
  background: #ff633c;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  outline: 0;
  color: var(--text);
  background: #fff;
}

.field input:focus {
  border-color: #ff633c;
  box-shadow: 0 0 0 3px rgba(255, 99, 60, 0.17);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 8px;
  background: var(--green);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.dashboard {
  min-height: 100vh;
  padding: 18px;
  background: #f5f7fa;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto 22px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 20, 45, 0.06);
}

.dashboard-brand {
  font-size: 22px;
}

.dashboard-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.logout-btn,
.reader-close {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: #ff633c;
  font-weight: 800;
}

.status-panel,
.library {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.status-panel {
  padding: 28px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 20, 45, 0.06);
}

.status-panel h1,
.library-title h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.1;
}

.status-panel p,
.library-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.library-title {
  margin-bottom: 18px;
}

.ebook-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.ebook-card {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 22px rgba(6, 20, 45, 0.05);
}

.ebook-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.ebook-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.ebook-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.reader {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 20, 45, 0.1);
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.reader-topbar h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 19px;
}

.reader-topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

#reader-frame {
  display: block;
  width: 100%;
  height: min(72vh, 780px);
  min-height: 540px;
  border: 0;
  background: #f0f2f5;
}

@media (min-width: 760px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    width: min(1504px, 100%);
  }

  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .ebook-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .auth-card {
    padding: 32px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand,
  .auth-brand,
  .footer-brand {
    gap: 9px;
    font-size: 20px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .header-actions {
    gap: 8px;
  }

  .ghost-link {
    min-width: 52px;
    padding: 0;
  }

  .small-cta {
    padding: 0 12px;
  }

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

  .section-pad {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

  .method-card,
  .result-card {
    padding: 24px;
  }

  .offer-checks {
    display: grid;
    gap: 6px;
  }

  .dashboard-header {
    align-items: flex-start;
  }
}
