/* ============================================
   NaoAcademy — Navy Theme Stylesheet
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --navy: #1e0d86;
  --navy-light: #2b1b8d;
  --navy-dark: #150a64;
  --navy-accent: #473a9c;
  --blue: #7267b3;
  --blue-light: #8e86c2;
  --blue-soft: #f1f0f7;
  --gold: #ffff33;
  --gold-light: #ffff65;
  --teal: #83ff89;
  --green: #83ff89;
  --red: #ff336d;
  --orange: #ffff33;
  --purple: #473a9c;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f1f3f8;
  --gray-200: #e2e6ef;
  --gray-300: #cdd3e0;
  --gray-400: #9ca3b8;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(10,31,68,.08);
  --shadow: 0 4px 16px rgba(10,31,68,.1);
  --shadow-lg: 0 12px 40px rgba(10,31,68,.15);
  --shadow-xl: 0 20px 60px rgba(10,31,68,.2);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.badge-orange { background: #ffffc7; color: #8a8a00; }
.badge-blue   { background: var(--blue-soft); color: var(--navy); }
.badge-green  { background: #e0ffe1; color: #1a6e1f; }
.badge-purple { background: #ebe6ff; color: var(--navy); }
.badge-teal   { background: #e0ffe1; color: #1a6e1f; }
.badge-red    { background: #ffe0ea; color: var(--red); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,31,68,.25);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
}
.btn-ghost:hover { color: var(--blue); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  color: var(--navy);
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text strong { font-weight: 800; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(145deg, var(--white) 0%, var(--blue-soft) 50%, #e3e1f0 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.highlight {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text > p {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: .7rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 28px;
  box-shadow: var(--shadow);
  width: fit-content;
}
.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 800;
}
.stat span {
  font-size: .8rem;
  color: var(--gray-400);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* Hero visual decorations */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.hero-blob {
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-accent) 50%, var(--blue) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 8s ease-in-out infinite;
  opacity: .9;
}
@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%     { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%     { border-radius: 50% 60% 30% 60% / 40% 30% 60% 50%; }
  75%     { border-radius: 40% 50% 60% 30% / 60% 40% 50% 70%; }
}

.hero-card-main {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}
.hc-avatar { font-size: 2rem; }
.hc-label { font-size: .7rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.hc-title { font-weight: 700; color: var(--navy); font-size: .95rem; }
.hc-sub { font-size: .8rem; color: var(--gray-400); }
.live-dot {
  width: 10px; height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(131,255,137,.6); }
  50% { box-shadow: 0 0 0 8px rgba(131,255,137,0); }
}

.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 2;
}
.hero-card-float span:first-child { font-size: 1.6rem; }
.hero-card-float p { font-weight: 700; color: var(--navy); font-size: .85rem; }
.hero-card-float small { color: var(--gray-400); font-size: .75rem; }
.float-top { top: 20px; right: 0; animation: floatY 5s ease-in-out infinite .5s; }
.float-bottom { bottom: -10px; right: 20px; animation: floatY 6s ease-in-out infinite 1s; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}
.hero-wave svg { display: block; width: 100%; }

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  background: var(--gray-50);
  padding: 40px 0;
}
.partners-label {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.partners-logos span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-300);
  letter-spacing: .02em;
  transition: var(--transition);
}
.partners-logos span:hover { color: var(--navy); }

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  padding: 100px 0;
  background: var(--white);
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
a.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cat-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gray-100);
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}
.cat-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.cat-size-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--blue-soft);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.cat-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.cat-card p {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.cat-link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}
.cat-link:hover { color: var(--blue); }

.cat-live:hover  { background: #f0f4ff; border-color: var(--navy); }
.cat-one:hover   { background: #fef3e2; border-color: var(--orange); }
.cat-cert:hover  { background: #f0fdf4; border-color: var(--green); }
.cat-self:hover  { background: #faf0ff; border-color: var(--purple); }

/* ============================================
   COURSES
   ============================================ */
.courses {
  padding: 100px 0;
  background: var(--gray-50);
}

.course-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-500);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card.hidden { display: none; }

.course-thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb-blue   { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.thumb-orange { background: linear-gradient(135deg, #cc9900, var(--gold)); }
.thumb-purple { background: linear-gradient(135deg, var(--navy), var(--navy-accent)); }
.thumb-teal   { background: linear-gradient(135deg, #1a6e1f, var(--green)); }
.thumb-red    { background: linear-gradient(135deg, #b80040, var(--red)); }
.thumb-indigo { background: linear-gradient(135deg, var(--navy-dark), var(--blue)); }

.course-emoji { font-size: 3.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }

.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .7rem;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-body {
  padding: 24px;
}
.level-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.level-tag.beginner     { background: #e0ffe1; color: #1a6e1f; }
.level-tag.intermediate { background: #ffffc7; color: #8a8a00; }
.level-tag.advanced     { background: #ffe0ea; color: #b80040; }
.level-tag.business     { background: var(--blue-soft); color: var(--navy); }

.course-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-body > p {
  font-size: .88rem;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.5;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}
.price-old {
  font-size: .82rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 8px;
}
.discount {
  font-size: .72rem;
  font-weight: 700;
  color: var(--red);
  background: #ffe0ea;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 8px;
}

.courses-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  padding: 100px 0;
  background: var(--white);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.why-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.why-text > p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: var(--transition);
  border: 1px solid transparent;
}
.why-item:hover {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.why-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.why-item p {
  font-size: .83rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-accent) 50%, var(--blue) 100%);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-item h3 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.stats-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}

/* ============================================
   TEACHERS
   ============================================ */
.teachers {
  padding: 100px 0;
  background: var(--gray-50);
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.teacher-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}
.teacher-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.t1 { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.t2 { background: linear-gradient(135deg, #cc9900, var(--gold)); }
.t3 { background: linear-gradient(135deg, #1a6e1f, var(--green)); }
.t4 { background: linear-gradient(135deg, #b80040, var(--red)); }

.teacher-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.teacher-title {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.teacher-achievements {
  margin-bottom: 12px;
}
.teacher-achievements li {
  font-size: .82rem;
  color: var(--gray-600);
  margin-bottom: 4px;
  line-height: 1.4;
}
.teacher-rating {
  font-size: .85rem;
  font-weight: 700;
  color: #e6a000;
}
.teacher-rating span {
  font-weight: 400;
  color: var(--gray-400);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  min-height: 280px;
}
.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  opacity: 0;
  transform: translateX(60px);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  border: 1px solid var(--gray-100);
}
.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}

.stars {
  color: #e6a000;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
}
.ta1 { background: var(--navy); }
.ta2 { background: var(--red); }
.ta3 { background: #1a6e1f; }
.ta4 { background: var(--navy-accent); }

.testimonial-author strong {
  display: block;
  font-size: .95rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: .8rem;
  color: var(--gray-400);
}
.t-class {
  font-size: .8rem;
  color: var(--gray-400);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  font-size: 1.2rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--navy);
  transform: scale(1.25);
}

/* ============================================
   PROMO
   ============================================ */
.promo {
  padding: 100px 0;
  background: var(--gray-50);
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promo-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.promo-hot {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-accent) 100%);
  color: var(--white);
  border-color: transparent;
}
.promo-hot .promo-tag { background: var(--red); color: var(--white); font-weight: 800; }
.promo-hot h3 { color: #ffffff !important; font-size: 1.8rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.promo-hot p { color: rgba(255,255,255,.85); font-size: .95rem; }

.promo-bundle { background: var(--white); }
.promo-referral { background: var(--white); }

.promo-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  background: var(--blue-soft);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.promo-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.promo-card > p {
  font-size: .9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.promo-price {
  font-size: 1rem;
  margin-bottom: 20px;
}
.promo-price del { color: var(--gray-400); }
.promo-price strong { font-size: 1.3rem; color: #1a6e1f; margin-left: 8px; }

.promo-countdown {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.promo-countdown > div {
  text-align: center;
}
.promo-countdown span {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 56px;
}
.promo-countdown small {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

.promo-hot .btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 800;
}
.promo-hot .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================
   FREE LEVEL TEST
   ============================================ */
.level-test {
  padding: 100px 0;
  background: var(--white);
}
.level-test-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lt-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.lt-text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.lt-levels { display: flex; flex-direction: column; gap: 16px; }
.lt-bar span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  display: block;
  margin-bottom: 6px;
}
.bar {
  height: 14px;
  background: var(--gray-100);
  border-radius: 50px;
  overflow: hidden;
}
.fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1.5s ease;
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  padding: 100px 0;
  background: var(--gray-50);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-thumb {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.bt1 { background: linear-gradient(135deg, var(--navy), var(--navy-accent)); }
.bt2 { background: linear-gradient(135deg, #cc9900, var(--gold)); }
.bt3 { background: linear-gradient(135deg, #b80040, var(--red)); }

.blog-cat {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}
.blog-body { padding: 24px; }
.blog-date {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-body > p {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.5;
}
.read-more {
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
}
.read-more:hover { color: var(--blue); }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.faq-left > p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  text-align: left;
  transition: var(--transition);
}
.faq-q:hover { background: var(--gray-50); }
.faq-icon {
  font-size: 1.3rem;
  transition: var(--transition);
  color: var(--navy);
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ============================================
   APP DOWNLOAD
   ============================================ */
.app-download {
  padding: 100px 0;
  background: var(--gray-50);
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.app-text > p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.app-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.appbtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.appbtn:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.appbtn-icon { font-size: 1.6rem; }
.appbtn small { font-size: .7rem; opacity: .7; display: block; }
.appbtn strong { font-size: .95rem; }

.phone-frame {
  width: 260px;
  height: 500px;
  background: var(--navy);
  border-radius: 36px;
  padding: 12px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
}
.phone-screen {
  background: var(--white);
  border-radius: 26px;
  height: 100%;
  padding: 20px;
  overflow: hidden;
}
.ps-header {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}
.ps-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.ps-card small { font-weight: 400; color: var(--gray-400); }
.ps-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 50px;
  margin-top: 8px;
  overflow: hidden;
}
.ps-progress > div {
  height: 100%;
  background: #1a6e1f;
  border-radius: 50px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-accent) 50%, var(--blue) 100%);
  text-align: center;
}
.cta-inner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-inner > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer-brand > p {
  font-size: .9rem;
  margin: 16px 0;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.footer-contact p {
  font-size: .85rem;
  margin-bottom: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .8rem;
}
.footer-bottom p { margin-bottom: 4px; }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  animation: floatY 3s ease-in-out infinite;
}
.floating-wa:hover {
  background: var(--navy-light);
  transform: scale(1.05);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-inner,
  .why-inner,
  .level-test-inner,
  .faq-inner,
  .app-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-visual { min-height: 320px; }
  .hero-blob { width: 260px; height: 260px; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    z-index: 999;
  }
  .nav-links.open {
    max-height: 400px;
  }
  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links a::after { display: none; }
  .nav-actions .btn-outline,
  .nav-actions .btn-primary { display: none; }
  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text > p { margin: 0 auto 28px; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { display: none; }

  .category-cards { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.7rem; }
  .why-text h2,
  .faq-left h2,
  .lt-text h2,
  .app-text h2 { font-size: 1.7rem; }
  .cta-inner h2 { font-size: 1.8rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .floating-wa span { display: none; }
  .floating-wa { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
  .course-tabs { gap: 6px; }
  .tab { padding: 8px 16px; font-size: .82rem; }
  .promo-countdown span { font-size: 1.2rem; padding: 6px 10px; }
  .testimonial-card { padding: 24px; }
  .phone-frame { width: 220px; height: 420px; }
}
