/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #faf9f6;
  color: #1e1e2a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.btn {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 60px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.25);
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(192, 57, 43, 0.35);
}
.btn-sm {
  padding: 10px 24px;
  font-size: 0.95rem;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: #5a5a6e;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}
/* Navigation */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e1e2a;
  letter-spacing: -0.5px;
}
.logo span {
  color: #c0392b;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.nav-links a {
  text-decoration: none;
  color: #2d2d3f;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #c0392b;
}
.nav-cta {
  background: #c0392b;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
}
.nav-cta:hover {
  background: #a93226 !important;
  color: #fff !important;
}
/* Hero */
.hero {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #fdf8f3 0%, #f3ede8 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #1e1e2a;
}
.hero-content p {
  font-size: 1.1rem;
  color: #3d3d52;
  margin-bottom: 28px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}
.hero-stats i {
  color: #c0392b;
  font-size: 1.1rem;
}
.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  object-fit: cover;
  height: 380px;
}
/* Trust bar */
.trust-bar {
  background: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid #efebe8;
  border-bottom: 1px solid #efebe8;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-weight: 500;
  color: #2d2d3f;
  font-size: 0.95rem;
}
.trust-bar i {
  color: #c0392b;
  margin-right: 6px;
}
/* Categories */
.categories {
  padding-top: 60px;
  padding-bottom: 60px;
  scroll-margin-top: 80px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.course-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px 16px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  border: 1px solid #f0ebe6;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.course-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #eae3dc;
}
.course-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.course-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #5a5a6e;
  margin: 8px 0 10px;
}
.course-card .meta i {
  margin-right: 4px;
}
.course-card .price {
  font-weight: 700;
  color: #1e1e2a;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.course-card .rating {
  color: #f4b942;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.course-card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
}
/* Pricing */
.pricing {
  background: #f3ede8;
  padding: 60px 0;
  scroll-margin-top: 80px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.plan {
  background: #fff;
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid #e4ddd6;
}
.plan.popular {
  border: 2px solid #c0392b;
  position: relative;
}
.plan.popular::after {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392b;
  color: #fff;
  padding: 4px 16px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
}
.plan h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.plan .price {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 12px 0;
}
.plan ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}
.plan ul li {
  padding: 5px 0;
  border-bottom: 1px solid #f0ebe6;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.plan ul li i {
  color: #c0392b;
  width: 18px;
}
.plan .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}
/* Lead form */
.lead-form {
  padding: 60px 0;
  background: #fff;
  scroll-margin-top: 80px;
}
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #faf9f6;
  padding: 32px 28px;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.full {
  grid-template-columns: 1fr;
}
.form-group {
  margin-bottom: 2px;
}
.form-group label {
  font-weight: 500;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd6cf;
  border-radius: 14px;
  font-size: 1rem;
  background: #fff;
}
/* Phone number with country code */
.phone-group {
  display: flex;
  gap: 0;
}
.phone-group .country-code {
  flex: 0 0 auto;
  width: auto;
  max-width: 110px;
  border-radius: 14px 0 0 14px;
  border-right: none;
  padding-left: 10px;
  padding-right: 6px;
  font-size: 0.95rem;
}
.phone-group input {
  border-radius: 0 14px 14px 0;
}
/* Real-time validation states */
.form-group.error input,
.form-group.error select,
.form-group.error .phone-group .country-code,
.form-group.error .phone-group input {
  border-color: #c0392b;
}
.form-group.error input:focus,
.form-group.error select:focus {
  outline-color: #c0392b;
}
.form-error {
  display: block;
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
}
.consent.error label {
  color: #c0392b;
}
.consent .form-error {
  margin-top: 2px;
  flex-basis: 100%;
}
/* CHECKBOX GRID - PERFECTLY ALIGNED */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin: 10px 0 14px;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.92rem;
  padding: 4px 0;
  cursor: pointer;
}
.checkbox-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #c0392b;
  flex-shrink: 0;
  cursor: pointer;
}
.consent {
  margin: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.consent label {
  font-size: 0.9rem;
}
.consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #c0392b;
  flex-shrink: 0;
  cursor: pointer;
}
/* About */
.about {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #faf9f6;
  scroll-margin-top: 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
.about h2 {
  text-align: left;
  margin-bottom: 16px;
}
.about p {
  color: #3d3d52;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
/* Testimonials */
.testimonials {
  background: #faf9f6;
  padding: 60px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.testimonial .stars {
  color: #f4b942;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.testimonial p {
  font-size: 0.95rem;
  color: #2d2d3f;
}
.testimonial .author {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
/* FAQ */
.faq {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #fff;
}
.faq-item {
  border-bottom: 1px solid #e4ddd6;
  padding: 14px 0;
}
.faq-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item p {
  margin-top: 8px;
  color: #3d3d52;
  font-size: 0.95rem;
  display: none;
}
/* Footer */
.footer {
  background: #1e1e2a;
  color: #cdcddd;
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer a {
  color: #cdcddd;
  text-decoration: none;
  display: block;
  margin: 4px 0;
  font-size: 0.95rem;
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #33334a;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-policies {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.footer-policies a {
  color: #cdcddd;
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-policies a:hover {
  color: #fff;
}
/* Policy pages */
.policy-page {
  display: none;
  background: #fff;
  padding: 40px 0;
}
.policy-page.active {
  display: block;
}
.policy-page .container {
  max-width: 900px;
}
.policy-page h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.policy-page h2 {
  font-size: 1.3rem;
  margin: 20px 0 10px;
}
.policy-page p, .policy-page li {
  color: #2d2d3f;
  font-size: 1rem;
  line-height: 1.8;
}
.policy-page ul {
  padding-left: 20px;
  margin: 12px 0;
}
.policy-page .back-link {
  display: inline-block;
  margin-top: 24px;
  color: #c0392b;
  font-weight: 600;
  text-decoration: none;
}
.policy-page .back-link:hover {
  text-decoration: underline;
}
/* Thank You Page */
.thank-you-page {
  display: none;
  min-height: 60vh;
  padding: 60px 0;
  background: linear-gradient(135deg, #fdf8f3 0%, #f3ede8 100%);
  text-align: center;
}
.thank-you-page.active {
  display: block;
}
.thank-you-page .container {
  max-width: 700px;
}
.thank-you-page h1 {
  font-size: 2.8rem;
  color: #1e1e2a;
  margin-bottom: 20px;
}
.thank-you-page p {
  font-size: 1.2rem;
  color: #3d3d52;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
}
.thank-you-page .btn {
  margin-top: 12px;
}
/* Popup modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s ease;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-box {
  background: #fff;
  max-width: 480px;
  width: 92%;
  padding: 32px 24px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  position: relative;
  transform: scale(0.95);
  transition: 0.2s ease;
}
.modal-overlay.active .modal-box {
  transform: scale(1);
}
.modal-box .close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #5a5a6e;
  background: none;
  border: none;
}
.modal-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.modal-box p {
  color: #5a5a6e;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.modal-box .form-group {
  margin-bottom: 14px;
}
.modal-box .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd6cf;
  border-radius: 14px;
  font-size: 1rem;
}
.modal-box .btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-image img { height: 320px; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .btn { padding: 14px 28px; font-size: 1rem; }

  .navbar .container { flex-wrap: wrap; justify-content: space-between; }
  .logo { font-size: 1.3rem; }
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 0.78rem; }
  .nav-cta { padding: 6px 14px; font-size: 0.78rem; }
  
  .hero { padding: 30px 0 40px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-image img { height: 240px; border-radius: 16px; }
  .hero-stats { gap: 16px; font-size: 0.85rem; }
  
  .trust-bar { gap: 16px; font-size: 0.8rem; padding-top: 12px; padding-bottom: 12px; }
  .trust-bar span { white-space: nowrap; }
  
  .section-title { font-size: 1.8rem; }
  .section-sub { font-size: 0.95rem; margin-bottom: 2rem; }
  
  .course-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .course-card { padding: 12px; }
  .course-card img { height: 120px; }
  .course-card h3 { font-size: 0.95rem; }
  .course-card .meta { font-size: 0.7rem; gap: 6px; }
  .course-card .price { font-size: 1rem; }
  .course-card .btn { font-size: 0.8rem; padding: 10px; }
  
  .plan-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan { padding: 24px 16px; }
  .plan .price { font-size: 1.8rem; }
  .plan ul li { font-size: 0.85rem; }
  
  .form-wrapper { padding: 24px 16px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  
  /* CHECKBOX - stays 2 columns on tablet */
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
  .checkbox-grid label { font-size: 0.85rem; }
  
  .about { padding-top: 40px; padding-bottom: 40px; }
  .about-grid { gap: 24px; }
  .about p { font-size: 0.95rem; }
  
  .testimonial-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .testimonial { padding: 20px; }
  
  .faq { padding-top: 40px; padding-bottom: 40px; }
  .faq-item h4 { font-size: 0.9rem; }
  .faq-item p { font-size: 0.9rem; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer { padding: 32px 0 20px; }
  .footer-policies { gap: 14px; }
  
  .thank-you-page { padding: 40px 0; }
  .thank-you-page h1 { font-size: 2.2rem; }
  .thank-you-page p { font-size: 1rem; }
  
  .policy-page { padding: 30px 0; }
  .policy-page h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 15px 12px; }

  .btn { padding: 12px 20px; font-size: 0.95rem; }

  .nav-links a { font-size: 0.75rem; }
  .nav-cta { padding: 7px 14px; font-size: 0.75rem; }
  .logo { font-size: 1.1rem; }
  
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }
  .hero-image img { height: 180px; }
  .hero-stats { gap: 12px; font-size: 0.75rem; }
  
  .trust-bar { gap: 10px; font-size: 0.7rem; }
  .trust-bar span { white-space: normal; }
  
  .section-title { font-size: 1.5rem; }
  
  .course-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .course-card { padding: 10px; border-radius: 14px; }
  .course-card img { height: 100px; border-radius: 10px; }
  .course-card h3 { font-size: 0.85rem; }
  .course-card .meta { font-size: 0.65rem; gap: 4px; }
  .course-card .price { font-size: 0.9rem; margin-bottom: 6px; }
  .course-card .rating { font-size: 0.75rem; margin-bottom: 6px; }
  .course-card .btn { font-size: 0.7rem; padding: 10px; }
  
  .plan { padding: 18px 12px; border-radius: 20px; }
  .plan .price { font-size: 1.5rem; }
  .plan ul li { font-size: 0.8rem; padding: 4px 0; }
  .plan .btn { padding: 12px; font-size: 0.85rem; }
  
  .form-wrapper { padding: 16px 12px; border-radius: 16px; }
  .form-group input, .form-group select { padding: 10px 12px; font-size: 0.9rem; }
  
  /* CHECKBOX - single column on mobile */
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }
  .checkbox-grid label {
    font-size: 0.82rem;
    padding: 6px 0;
  }
  .consent label { font-size: 0.8rem; }
  .consent { margin: 12px 0 16px; }
  
  .about p { font-size: 0.85rem; }
  .about-grid img { border-radius: 16px; }
  
  .testimonial { padding: 16px; border-radius: 16px; }
  .testimonial p { font-size: 0.85rem; }
  
  .faq-item { padding: 10px 0; }
  .faq-item h4 { font-size: 0.85rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 24px 0 16px; }
  .footer a { font-size: 0.85rem; }
  .footer-policies { gap: 10px; }
  .footer-policies a { font-size: 0.7rem; }
  
  .modal-box { padding: 24px 16px; }
  .modal-box h3 { font-size: 1.3rem; }
  
  .thank-you-page h1 { font-size: 1.8rem; }
  .thank-you-page p { font-size: 0.9rem; }
  
  .policy-page h1 { font-size: 1.5rem; }
  .policy-page h2 { font-size: 1.1rem; }
  .policy-page p, .policy-page li { font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .course-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 6px; }
}
