/* =============================================================
   Landing Page — ABest English Center
   Design: Airbnb-inspired (Rausch coral + Ink Black + Inter)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --rausch:      #ff385c;
  --rausch-deep: #e00b41;
  --ink:         #222222;
  --ash:         #6a6a6a;
  --canvas:      #ffffff;
  --cloud:       #f7f7f7;
  --hairline:    #dddddd;
  --font: 'Inter', -apple-system, system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ──────────────────────────────────────────────── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}
.lp-nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline);
}
.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lp-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.lp-logo-dot {
  width: 28px; height: 28px;
  background: var(--rausch);
  border-radius: 8px;
  display: inline-block;
}
.lp-logo-text {
  font-size: 20px; font-weight: 700; color: var(--ink);
}

.lp-nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  flex: 1;
  margin: 1rem 0;
}
.lp-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 6px 12px; border-radius: 20px;
  transition: background 0.15s;
}
.lp-nav-links a:hover { background: rgba(0,0,0,0.06); }

.lp-nav:not(.scrolled) .lp-logo-text,
.lp-nav:not(.scrolled) .lp-nav-links a,
.lp-nav:not(.scrolled) .lp-btn-ghost {
  color: #fff;
}
.lp-nav:not(.scrolled) .lp-nav-links a:hover {
  background: rgba(255,255,255,0.14);
}
.lp-nav:not(.scrolled) .lp-lang-group {
  border-color: rgba(255,255,255,0.22);
}
.lp-nav:not(.scrolled) .lp-lang-btn {
  color: rgba(255,255,255,0.85);
}
.lp-nav:not(.scrolled) .lp-lang-btn.active {
  background: #fff;
  color: var(--ink);
}
.lp-nav:not(.scrolled) .lp-lang-btn:hover:not(.active) {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.lp-lang-group { display: flex; border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; }
.lp-lang-btn {
  padding: 5px 12px; font-size: 12px; font-weight: 600;
  color: var(--ash); text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lp-lang-btn.active { background: var(--ink); color: #fff; }
.lp-lang-btn:hover:not(.active) { background: var(--cloud); color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────── */
.lp-btn-primary {
  display: inline-flex; align-items: center;
  background: var(--rausch); color: #fff;
  padding: 11px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.lp-btn-primary:hover  { background: var(--rausch-deep); color: #fff; }
.lp-btn-primary:active { transform: scale(0.95); }

.lp-btn-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.15); color: #fff;
  padding: 11px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.15s;
}
.lp-btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

.lp-btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--ink);
  padding: 9px 16px; border-radius: 20px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--hairline);
  transition: background 0.15s;
}
.lp-btn-ghost:hover { background: var(--cloud); color: var(--ink); }

.lp-btn-white {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--ink);
  padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.lp-btn-white:hover { opacity: 0.9; color: var(--ink); }

.lp-btn-lg { padding: 13px 28px; font-size: 15px; }

/* ── Hero ────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}
.lp-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,56,92,0.15) 0%, transparent 60%);
}
.lp-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--rausch);
}
.lp-circle-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.lp-circle-2 { width: 400px; height: 400px; bottom: -150px; left: -80px; background: #428bff; }

.lp-hero-content {
  position: relative;
  padding: 120px 24px 80px;
}
.lp-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.lp-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.lp-accent { color: var(--rausch); }

.lp-hero-sub {
  font-size: 18px; font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}
.lp-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}

.lp-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px 28px;
  display: inline-flex;
  opacity: 0;
  transform: translateY(16px);
  animation: lp-stats-fade-in 0.7s ease-out 0.1s forwards;
}
.lp-stat {
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(10px);
  animation: lp-stat-fade-in 0.6s ease-out forwards;
}
.lp-stat:nth-of-type(1) { animation-delay: 0.25s; }
.lp-stat:nth-of-type(2) { animation-delay: 0.35s; }
.lp-stat:nth-of-type(3) { animation-delay: 0.45s; }
.lp-stat:nth-of-type(4) { animation-delay: 0.55s; }
.lp-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.lp-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}
.lp-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

@keyframes lp-stats-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-stat-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections ────────────────────────────────────────────── */
.lp-section { padding: 80px 0; }
.lp-section-cloud { background: var(--cloud); }

.lp-section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.lp-section-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--rausch); text-transform: uppercase; margin-bottom: 10px;
}
.lp-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: var(--ink);
  letter-spacing: -0.44px; line-height: 1.15;
  margin-bottom: 14px;
}
.lp-section-sub { font-size: 16px; color: var(--ash); font-weight: 400; line-height: 1.6; }

/* ── Courses grid ────────────────────────────────────────── */
.lp-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.lp-course-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.lp-course-card:hover {
  box-shadow: rgba(0,0,0,0.08) 0 8px 24px;
  transform: translateY(-2px);
}
.lp-course-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px; flex-shrink: 0;
}
.lp-course-body { flex: 1; }
.lp-course-level { font-size: 11px; font-weight: 600; color: var(--ash); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.lp-course-name  { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.lp-course-desc  { font-size: 14px; color: var(--ash); line-height: 1.55; }
.lp-course-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.lp-course-meta { font-size: 13px; color: var(--ash); }
.lp-course-fee  { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ── Features grid ───────────────────────────────────────── */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.lp-feature-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px 24px;
}
.lp-feature-icon { font-size: 28px; margin-bottom: 14px; }
.lp-feature-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.lp-feature-desc  { font-size: 14px; color: var(--ash); line-height: 1.6; }

/* ── Teachers grid ───────────────────────────────────────── */
.lp-teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.lp-teacher-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px;
  display: flex; align-items: center; gap: 16px;
  transition: box-shadow 0.2s;
}
.lp-teacher-card:hover { box-shadow: rgba(0,0,0,0.06) 0 4px 16px; }
.lp-teacher-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.lp-teacher-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.lp-teacher-role { font-size: 13px; color: var(--ash); margin: 2px 0; }
.lp-teacher-cert { font-size: 12px; color: var(--ash); }

/* ── Award lockup (Airbnb Guest Favorite style) ─────────── */
.lp-award-lockup {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 48px;
}
.lp-laurel { font-size: 48px; color: var(--ink); opacity: 0.15; line-height: 1; }
.lp-laurel-right { transform: scaleX(-1); }
.lp-award-rating { font-size: 56px; font-weight: 700; color: var(--ink); line-height: 1; }
.lp-award-label  { font-size: 11px; font-weight: 600; letter-spacing: 0.32px; text-transform: uppercase; color: var(--ink); }
.lp-award-sub    { font-size: 14px; color: var(--ash); font-weight: 400; }

/* ── Reviews ─────────────────────────────────────────────── */
.lp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.lp-review-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px;
}
.lp-review-stars { margin-bottom: 12px; }
.lp-review-text  { font-size: 14px; color: var(--ink); line-height: 1.65; margin-bottom: 20px; }
.lp-review-footer { display: flex; align-items: center; gap: 12px; }
.lp-review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rausch); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.lp-review-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.lp-review-meta { font-size: 13px; color: var(--ash); }

/* ── CTA section ─────────────────────────────────────────── */
.lp-cta-section { background: var(--cloud); }
.lp-cta-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  border-radius: 20px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.lp-cta-card::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,56,92,0.12);
}
.lp-cta-content { position: relative; }
.lp-cta-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -0.44px; }
.lp-cta-sub   { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }

.lp-contact-form { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.lp-form-row { display: flex; gap: 12px; }
.lp-input {
  flex: 1; padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; font-family: var(--font); font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.1); color: #fff;
  outline: none; min-width: 0;
  transition: border-color 0.15s;
}
.lp-input::placeholder { color: rgba(255,255,255,0.4); }
.lp-input:focus { border-color: rgba(255,255,255,0.5); }
.lp-select option { background: var(--ink); }

/* ── Info strip ──────────────────────────────────────────── */
.lp-info-strip {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  margin-top: 32px;
}
.lp-info-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ash); font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────── */
.lp-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 56px 0 0; }
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.lp-footer-tagline { font-size: 14px; color: var(--ash); line-height: 1.6; max-width: 240px; }
.lp-footer-heading { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.lp-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lp-footer-links li, .lp-footer-links a {
  font-size: 14px; color: var(--ash); text-decoration: none;
  transition: color 0.15s;
}
.lp-footer-links a:hover { color: var(--ink); }
.lp-social-row { display: flex; gap: 8px; margin-top: 16px; }
.lp-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--canvas);
  display: flex; align-items: center; justify-content: center;
  color: var(--ash); text-decoration: none; font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.lp-social-btn:hover { background: var(--rausch); color: #fff; border-color: var(--rausch); }

.lp-footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ash);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
  .lp-nav-links { display: none; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-stats { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
  .lp-section { padding: 56px 0; }
  .lp-hero-content { padding: 100px 16px 60px; }
  .lp-cta-card { padding: 36px 24px; }
  .lp-form-row { flex-direction: column; }
  .lp-btn-white { width: 100%; justify-content: center; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-hero-actions { flex-direction: column; }
  .lp-stats { padding: 16px; }
  .lp-stat { padding: 0 16px; }
}
