/**
 * TopTutorBD — assets/css/landing.css
 * Author: RaKiBuL HaSaN - CEO & Founder, The One Stop BD (theonestopbd.com)
 * Developer Phone: +8801752986368
 * Developer Email: rhs.rakibul@gmail.com
 */
/* ==========================================================================
   TopTutorBD — assets/css/landing.css
   Public landing page only. Uses the global tokens from style.css (no hardcoded colors) so
   dark mode works. Mobile-first; desktop gets a 2-column hero and 3-column grids.
   ========================================================================== */

.lp { background: var(--bg); color: var(--text); padding-bottom: env(safe-area-inset-bottom, 0); }
.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---- Top bar ---- */
.lp-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .625rem 16px; padding-top: calc(.625rem + env(safe-area-inset-top, 0));
  background: var(--green); color: #fff; box-shadow: var(--shadow);
}
.lp-brand { display: flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.125rem; }
.lp-brand b { color: #ffd640; }
.lp-logo { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.lp-bar-actions { display: flex; align-items: center; gap: .375rem; }
.lp-chip { background: rgba(255,255,255,.16); color: #fff; border: 0; border-radius: 999px; padding: .375rem .75rem; font-weight: 700; font-size: .8125rem; cursor: pointer; min-height: 36px; }
.lp-link { color: #fff; text-decoration: none; font-weight: 600; font-size: .875rem; padding: .375rem .5rem; }

/* ---- Buttons ---- */
.lp-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: .875rem 1.5rem; border-radius: var(--r); min-height: 48px; box-shadow: var(--shadow); transition: transform .12s ease, filter .12s ease; }
.lp-cta:active { transform: scale(.98); }
.lp-cta:hover { filter: brightness(.95); }
.lp-cta.sm { padding: .4375rem .875rem; min-height: 36px; font-size: .8125rem; border-radius: 999px; }
.lp-cta.inv { background: #fff; color: var(--green); }
.lp-ghost { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--green); color: var(--green-text); text-decoration: none; font-weight: 600; padding: .8125rem 1.25rem; border-radius: var(--r); min-height: 48px; }

/* ---- Hero ---- */
.lp-hero { background: var(--green-l); padding: 1.75rem 0 1.5rem; }
.lp-hero-grid { display: grid; gap: 1.5rem; }
.lp-pill { display: inline-block; background: var(--green-l); color: var(--green-text); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .75rem; font-size: .8125rem; font-weight: 600; }
.lp-hero h1 { font-family: 'Poppins', 'Hind Siliguri', sans-serif; font-size: clamp(1.625rem, 6vw, 2.75rem); line-height: 1.25; margin: .75rem 0 .5rem; }
.lp-hero h1 em { font-style: normal; color: var(--green-text); }
.lp-lead { color: var(--text2); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 1.125rem; max-width: 560px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.lp-actions > a { flex: 1 1 220px; }
.lp-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.125rem; margin-top: 1rem; color: var(--text2); font-size: .875rem; font-weight: 600; }
.lp-ticks li::before { content: '✔ '; color: var(--green-text); }

.lp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; align-content: start; }
.lp-stat { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r); padding: .875rem; box-shadow: var(--shadow); }
.lp-stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 1.625rem; color: var(--green-text); line-height: 1.2; }
.lp-stat span { color: var(--text2); font-size: .8125rem; }

/* ---- Sections ---- */
.lp-sec { padding: 2rem 0; }
.lp-sec.alt { background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-sec h2 { font-family: 'Poppins', 'Hind Siliguri', sans-serif; font-size: clamp(1.25rem, 4.5vw, 1.75rem); margin-bottom: 1rem; }
.lp-cols { display: grid; gap: .875rem; }
.lp-grid3 { display: grid; gap: .875rem; }
.lp-card { display: block; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 1rem; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.lp-sec.alt .lp-card { background: var(--bg); }
.lp-card.hover { transition: transform .12s ease, box-shadow .12s ease; }
.lp-card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lp-card.hover:active { transform: scale(.99); }
.lp-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.lp-card-t { font-weight: 700; font-size: 1rem; line-height: 1.4; margin-bottom: .25rem; }
.lp-card p { color: var(--text2); font-size: .9rem; line-height: 1.6; }
.lp-steps { padding-left: 1.25rem; color: var(--text2); font-size: .9375rem; line-height: 1.7; }
.lp-steps li { margin-bottom: .25rem; }
.lp-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; color: var(--text2); font-size: .8125rem; margin: .25rem 0 .5rem; }
.lp-more { color: var(--green-text); font-weight: 700; font-size: .875rem; }
.lp-ic { font-size: 1.5rem; margin-bottom: .25rem; }
.lp-tutor { display: flex; gap: .75rem; align-items: flex-start; }
.lp-tutor-body { min-width: 0; }
.lp-ver { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: .6875rem; align-items: center; justify-content: center; vertical-align: middle; }
.lp-subs { display: flex; flex-wrap: wrap; gap: .25rem; }
.lp-subs span { background: var(--green-l); color: var(--green-text); border-radius: 999px; padding: .125rem .5rem; font-size: .75rem; font-weight: 600; }

/* ---- Final CTA + footer ---- */
.lp-final { background: var(--green); color: #fff; text-align: center; padding: 2.25rem 0; }
.lp-final h2 { font-family: 'Poppins', 'Hind Siliguri', sans-serif; font-size: clamp(1.25rem, 5vw, 1.875rem); margin-bottom: .5rem; }
.lp-final p { opacity: .9; margin-bottom: 1.125rem; }
.lp-foot { padding: 1.25rem 0 1.75rem; color: var(--text2); font-size: .8125rem; text-align: center; }
.lp-foot .lp-wrap { display: grid; gap: .5rem; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; }
.lp-foot-links a { color: var(--text2); text-decoration: none; font-weight: 600; }
.lp-credit { font-size: .75rem; color: var(--text3); }

/* ---- Tablet / desktop ---- */
@media (min-width: 768px) {
  .lp-cols { grid-template-columns: 1fr 1fr; }
  .lp-grid3 { grid-template-columns: repeat(2, 1fr); }
  .lp-sec { padding: 3rem 0; }
}
@media (min-width: 1024px) {
  .lp-hero { padding: 3.5rem 0 3rem; }
  .lp-hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 3rem; }
  .lp-grid3 { grid-template-columns: repeat(3, 1fr); }
  .lp-stat b { font-size: 2rem; }
  .lp-actions > a { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cta, .lp-card.hover { transition: none; }
}

/* ---- Very small phones: keep the whole top bar inside the viewport ---- */
@media (max-width: 420px) {
  .lp-bar { padding-left: 12px; padding-right: 12px; }
  .lp-brand { font-size: 1rem; gap: .375rem; }
  .lp-brand-t { white-space: nowrap; }
  .lp-link { display: none; }       /* Login stays one tap away in the hero */
  .lp-chip { padding: .375rem .625rem; }
  .lp-bar-actions { gap: .25rem; }
}
