/*
Theme Name: Tianguang - Global Trade Digital Marketing Theme
Theme URI: https://tianguangnet.com
Author: Tianguang Network Operations
Author URI: https://tianguangnet.com
Description: A WordPress theme designed for global trade and export service providers, featuring AI Website Builder + Google SEO + AI GEO integrated marketing pages. Fully responsive design with deep Google SEO optimization (semantic HTML, Meta tags, Sitemap) and AI GEO optimization (JSON-LD structured data: Organization, WebSite, Service, FAQPage), ensuring maximum visibility in Google Search and AI search engines like ChatGPT/Gemini.
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tianguang
Tags: business, seo-optimized, ai-geo, responsive, custom-logo, custom-menu, featured-images, translation-ready
*/

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

:root {
  --brand: #15314B;
  --brand-light: #1B4D7C;
  --teal: #0D9488;
  --orange: #F97316;
  --green: #22C55E;
  --soft-blue: #F0F7FF;
  --deep-navy: #0F2438;
  --dark-footer: #0A1A2E;
  --gray-900: #1F2937;
  --gray-600: #6B7280;
  --gray-500: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 16px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'PingFang SC', 'Microsoft YaHei';
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --transition: all 0.3s ease-out;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 18px;
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon-img {
  background: transparent;
  padding: 0;
}

.logo-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #4B5563;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--brand);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.header-cta:hover {
  background: var(--brand-light);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #333;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  padding: 12px 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover {
  background: var(--soft-blue);
  color: var(--brand);
}

.mobile-nav .header-cta-mobile {
  margin: 12px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  background: var(--soft-blue);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 144px 0 112px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.05);
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: rgba(13, 148, 136, 0.05);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 60px;
  }
}

.hero-title .highlight {
  color: var(--teal);
}

.hero-desc {
  margin-top: 24px;
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 540px;
}

@media (min-width: 1024px) {
  .hero-desc {
    font-size: 18px;
  }
}

.hero-cta-group {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(21, 49, 75, 0.2);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--brand-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--soft-blue);
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--teal);
}

@media (min-width: 1024px) {
  .hero-stat-value {
    font-size: 40px;
  }
}

.hero-stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: var(--gray-600);
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== Hero 幻灯片 ===== */
.hero-slider {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--gray-100);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(21, 49, 75, 0.85), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 幻灯片指示点 */
.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* 幻灯片箭头按钮 */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.hero-slider:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: #fff;
}

.hero-slider-prev {
  left: 8px;
}

.hero-slider-next {
  right: 8px;
}

/* 移动端：箭头始终可见 */
@media (max-width: 768px) {
  .hero-slider-arrow {
    opacity: 1;
    width: 32px;
    height: 32px;
  }
  .hero-slider-prev {
    left: 6px;
  }
  .hero-slider-next {
    right: 6px;
  }
  .hero-slider-dots {
    gap: 6px;
  }
  .hero-slider-dot {
    width: 8px;
    height: 8px;
  }
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hero-card-dot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(21, 49, 75, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-dot .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-900);
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.hero-card-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ===== Pain Points ===== */
.pain-points {
  background: #fff;
}

.pain-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pain-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  transition: var(--transition);
}

.pain-card:hover {
  border-color: rgba(21, 49, 75, 0.3);
  box-shadow: var(--shadow-lg);
}

.pain-card-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  transition: var(--transition);
}

.pain-card:hover .pain-icon {
  background: var(--brand);
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  stroke: #EF4444;
  transition: var(--transition);
}

.pain-card:hover .pain-icon svg {
  stroke: #fff;
}

.pain-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.pain-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== Target Clients (适合这些企业) ===== */
.target-clients {
  background: #fff;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.target-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.target-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.target-icon-bg {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FBBF24 0%, #F97316 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.target-icon-bg svg {
  display: block;
}

.target-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.target-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-text);
}

@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .target-card {
    padding: 32px 20px;
  }
  .target-icon-bg {
    width: 60px;
    height: 60px;
  }
  .target-card-title {
    font-size: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Solutions ===== */
.solutions {
  background: var(--soft-blue);
}

.solution-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-bar {
  height: 6px;
  width: 100%;
}

.solution-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon svg {
  width: 28px;
  height: 28px;
}

.solution-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-100);
}

.solution-title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.solution-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

.solution-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.solution-features .check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.solution-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: var(--transition);
}

.solution-link:hover {
  gap: 12px;
}

/* ===== Advantages ===== */
.advantages {
  background: #fff;
}

.advantage-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .advantage-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  transition: var(--transition);
}

.advantage-card:hover {
  border-color: rgba(21, 49, 75, 0.3);
  box-shadow: var(--shadow-lg);
}

.advantage-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-100);
  transition: var(--transition);
}

.advantage-card:hover .advantage-number {
  color: rgba(21, 49, 75, 0.1);
}

.advantage-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.advantage-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

.advantage-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--brand);
  transition: var(--transition);
}

.advantage-card:hover::after {
  width: 100%;
}

/* ===== Service Process ===== */
.process {
  background: linear-gradient(180deg, #FFF9ED 0%, #FEF3C7 100%);
}

.process .section-title {
  color: #1F2937;
}

.process .section-subtitle {
  color: #6B7280;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.process-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  position: relative;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-card {
    padding: 28px 20px;
  }

  .process-num {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* ===== Data Stats ===== */
.data-stats {
  background: var(--deep-navy);
}

.data-stats .section-title {
  color: #fff;
}

.data-stats .section-subtitle {
  color: #9CA3AF;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 48px;
  }
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: #9CA3AF;
}

/* ===== Cases ===== */
.cases {
  background: #fff;
}

.case-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-top {
  height: 128px;
  width: 100%;
}

.case-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
}

.case-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.case-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

.case-metrics {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}

.case-metric {
  flex: 1;
}

.case-metric-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
}

.case-metric-label {
  margin-top: 2px;
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--soft-blue);
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-900);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--transition);
}

.faq-toggle svg {
  width: 20px;
  height: 20px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--deep-navy);
  text-align: center;
}

.cta-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 36px;
  }
}

.cta-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: #9CA3AF;
}

.cta-buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.2);
  transition: var(--transition);
}

.btn-teal:hover {
  background: #0B7C71;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.cta-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  font-size: 14px;
  color: #6B7280;
}

.cta-trust .divider {
  color: #374151;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark-footer);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-desc {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14px;
  color: #fff;
  line-height: 1.75;
}

.footer-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tag {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  font-size: 12px;
  color: #fff;
}

/* Footer 社交媒体 */
.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Footer 联系方式列 */
.footer-contact-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
  color: #fff;
}

.footer-contact-info ul li svg {
  margin-top: 3px;
  color: #fff;
}

.footer-contact-info ul li a {
  word-break: break-all;
  color: #fff;
}

/* Footer ICP */
.footer-icp a {
  color: #fff;
}

.footer-icp a:hover {
  color: var(--brand-light-blue);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-col ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--brand-light-blue);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 12px;
  color: #fff;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: #fff;
}

.footer-links a:hover {
  color: var(--brand-light-blue);
}

/* ===== Floating Contact ===== */
.float-contact-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2147483645;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.floating-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.floating-contact-btn svg {
  width: 26px;
  height: 26px;
}

.floating-contact {
  background: var(--brand);
  animation: pulse-ring 2s infinite;
}

.floating-contact:hover {
  background: var(--brand-light);
  transform: scale(1.1);
}

.floating-contact svg {
  fill: #fff;
}

.float-wechat-btn {
  background: #07C160;
  animation: pulse-ring-green 2s infinite;
}

.float-wechat-btn:hover {
  background: #06AD56;
  transform: scale(1.1);
}

.float-wechat-btn svg {
  fill: #fff;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 49, 75, 0.4), 0 4px 12px rgba(0,0,0,0.15);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(21, 49, 75, 0), 0 4px 12px rgba(0,0,0,0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 49, 75, 0), 0 4px 12px rgba(0,0,0,0.15);
  }
}

@keyframes pulse-ring-green {
  0% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.4), 0 4px 12px rgba(0,0,0,0.15);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(7, 193, 96, 0), 0 4px 12px rgba(0,0,0,0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0), 0 4px 12px rgba(0,0,0,0.15);
  }
}

/* ===== 微信二维码弹窗 ===== */
.float-wechat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2147483646;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.float-wechat-overlay.active {
  opacity: 1;
  visibility: visible;
}

.float-wechat-popup {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 2147483647;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}

.float-wechat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.float-wechat-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.float-wechat-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1F2937;
}

.float-wechat-popup-inner {
  padding: 28px 20px 16px;
  text-align: center;
}

.float-wechat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E8F8EF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #07C160;
}

.float-wechat-title {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 14px;
}

.float-wechat-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.float-wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.float-wechat-hint {
  font-size: 13px;
  color: #6B7280;
}

.float-wechat-popup-contact {
  border-top: 1px solid #F3F4F6;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-wechat-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
  text-decoration: none;
  padding: 6px 0;
  transition: var(--transition);
}

.float-wechat-contact-item:hover {
  color: var(--brand);
}

.float-wechat-contact-item svg {
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== Blog Archive / List ===== */
.blog-archive .container {
  max-width: 1200px;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(21, 49, 75, 0.12);
  border-color: var(--brand-blue);
}

.blog-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--gray-300);
  background: var(--gray-100);
}

.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.4;
}

.blog-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

.blog-card-title a {
  color: var(--gray-800);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--brand-blue);
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.blog-card-readmore a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-readmore a:hover {
  color: var(--accent-teal);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  gap: 4px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.blog-pagination .page-numbers.current {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  font-weight: 600;
}

.blog-pagination .page-numbers.dots {
  border: none;
  min-width: auto;
}

.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}

.blog-empty svg {
  margin-bottom: 16px;
  color: var(--gray-300);
}

.blog-empty p {
  font-size: 16px;
  color: var(--gray-500);
}

/* ===== Single Post Detail ===== */
.single-post-wrap .container {
  max-width: 820px;
}

.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.single-breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.single-breadcrumb a:hover {
  color: var(--brand-blue);
}

.single-breadcrumb .sep {
  color: var(--gray-300);
}

.single-cat-badge {
  display: inline-block;
  background: rgba(27, 77, 124, 0.1);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.single-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--gray-800);
  margin: 0 0 20px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}

.single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-meta-item svg {
  color: var(--gray-400);
}

.single-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--gray-700);
}

.single-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--gray-800);
}

.single-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gray-800);
}

.single-content h4 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--gray-800);
}

.single-content p {
  margin-bottom: 1.5em;
}

.single-content a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-content a:hover {
  color: var(--accent-teal);
}

.single-content img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}

.single-content blockquote {
  border-left: 4px solid var(--accent-teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
  color: var(--gray-600);
  font-style: italic;
}

.single-content pre {
  background: #1a1a2e;
  color: #e2e2e2;
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
}

.single-content code {
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-content pre code {
  background: transparent;
  padding: 0;
}

.single-content ul,
.single-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.single-content ul li,
.single-content ol li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.single-content ul li {
  list-style: disc;
}

.single-content ol li {
  list-style: decimal;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.single-content table th,
.single-content table td {
  border: 1px solid var(--gray-200);
  padding: 10px 16px;
  text-align: left;
}

.single-content table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-800);
}

.single-content table tr:nth-child(even) td {
  background: var(--gray-50);
}

.single-content hr {
  border: none;
  border-top: 2px solid var(--gray-100);
  margin: 32px 0;
}

.single-page-links {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.single-page-links .page-links-label {
  margin-right: 8px;
  color: var(--gray-500);
}

.single-page-links span > span {
  display: inline-block;
  min-width: 32px;
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
}

.single-page-links a span {
  display: inline-block;
  min-width: 32px;
  padding: 6px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--brand-blue);
  text-decoration: none;
  transition: all 0.2s;
}

.single-page-links a:hover span {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}

/* Tags */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.single-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--brand-blue);
  background: rgba(27, 77, 124, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}

.single-tag:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Share */
.single-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-100);
}

.single-share-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-right: 4px;
}

.single-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  text-decoration: none;
  transition: all 0.2s;
}

.single-share-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Post Nav */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.post-nav-half {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.post-nav-half:hover {
  border-color: var(--brand-blue);
  background: #fff;
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.post-nav-half a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  text-decoration: none;
  transition: color 0.2s;
}

.post-nav-half a:hover {
  color: var(--brand-blue);
}

.post-nav-empty {
  display: block;
  font-size: 15px;
  color: var(--gray-300);
}

/* Author Box */
.single-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  margin-top: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.single-author-avatar {
  border-radius: 50% !important;
  flex-shrink: 0;
}

.single-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.single-author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Related Posts */
.related-posts {
  padding-top: 64px;
  padding-bottom: 64px;
}

.related-posts .blog-card-title {
  font-size: 16px;
}

.related-posts .blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .single-title {
    font-size: 26px;
  }

  .single-content {
    font-size: 16px;
  }

  .single-content h2 {
    font-size: 22px;
  }

  .single-content h3 {
    font-size: 19px;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-next {
    text-align: left;
  }

  .related-posts .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .float-wechat-popup {
    bottom: 88px;
    right: 12px;
    width: 280px;
  }

  .float-contact-group {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .floating-contact-btn {
    width: 50px;
    height: 50px;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== WordPress Core Alignment ===== */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 13px; color: var(--gray-600); }
.sticky { display: block; }
.bypostauthor { display: block; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
