/* ============================================
   Ahavah Unlimited — Brand Stylesheet
   Colors: Vivid Blue #5170FF · Light Lavender #E2A9F1
           Black #000000 · White #FFFFFF
   Fonts: Poppins (primary), MuseoModerno (accent)
   ============================================ */

:root {
  --blue: #5170FF;
  --lavender: #E2A9F1;
  --black: #000000;
  --white: #FFFFFF;
  --ink: #111116;
  --near-black: #0C0C0E;
  --gray: #5b5b66;
  --light: #F7F7FB;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 17, 22, 0.08);
  --shadow-lg: 0 18px 50px rgba(81, 112, 255, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Brand color bar (signature element) ---------- */
.color-bar {
  display: flex;
  height: 8px;
  width: 100%;
}
.color-bar span { flex: 1; }
.color-bar span:nth-child(1) { background: var(--blue); }
.color-bar span:nth-child(2) { background: var(--lavender); }
.color-bar span:nth-child(3) { background: var(--black); }
.color-bar span:nth-child(4) { background: var(--lavender); }
.color-bar span:nth-child(5) { background: var(--blue); }

/* On-dark variant swaps black segment for white */
.color-bar.on-dark span:nth-child(3) { background: var(--white); }

/* ---------- Header / Nav ---------- */
.logo-link { display: block; }
.logo-img { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .logo-img { height: 38px; } }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ececf2;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.2;
  text-transform: uppercase;
}
.wordmark .mark-ahavah { color: var(--blue); }
.wordmark .mark-unlimited { color: var(--ink); }
.wordmark small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gray);
}

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}
nav.main-nav a:hover { color: var(--blue); }
nav.main-nav a.active {
  color: var(--blue);
  font-weight: 700;
}
nav.main-nav a.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease, background 0.15s ease;
}
nav.main-nav a.nav-cta:hover { background: #3f5cf0; transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid #ececf2;
    box-shadow: var(--shadow);
    padding: 8px 0;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 14px 5%;
    font-size: 1rem;
  }
  nav.main-nav a.nav-cta {
    margin: 10px 5% 14px;
    width: auto;
    box-shadow: none;
    text-align: center;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.btn-blue:hover { background: #3f5cf0; }
.btn-lavender {
  background: var(--lavender);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(226, 169, 241, 0.35);
}
.btn-lavender:hover { background: #d78fec; }
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #2a2a33; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--ink); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.on-lavender { color: var(--ink); }
.eyebrow.on-dark { color: var(--lavender); }

h1, h2, h3 { line-height: 1.15; font-weight: 800; }

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: -0.015em;
}
h3 { font-size: 1.22rem; }

.accent-blue { color: var(--blue); }
.accent-lavender { color: var(--lavender); }

.lede {
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 640px;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 60px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p { margin-top: 14px; color: var(--gray); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--near-black);
  color: var(--white);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after,
.hero::before {
  content: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero .lede { color: #c9c9d4; margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.cred-badges span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #e8e8f0;
}
.cred-badges span strong { color: var(--lavender); font-weight: 700; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--near-black);
  color: var(--white);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #c9c9d4; margin-top: 18px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 26px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 920px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid #ececf2;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.95rem; }

.card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  background: var(--light);
}
.card .card-icon.blue { background: rgba(81,112,255,0.12); }
.card .card-icon.lavender { background: rgba(226,169,241,0.22); }
.card .card-icon.dark { background: rgba(17,17,22,0.06); }

/* ---------- Product cards ---------- */
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ececf2;
  box-shadow: var(--shadow);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.product-card .product-top {
  padding: 38px 34px 30px;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.product-card .product-top .price-row { margin-top: auto; padding-top: 20px; }
/* Equal-height color blocks when cards sit side by side */
@media (min-width: 921px) {
  .card-grid.cols-3 .product-card .product-top { min-height: 260px; }
  .card-grid.cols-2 .product-card .product-top { min-height: 210px; }
}
.product-card.simple .product-top { background: var(--blue); }
.product-card.systems .product-top { background: var(--near-black); }
.product-card.templates .product-top { background: var(--lavender); }
.product-card.templates .product-top h3 { color: var(--ink); }
.product-card.templates .product-top p { color: rgba(17,17,22,0.72); }
.product-card.templates .tier-tag { background: var(--ink); color: var(--white); }
.product-card.templates .price-row .price-now { color: var(--ink); }
.product-card.templates .price-row .price-was { color: rgba(17,17,22,0.45); }
.product-card.templates .price-row .price-note { color: var(--ink); }
.product-card.templates .module-list li::before { color: #b662d1; }

.track-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}
.track-head .track-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.track-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.track-head .track-sub { color: var(--gray); font-size: 0.98rem; margin-top: 2px; }
.product-card .tier-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.product-card.simple .tier-tag { background: var(--lavender); color: var(--ink); }
.product-card.systems .tier-tag { background: var(--blue); color: var(--white); }
.product-card .product-top h3 {
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 8px;
}
.product-card .product-top p { color: rgba(255,255,255,0.82); font-size: 0.96rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price-row .price-now {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.price-row .price-was {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
}
.price-row .price-note {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}
.product-card .product-body {
  padding: 30px 34px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.module-list { list-style: none; margin-bottom: 28px; }
.module-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f5;
  font-size: 0.95rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.module-list li:last-child { border-bottom: none; }
.module-list li::before {
  content: "✓";
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.product-card.systems .module-list li::before { color: #b662d1; }
.module-list li strong { font-weight: 600; }
.module-list li span.mod-desc { color: var(--gray); font-weight: 400; }
.product-body .btn {
  margin-top: auto;
  white-space: nowrap;
  padding-left: 14px;
  padding-right: 14px;
  font-size: clamp(0.8rem, 1.35vw, 0.95rem);
}
@media (max-width: 620px) {
  .product-body .btn { font-size: 0.95rem; }
}
@media (min-width: 921px) and (max-width: 1060px) {
  .product-body .btn { font-size: 0.73rem; padding-left: 10px; padding-right: 10px; }
}

/* ---------- Lavender band ---------- */
.band-lavender {
  background: var(--lavender);
  color: var(--ink);
}
.band-lavender h2 { color: var(--ink); }
.band-lavender p { color: rgba(17,17,22,0.75); }

.band-blue {
  background: var(--blue);
  color: var(--white);
}
.band-blue h2 { color: var(--white); }
.band-blue p { color: rgba(255,255,255,0.85); }

.band-dark {
  background: var(--near-black);
  color: var(--white);
}
.band-dark h2 { color: var(--white); }
.band-dark p { color: #c9c9d4; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 720px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat .stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.band-dark .stat .stat-num { color: var(--lavender); }
.stat .stat-label {
  font-size: 0.86rem;
  color: var(--gray);
  font-weight: 500;
  margin-top: 6px;
}
.band-dark .stat .stat-label { color: #b9b9c6; }

/* ---------- Freebie cards ---------- */
.freebie-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #ececf2;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.freebie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.freebie-card .freebie-top {
  padding: 26px 26px 20px;
  font-size: 2rem;
}
.freebie-card .freebie-top svg {
  width: 38px;
  height: 38px;
  display: block;
}
.card .card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.freebie-card .freebie-top.blue { background: rgba(81,112,255,0.1); }
.freebie-card .freebie-top.lavender { background: rgba(226,169,241,0.22); }
.freebie-card .freebie-top.dark { background: rgba(17,17,22,0.06); }
.freebie-card .freebie-body {
  padding: 22px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.freebie-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.freebie-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.freebie-card .btn {
  margin-top: auto;
  padding: 11px 24px;
  font-size: 0.9rem;
}
.free-tag {
  display: inline-block;
  background: var(--lavender);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #ececf2; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
table.compare th, table.compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.94rem;
  border-bottom: 1px solid #f0f0f5;
}
table.compare thead th {
  background: var(--near-black);
  color: var(--white);
  font-weight: 700;
}
table.compare thead th:nth-child(2) { color: var(--white); background: var(--blue); }
table.compare thead th:nth-child(3) { background: var(--near-black); color: var(--lavender); }
table.compare td:first-child { font-weight: 600; }
table.compare td { color: var(--gray); }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid #ececf2;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--lavender);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { color: var(--gray); font-size: 0.93rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: calc(var(--radius) + 6px);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner.blue { background: var(--blue); color: var(--white); }
.cta-banner.dark { background: var(--near-black); color: var(--white); }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-banner .hero-ctas { justify-content: center; margin-top: 0; }
@media (max-width: 620px) { .cta-banner { padding: 48px 26px; } }

/* ---------- About page ---------- */
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.timeline { list-style: none; position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--lavender));
}
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}
.timeline li:nth-child(even)::before { background: var(--lavender); box-shadow: 0 0 0 2px var(--lavender); }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { color: var(--gray); font-size: 0.93rem; }

.value-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.value-chips span {
  background: var(--light);
  border: 1px solid #ececf2;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Contact page ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #ececf2;
  box-shadow: var(--shadow);
  padding: 34px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.contact-card .contact-icon svg { width: 26px; height: 26px; display: block; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 10px; }
.contact-card a.contact-link { font-weight: 600; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--white);
  border: 1px solid #ececf2;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
details.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--gray); font-size: 0.94rem; margin-top: 12px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--near-black);
  color: #c9c9d4;
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #c9c9d4; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--lavender); }
.footer-brand p { font-size: 0.92rem; max-width: 300px; margin-top: 14px; }
.footer-brand .wordmark { color: var(--white); }
.footer-brand .wordmark .mark-unlimited { color: var(--lavender); }
.footer-brand .wordmark small { color: #8a8a96; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #8a8a96;
}
