:root {
  --ink: #0d1821;
  --muted: #5d6875;
  --line: #d9e1e6;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --blue: #16324f;
  --amber: #c27a22;
  --green-soft: #e9f5ef;
  --blue-soft: #e8f0f7;
  --shadow: 0 16px 48px rgba(13, 24, 33, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

code {
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92em;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(217, 225, 230, 0.8);
  background: rgba(247, 249, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.55rem 0.78rem;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white) !important;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 249, 248, 0.95) 0%, rgba(247, 249, 248, 0.86) 42%, rgba(247, 249, 248, 0.25) 78%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: #334150;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-offer span {
  padding: 0.52rem 0.7rem;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.2);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.button.whatsapp {
  border-color: rgba(15, 118, 110, 0.25);
}

.button.full {
  width: 100%;
}

.checkout-lead-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checkout-lead-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 850;
}

.checkout-lead-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  font: inherit;
}

.trust-row span {
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(13, 24, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #273645;
  font-size: 0.92rem;
  font-weight: 700;
}

.ref-note {
  max-width: 460px;
  margin: 1rem 0 0;
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.section,
.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.band {
  background: var(--white);
}

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

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.copy-stack p,
.split-center p,
.feature p,
.module-row p,
.price-panel p,
.checkout-card p {
  color: var(--muted);
}

.section-heading {
  width: min(850px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.feature-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.offer-grid {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.offer-card.premium {
  background: var(--ink);
  color: var(--white);
}

.offer-tag {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card.premium .offer-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.offer-card strong {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 1;
}

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

.offer-card.premium p,
.offer-card.premium .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

.feature {
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 24, 33, 0.05);
}

.feature-icon {
  display: inline-flex;
  min-width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.learn-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learn-list li {
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.8);
  color: #273645;
  font-weight: 700;
}

.diagram-grid,
.testimonial-grid,
.audience-grid,
.stack-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.stack-item {
  min-height: 235px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 24, 33, 0.05);
}

.stack-item strong {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stack-item p {
  color: var(--muted);
}

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

.diagram-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 24, 33, 0.05);
}

.diagram-grid img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.diagram-grid figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-weight: 700;
}

.module-list {
  display: grid;
  gap: 0.75rem;
}

.module-row {
  display: grid;
  grid-template-columns: 54px minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.module-row strong {
  color: var(--amber);
}

.module-row span {
  font-weight: 900;
}

.module-row p {
  margin: 0;
}

.bonus-layout {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.bonus-panel,
.price-panel,
.service-panel,
.affiliate-box,
.checkout-card,
.swipe-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bonus-panel,
.price-panel,
.service-panel,
.affiliate-box,
.checkout-card,
.swipe-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.check-list.compact {
  gap: 0.55rem;
  margin-top: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--teal);
}

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

.x-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.x-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.x-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--amber);
  border-radius: 999px;
}

.testimonial-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

blockquote,
.trust-grid article {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 24, 33, 0.05);
}

blockquote p {
  margin: 0 0 1rem;
  color: #273645;
  font-size: 1.05rem;
}

blockquote cite {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.trust-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.trust-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--amber);
  font-weight: 900;
}

.trust-grid p {
  color: var(--muted);
}

.final-cta {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--white);
}

.final-cta h2 {
  max-width: 860px;
}

.final-cta .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.price-panel {
  background: var(--blue);
  color: var(--white);
}

.service-panel {
  background: var(--ink);
  color: var(--white);
}

.price-panel p,
.service-panel p,
.price-label {
  color: rgba(255, 255, 255, 0.78);
}

.price-panel strong,
.service-panel strong {
  display: block;
  margin: 0.3rem 0;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
}

.service-panel .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.price-anchor {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-weight: 900;
}

.split-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.faq {
  width: min(860px, 100%);
  margin: 0 auto;
}

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

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
}

.affiliate-hero,
.checkout-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.affiliate-box {
  display: grid;
  gap: 0.9rem;
}

.affiliate-box label {
  font-weight: 900;
}

.affiliate-box input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.generated-link {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.generated-link a {
  overflow-wrap: anywhere;
  color: var(--teal-dark);
  font-weight: 800;
}

.swipe-copy {
  width: min(760px, 100%);
}

.checkout-section {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
}

.download-hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  background: var(--white);
}

.checkout-card {
  width: min(520px, 100%);
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.checkout-summary.muted {
  color: var(--muted);
}

.small-note {
  font-size: 0.9rem;
}

.download-card {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.download-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.download-item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.download-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.download-grid a {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(13, 24, 33, 0.05);
}

.always-visible {
  display: block;
}

.mobile-sticky-cta {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  display: none;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(217, 225, 230, 0.9);
  border-radius: 8px;
  background: rgba(247, 249, 248, 0.94);
  box-shadow: 0 18px 50px rgba(13, 24, 33, 0.2);
  backdrop-filter: blur(18px);
}

.mobile-sticky-cta a {
  flex: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.mobile-sticky-cta a:last-child {
  background: var(--ink);
}

@media (max-width: 900px) {
  body {
    padding-bottom: 76px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    position: relative;
    height: 28vh;
    min-height: 190px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(247, 249, 248, 1) 0%, rgba(247, 249, 248, 0.06) 62%);
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 1.6rem 1rem 2.4rem;
  }

  .two-col,
  .bonus-layout,
  .offer-grid,
  .diagram-grid,
  .audience-grid,
  .testimonial-grid,
  .trust-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

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

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

  .module-row {
    grid-template-columns: 44px 1fr;
  }

  .module-row p {
    grid-column: 2;
  }

  .split-center {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    display: flex;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

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

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

  .feature {
    min-height: 0;
  }

  .button {
    width: 100%;
  }

  .hero-copy {
    margin-top: 0.9rem;
    font-size: 1rem;
  }

  .hero-offer {
    margin-top: 1rem;
  }

  .hero-offer span {
    flex: 1 1 100%;
    padding: 0.45rem 0.62rem;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 0.8rem);
    width: auto;
    min-height: 46px;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    font-size: 0.92rem;
    text-align: center;
  }

  .hero-actions .button.primary {
    flex-basis: 100%;
  }

  .trust-row span {
    flex: 1 1 calc(50% - 0.8rem);
    text-align: center;
  }
}
