/* =========================
   Listing Boost Pro – Global Styles
   ========================= */

/* Base / Reset */
*,*::before,*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.55;
}

/* Layout Helpers */
.wrap { max-width: 1100px; margin: 0 auto; padding: 28px; }
section { margin: 42px 0; }

/* Header */
header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 6px 0; }
.brand { display:flex; align-items:center; gap:10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo {
  width: 36px; height:36px; border-radius: 10px;
  background: linear-gradient(135deg,#0ea5e9,#22c55e);
  box-shadow: 0 4px 16px rgba(2,6,23,.06);
}

/* Optional subtle page background */
.hero-bg {
  background:
    radial-gradient(1200px 600px at 20% -20%, rgba(46,196,182,.20), transparent),
    radial-gradient(1200px 600px at 120% 20%, rgba(14,165,233,.18), transparent),
    linear-gradient(#ffffff,#f1f5f9);
}

/* Hero */
.hero {
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items:center;
  min-height: 88vh;
}
.card {
  background:#fff; border:1px solid #e2e8f0; padding: 28px;
  border-radius: 12px; box-shadow: 0 10px 26px rgba(2,6,23,.05);
}
.title { font-size: clamp(34px, 4.6vw, 52px); line-height:1.04; margin:0 0 12px; letter-spacing:-.02em; }
.subtitle { font-size: clamp(16px, 2.2vw, 20px); color:#475569; margin:0 0 18px; }

.btns { display:flex; flex-wrap:wrap; gap:12px; margin: 18px 0 8px; }
.btn { display:inline-block; padding: 14px 20px; border-radius: 10px; font-weight: 700; text-decoration:none; }
.btn-primary { background:#0ea5e9; color:#fff; box-shadow: 0 10px 22px rgba(14,165,233,.25); }
.btn-primary:hover { filter: brightness(.96); }
.btn-ghost { background:#fff; color:#0f172a; border:1px solid #e2e8f0; }

.features { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.feature { background:#fff; border:1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 14px; color:#334155; }

/* Cover – use ONE approach: .mock OR <img class="ebook-cover"> */

/* 1) Mock frame using background image (premium look) */
.mock {
  aspect-ratio: 4/5; border-radius: 14px; border:1px solid #e2e8f0; overflow:hidden;
  background: #fff url('../assets/ebook-cover.png') center/cover no-repeat;
  box-shadow: 0 16px 40px rgba(2,6,23,.09);
}

/* 2) Simple image tag with controlled size */
.ebook-cover {
  max-width: 280px; height: auto; display: block; margin: 0 auto 20px;
  border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Two-column info section */
.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 8px; }

/* Purchase / Freebie blocks */
.purchase-section,
.freebie-section {
  text-align: center;
  padding: 50px 20px;
}

.purchase-btn,
.freebie-btn {
  display:inline-block; margin-top: 10px;
  background: #0ea5e9; color: #fff;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
  font-size: 1.05rem; font-weight: 700; transition: background .25s ease;
}
.purchase-btn:hover,
.freebie-btn:hover { background: #0284c7; }

/* Footer */
footer {
  margin: 32px 0 20px; color:#64748b; font-size: 13px;
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .mock { max-width: 520px; width: 100%; margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 18px; }
  .features { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}
/* Nav links */
.nav-links a {
  color: #334155;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: #0ea5e9;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}
