/*
Theme Name: Lecture Sheet BD
Theme URI: https://lecturesheet.bd
Author: Lecture Sheet BD
Author URI: https://lecturesheet.bd
Description: SSC & HSC নতুন সিলেবাস ২০২৬/২৭ এর সম্পূর্ণ Lecture Sheet ল্যান্ডিং পেজ থিম।
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lecture-sheet
Tags: one-page, landing-page, education, bengali
*/

/* ===== CSS Variables ===== */
:root {
  --bg: hsl(225, 55%, 18%);
  --bg-card: hsl(225, 50%, 22%);
  --bg-muted: hsl(225, 40%, 25%);
  --bg-accent: hsl(225, 45%, 28%);
  --fg: hsl(210, 40%, 98%);
  --fg-card: hsl(210, 40%, 95%);
  --fg-muted: hsl(215, 25%, 75%);
  --primary: hsl(215, 90%, 55%);
  --primary-fg: #fff;
  --secondary: hsl(145, 63%, 32%);
  --secondary-fg: #fff;
  --destructive: hsl(0, 84%, 60%);
  --destructive-fg: #fff;
  --border: hsl(225, 30%, 30%);
  --warning: hsl(38, 92%, 50%);
  --radius: 0.75rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; border: none;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); }
.btn-secondary:hover { opacity: 0.9; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--primary-fg); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-xl { padding: 1.25rem 3rem; font-size: 1.25rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Badge ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 700;
}
.badge-destructive { background: var(--destructive); color: var(--destructive-fg); }
.badge-secondary { background: var(--secondary); color: var(--secondary-fg); }

/* ===== Card ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--border);
  background: hsla(225, 55%, 18%, 0.95);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.logo svg { width: 1.75rem; height: 1.75rem; color: var(--primary); }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; }
.desktop-nav a { color: var(--fg-muted); transition: color 0.2s; }
.desktop-nav a:hover { color: var(--fg); }
.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--secondary); color: var(--secondary-fg);
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 700; transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.9; }
.hamburger {
  display: none; background: none; border: none; color: var(--fg);
  padding: 0.5rem;
}
.hamburger svg { width: 1.5rem; height: 1.5rem; }
.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: var(--bg); padding: 0.75rem 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.5rem 0; font-size: 1rem;
  font-weight: 500; color: var(--fg-muted); transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--fg); }
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
  .header-cta span { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, hsla(215,90%,55%,0.1), var(--bg), var(--bg-accent));
  padding: 4rem 0;
}
.hero h1 { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.hero h1 .subtitle { font-size: 1.5rem; }
.hero p.desc { font-size: 1.125rem; color: var(--fg-muted); max-width: 42rem; margin: 0 auto 2rem; line-height: 1.7; }
.hero .offer-badge {
  display: inline-block; background: hsla(0,84%,60%,0.1); color: var(--destructive);
  padding: 0.625rem 1.5rem; border-radius: 9999px;
  font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (min-width: 768px) {
  .hero { padding: 6rem 0; }
  .hero h1 { font-size: 3rem; }
  .hero h1 .subtitle { font-size: 2.25rem; }
  .hero p.desc { font-size: 1.25rem; }
}

/* ===== Section Common ===== */
section { padding: 4rem 0; }
section.bg-muted { background: hsla(225,40%,25%,0.5); }
section.bg-accent { background: hsla(225,45%,28%,0.5); }
.section-title {
  font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }

/* ===== Problem Section ===== */
.problems-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 56rem; margin: 0 auto;
}
.problem-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.problem-card svg { width: 2rem; height: 2rem; color: var(--destructive); flex-shrink: 0; margin-top: 0.25rem; }
.problem-card p { font-size: 1.125rem; font-weight: 500; }
@media (min-width: 768px) { .problems-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Solution Section ===== */
.solution { padding: 4rem 0; }
.solution p.sub { font-size: 1.125rem; color: var(--fg-muted); max-width: 42rem; margin: 0 auto 1.5rem; }
.solution .check { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--secondary); font-weight: 600; }

/* ===== Features Grid ===== */
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 64rem; margin: 0 auto;
}
.feature-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.feature-item svg { width: 1.5rem; height: 1.5rem; color: var(--primary); flex-shrink: 0; }
.feature-item span { font-weight: 500; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Demo ===== */
.demo p.sub { color: var(--fg-muted); margin-bottom: 2rem; }
.demo-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== Pricing ===== */
.pricing-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem; margin-bottom: 2.5rem;
}
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 0 auto;
}
.price-card {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s; padding: 2.5rem 1.5rem 1.5rem;
}
.price-card:hover { transform: scale(1.05); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 0 0 3px hsla(215,90%,55%,0.2); }
.price-card .badge-pos-right { position: absolute; top: 0.75rem; right: 0.75rem; }
.price-card .badge-pos-left { position: absolute; top: 0.75rem; left: 0.75rem; }
.price-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.price-card .price { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.combo-note {
  text-align: center; margin-top: 2rem; font-size: 1.125rem; font-weight: 700;
  color: var(--primary); background: var(--bg-accent); border-radius: var(--radius);
  padding: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Payment ===== */
.payment-methods {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem;
}
.payment-method {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1rem;
}
.payment-method svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.payment-method .name { font-weight: 600; }
.payment-method .num { font-size: 0.875rem; color: var(--fg-muted); }
.payment-steps {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.payment-steps h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.payment-steps ol { list-style: none; }
.payment-steps li {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem;
}
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; flex-shrink: 0;
  border-radius: 9999px; background: var(--primary); color: var(--primary-fg);
  font-size: 0.875rem; font-weight: 700;
}
.instant-delivery { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--secondary); font-weight: 700; font-size: 1.125rem; }

/* ===== Contact ===== */
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; color: var(--primary); font-weight: 500; transition: opacity 0.2s; }
.contact-link:hover { opacity: 0.8; text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list { max-width: 42rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 0; background: none; border: none;
  color: var(--fg); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer; transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 1.25rem; height: 1.25rem; transition: transform 0.2s; flex-shrink: 0; margin-left: 0.5rem; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 1rem; color: var(--fg-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto;
}
.testimonial-card { padding: 1.5rem; }
.stars { display: flex; gap: 0.25rem; margin-bottom: 0.75rem; }
.stars svg { width: 1rem; height: 1rem; fill: var(--warning); color: var(--warning); }
.testimonial-card .quote { font-style: italic; margin-bottom: 1rem; color: var(--fg-card); }
.testimonial-card .author { font-weight: 700; }
.testimonial-card .role { font-size: 0.875rem; color: var(--fg-muted); }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Final CTA ===== */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary), hsla(215,90%,55%,0.8));
}
.final-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.final-cta p { color: hsla(0,0%,100%,0.8); font-size: 1.125rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .final-cta h2 { font-size: 2.25rem; } }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-card); padding: 2.5rem 0;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-grid h4 { font-weight: 700; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--fg-muted); font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid a svg { width: 1rem; height: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.5rem;
  text-align: center; font-size: 0.875rem; color: var(--fg-muted);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Sticky WhatsApp ===== */
.sticky-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--secondary); color: var(--secondary-fg);
  padding: 0.75rem 1.25rem; border-radius: 9999px;
  font-weight: 700; font-size: 0.875rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: all 0.2s;
}
.sticky-whatsapp:hover { opacity: 0.9; transform: scale(1.05); }
.sticky-whatsapp span { display: none; }
@media (min-width: 640px) { .sticky-whatsapp span { display: inline; } }
@media (min-width: 768px) { .sticky-whatsapp { bottom: 2rem; right: 2rem; } }

/* ===== Order Modal ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 28rem;
  max-height: 90vh; overflow-y: auto; padding: 1.5rem;
}
.modal h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.modal .modal-desc { color: var(--fg-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.modal label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.modal input, .modal select {
  width: 100%; padding: 0.625rem 0.75rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  color: var(--fg); font-size: 1rem; font-family: inherit;
  margin-bottom: 1rem; outline: none; transition: border-color 0.2s;
}
.modal input:focus, .modal select:focus { border-color: var(--primary); }
.modal select option { background: var(--bg); color: var(--fg); }
.modal .close-btn {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--fg-muted);
  font-size: 1.5rem; cursor: pointer;
}
