/*
Theme Name: TutorBerry
Theme URI: https://tutorberry.com
Description: TutorBerry ESL Platform — Custom WordPress Theme with TutorLMS Integration
Author: TutorBerry / Nicole
Author URI: https://tutorberry.com
Template: twentytwentyfour
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: tutorberry

=============================================================
  TUTORBERRY DESIGN SYSTEM
  Brand: Haus of Rode | Fonts: Poppins + DM Sans + Space Mono
=============================================================
*/

/* ============================================================
   1. GOOGLE FONTS — loaded via functions.php wp_enqueue_scripts
   ============================================================ */

/* ============================================================
   2. CSS CUSTOM PROPERTIES (BRAND TOKENS)
   ============================================================ */
:root {
  /* Brand Colours */
  --tb-teal:         #214F56;
  --tb-teal-light:   #2d6b75;
  --tb-teal-dark:    #193d43;
  --tb-green:        #4ABA7A;
  --tb-green-light:  #6dcb95;
  --tb-chart:        #DCE11F;   /* Bright Chartreuse */
  --tb-chart-dark:   #c9ce1a;
  --tb-sky:          #9DB6DF;   /* Sky Blue */
  --tb-lilac:        #C3B4D8;   /* Soft Lilac */
  --tb-white:        #FFFFFF;
  --tb-off:          #f7faf9;
  --tb-off-2:        #eef5f3;

  /* Text */
  --tb-text:         #1a2e2b;
  --tb-muted:        #5a7a74;
  --tb-subtle:       #8aada7;

  /* Borders */
  --tb-border:       #ddeae7;
  --tb-border-dark:  #c0d4d0;

  /* Typography */
  --tb-font-head:    'Poppins', sans-serif;
  --tb-font-body:    'DM Sans', sans-serif;
  --tb-font-mono:    'Space Mono', monospace;

  /* Spacing */
  --tb-r-sm:   6px;
  --tb-r-md:   10px;
  --tb-r-lg:   14px;
  --tb-r-xl:   20px;
  --tb-r-2xl:  28px;

  /* Shadows */
  --tb-shadow-sm:  0 2px 8px rgba(33,79,86,0.07);
  --tb-shadow-md:  0 6px 24px rgba(33,79,86,0.10);
  --tb-shadow-lg:  0 12px 40px rgba(33,79,86,0.14);

  /* Transitions */
  --tb-transition: all 0.22s ease;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--tb-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--tb-text);
  background: var(--tb-white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tb-teal); transition: var(--tb-transition); }
a:hover { color: var(--tb-green); }
ul { list-style: none; }

/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tb-font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--tb-teal);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: clamp(17px, 2vw, 20px); }
h5 { font-size: 16px; }
h6 { font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
p { margin-bottom: 1rem; color: var(--tb-muted); line-height: 1.75; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 18px; color: var(--tb-muted); font-weight: 300; }
.mono { font-family: var(--tb-font-mono); font-size: 11px; letter-spacing: 1px; }
.section-label {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tb-green);
  display: block;
  margin-bottom: 10px;
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5%, 60px);
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1400px; }

.section { padding-block: clamp(60px, 8vw, 100px); }
.section--teal { background: var(--tb-teal); }
.section--off   { background: var(--tb-off); }
.section--off2  { background: var(--tb-off-2); }
.section--white { background: var(--tb-white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--tb-white) !important; }
.text-chart  { color: var(--tb-chart) !important; }
.text-muted  { color: var(--tb-muted) !important; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.tb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--tb-font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tb-transition);
  white-space: nowrap;
  line-height: 1;
}
.tb-btn--primary   { background: var(--tb-chart); color: var(--tb-teal); border-color: var(--tb-chart); }
.tb-btn--primary:hover { background: var(--tb-chart-dark); border-color: var(--tb-chart-dark); transform: translateY(-2px); box-shadow: var(--tb-shadow-md); color: var(--tb-teal); }
.tb-btn--teal      { background: var(--tb-teal); color: var(--tb-white); border-color: var(--tb-teal); }
.tb-btn--teal:hover { background: var(--tb-teal-light); border-color: var(--tb-teal-light); color: var(--tb-white); transform: translateY(-2px); }
.tb-btn--outline   { background: transparent; color: var(--tb-teal); border-color: var(--tb-teal); }
.tb-btn--outline:hover { background: var(--tb-teal); color: var(--tb-white); }
.tb-btn--outline-white { background: transparent; color: var(--tb-white); border-color: rgba(255,255,255,0.5); }
.tb-btn--outline-white:hover { background: var(--tb-white); color: var(--tb-teal); border-color: var(--tb-white); }
.tb-btn--white     { background: var(--tb-white); color: var(--tb-teal); border-color: var(--tb-white); }
.tb-btn--white:hover { background: var(--tb-off); color: var(--tb-teal); }
.tb-btn--lg        { padding: 16px 32px; font-size: 16px; }
.tb-btn--sm        { padding: 8px 16px; font-size: 12px; }
.tb-btn--full      { width: 100%; justify-content: center; }

/* ============================================================
   7. CARDS
   ============================================================ */
.tb-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-xl);
  padding: 28px;
  transition: var(--tb-transition);
}
.tb-card:hover {
  box-shadow: var(--tb-shadow-md);
  transform: translateY(-3px);
  border-color: var(--tb-border-dark);
}
.tb-card--teal { background: var(--tb-teal); border-color: transparent; }
.tb-card--off  { background: var(--tb-off); }

/* Unit Cards (Curriculum) */
.tb-unit-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-lg);
  overflow: hidden;
  transition: var(--tb-transition);
}
.tb-unit-card:hover {
  box-shadow: var(--tb-shadow-md);
  transform: translateY(-2px);
  border-color: rgba(33,79,86,0.2);
}
.tb-unit-card__header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--tb-off);
}
.tb-unit-card__num {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--tb-sky);
  margin-bottom: 5px;
}
.tb-unit-card__title {
  font-family: var(--tb-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--tb-teal);
  margin: 0;
}
.tb-unit-card__grammar {
  font-size: 12px;
  color: var(--tb-muted);
  font-style: italic;
  margin-top: 3px;
}
.tb-unit-card__body { padding: 12px 18px; }
.tb-unit-card__footer {
  padding: 10px 18px;
  background: rgba(247,250,249,0.8);
  border-top: 1px solid var(--tb-off);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tb-unit-card__lessons { font-size: 11px; color: var(--tb-muted); }
.tb-unit-card__booking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--tb-chart);
  color: var(--tb-teal);
  font-family: var(--tb-font-head);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--tb-r-sm);
}

/* ============================================================
   8. SKILL PILLS
   ============================================================ */
.tb-skills-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tb-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 5px;
  line-height: 1.5;
}
.tb-pill--grammar  { background:#E6F0EE; color:#214F56; border:1px solid #c0d8d3; }
.tb-pill--vocab    { background:#E6F5EC; color:#1f6635; border:1px solid #a8d8b8; }
.tb-pill--listen   { background:#E8EEF8; color:#1e3d7a; border:1px solid #a5bcdf; }
.tb-pill--read     { background:#EEE8F5; color:#4a2282; border:1px solid #c5aee0; }
.tb-pill--speak    { background:#FBF5D5; color:#6b4c00; border:1px solid #e8d48a; }
.tb-pill--write    { background:#FBE9E2; color:#6b2000; border:1px solid #e8a88a; }
.tb-pill--quiz     { background:#F2F2F2; color:#404040; border:1px solid #d8d8d8; }
.tb-pill--culture  { background:#FBE5E5; color:#6b0000; border:1px solid #e8aaaa; }
.tb-pill--business { background:#E5EEF5; color:#003060; border:1px solid #aac5df; }
.tb-pill--career   { background:#E5F5EC; color:#004020; border:1px solid #88c8a0; }
.tb-pill--travel   { background:#FFF0E5; color:#7a3000; border:1px solid #f0c090; }
.tb-pill--tech     { background:#F0E8F8; color:#3a0078; border:1px solid #c0a0e0; }

/* Level badges */
.tb-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--tb-r-md);
  font-family: var(--tb-font-head);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.tb-level-badge--a1 { background: var(--tb-chart); color: var(--tb-teal); }
.tb-level-badge--a2 { background: var(--tb-green); color: var(--tb-white); }
.tb-level-badge--b1 { background: var(--tb-sky);   color: var(--tb-teal); }
.tb-level-badge--b2 { background: var(--tb-lilac); color: var(--tb-teal); }
.tb-level-badge--c1 { background: var(--tb-teal);  color: var(--tb-chart);}

/* ============================================================
   9. LEVEL TABS
   ============================================================ */
.tb-level-tabs {
  display: flex;
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-lg);
  overflow: hidden;
  overflow-x: auto;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.tb-level-tabs::-webkit-scrollbar { display: none; }
.tb-level-tab {
  flex: 1;
  min-width: 160px;
  padding: 14px 20px;
  font-family: var(--tb-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-muted);
  cursor: pointer;
  border-right: 1px solid var(--tb-border);
  white-space: nowrap;
  transition: var(--tb-transition);
  text-align: center;
  border-bottom: none;
  background: none;
}
.tb-level-tab:last-child { border-right: none; }
.tb-level-tab:hover { color: var(--tb-teal); background: var(--tb-off); }
.tb-level-tab.is-active { background: var(--tb-teal); color: var(--tb-chart); }
.tb-level-tab .tb-level-tab__count {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  margin-left: 5px;
  opacity: 0.7;
}
.tb-level-pane { display: none; }
.tb-level-pane.is-active { display: block; }

/* Level info bar */
.tb-level-infobar {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.tb-level-infobar__content h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--tb-teal);
}
.tb-level-infobar__content p {
  font-size: 13px;
  margin-bottom: 10px;
}
.tb-level-infobar__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-level-infobar__chip {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--tb-r-sm);
  background: rgba(33,79,86,0.07);
  color: var(--tb-teal);
}

/* ============================================================
   10. NAVIGATION
   ============================================================ */
.tb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tb-border);
}
.tb-nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4%, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.tb-nav__logo {
  font-family: var(--tb-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--tb-teal);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--tb-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.tb-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--tb-muted);
  text-decoration: none;
}
.tb-nav__links a:hover { color: var(--tb-teal); }
.tb-nav__links a.is-active { color: var(--tb-teal); font-weight: 600; }
.tb-nav__ctas { display: flex; align-items: center; gap: 10px; }
.tb-nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.tb-nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tb-teal);
  border-radius: 2px;
  transition: var(--tb-transition);
}
.tb-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--tb-white);
  border-bottom: 1px solid var(--tb-border);
  padding: 20px clamp(20px,4%,48px) 28px;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.tb-nav__mobile-menu.is-open { display: flex; }
.tb-nav__mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--tb-text);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--tb-border);
}

/* Push body below fixed nav */
body { padding-top: 70px; }

/* ============================================================
   11. HERO SECTION
   ============================================================ */
.tb-hero {
  background: var(--tb-teal);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding-block: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.tb-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(74,186,122,0.07);
  pointer-events: none;
}
.tb-hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(220,225,31,0.05);
  pointer-events: none;
}
.tb-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,225,31,0.12);
  border: 1px solid rgba(220,225,31,0.28);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.tb-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tb-green);
  animation: tb-pulse 2s infinite;
}
@keyframes tb-pulse {
  0%,100% { opacity:1; }
  50%      { opacity:0.35; }
}
.tb-hero__badge span {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  color: var(--tb-chart);
  letter-spacing: 0.5px;
}
.tb-hero h1 {
  color: var(--tb-white);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.tb-hero h1 em { color: var(--tb-chart); font-style: normal; }
.tb-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}
.tb-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.tb-hero__stats { display: flex; gap: 36px; }
.tb-hero__stat-val {
  font-family: var(--tb-font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--tb-chart);
  line-height: 1;
  margin-bottom: 4px;
}
.tb-hero__stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* Hero level stack */
.tb-hero__level-stack { display: flex; flex-direction: column; gap: 10px; }
.tb-hero__level-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tb-r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--tb-transition);
}
.tb-hero__level-card:hover,
.tb-hero__level-card.is-active {
  background: rgba(255,255,255,0.13);
  border-color: rgba(220,225,31,0.38);
  transform: translateX(4px);
}
.tb-hero__level-card-badge {
  width: 44px; height: 44px;
  border-radius: var(--tb-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tb-font-head);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.tb-hero__level-card-info { flex: 1; }
.tb-hero__level-card-name {
  font-family: var(--tb-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--tb-white);
  margin-bottom: 2px;
}
.tb-hero__level-card-desc { font-size: 11px; color: rgba(255,255,255,0.45); }
.tb-hero__level-card-count {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  color: var(--tb-chart);
}

/* ============================================================
   12. FEATURE CARDS
   ============================================================ */
.tb-feat-card { padding: 28px; }
.tb-feat-icon {
  width: 50px; height: 50px;
  border-radius: var(--tb-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.tb-feat-icon--teal   { background: rgba(33,79,86,0.08); }
.tb-feat-icon--green  { background: rgba(74,186,122,0.12); }
.tb-feat-icon--chart  { background: rgba(220,225,31,0.18); }
.tb-feat-icon--sky    { background: rgba(157,182,223,0.18); }
.tb-feat-icon--lilac  { background: rgba(195,180,216,0.18); }
.tb-feat-card h4 { color: var(--tb-teal); margin-bottom: 10px; font-size: 16px; }
.tb-feat-card p  { font-size: 14px; margin: 0; }

/* ============================================================
   13. PRICING CARDS
   ============================================================ */
.tb-price-card {
  border: 1.5px solid var(--tb-border);
  border-radius: var(--tb-r-xl);
  padding: 32px;
  position: relative;
  transition: var(--tb-transition);
}
.tb-price-card:hover { border-color: var(--tb-green); box-shadow: var(--tb-shadow-md); }
.tb-price-card--featured { border-color: var(--tb-teal); border-width: 2px; }
.tb-price-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--tb-teal);
  color: var(--tb-chart);
  font-family: var(--tb-font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.tb-price-card__tier {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--tb-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tb-price-card__name {
  font-family: var(--tb-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--tb-teal);
  margin-bottom: 16px;
}
.tb-price-card__amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.tb-price-card__curr { font-size: 18px; font-weight: 500; color: var(--tb-muted); font-family: var(--tb-font-head); }
.tb-price-card__num  { font-size: 44px; font-weight: 800; color: var(--tb-teal); line-height: 1; font-family: var(--tb-font-head); }
.tb-price-card__period { font-size: 14px; color: var(--tb-muted); }
.tb-price-card__desc { font-size: 13px; color: var(--tb-muted); margin-bottom: 24px; line-height: 1.6; }
.tb-price-card__divider { height: 1px; background: var(--tb-border); margin: 20px 0; }
.tb-price-card__features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.tb-price-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--tb-text); }
.tb-price-card__feature-check { color: var(--tb-green); flex-shrink: 0; font-weight: 700; margin-top: 1px; }
.tb-price-card__feature-x { color: #ccc; flex-shrink: 0; margin-top: 1px; }
.tb-price-card__feature--muted { color: var(--tb-muted); }

/* ============================================================
   14. BOOKING / TUTOR CARD
   ============================================================ */
.tb-tutor-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tb-r-xl);
  padding: 28px;
}
.tb-tutor-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--tb-chart);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tb-font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--tb-white);
  background: var(--tb-green);
  margin-bottom: 16px;
}
.tb-tutor-name  { font-family: var(--tb-font-head); font-size: 24px; font-weight: 700; color: var(--tb-white); margin-bottom: 4px; }
.tb-tutor-role  { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.tb-tutor-tags  { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tb-tutor-tag   {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--tb-r-sm);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.tb-booking-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--tb-r-lg);
  padding: 20px;
}
.tb-booking-label {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  display: block;
}
.tb-booking-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tb-booking-slot {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tb-r-md);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--tb-transition);
}
.tb-booking-slot:hover,
.tb-booking-slot.is-active {
  background: rgba(220,225,31,0.15);
  border-color: rgba(220,225,31,0.4);
}
.tb-booking-slot__time { font-family: var(--tb-font-mono); font-size: 12px; color: var(--tb-white); }
.tb-booking-slot__avail { font-size: 10px; color: var(--tb-green); margin-top: 2px; }

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.tb-testi-card { padding: 28px; }
.tb-testi-stars { color: var(--tb-chart); font-size: 14px; letter-spacing: 3px; margin-bottom: 12px; }
.tb-testi-quote { font-size: 36px; color: var(--tb-chart); line-height: 1; margin-bottom: 10px; font-family: var(--tb-font-head); font-weight: 800; }
.tb-testi-text  { font-size: 15px; color: var(--tb-text); line-height: 1.75; margin-bottom: 20px; font-weight: 300; }
.tb-testi-person { display: flex; align-items: center; gap: 12px; }
.tb-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tb-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--tb-white);
  flex-shrink: 0;
}
.tb-testi-name  { font-family: var(--tb-font-head); font-size: 14px; font-weight: 600; color: var(--tb-teal); }
.tb-testi-from  { font-size: 12px; color: var(--tb-muted); }
.tb-testi-level {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(33,79,86,0.08);
  color: var(--tb-teal);
  margin-top: 3px;
  display: inline-block;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.tb-footer { background: var(--tb-teal); padding-block: clamp(48px, 7vw, 80px); }
.tb-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.tb-footer__logo {
  font-family: var(--tb-font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--tb-chart);
  margin-bottom: 12px;
  text-decoration: none;
}
.tb-footer__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 20px;
}
.tb-footer__social { display: flex; gap: 10px; }
.tb-footer__social-btn {
  width: 36px; height: 36px;
  border-radius: var(--tb-r-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tb-transition);
  text-decoration: none;
}
.tb-footer__social-btn:hover { background: rgba(220,225,31,0.2); border-color: rgba(220,225,31,0.4); color: var(--tb-chart); }
.tb-footer__col-title { font-family: var(--tb-font-head); font-size: 13px; font-weight: 600; color: var(--tb-white); margin-bottom: 16px; }
.tb-footer__links { display: flex; flex-direction: column; gap: 10px; }
.tb-footer__links a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: var(--tb-transition); }
.tb-footer__links a:hover { color: var(--tb-chart); }
.tb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tb-footer__copy    { font-size: 12px; color: rgba(255,255,255,0.3); }
.tb-footer__tagline { font-family: var(--tb-font-mono); font-size: 11px; color: rgba(255,255,255,0.2); }

/* ============================================================
   17. VOCAB BADGE
   ============================================================ */
.tb-vocab-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(33,79,86,0.06);
  border-radius: var(--tb-r-sm);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--tb-teal);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ============================================================
   18. SECTION STEPS
   ============================================================ */
.tb-steps { position: relative; }
.tb-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 16.67%; right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--tb-border), var(--tb-green), var(--tb-border));
  z-index: 0;
}
.tb-step { text-align: center; position: relative; z-index: 1; }
.tb-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--tb-teal);
  color: var(--tb-chart);
  font-family: var(--tb-font-head);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.tb-step h4 { color: var(--tb-teal); margin-bottom: 8px; }
.tb-step p  { font-size: 14px; }

/* ============================================================
   19. COURSE CATEGORY CARDS (from Mindmap)
   ============================================================ */
.tb-category-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--tb-transition);
}
.tb-category-card:hover { box-shadow: var(--tb-shadow-md); transform: translateY(-2px); border-color: var(--tb-border-dark); }
.tb-category-card__icon { font-size: 28px; }
.tb-category-card__title { font-family: var(--tb-font-head); font-size: 17px; font-weight: 700; color: var(--tb-teal); }
.tb-category-card__desc  { font-size: 13px; color: var(--tb-muted); line-height: 1.6; }
.tb-category-card__levels { display: flex; gap: 6px; flex-wrap: wrap; }
.tb-category-card__level-chip {
  font-family: var(--tb-font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(33,79,86,0.07);
  color: var(--tb-teal);
  font-weight: 600;
}
.tb-category-card__topics { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.tb-category-card__topic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tb-muted);
}
.tb-category-card__topic::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tb-green);
  flex-shrink: 0;
}

/* ============================================================
   20. PRONUNCIATION LAB CARDS
   ============================================================ */
.tb-pronun-card {
  background: var(--tb-teal);
  border-radius: var(--tb-r-xl);
  padding: 24px;
  color: var(--tb-white);
}
.tb-pronun-card__sound {
  font-family: var(--tb-font-mono);
  font-size: 28px;
  color: var(--tb-chart);
  margin-bottom: 10px;
}
.tb-pronun-card__title { font-family: var(--tb-font-head); font-size: 15px; font-weight: 600; color: var(--tb-white); margin-bottom: 6px; }
.tb-pronun-card__desc  { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.tb-pronun-card__eg    { font-family: var(--tb-font-mono); font-size: 11px; color: var(--tb-sky); margin-top: 10px; }

/* ============================================================
   21. COMMUNITY SECTION
   ============================================================ */
.tb-community-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tb-r-xl);
  padding: 24px;
}
.tb-community-card__icon { font-size: 28px; margin-bottom: 12px; }
.tb-community-card__title { font-family: var(--tb-font-head); font-size: 16px; font-weight: 600; color: var(--tb-white); margin-bottom: 6px; }
.tb-community-card__desc  { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ============================================================
   22. SKILL LEGEND BAR
   ============================================================ */
.tb-skill-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 20px; }
.tb-skill-legend__label { font-size: 12px; color: var(--tb-muted); font-weight: 500; margin-right: 4px; }

/* ============================================================
   23. PAGE HEADER (inner pages)
   ============================================================ */
.tb-page-header {
  background: var(--tb-teal);
  padding-block: clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.tb-page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(74,186,122,0.07);
  pointer-events: none;
}
.tb-page-header h1 { color: var(--tb-white); margin-bottom: 12px; }
.tb-page-header p  { color: rgba(255,255,255,0.65); font-weight: 300; max-width: 580px; }
.tb-page-header__breadcrumb {
  font-family: var(--tb-font-mono);
  font-size: 11px;
  color: var(--tb-chart);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* ============================================================
   24. WORDPRESS / TUTORLMS OVERRIDES → see tutor-lms.css
   ============================================================ */

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tb-hero__inner  { grid-template-columns: 1fr; gap: 40px; }
  .tb-footer__top  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4          { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .tb-nav__links, .tb-nav__ctas { display: none; }
  .tb-nav__mobile-toggle        { display: flex; }
  .tb-hero__inner               { grid-template-columns: 1fr; }
  .tb-hero__level-stack         { display: none; }
  .grid-2, .grid-3, .grid-4     { grid-template-columns: 1fr; }
  .tb-footer__top               { grid-template-columns: 1fr; gap: 28px; }
  .tb-steps::before             { display: none; }
  .tb-level-tabs                { border-radius: var(--tb-r-md); }
  .tb-level-tab                 { min-width: 130px; font-size: 12px; padding: 12px 14px; }
}
@media (max-width: 480px) {
  .tb-hero h1       { letter-spacing: -0.5px; }
  .tb-hero__stats   { gap: 20px; }
  .tb-hero__ctas    { flex-direction: column; }
  .tb-btn--lg       { padding: 14px 24px; font-size: 15px; }
}
