/* ════════════════════════════════════
   FRONT PAGE (front.css)
════════════════════════════════════ */

.py-80 { padding-top: 80px; padding-bottom: 80px; }

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #2D1157 0%, #1A0A2E 55%, #0F0620 100%);
  padding: 90px 40px 60px;
}
#stars-canvas { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.hero-la-so {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 190px; opacity: .2;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; z-index: 1;
  animation: floatBoard 7s ease-in-out infinite;
}
@keyframes floatBoard {
  0%,100%{transform:translateY(-50%) rotate(-2deg)}
  50%{transform:translateY(-54%) rotate(2deg)}
}
.la-so-cell {
  aspect-ratio: 1; border: .5px solid rgba(196,168,255,.28); border-radius: 3px;
  background: rgba(123,63,196,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 6.5px; color: rgba(196,168,255,.45); text-align: center; line-height: 1.2;
}
.la-so-cell.lsc-active { background: rgba(123,63,196,.35); border-color: rgba(196,168,255,.6); color: var(--glow); }
.la-so-cell.lsc-gold   { border-color: rgba(232,201,122,.5); background: rgba(232,201,122,.1); color: var(--gold); }

.hero-inner  { position: relative; z-index: 2; max-width: 780px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow::before,.hero-eyebrow::after { content:''; width: 32px; height: .5px; background: var(--gold-dim); }
.hero-inner h1 {
  font-size: clamp(38px,6vw,62px); font-weight: 400;
  color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.hero-inner h1 em { font-style: italic; color: var(--glow); }
.hero-sub {
  font-size: 17px; color: var(--muted); font-weight: 300;
  max-width: 540px; margin: 0 auto 36px; line-height: 1.65;
}
.hero-sub strong { color: var(--glow); font-weight: 500; }
.hero-cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 11px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase;
  animation: bobDown 2.5s ease-in-out infinite;
}
@keyframes bobDown { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── SECTION TYPOGRAPHY ─── */
.section-title {
  font-size: clamp(26px,4vw,38px); font-weight: 400;
  color: var(--text); margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.65; font-weight: 300; }

/* ─── PAIN ─── */
.pain-bg { background: var(--deep); border-top: .5px solid var(--border); border-bottom: .5px solid var(--border); }
.pain-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
@media(max-width:860px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 24px 20px; border: .5px solid var(--border); border-radius: var(--r-md);
  background: rgba(196,168,255,.03);
  transition: border-color .3s, background .3s, transform .3s;
}
.pain-card:hover { border-color: var(--border-m); background: rgba(196,168,255,.06); transform: translateY(-3px); }
.pain-icon { font-size: 24px; margin-bottom: 14px; display: block; }
.pain-card h3 { font-family: 'Inter',sans-serif; font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.pain-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── LEAD MAGNET ─── */
.lead-section { position: relative; overflow: hidden; }
.lead-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 350px;
  background: radial-gradient(ellipse, rgba(123,63,196,.22) 0%, transparent 70%);
  pointer-events: none;
}
.lead-box {
  position: relative; z-index: 1; max-width: 620px; margin: 0 auto;
  background: rgba(45,17,87,.55); border: .5px solid var(--border-m);
  border-radius: var(--r-xl); padding: 48px 44px;
  backdrop-filter: blur(10px); text-align: center;
}
@media(max-width:540px){ .lead-box { padding: 28px 20px; } }
.lead-tag {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .07em;
  padding: 5px 14px; border-radius: 20px; text-transform: uppercase;
  background: rgba(232,201,122,.14); color: var(--gold);
  border: .5px solid rgba(232,201,122,.3); margin-bottom: 20px;
}
.lead-box h2 { font-size: 26px; color: var(--text); margin-bottom: 12px; }
.lead-box > p { font-size: 15px; color: var(--muted); margin-bottom: 28px; font-weight: 300; line-height: 1.65; }
.lead-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
@media(max-width:500px){ .lead-form { flex-direction: column; } }
.lead-input {
  flex: 1; padding: 12px 16px; border: .5px solid var(--border-m); border-radius: var(--r-sm);
  background: rgba(255,255,255,.05); color: var(--text);
  font-family: 'Inter',sans-serif; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.lead-input::placeholder { color: var(--muted); }
.lead-input:focus { border-color: var(--purple); }
.lead-btn {
  padding: 12px 20px; background: var(--gold); color: #1A0A2E;
  border: none; border-radius: var(--r-sm); font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap; font-family: 'Inter',sans-serif;
  transition: background .2s;
}
.lead-btn:hover { background: #f0d68a; }
.lead-note { font-size: 12px; color: var(--muted); margin-top: 14px; opacity: .7; }

/* ─── HOW IT WORKS ─── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); }
@media(max-width:768px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  padding: 36px 32px;
  border-left: .5px solid var(--border);
}
.how-step:first-child { border-left: none; }
@media(max-width:768px){
  .how-step { border-left: none; border-top: .5px solid var(--border); }
  .how-step:first-child { border-top: none; }
}
.how-icon {
  width: 44px; height: 44px; font-size: 22px;
  background: rgba(123,63,196,.15); border: .5px solid var(--border-m);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.how-num {
  font-family: 'Playfair Display',serif; font-size: 48px; font-weight: 400; font-style: italic;
  color: var(--purple); opacity: .35; line-height: 1; margin-bottom: 18px;
}
.how-step h3 { font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.how-step p  { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ─── COMPARE ─── */
.compare-bg { background: var(--deep); border-top: .5px solid var(--border); border-bottom: .5px solid var(--border); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
@media(max-width:640px){ .compare-grid { grid-template-columns: 1fr; } }
.compare-col { padding: 28px; border-radius: var(--r-md); border: .5px solid var(--border); }
.compare-good { background: rgba(123,63,196,.1); border-color: rgba(196,168,255,.25); }
.compare-col h3 {
  font-family: 'Inter',sans-serif; font-size: 14px; font-weight: 500;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: .5px solid var(--border);
  color: var(--muted);
}
.compare-good h3 { color: var(--glow); }
.compare-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.compare-row svg { flex-shrink: 0; margin-top: 2px; }
.compare-row span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.compare-row .text-glow { color: var(--glow); }

/* ─── POSTS GRID ─── */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
@media(max-width:860px){ .posts-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .posts-grid { grid-template-columns: 1fr; } }
.post-card {
  border: .5px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: rgba(26,10,46,.6);
  transition: border-color .3s, transform .3s;
}
.post-card:hover { border-color: var(--border-m); transform: translateY(-4px); }
.post-card-img img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-body h3 { font-size: 17px; font-weight: 400; line-height: 1.3; margin: 10px 0 10px; }
.post-card-body h3 a { color: var(--text); }
.post-card-body h3 a:hover { color: var(--glow); }
.post-card-body > p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.post-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); padding-top: 12px; border-top: .5px solid var(--border); }
.cat-badge {
  display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .07em;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase; text-decoration: none;
  background: rgba(123,63,196,.18); color: var(--glow); border: .5px solid rgba(196,168,255,.22);
  transition: background .2s;
}
.cat-badge:hover { background: rgba(123,63,196,.3); color: var(--glow); }

/* ─── TESTIMONIALS ─── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
@media(max-width:860px){ .testi-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  padding: 26px; border: .5px solid var(--border); border-radius: var(--r-md);
  background: rgba(45,17,87,.25); transition: border-color .3s;
}
.testi-card:hover { border-color: var(--border-m); }
.testi-featured { border-color: rgba(123,63,196,.4); background: rgba(123,63,196,.1); }
.testi-stars { color: var(--gold); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-quote { font-size: 14px; color: var(--muted); line-height: 1.65; font-style: italic; font-weight: 300; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--mid); border: .5px solid var(--border-m);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: var(--glow);
}
.testi-name { font-size: 13px; font-weight: 500; color: var(--text); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ─── FINAL CTA ─── */
.final-section {
  position: relative; overflow: hidden;
  background: var(--deep); border-top: .5px solid var(--border);
  padding: 100px 40px; text-align: center;
}
.final-glow {
  position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(123,63,196,.28) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── MOBILE ─── */
@media(max-width:768px){
  .hero { padding: 90px 20px 60px; }
  .hero-la-so { display: none; }
  .final-section { padding: 64px 20px; }
}
