/*
 Theme Name:   Hascart Child
 Theme URI:    https://hascart.com
 Description:  Hascart Child Theme — PTE & IELTS Exam Prep Platform
 Author:       Hascart Team
 Template:     tutorstarter
 Version:      2.0.0
 Text Domain:  hascart-child
*/

/* ============================================================
   HASCART v2 — DESIGN SYSTEM
   Clean Professional | PTE & IELTS Exam Prep
   Fonts: Clash Display (headings) + Inter (body)
   ============================================================ */

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

:root {
  /* Brand Colors */
  --hc-navy:         #0f1e3d;
  --hc-navy-mid:     #1a3160;
  --hc-blue:         #1e40af;
  --hc-blue-mid:     #2563eb;
  --hc-blue-light:   #3b82f6;
  --hc-blue-pale:    #eff6ff;
  --hc-blue-pale2:   #dbeafe;

  /* PTE Color — Indigo */
  --hc-pte:          #4f46e5;
  --hc-pte-pale:     #eef2ff;
  --hc-pte-mid:      #6366f1;

  /* IELTS Color — Teal */
  --hc-ielts:        #0d9488;
  --hc-ielts-pale:   #f0fdfa;
  --hc-ielts-mid:    #14b8a6;

  /* Accent */
  --hc-amber:        #f59e0b;
  --hc-amber-pale:   #fffbeb;
  --hc-red:          #ef4444;
  --hc-green:        #10b981;
  --hc-green-pale:   #ecfdf5;

  /* Neutrals */
  --hc-white:        #ffffff;
  --hc-off:          #f8fafc;
  --hc-gray-50:      #f8fafc;
  --hc-gray-100:     #f1f5f9;
  --hc-gray-200:     #e2e8f0;
  --hc-gray-300:     #cbd5e1;
  --hc-gray-400:     #94a3b8;
  --hc-gray-500:     #64748b;
  --hc-gray-600:     #475569;
  --hc-gray-700:     #334155;
  --hc-gray-800:     #1e293b;
  --hc-gray-900:     #0f172a;
  --hc-text:         #0f172a;
  --hc-text-muted:   #475569;
  --hc-text-light:   #94a3b8;
  --hc-border:       #e2e8f0;

  /* Shadows */
  --hc-shadow-xs:    0 1px 3px rgba(0,0,0,0.06);
  --hc-shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --hc-shadow-md:    0 4px 24px rgba(0,0,0,0.09);
  --hc-shadow-lg:    0 8px 40px rgba(0,0,0,0.12);
  --hc-shadow-blue:  0 4px 20px rgba(37,99,235,0.2);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Inter', sans-serif;

  /* Transitions */
  --ease: 0.2s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--hc-text);
  background: var(--hc-white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--hc-text);
  font-weight: 700;
}

a { color: var(--hc-blue-mid); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--hc-blue); }
img { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT
   ============================================================ */
.hc-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hc-section { padding: 88px 0; }
.hc-section--sm { padding: 56px 0; }
.hc-section--alt { background: var(--hc-gray-50); }
.hc-section--dark { background: var(--hc-navy); }

/* ============================================================
   BUTTONS
   ============================================================ */
.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--ease);
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.hc-btn--lg { padding: 16px 32px; font-size: 16px; }
.hc-btn--sm { padding: 9px 18px; font-size: 13px; }
.hc-btn--full { width: 100%; }

.hc-btn--primary {
  background: var(--hc-blue-mid); color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.hc-btn--primary:hover {
  background: var(--hc-blue); color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}

.hc-btn--pte {
  background: var(--hc-pte); color: #fff;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
}
.hc-btn--pte:hover { background: #4338ca; color: #fff; transform: translateY(-1px); }

.hc-btn--ielts {
  background: var(--hc-ielts); color: #fff;
  box-shadow: 0 2px 12px rgba(13,148,136,0.3);
}
.hc-btn--ielts:hover { background: #0f766e; color: #fff; transform: translateY(-1px); }

.hc-btn--outline {
  background: transparent; color: var(--hc-blue-mid);
  border: 1.5px solid var(--hc-blue-mid);
}
.hc-btn--outline:hover { background: var(--hc-blue-pale); color: var(--hc-blue); }

.hc-btn--white {
  background: #fff; color: var(--hc-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.hc-btn--white:hover { box-shadow: var(--hc-shadow-md); transform: translateY(-1px); color: var(--hc-blue); }

.hc-btn--ghost-white {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.hc-btn--ghost-white:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ============================================================
   BADGES
   ============================================================ */
.hc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.hc-badge--blue { background: var(--hc-blue-pale2); color: var(--hc-blue); }
.hc-badge--pte  { background: var(--hc-pte-pale); color: var(--hc-pte); }
.hc-badge--ielts { background: var(--hc-ielts-pale); color: var(--hc-ielts); }
.hc-badge--amber { background: var(--hc-amber-pale); color: #92400e; }
.hc-badge--red   { background: #fef2f2; color: #b91c1c; }
.hc-badge--green { background: var(--hc-green-pale); color: #065f46; }
.hc-badge--dark  { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.hc-section-head { text-align: center; margin-bottom: 52px; }
.hc-section-head .hc-badge { margin-bottom: 14px; }
.hc-section-head h2 { font-size: clamp(28px,4vw,44px); margin-bottom: 14px; }
.hc-section-head p { font-size: 17px; color: var(--hc-text-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   HERO
   ============================================================ */
.hc-hero {
  background: linear-gradient(135deg, var(--hc-navy) 0%, var(--hc-navy-mid) 60%, #1e3a8a 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(99,102,241,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(20,184,166,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Dot grid pattern */
.hc-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hc-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hc-hero__eyebrow { margin-bottom: 20px; }

.hc-hero__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hc-hero__title .hc-highlight-pte { color: #a5b4fc; }
.hc-hero__title .hc-highlight-ielts { color: #5eead4; }

.hc-hero__desc {
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px; max-width: 480px;
}

.hc-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hc-hero__trust {
  display: flex; align-items: center; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hc-hero__trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.hc-hero__trust-item strong { color: #fff; font-size: 14px; }
.hc-hero__trust-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* Hero visual — two stacked cards */
.hc-hero__visual { position: relative; padding-bottom: 40px; }

.hc-hero__cards { display: flex; flex-direction: column; gap: 16px; }

.hc-exam-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: all var(--ease);
}
.hc-exam-card:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.2); }

.hc-exam-card__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.hc-exam-card__label {
  display: flex; align-items: center; gap: 10px;
}
.hc-exam-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.hc-exam-card__icon--pte { background: rgba(99,102,241,0.3); }
.hc-exam-card__icon--ielts { background: rgba(20,184,166,0.3); }

.hc-exam-card__name { font-size: 16px; font-weight: 700; color: #fff; }
.hc-exam-card__sub  { font-size: 12px; color: rgba(255,255,255,0.55); }

.hc-exam-card__score {
  text-align: right;
}
.hc-exam-card__score-num { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.hc-exam-card__score-label { font-size: 11px; color: rgba(255,255,255,0.5); }

.hc-score-bars { display: flex; flex-direction: column; gap: 8px; }
.hc-score-bar { display: flex; align-items: center; gap: 10px; }
.hc-score-bar__label { font-size: 12px; color: rgba(255,255,255,0.6); width: 64px; }
.hc-score-bar__track { flex: 1; height: 5px; background: rgba(255,255,255,0.1); border-radius: var(--r-full); overflow: hidden; }
.hc-score-bar__fill  { height: 100%; border-radius: var(--r-full); }
.hc-score-bar__val   { font-size: 11px; color: rgba(255,255,255,0.55); min-width: 28px; text-align: right; }

/* Floating stat pill */
.hc-hero__stat-pill {
  position: absolute;
  bottom: 0; left: -16px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 12px 18px;
  box-shadow: var(--hc-shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.hc-hero__stat-pill-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--hc-green-pale);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hc-hero__stat-pill strong { display: block; font-size: 15px; color: var(--hc-text); }
.hc-hero__stat-pill span   { color: var(--hc-text-muted); font-size: 12px; }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.hc-proof-bar {
  background: var(--hc-white);
  border-bottom: 1px solid var(--hc-border);
  padding: 24px 0;
}
.hc-proof-bar__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.hc-proof-item {
  display: flex; align-items: center; gap: 12px;
}
.hc-proof-item__num {
  font-size: 26px; font-weight: 800; color: var(--hc-blue-mid); line-height: 1;
}
.hc-proof-item__label { font-size: 13px; color: var(--hc-text-muted); line-height: 1.4; }
.hc-proof-divider { width: 1px; height: 40px; background: var(--hc-border); }

/* ============================================================
   CATEGORY SECTION — PTE & IELTS
   ============================================================ */
.hc-categories { }

.hc-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hc-cat-card {
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}
.hc-cat-card:hover { transform: translateY(-4px); box-shadow: var(--hc-shadow-lg); }

.hc-cat-card--pte {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 100%);
  color: #fff;
}
.hc-cat-card--ielts {
  background: linear-gradient(135deg, #134e4a 0%, #0d9488 100%);
  color: #fff;
}

.hc-cat-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hc-cat-card::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -20px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hc-cat-card__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.hc-cat-card__emoji { font-size: 48px; margin-bottom: 16px; display: block; }

.hc-cat-card__title {
  font-size: 32px; font-weight: 800; color: #fff;
  margin-bottom: 8px; line-height: 1.1;
}
.hc-cat-card__full {
  font-size: 14px; color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.hc-cat-card__skills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.hc-cat-card__skill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px; font-weight: 500;
  padding: 5px 12px; border-radius: var(--r-full);
}

.hc-cat-card__stats {
  display: flex; gap: 24px; margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hc-cat-card__stat strong { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.hc-cat-card__stat span   { font-size: 12px; color: rgba(255,255,255,0.6); }

.hc-cat-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; padding: 11px 22px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  transition: all var(--ease);
  text-decoration: none;
}
.hc-cat-card__cta:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ============================================================
   FEATURED COURSES GRID
   ============================================================ */
.hc-courses-section { }

.hc-course-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.hc-course-tab {
  padding: 9px 20px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--hc-border);
  background: var(--hc-white); color: var(--hc-text-muted);
  transition: all var(--ease);
}
.hc-course-tab:hover { border-color: var(--hc-blue-mid); color: var(--hc-blue-mid); }
.hc-course-tab.active { background: var(--hc-blue-mid); color: #fff; border-color: var(--hc-blue-mid); }

.hc-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   COURSE CARD
   ============================================================ */
.hc-course-card {
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--ease);
}
.hc-course-card:hover {
  border-color: rgba(37,99,235,0.25);
  box-shadow: var(--hc-shadow-md);
  transform: translateY(-4px);
}

.hc-course-card__thumb {
  height: 180px; position: relative; overflow: hidden;
}
.hc-course-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.hc-course-card:hover .hc-course-card__thumb img { transform: scale(1.05); }

.hc-course-card__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; background: var(--hc-blue-pale2);
}

.hc-course-card__badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 5px;
}

.hc-course-card__save {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all var(--ease);
}
.hc-course-card__save:hover { transform: scale(1.1); background: #fff; }

.hc-course-card__body {
  padding: 18px; flex: 1; display: flex; flex-direction: column;
}

.hc-course-card__cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 7px;
}
.hc-course-card__cat--pte   { color: var(--hc-pte); }
.hc-course-card__cat--ielts { color: var(--hc-ielts); }

.hc-course-card__title {
  font-size: 15px; font-weight: 600; line-height: 1.4;
  margin-bottom: 12px; flex: 1;
}
.hc-course-card__title a { color: var(--hc-text); }
.hc-course-card__title a:hover { color: var(--hc-blue-mid); }

.hc-course-card__meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--hc-text-muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--hc-gray-100);
  margin-bottom: 14px;
}
.hc-course-card__meta span { display: flex; align-items: center; gap: 3px; }

.hc-course-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

.hc-price-block {}
.hc-price-now { font-size: 20px; font-weight: 800; color: var(--hc-text); line-height: 1; }
.hc-price-was { font-size: 12px; color: var(--hc-text-light); text-decoration: line-through; margin-left: 4px; }
.hc-price-off { font-size: 11px; color: var(--hc-green); font-weight: 600; }

/* ============================================================
   URGENCY STRIP
   ============================================================ */
.hc-urgency-strip {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #fff;
  padding: 14px 0;
  text-align: center;
  font-size: 14px; font-weight: 500;
}
.hc-urgency-strip strong { font-weight: 700; }
.hc-urgency-strip a { color: #fde68a; text-decoration: underline; margin-left: 8px; }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.hc-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hc-feature-card {
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--ease);
}
.hc-feature-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: var(--hc-shadow-sm);
  transform: translateY(-2px);
}

.hc-feature-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}

.hc-feature-card__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.hc-feature-card__desc  { font-size: 13px; color: var(--hc-text-muted); line-height: 1.6; }

/* ============================================================
   SCORE BOOST SECTION
   ============================================================ */
.hc-score-section {
  background: linear-gradient(135deg, var(--hc-navy) 0%, #1e3a8a 100%);
  position: relative; overflow: hidden;
}
.hc-score-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hc-score-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; position: relative; z-index: 1;
}

.hc-score-content h2 { font-size: clamp(28px, 3.5vw, 42px); color: #fff; margin-bottom: 16px; }
.hc-score-content p  { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 28px; }

.hc-score-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.hc-score-point  {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,0.85);
}
.hc-score-point__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0; margin-top: 1px;
  color: var(--hc-green);
}

.hc-score-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.hc-score-metric {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 22px;
}
.hc-score-metric__label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.hc-score-metric__num   { font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.hc-score-metric__sub   { font-size: 12px; color: rgba(255,255,255,0.55); }
.hc-score-metric--pte .hc-score-metric__num   { color: #a5b4fc; }
.hc-score-metric--ielts .hc-score-metric__num { color: #5eead4; }
.hc-score-metric--pass .hc-score-metric__num  { color: #6ee7b7; }
.hc-score-metric--rate .hc-score-metric__num  { color: #fcd34d; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.hc-testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.hc-tcard {
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: var(--r-lg); padding: 26px;
  transition: box-shadow var(--ease);
  position: relative;
}
.hc-tcard:hover { box-shadow: var(--hc-shadow-md); }

.hc-tcard__stars { color: var(--hc-amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }

.hc-tcard__score-badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--r-full);
}

.hc-tcard__text {
  font-size: 14px; line-height: 1.75; color: var(--hc-text-muted);
  margin-bottom: 18px;
}

.hc-tcard__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--hc-gray-100);
}
.hc-tcard__av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0;
}
.hc-tcard__name { font-size: 14px; font-weight: 600; }
.hc-tcard__role { font-size: 12px; color: var(--hc-text-muted); }
.hc-tcard__result { font-size: 12px; font-weight: 600; color: var(--hc-green); }

/* ============================================================
   GUARANTEE SECTION
   ============================================================ */
.hc-guarantee-bar {
  background: var(--hc-green-pale);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  display: flex; align-items: center; gap: 32px;
}
.hc-guarantee-bar__icon { font-size: 52px; flex-shrink: 0; }
.hc-guarantee-bar h3    { font-size: 22px; margin-bottom: 6px; }
.hc-guarantee-bar p     { font-size: 15px; color: var(--hc-text-muted); line-height: 1.6; margin: 0; }
.hc-guarantee-bar__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hc-guarantee-bar__badge  {
  background: #fff; border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-full); padding: 5px 14px;
  font-size: 13px; font-weight: 500; color: #065f46;
  display: flex; align-items: center; gap: 5px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.hc-cta-banner {
  background: linear-gradient(135deg, var(--hc-blue-mid) 0%, #4f46e5 100%);
  border-radius: var(--r-xl); padding: 64px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.hc-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 10% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.hc-cta-banner > * { position: relative; z-index: 1; }
.hc-cta-banner h2  { font-size: clamp(28px,3.5vw,42px); color: #fff; margin-bottom: 14px; }
.hc-cta-banner p   { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hc-cta-banner__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   COURSE SINGLE PAGE OVERRIDES
   ============================================================ */

/* Enrollment card */
.hc-enroll-card {
  background: var(--hc-white);
  border: 1px solid var(--hc-border);
  border-radius: var(--r-xl);
  box-shadow: var(--hc-shadow-lg);
  overflow: hidden;
  position: sticky; top: 24px;
}

.hc-enroll-card__preview {
  height: 196px; background: var(--hc-blue-pale2);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; position: relative;
}
.hc-enroll-card__preview img {
  width: 100%; height: 100%; object-fit: cover;
}

.hc-enroll-card__body { padding: 24px; }

.hc-enroll-card__urgency {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px; color: #b91c1c; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 16px;
}

.hc-enroll-card__price-row {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px;
}
.hc-enroll-card__price-main { font-size: 36px; font-weight: 800; color: var(--hc-text); }
.hc-enroll-card__price-old  { font-size: 18px; color: var(--hc-text-light); text-decoration: line-through; }
.hc-enroll-card__price-off  {
  font-size: 13px; font-weight: 700;
  background: var(--hc-green-pale); color: #065f46;
  padding: 3px 10px; border-radius: var(--r-full);
}
.hc-enroll-card__expires { font-size: 12px; color: var(--hc-text-muted); margin-bottom: 20px; }

.hc-enroll-card__cta-main {
  width: 100%; padding: 16px; font-size: 16px;
  border-radius: var(--r-md); margin-bottom: 10px;
  background: var(--hc-blue-mid); color: #fff;
  border: none; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--ease);
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
  font-family: var(--font-body);
  text-decoration: none;
}
.hc-enroll-card__cta-main:hover {
  background: var(--hc-blue); color: #fff;
  box-shadow: 0 6px 28px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}

.hc-enroll-card__cta-cart {
  width: 100%; padding: 13px; font-size: 15px;
  border-radius: var(--r-md); margin-bottom: 16px;
  background: var(--hc-white); color: var(--hc-blue-mid);
  border: 1.5px solid var(--hc-blue-mid); cursor: pointer;
  font-weight: 600; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all var(--ease);
  font-family: var(--font-body); text-decoration: none;
}
.hc-enroll-card__cta-cart:hover { background: var(--hc-blue-pale); }

.hc-enroll-card__guarantee {
  text-align: center; font-size: 12px; color: var(--hc-text-muted);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--hc-gray-100);
}

.hc-includes-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--hc-text-muted); margin-bottom: 12px; }
.hc-include-item  { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.hc-include-item__icon { font-size: 16px; flex-shrink: 0; }

/* Tutor LMS Native Overrides */
.tutor-btn-primary,
.tutor-course-purchase-box .tutor-btn,
.tutor-single-add-to-cart-link {
  background: var(--hc-blue-mid) !important;
  border-color: var(--hc-blue-mid) !important;
  border-radius: var(--r-md) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  transition: all var(--ease) !important;
  box-shadow: 0 2px 12px rgba(37,99,235,0.25) !important;
}
.tutor-btn-primary:hover { background: var(--hc-blue) !important; transform: translateY(-1px) !important; }

.tutor-course-card {
  border-radius: var(--r-lg) !important;
  border: 1px solid var(--hc-border) !important;
  box-shadow: none !important;
  transition: all var(--ease) !important;
}
.tutor-course-card:hover {
  box-shadow: var(--hc-shadow-md) !important;
  transform: translateY(-4px) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hc-hero__inner, .hc-score-inner { grid-template-columns: 1fr; gap: 40px; }
  .hc-cat-grid { grid-template-columns: 1fr; }
  .hc-courses-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-hero__stat-pill { display: none; }
}

@media (max-width: 768px) {
  .hc-section { padding: 56px 0; }
  .hc-courses-grid, .hc-testimonials-grid { grid-template-columns: 1fr; }
  .hc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-proof-bar__inner { justify-content: center; }
  .hc-proof-divider { display: none; }
  .hc-guarantee-bar { flex-direction: column; text-align: center; padding: 28px 24px; }
  .hc-guarantee-bar__badges { justify-content: center; }
  .hc-cta-banner { padding: 44px 28px; }
  .hc-cat-card { padding: 28px; }
  .hc-score-visual { grid-template-columns: 1fr 1fr; }
}
