/* =========================================
   MYANSCHOOL LANDING PAGE — STYLESHEET
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #EEF2FF;
  --accent: #F59E0B;
  --success: #10B981;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F9FAFB;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Myanmar', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* UTILITIES */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: #F0F0FF; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { display: flex; align-items: center; color: var(--primary); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0 auto; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }
.mobile-menu { display: none; flex-direction: column; gap: 12px; padding: 16px 24px 20px; border-top: 1px solid var(--border); }
.mobile-menu a { text-decoration: none; color: var(--text); font-weight: 500; padding: 8px 0; }
.mobile-menu.open { display: flex; }

/* Language toggle */
.lang-toggle {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.lang-toggle.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.lang-toggle--mobile { margin-top: 4px; width: fit-content; }

/* HERO */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8F7FF 0%, #FFFFFF 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-block;
  background: #FFF3CD;
  color: #92400E;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--text); }
.hero-subtitle { font-size: clamp(16px, 2vw, 19px); color: var(--text-muted); max-width: 560px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.08; }
.shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -200px; }
.shape-2 { width: 400px; height: 400px; background: #7C3AED; bottom: -150px; left: -150px; }

/* PAIN */
.pain { padding: 72px 0; background: var(--bg-soft); }
.pain .section-title { text-align: center; margin-bottom: 40px; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 36px; }
.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pain-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.pain-cta-text { text-align: center; font-size: 18px; font-weight: 600; color: var(--primary); }

/* FEATURES */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card--highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  color: #fff;
  border-color: transparent;
}
.feature-card--highlight h3,
.feature-card--highlight p,
.feature-card--highlight li { color: #fff; }
.feature-card--highlight .feature-list li::before { color: #A5B4FC; }

/* Feature icon — styled label box replacing emojis */
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-card--highlight .feature-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.feature-card--highlight p { color: rgba(255,255,255,0.8); }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* HOW IT WORKS */
.how-it-works { padding: 96px 0; background: var(--bg-soft); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; padding: 32px 24px; }
.step-number {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }
.step-arrow { font-size: 28px; color: var(--border); padding-top: 60px; flex-shrink: 0; }

/* PRICING */
.pricing { padding: 96px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 32px; }
.pricing-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card--popular {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.pricing-price { margin-bottom: 8px; }
.price-amount { font-size: 38px; font-weight: 800; color: var(--text); }
.price-currency { font-size: 15px; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; color: var(--text-muted); }
.pricing-note { text-align: center; font-size: 15px; color: var(--text-muted); }
.pricing-note strong { color: var(--text); }

/* TESTIMONIALS */
.testimonials { padding: 96px 0; background: var(--bg-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { color: var(--accent); font-size: 18px; letter-spacing: 2px; }
.testimonial-text { color: var(--text-muted); font-size: 15px; line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 15px; }
.author-role { font-size: 13px; color: var(--text-muted); }

/* CTA BANNER */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; }
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.cta-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }

/* CONTACT */
.contact { padding: 96px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; margin-top: 10px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 15px; }

/* Contact icon label replacing emojis */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 46px;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* FOOTER */
.footer { background: var(--text); color: #fff; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; padding-bottom: 48px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { color: #fff; }
.footer-brand p { color: #9CA3AF; font-size: 14px; margin-top: 12px; max-width: 260px; }
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9CA3AF; margin-bottom: 4px; }
.footer-col a { color: #D1D5DB; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; padding: 20px 24px; text-align: center; }
.footer-bottom p { color: #6B7280; font-size: 13px; }

/* FORM SUCCESS STATE */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-check {
  width: 64px;
  height: 64px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; margin-left: auto; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 300px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
}
