/* CYCLEX landing page — loaded only on the homepage, on top of style.css.
   Reuses the same brand tokens (--cyclex-green etc, --cx-forest, --cx-gold,
   --cx-sprout) so it stays visually consistent with the dashboards. */

.lp-section { padding: 64px 20px; }
.lp-inner { max-width: 1100px; margin: 0 auto; }
.lp-eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--cyclex-green-dark); background: var(--cyclex-green-light); padding: 5px 14px; border-radius: 999px;
    margin-bottom: 14px;
}
.lp-h2 { font-size: 30px; margin: 0 0 10px; color: var(--cyclex-green-dark); }
.lp-lead { font-size: 15.5px; color: var(--muted); max-width: 640px; margin: 0 0 36px; line-height: 1.6; }
.lp-center { text-align: center; }
.lp-center .lp-lead { margin-left: auto; margin-right: auto; }

/* Hero — deliberately echoes the Cycle Ring dashboard component as the
   page's signature element, so the marketing page visually promises
   exactly what the product delivers. */
.lp-hero {
    position: relative; overflow: hidden; padding: 90px 20px 70px; color: #fff;
    background:
        radial-gradient(90% 120% at 85% 0%, rgba(224,175,46,0.18), transparent 60%),
        radial-gradient(70% 100% at 0% 100%, rgba(111,207,115,0.18), transparent 55%),
        linear-gradient(160deg, var(--cyclex-green-dark) 0%, var(--cx-forest) 100%);
}
.lp-hero-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.lp-hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 18px; color: #fff; }
.lp-hero h1 .accent { background: linear-gradient(90deg, var(--cx-sprout), var(--cx-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 480px; margin: 0 0 28px; line-height: 1.6; }
.lp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-btn {
    display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 14.5px;
    text-decoration: none; transition: transform .15s ease;
}
.lp-btn:active { transform: scale(.97); }
.lp-btn-primary { background: #fff; color: var(--cyclex-green-dark); }
.lp-btn-primary:hover { background: #eefaf0; }
.lp-btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.lp-btn-ghost:hover { background: rgba(255,255,255,0.2); }

.lp-hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.lp-hero-stat strong { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.lp-hero-stat span { font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: .5px; }

/* Big decorative ring on the hero, reusing the ring visual language */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-hero-visual svg { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); }

/* Package showcase */
.lp-package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.lp-package-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-package-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(13,40,24,0.3); }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: lpstep; }
.lp-step { position: relative; padding-top: 8px; }
.lp-step-num {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--cyclex-green-light); color: var(--cyclex-green-dark); font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.lp-step h3 { font-size: 16px; margin: 0 0 6px; }
.lp-step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Feature grid */
.lp-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.lp-feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.lp-feature-icon {
    width: 42px; height: 42px; border-radius: 12px; background: var(--cyclex-green-light);
    display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px;
}
.lp-feature h3 { font-size: 15.5px; margin: 0 0 6px; }
.lp-feature p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Live stats band */
.lp-stats-band {
    background: linear-gradient(135deg, var(--cyclex-green) 0%, var(--cyclex-green-dark) 100%);
    color: #fff; border-radius: 22px; padding: 36px 30px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center;
}
.lp-stats-band strong { display: block; font-size: 28px; font-variant-numeric: tabular-nums; }
.lp-stats-band span { font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .5px; }

/* Leaderboard */
.lp-leaderboard { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.lp-leaderboard-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.lp-leaderboard-row:last-child { border-bottom: none; }
.lp-rank {
    width: 28px; height: 28px; border-radius: 50%; background: var(--cyclex-green-light); color: var(--cyclex-green-dark);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; flex-shrink: 0;
}
.lp-rank.gold { background: #fff3d6; color: #a87b00; }
.lp-leaderboard-name { flex: 1; font-weight: 600; }
.lp-leaderboard-amount { font-weight: 700; color: var(--cyclex-green-dark); font-variant-numeric: tabular-nums; }

/* FAQ accordion — no JS needed, pure <details>/<summary> */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details {
    background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
}
.lp-faq summary { font-weight: 700; cursor: pointer; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 20px; color: var(--cyclex-green); flex-shrink: 0; margin-left: 12px; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }

/* Final CTA */
.lp-cta-banner {
    background: linear-gradient(135deg, var(--cx-forest) 0%, var(--cyclex-green-dark) 100%);
    border-radius: 24px; padding: 50px 30px; text-align: center; color: #fff;
}
.lp-cta-banner h2 { color: #fff; }
.lp-cta-banner p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 26px; }

@media (max-width: 820px) {
    .lp-hero-grid { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 32px; }
    .lp-hero-visual { order: -1; }
}
