/* ===== HERO VISUAL STYLES ===== */
.hero-visual {
  width: 100%;
  margin-bottom: 2rem;
}

.hero-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== BASE ARTICLE STYLES ===== */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.article-container h2 {
  font-size: 1.875rem;
  margin: 3rem 0 1.5rem 0;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
}

.article-container h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--color-text);
}

.article-container h4 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem 0;
  color: var(--color-accent);
  font-weight: 600;
}

.article-container p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.article-container .lead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  font-weight: 400;
}

.article-container ul,
.article-container ol {
  margin: 1.5rem 0 2rem 0;
  padding-left: 2rem;
}

.article-container ul li,
.article-container ol li {
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.article-container ul li strong,
.article-container ol li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== STATISTICS COMPONENTS ===== */
.booking-stats,
.bilingual-stats,
.content-stats,
.review-stats,
.email-stats,
.chatbot-stats,
.social-stats,
.local-seo-stats,
.success-stats,
.speed-stats,
.gmb-stats {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2.5rem 0;
  text-align: center;
}

.booking-stats h3,
.bilingual-stats h3,
.content-stats h3,
.review-stats h3,
.email-stats h3,
.chatbot-stats h3,
.social-stats h3,
.local-seo-stats h3,
.success-stats h3,
.speed-stats h3,
.gmb-stats h3 {
  margin: 0 0 1rem 0;
  color: var(--color-card-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== COMPARISON COMPONENTS ===== */
.before-after,
.language-comparison,
.response-examples,
.tool-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.before-after-card,
.language-card,
.response-card,
.tool-card,
.comparison-item,
.before-after-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.before-after-card.before,
.language-card.english,
.comparison-item.before,
.before-after-item.before {
  border-left: 4px solid #e74c3c;
}

.before-after-card.after,
.language-card.chinese,
.comparison-item.after,
.before-after-item.after {
  border-left: 4px solid #27ae60;
}

.before-after-card h4,
.language-card h4,
.comparison-item h4,
.before-after-item h4 {
  margin: 0 0 1rem 0;
}

.before-after-card.before h4,
.language-card.english h4,
.comparison-item.before h4,
.before-after-item.before h4 {
  color: #e74c3c;
}

.before-after-card.after h4,
.language-card.chinese h4,
.comparison-item.after h4,
.before-after-item.after h4 {
  color: #27ae60;
}

.competition-level,
.speed-score {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.speed-score {
  font-size: 2.5rem;
}

/* ===== TOOL COMPARISON COMPONENTS ===== */
.tool-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.tool-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.tool-card.recommended {
  border-left: 4px solid var(--color-accent);
}

.tool-card h4 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

.tool-card .best-for {
  background: var(--color-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.tool-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.tool-card .features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tool-card .features li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.tool-card .features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ===== FLOW AND PROCESS COMPONENTS ===== */
.booking-flow,
.review-request-flow,
.email-flow {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.booking-flow h4,
.review-request-flow h4,
.email-flow h4 {
  margin: 0 0 1.5rem 0;
  color: var(--color-accent);
  text-align: center;
}

.flow-step {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 8px;
}

.step-number,
.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-icon {
  font-size: 1.25rem;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem 0;
}

.step-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CHECKLIST COMPONENTS ===== */
.setup-checklist,
.checklist {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.setup-checklist h4,
.checklist h4 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--color-bg);
  border-radius: 6px;
}

.checklist-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.checklist-content {
  flex: 1;
}

.checklist-title {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem 0;
}

.checklist-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.checklist ul {
  margin: 0;
  padding-left: 1.5rem;
}

.checklist li {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

/* ===== CONTENT CALENDAR COMPONENTS ===== */
.content-calendar {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 2rem 0;
}

.calendar-header {
  background: var(--color-accent);
  color: var(--color-card-bg);
  padding: 1rem;
  text-align: center;
}

.calendar-header h4 {
  margin: 0;
  color: var(--color-card-bg);
}

.calendar-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.calendar-week {
  background: var(--color-card-bg);
  padding: 1rem;
}

.week-title {
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.week-content {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.calendar-day {
  background: var(--color-card-bg);
  padding: 1rem;
  min-height: 100px;
  position: relative;
}

.day-number {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.post-type {
  background: var(--color-accent);
  color: var(--color-card-bg);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin: 0.25rem 0;
  display: inline-block;
}

/* ===== CONTENT TYPE COMPONENTS ===== */
.content-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.content-type-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.content-type-card h4 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

.content-type-card .difficulty {
  background: var(--color-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: inline-block;
  margin-bottom: 1rem;
}

/* ===== IDEA AND TEMPLATE COMPONENTS ===== */
.content-ideas {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.content-ideas h4 {
  margin: 0 0 1.5rem 0;
  color: var(--color-accent);
  text-align: center;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.idea-category {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 8px;
}

.idea-category h5 {
  margin: 0 0 0.75rem 0;
  color: var(--color-text);
  font-size: 1rem;
}

.idea-category ul {
  margin: 0;
  padding-left: 1.5rem;
}

.idea-category li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.content-template,
.email-template {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.content-template h5,
.email-template h5 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

.template-structure,
.template-content {
  background: var(--color-bg);
  padding: 1rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 1rem 0;
}

.template-content {
  font-style: italic;
  font-family: inherit;
}

.email-subject {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.email-body {
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== KEYWORD AND EXAMPLE COMPONENTS ===== */
.keyword-examples {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.keyword-examples h4 {
  margin: 0 0 1.5rem 0;
  color: var(--color-accent);
  text-align: center;
}

.keyword-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.keyword-header {
  font-weight: 600;
  color: var(--color-accent);
  padding: 0.75rem;
  text-align: center;
  background: var(--color-bg);
  border-radius: 6px;
}

.keyword-item {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  background: var(--color-bg);
  border-radius: 6px;
}

.chinese-text {
  font-weight: 600;
  color: var(--color-text);
}

/* ===== RATING AND REVIEW COMPONENTS ===== */
.rating-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.rating-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.rating-card.poor {
  border-left: 4px solid #e74c3c;
}

.rating-card.good {
  border-left: 4px solid #f39c12;
}

.rating-card.excellent {
  border-left: 4px solid #27ae60;
}

.rating-score {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.rating-card.poor .rating-score {
  color: #e74c3c;
}

.rating-card.good .rating-score {
  color: #f39c12;
}

.rating-card.excellent .rating-score {
  color: #27ae60;
}

/* ===== PLATFORM AND METRICS COMPONENTS ===== */
.review-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.platform-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.platform-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.platform-card h5 {
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.platform-importance {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.metric-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem auto;
}

.metric-card h5 {
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.metric-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== SCHEDULE AND POSTING COMPONENTS ===== */
.posting-schedule {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.posting-schedule h4 {
  margin: 0 0 1rem 0;
  color: var(--color-text);
  text-align: center;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 1rem;
  align-items: center;
}

.schedule-header {
  font-weight: 600;
  color: var(--color-accent);
  padding: 0.5rem;
  text-align: center;
}

.schedule-item {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== SUCCESS STORY COMPONENTS ===== */
.case-study,
.success-example {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: var(--border-radius);
}

.case-study-header,
.business-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.business-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-card-bg);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.business-info h4,
.business-info h5 {
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.business-type {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.results-grid,
.results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.result-item,
.result-box {
  text-align: center;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 8px;
}

.result-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}

.result-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.key-actions {
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.key-actions h5 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
  font-size: 1rem;
}

.key-actions ul {
  margin: 0;
  padding-left: 1.5rem;
}

.key-actions li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* ===== TIP AND INFO BOXES ===== */
.tip-box,
.takeaway-box,
.strategy-box,
.time-saving-tips,
.step-box,
.tool-box,
.quick-tip {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.tip-box h4,
.takeaway-box h4,
.strategy-box h4,
.time-saving-tips h4,
.step-box h4,
.tool-box h4,
.quick-tip h4 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

.tip-box p,
.takeaway-box p,
.strategy-box p,
.time-saving-tips p,
.step-box p,
.tool-box p,
.quick-tip p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.tip-box p:last-child,
.takeaway-box p:last-child,
.strategy-box p:last-child,
.time-saving-tips p:last-child,
.step-box p:last-child,
.tool-box p:last-child,
.quick-tip p:last-child {
  margin-bottom: 0;
}

/* ===== REVIEW RESPONSE COMPONENTS ===== */
.response-card.positive {
  border-left: 4px solid #27ae60;
}

.response-card.negative {
  border-left: 4px solid #e74c3c;
}

.response-card h5 {
  margin: 0 0 1rem 0;
}

.response-card.positive h5 {
  color: #27ae60;
}

.response-card.negative h5 {
  color: #e74c3c;
}

.review-template {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.review-template h5 {
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}

/* ===== CALL TO ACTION COMPONENTS ===== */
.article-cta {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.article-cta h3 {
  margin: 0 0 1rem 0;
  color: var(--color-text);
}

.article-cta p {
  margin: 0 0 1.5rem 0;
  color: var(--color-text-muted);
}

/* ===== RELATED ARTICLES COMPONENTS ===== */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.related-articles h3 {
  margin-bottom: 1.5rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles li {
  margin-bottom: 0.75rem;
}

.related-articles a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.related-articles a:hover {
  color: var(--color-accent-hover);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .article-container h1 {
    font-size: 2rem;
  }
  
  .stats-grid,
  .rating-comparison,
  .response-examples,
  .review-platforms,
  .performance-metrics,
  .results-grid,
  .results-row,
  .before-after,
  .language-comparison,
  .tool-comparison,
  .content-types,
  .ideas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number,
  .rating-score,
  .result-number,
  .competition-level,
  .speed-score {
    font-size: 1.5rem;
  }
  
  .speed-score {
    font-size: 1.5rem;
  }
  
  .flow-step,
  .checklist-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number,
  .step-icon,
  .checklist-number {
    margin: 0 0 1rem 0;
  }
  
  .case-study-header,
  .business-header {
    flex-direction: column;
    text-align: center;
  }
  
  .business-icon {
    margin: 0 0 1rem 0;
  }
  
  .calendar-weeks,
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .keyword-grid {
    grid-template-columns: 1fr;
  }
  
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HERO RESPONSIVE STYLES ===== */
/* Desktop - more generous padding and taller images */
@media (min-width: 1024px) {
  .hero {
    padding: 4rem 0;
  }
  .hero-visual img {
    height: 400px;
  }
}

/* Tablet - balanced spacing */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding: 3rem 0;
  }
  .hero-visual img {
    height: 350px;
  }
}

/* Mobile - minimal padding to reduce negative space */
@media (max-width: 767px) {
  .hero {
    padding: 2rem 0;
  }
  .hero-visual img {
    height: 250px;
  }
}