/* ============================================
   小虫资讯 - 主样式文件
   ============================================ */

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

:root {
  --primary: #1a6fd8;
  --primary-dark: #1458b0;
  --primary-light: #e8f1fc;
  --accent: #f5a623;
  --green: #16a34a;
  --text-dark: #1a1a2e;
  --text-mid: #555;
  --text-light: #888;
  --border: #e5e7eb;
  --bg: #f7f8fa;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.logo-name span { color: var(--primary); }
.logo-tagline {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  transition: all 0.2s;
}
.nav-link:hover { background: var(--bg); color: var(--primary); }
.nav-link.active { color: var(--primary); background: var(--primary-light); }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-login {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transition: all 0.2s;
  cursor: pointer;
  background: #fff;
}
.btn-login:hover { background: var(--primary-light); }
.btn-register {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-register:hover { background: var(--primary-dark); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #1a6fd8 60%, #3b82f6 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.stat-item { text-align: left; }
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-num em { color: var(--accent); font-style: normal; font-size: 14px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.btn-hero-primary {
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.btn-hero-primary:hover { background: #e0961e; transform: translateY(-1px); }
.btn-hero-secondary {
  padding: 13px 24px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); }
.hero-price-hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.hero-price-hint strong { color: var(--accent); }

/* Hero Card */
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-preview-list { display: flex; flex-direction: column; gap: 12px; }
.news-preview-item {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border-left: 3px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}
.news-preview-item:hover { background: var(--primary-light); }
.news-preview-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-preview-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.news-preview-date { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.hero-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
.hero-card-footer strong { color: var(--primary); }

/* ============ SECTIONS ============ */
.section { padding: 56px 0; }
.section-alt { background: #fff; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto;
}

/* ============ CATEGORIES ============ */
.cat-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  font-weight: 500;
}
.cat-tab:hover, .cat-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ============ NEWS CARDS ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid var(--border);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.news-card-top {
  padding: 20px 20px 0;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.news-cat-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
}
.cat-policy { background: var(--primary); }
.cat-gaokao { background: #7c3aed; }
.cat-zhongkao { background: #059669; }
.cat-district { background: #dc2626; }
.cat-family { background: #d97706; }

.news-date { font-size: 12px; color: var(--text-light); }
.news-lock { font-size: 13px; color: var(--text-light); margin-left: auto; }
.news-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-bottom {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-read-btn {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.news-views { font-size: 12px; color: var(--text-light); }

/* Featured news card */
.news-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-card-featured .news-card-top { padding: 24px; }
.news-card-featured .news-card-bottom { padding: 16px 24px; }
.news-card-featured .news-card-title { font-size: 18px; }
.featured-badge {
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.news-cover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  min-height: 180px;
}

/* Locked overlay */
.news-locked {
  position: relative;
}
.news-locked::after {
  content: '🔒 订阅会员可阅读全文';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(255,255,255,0.98));
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ============ AUDIO COURSES ============ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.course-cover {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.course-cover-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.course-cover-2 { background: linear-gradient(135deg, #34d399, #10b981); }
.course-cover-3 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.course-cover-4 { background: linear-gradient(135deg, #f87171, #ef4444); }
.course-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.course-free {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  position: absolute;
  top: 8px;
  right: 8px;
}
.course-info { padding: 14px; }
.course-info h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.course-info p { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-light);
}
.play-btn {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* ============ PRICING ============ */
.pricing-wrapper {
  max-width: 480px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
}
.pricing-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 28px;
  text-align: center;
  color: #fff;
}
.pricing-header .plan-label {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 6px;
}
.pricing-header .plan-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.pricing-price .unit { font-size: 22px; font-weight: 700; }
.pricing-price .amount { font-size: 60px; font-weight: 900; line-height: 1; }
.pricing-price .period { font-size: 16px; opacity: 0.8; }
.pricing-body { padding: 28px; }
.pricing-features { margin-bottom: 24px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature .check { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.btn-subscribe {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.btn-subscribe:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,111,216,0.3); }
.pricing-notes {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-notes span { display: flex; align-items: center; justify-content: center; gap: 4px; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial-stars { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.testimonial-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.author-name { font-size: 13px; font-weight: 700; }
.author-desc { font-size: 12px; color: var(--text-light); }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e, var(--primary));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }
.cta-price { font-size: 36px; font-weight: 900; color: var(--accent); margin-bottom: 24px; }
.cta-price small { font-size: 18px; }

/* ============ SERVICE PAGE ============ */
.service-hero-edu {
  background: linear-gradient(135deg, #1a1a2e, var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.service-hero-edu h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.service-hero-edu p { font-size: 16px; opacity: 0.8; margin-bottom: 16px; }
.service-phone-edu {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 800;
}

.policy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.policy-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}
.policy-list { display: flex; flex-direction: column; gap: 0; }
.policy-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  gap: 10px;
  line-height: 1.6;
}
.policy-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.policy-list li:last-child { border-bottom: none; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.contact-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.contact-item .ci-icon { font-size: 32px; margin-bottom: 8px; }
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: var(--text-mid); }
.contact-item strong { color: var(--primary); display: block; font-size: 15px; margin-bottom: 4px; }

.process-row {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin-top: 16px;
}
.proc-step {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  position: relative;
}
.proc-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 28px;
  font-size: 18px;
  color: var(--text-light);
}
.proc-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.proc-step h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.proc-step p { font-size: 12px; color: var(--text-mid); }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  background: #fff;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg); }
.faq-q::after { content: '▾'; font-size: 14px; color: var(--text-light); }
.faq-a {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-mid);
  background: var(--bg);
  border-top: 1px solid var(--border);
  line-height: 1.7;
  display: none;
}

/* ============ FOOTER ============ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { color: #fff; font-size: 20px; font-weight: 800; }
.footer-brand .logo-name span { color: #60a5fa; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 10px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-contact-info { margin-top: 10px; font-size: 13px; line-height: 2; }
.footer-contact-info a { color: rgba(255,255,255,0.5); }
.footer-contact-info a:hover { color: #fff; }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); margin: 0 8px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ============ NEWS PAGE ============ */
.news-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 0 40px;
}
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-list-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.news-list-item:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.news-list-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.news-list-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--text-dark); }
.news-list-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.news-list-right { text-align: right; flex-shrink: 0; }
.read-more-btn {
  display: inline-block;
  padding: 7px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--bg);
  color: var(--text-mid);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.subscribe-sidebar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: none;
}
.subscribe-sidebar h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.subscribe-sidebar .sidebar-price { font-size: 36px; font-weight: 900; color: var(--accent); text-align: center; margin: 10px 0; }
.subscribe-sidebar .sidebar-price small { font-size: 16px; }
.btn-sub-sidebar {
  width: 100%;
  padding: 11px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}
.btn-sub-sidebar:hover { background: #e0961e; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-page-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .main-nav { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
}
