/* ============================================================
   style-creative.css ?创意营销风格 | Professional Creative
   Template: professional_creative
   Primary: #2563eb | Secondary: #0891b2 | Accent: #059669
   Dark: #0f172a | BG: #fff
   ============================================================ */

:root {
  --primary: #2563eb;
  --secondary: #0891b2;
  --accent: #059669;
  --dark: #0f172a;
  --bg: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gradient-primary: linear-gradient(135deg, #2563eb, #0891b2);
  --gradient-hero: linear-gradient(135deg, #2563eb 0%, #0891b2 50%, #059669 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --color-primary: #2563eb;
  --text-light: #94a3b8;
  --text: #1e293b;
;}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #2563eb;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: #2563eb;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.text-muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #2563eb;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: #2563eb;
  color: #fff;
}

.badge-secondary {
  background: #0891b2;
  color: #fff;
}

.badge-accent {
  background: #059669;
  color: #fff;
}

.badge-outline {
  background: transparent;
  border: 1.5px solid #2563eb;
  color: #2563eb;
}

/* ===== Icon Sizes ===== */
.icon-xs { font-size: 1rem; width: 32px; height: 32px; }
.icon-s  { font-size: 1.25rem; width: 40px; height: 40px; }
.icon-m  { font-size: 1.75rem; width: 56px; height: 56px; }
.icon-l  { font-size: 2.5rem; width: 80px; height: 80px; }

/* ===== Grid ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.row > [class*="col-"] {
  padding: 0 1rem;
  flex: 0 0 100%;
  max-width: 100%;
}

.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-2  { flex: 0 0 16.666%; max-width: 16.666%; }

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: #0891b2;
  color: #fff;
}

.btn-secondary:hover {
  background: #0e7490;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.35);
}

.btn-accent {
  background: #059669;
  color: #fff;
}

.btn-accent:hover {
  background: #047857;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #2563eb;
}

.btn-white:hover {
  background: #f3f0ff;
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 1rem 2.75rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* ===== Cards ===== */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-shadow {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

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

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.card-gradient-border {
  position: relative;
  background: #fff;
  border-radius: 16px;
  z-index: 0;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: #2563eb;
  border-radius: 18px;
  z-index: -1;
}

.card-gradient-border .card-inner {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
}

/* ===== Table ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.table th {
  background: #eff6ff;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table tr:hover td {
  background: #f9fafb;
}

.table-striped tr:nth-child(even) td {
  background: #f9fafb;
}

.table-responsive {
  overflow-x: auto;
}

/* ===== Switch / Slider ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d1d5db;
  border-radius: 28px;
  transition: all 0.3s ease;
}

.slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.switch input:checked + .slider {
  background: #2563eb;
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #f3f4f6;
  color: #4b5563;
}

.pagination a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.pagination .active {
  background: #2563eb;
  color: #fff;
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #2563eb;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: #d1d5db;
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: #374151;
  font-weight: 600;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .logo {
  color: #0f172a;
}

.site-header .logo span {
  background: #2563eb;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header .nav-menu a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-menu a {
  color: #4b5563;
}

.site-header .nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.site-header .nav-menu a:hover::after,
.site-header .nav-menu a.active::after {
  width: 100%;
}

.site-header .nav-menu a:hover {
  color: #fff;
}

.site-header.scrolled .nav-menu a:hover {
  color: #2563eb;
}

.site-header .header-cta {
  padding: 0.5rem 1.25rem;
  background: #2563eb;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.site-header .header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* ===== Mobile Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.site-header.scrolled .hamburger span {
  background: #0f172a;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* simplified */
  background: #f8fafc;
  /* was: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(236,72,153,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero .hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.hero .hero-shape-1 {
  width: 500px;
  height: 500px;
  background: #059669;
  top: -150px;
  right: -100px;
}

.hero .hero-shape-2 {
  width: 300px;
  height: 300px;
  background: #fff;
  bottom: -80px;
  left: -80px;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero .hero-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight-text {
  background: #34d399;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 650px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
}

.hero .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .hero-actions .btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.hero .hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .hero-scroll .scroll-arrow {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
  animation: scrollBounce 2s infinite;
}

.hero .hero-scroll .scroll-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ===== Client Logos ===== */
.client-logos {
  padding: 3rem 0;
  background: #f9fafb;
  overflow: hidden;
}

.client-logos .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.client-logos .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.client-logos .logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.client-logos .logos-track img {
  height: 32px;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.client-logos .logos-track a:hover img {
  opacity: 0.7;
  filter: grayscale(0%);
}

/* ===== Services Section ===== */
.services-section {
  padding: 5rem 0;
  background: #fff;
  position: relative;
}

.services-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.services-section .section-header p {
  color: #6b7280;
  font-size: 1.05rem;
}

.services-section .service-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.services-section .service-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-section .service-tab:hover,
.services-section .service-tab.active {
  background: #2563eb;
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: #fff;
  background: #2563eb;
  transition: all 0.4s ease;
}

.service-card:nth-child(2) .icon-circle {
  background: #0891b2;
}

.service-card:nth-child(3) .icon-circle {
  background: #059669;
}

.service-card:hover .icon-circle {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #2563eb;
  transition: all 0.3s ease;
}

.service-card .service-link:hover {
  gap: 0.75rem;
  color: #1e40af;
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 5rem 0;
  background: #111827;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* simplified */
  background: #f8fafc;
  /* was: radial-gradient(circle at 20% 80%, rgba(124,58,237,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236,72,153,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: #2563eb;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 5rem 0;
  background: #f9fafb;
}

.how-it-works .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 16%;
  right: 16%;
  height: 2px;
  background: #2563eb;
  opacity: 0.3;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-item .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
  background: #2563eb;
  position: relative;
  transition: all 0.4s ease;
}

.step-item:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(124,58,237,0.3);
}

.step-item:nth-child(2) .step-number {
  background: #0891b2;
}

.step-item:nth-child(3) .step-number {
  background: #059669;
}

.step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: #6b7280;
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== News Section ===== */
.news-section {
  padding: 5rem 0;
  background: #fff;
}

.news-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.news-section .section-header .header-left h2 {
  margin-bottom: 0.25rem;
}

.news-section .section-header .header-left p {
  color: #6b7280;
  font-size: 0.95rem;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.4s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.article-card .card-top-bar {
  height: 4px;
  background: #2563eb;
}

.article-card .card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

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

.article-card .card-thumb .card-date {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: rgba(15,15,35,0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.article-card .card-body {
  padding: 1.5rem;
}

.article-card .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.article-card:hover .card-body h3 {
  color: #2563eb;
}

.article-card .card-body p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.article-card .card-body .card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.article-card .card-body .card-meta .category {
  color: #2563eb;
  font-weight: 600;
}

/* Sidebar specific */
.sidebar-article {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article .thumb {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-article .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-article .info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.sidebar-article:hover .info h4 {
  color: #2563eb;
}

.sidebar-article .info .date {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ===== Testimonials ===== */
.testimonials-section {
  padding: 5rem 0;
  background: #eff6ff;
}

.testimonials-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #2563eb, #0891b2);
  border-image-slice: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}

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

.testimonial-card .stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #059669;
  font-size: 0.9rem;
}

.testimonial-card .quote {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card .author .info .name {
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-card .author .info .role {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 6rem 0;
  background: #2563eb;
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* simplified */
  background: #f8fafc;
  /* was: radial-gradient(circle at 80% 30%, rgba(245,158,11,0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .cta-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
  font-weight: 800;
  background: #fff;
  color: #2563eb;
  border-radius: 50px;
  transition: all 0.35s ease;
}

.cta-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
  color: #1e40af;
  gap: 0.85rem;
}

/* ===== City Links ===== */
.city-links {
  padding: 3rem 0;
  background: #f9fafb;
}

.city-links .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.city-links .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.city-links .city-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.city-links .city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  transition: all 0.3s ease;
}

.city-links .city-badge:hover {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124,58,237,0.2);
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-footer .footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.site-footer .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: #2563eb;
  border-radius: 3px;
}

.site-footer .footer-col p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.site-footer .footer-col ul li {
  margin-bottom: 0.55rem;
}

.site-footer .footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.site-footer .footer-col ul li a:hover {
  color: #2563eb;
  transform: translateX(3px);
}

.site-footer .newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.site-footer .newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  outline: none;
  transition: border 0.3s ease;
}

.site-footer .newsletter-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.site-footer .newsletter-form input:focus {
  border-color: #2563eb;
}

.site-footer .newsletter-form button {
  padding: 0.65rem 1.25rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-footer .newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.3);
}

.site-footer .social-icons {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-footer .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.site-footer .social-icons a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-3px);
}

.site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.site-footer .footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.site-footer .footer-bottom a:hover {
  color: #2563eb;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.4);
}

/* ===== List Page ===== */
.list-page {
  padding: 8rem 0 4rem;
  background: #f9fafb;
}

.list-page .page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.list-page .articles-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list-page .sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
}

.list-page .sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.list-page .sidebar-widget ul li {
  margin-bottom: 0.5rem;
}

.list-page .sidebar-widget ul li a {
  color: #4b5563;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.list-page .sidebar-widget ul li a:hover {
  color: #2563eb;
  padding-left: 4px;
}

.list-page .list-article-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  transition: all 0.4s ease;
}

.list-page .list-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
  border-color: transparent;
}

.list-page .list-article-card .thumb {
  width: 220px;
  min-height: 140px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.list-page .list-article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.list-page .list-article-card:hover .thumb img {
  transform: scale(1.05);
}

.list-page .list-article-card .info {
  flex: 1;
}

.list-page .list-article-card .info .meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.list-page .list-article-card .info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.list-page .list-article-card .info p {
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== Detail Page ===== */
.detail-page {
  padding: 8rem 0 4rem;
  background: #f9fafb;
}

.detail-page .page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.detail-page .article-content {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #f3f4f6;
}

.detail-page .article-content .featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.detail-page .article-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.detail-page .article-content .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.detail-page .article-content .meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.detail-page .article-content .body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.detail-page .article-content .body h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.detail-page .article-content .body p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.detail-page .article-content .body ul,
.detail-page .article-content .body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #4b5563;
}

.detail-page .article-content .body ul {
  list-style: disc;
}

.detail-page .article-content .body ol {
  list-style: decimal;
}

.detail-page .article-content .body li {
  margin-bottom: 0.35rem;
}

.detail-page .article-content .body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #4b5563;
}

.detail-page .sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
}

.detail-page .sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.detail-page .sidebar-widget .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.detail-page .sidebar-widget .tag-cloud a {
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: #f3f4f6;
  border-radius: 6px;
  color: #4b5563;
  transition: all 0.3s ease;
}

.detail-page .sidebar-widget .tag-cloud a:hover {
  background: #2563eb;
  color: #fff;
}

/* ===== Search Page ===== */
.search-page {
  padding: 8rem 0 4rem;
  background: #f9fafb;
  min-height: 60vh;
}

.search-page .search-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.search-page .search-box {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.search-page .search-box input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.search-page .search-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.search-page .search-box button {
  padding: 1rem 2rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-page .search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.3);
}

.search-page .search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-page .search-result-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.search-page .search-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.search-page .search-result-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.search-page .search-result-item h3 a {
  color: #0f172a;
  transition: color 0.3s ease;
}

.search-page .search-result-item h3 a:hover {
  color: #2563eb;
}

.search-page .search-result-item p {
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.6;
}

.search-page .search-result-item .url {
  font-size: 0.78rem;
  color: #2563eb;
  font-weight: 500;
  margin-top: 0.35rem;
}

.search-page .no-results {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

/* ===== About / Contact / Page ===== */
.inner-page {
  padding: 8rem 0 4rem;
  background: #f9fafb;
}

.inner-page .page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #f3f4f6;
}

.inner-page .page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.inner-page .page-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.inner-page .page-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.inner-page .page-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.inner-page .page-content ul,
.inner-page .page-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #4b5563;
}

.inner-page .page-content ul { list-style: disc; }
.inner-page .page-content ol { list-style: decimal; }

.inner-page .page-content .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.inner-page .page-content .about-grid .about-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.inner-page .page-content .contact-form {
  max-width: 600px;
  margin: 2rem 0;
}

/* ===== Sitemap ===== */
.sitemap-page {
  padding: 8rem 0 4rem;
  background: #f9fafb;
}

.sitemap-page .sitemap-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sitemap-page .sitemap-content h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.sitemap-page .sitemap-tree {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sitemap-page .sitemap-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3f4f6;
  color: #2563eb;
}

.sitemap-page .sitemap-section ul li {
  margin-bottom: 0.5rem;
}

.sitemap-page .sitemap-section ul li a {
  color: #4b5563;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sitemap-page .sitemap-section ul li a:hover {
  color: #2563eb;
  padding-left: 4px;
}

.sitemap-page .sitemap-section ul li ul {
  padding-left: 1.25rem;
  margin-top: 0.35rem;
}

.sitemap-page .sitemap-section ul li ul li a {
  font-size: 0.82rem;
  color: #6b7280;
}

/* ===== Page Header (inner pages breadcrumb + title) ===== */
.page-header {
  background: #2563eb;
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* simplified */
  background: #f8fafc;
  /* was: radial-gradient(circle at 80% 20%, rgba(245,158,11,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-header .page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
}

.page-header .breadcrumb {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.55);
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb a:hover {
  color: #fff;
}

.page-header .breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

.page-header .breadcrumb .current {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .site-header .nav-menu { gap: 1rem; }
  .site-header .nav-menu a { font-size: 0.8rem; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .stats-grid .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr 1fr; }
  .news-layout .news-sidebar { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .list-page .page-layout { grid-template-columns: 1fr; }
  .detail-page .page-layout { grid-template-columns: 1fr; }
  .sitemap-page .sitemap-tree { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15,15,35,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .site-header .nav-menu.open {
    right: 0;
  }

  .site-header .nav-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
  }

  .site-header.scrolled .nav-menu a {
    color: rgba(255,255,255,0.8);
  }

  .site-header .nav-menu a:hover {
    color: #fff;
  }

  .site-header .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .hero h1 { font-size: 2.5rem; }
  .hero .hero-actions { flex-direction: column; }
  .hero .hero-actions .btn { width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.5rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { border-right: none; padding: 1.5rem 0.5rem; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }

  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1.5rem; }

  .news-layout { grid-template-columns: 1fr; }
  .news-layout .news-sidebar { grid-column: 1; grid-template-columns: 1fr; }
  .news-section .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .cta-section { clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); padding: 4rem 0; }

  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .list-page .list-article-card { flex-direction: column; }
  .list-page .list-article-card .thumb { width: 100%; height: 200px; }
  .list-page .page-layout { grid-template-columns: 1fr; }
  .detail-page .page-layout { grid-template-columns: 1fr; }
  .detail-page .article-content { padding: 1.5rem; }
  .detail-page .article-content h1 { font-size: 1.6rem; }

  .search-page .search-box { flex-direction: column; }

  .inner-page .page-content { padding: 1.5rem; }
  .inner-page .page-content .about-grid { grid-template-columns: 1fr; }

  .sitemap-page .sitemap-tree { grid-template-columns: 1fr; }

  .page-header h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }

  .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .col-6, .col-4, .col-3, .col-8, .col-9, .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* ===== Nav Crowding Fix ===== */
@media (max-width: 1200px) {
  .header-nav > li > a,
  .nav a,
  .nav-menu a,
  .pd-nav a {
    padding: 6px 10px !important;
    font-size: 0.8125rem !important;
  }
}

@media (max-width: 992px) {
  .header-nav,
  .nav,
  .nav-menu,
  .pd-nav {
    gap: 2px !important;
  }
  .header-nav > li > a,
  .nav a,
  .nav-menu a,
  .pd-nav a {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .nav,
  .nav-menu,
  .pd-nav {
    flex-wrap: wrap !important;
  }
}

.icon-xs { width: 14px; height: 14px; vertical-align: middle; }
.icon-s { width: 16px; height: 16px; vertical-align: middle; }
.icon-m { width: 20px; height: 20px; vertical-align: middle; }
.icon-l { width: 28px; height: 28px; vertical-align: middle; }
.icon-svg { width: 1em; height: 1em; vertical-align: middle; }


/* === Auto-fixed missing selectors === */
.back-top { position: fixed; bottom: 2rem; right: 2rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-primary,#3b82f6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); z-index: 999; }
.client-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.client-logo { padding: 1rem 2rem; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.footer { background: #1e293b; color: #fff; padding: 3rem 0 0; }
.footer-brand { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: .5rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.7); }
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.hero-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.hero-subtitle { font-size: 1rem; font-weight: 600; color: var(--color-primary,#3b82f6); margin-bottom: .5rem; }
.hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.logo-text { font-size: 1.5rem; font-weight: 700; }
.mobile-nav { display: none; }
.mobile-nav-close { display: none; }
.nav-link { padding: .5rem 1rem; color: #1e293b; text-decoration: none;font-size: 0.90rem; }
.nav-link:hover { color: var(--color-primary,#3b82f6); }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: transform .3s; }
.news-card:hover { transform: translateY(-4px); }
.news-card-bar { height: 4px; background: var(--color-primary,#3b82f6); }
.news-card-body { padding: 1.5rem; }
.news-card-category { font-size: .8125rem; color: var(--color-primary,#3b82f6); font-weight: 600; }
.news-card-excerpt { color: #64748b; font-size: .9375rem; margin-top: .5rem; }
.news-card-meta { display: flex; gap: 1rem; margin-top: 1rem; font-size: .8125rem; color: #94a3b8; }
.news-card-more { display: inline-flex; align-items: center; gap: .25rem; color: var(--color-primary,#3b82f6); font-weight: 500; }
.news-card-thumb { width: 100%; height: 200px; object-fit: cover; }
.news-card-title { font-size: 1.125rem; font-weight: 600; margin-top: .75rem; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.5rem; }
.popular-date { font-size: .8125rem; color: #94a3b8; }
.popular-info { flex: 1; }
.popular-item { display: flex; gap: 1rem; padding: .75rem 0; }
.popular-item + .popular-item { border-top: 1px solid #f1f5f9; }
.popular-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.popular-title { font-weight: 600; margin-bottom: .25rem; }
.section-dark { background: #1e293b; color: #fff; }
.section-light { background: #f8fafc; }
.section-padding { padding: 5rem 0; }
.section-subtitle { color: #64748b; max-width: 600px; margin: 0 auto; }
.service-icon { font-size: 2.5rem; color: var(--color-primary,#3b82f6); }
.service-tab-btn { padding: .75rem 1.5rem; background: none; border: none; cursor: pointer; font-weight: 500; color: #64748b; border-bottom: 2px solid transparent; }
.service-tab-btn.active { color: var(--color-primary,#3b82f6); border-bottom-color: var(--color-primary,#3b82f6); }
.service-tab-content { padding: 2rem 0; }
.service-tab-item { display: flex; gap: 2rem; align-items: flex-start; }
.service-tab-nav { display: flex; gap: 0; border-bottom: 2px solid #e2e8f0; }
.sidebar { width: 320px; flex-shrink: 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social-links { display: flex; gap: .5rem; }
.stat-plus { font-size: .75em; }
.step { text-align: center; position: relative; flex: 1; }
.step-line { position: absolute; top: 2rem; left: 50%; width: 100%; height: 2px; background: #e2e8f0; }
.steps { display: flex; gap: 0; margin-top: 3rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.testimonial-avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: .8125rem; color: #64748b; }
.testimonial-stars { color: #f59e0b; }
.testimonial-text { font-style: italic; color: #475569; }
@media (max-width: 768px) { .service-tab-nav { overflow-x: auto; } .steps { flex-direction: column; } .step-line { display: none; } .sidebar { width: 100%; } }


/* ========== 内容区样式补?(auto-added) ========== */

/* 段落间距 */
.article-content p,
.article-text p,
.article-body p,
.detail-body p,
.article-detail .content p,
.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 标题样式 */
.article-content h2,
.article-text h2,
.article-body h2,
.detail-body h2,
.article-detail .content h2,
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 14px;
  line-height: 1.4;
}

.article-content h3,
.article-text h3,
.article-body h3,
.detail-body h3,
.article-detail .content h3,
.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  line-height: 1.4;
}

.article-content h4,
.article-text h4,
.article-body h4,
.detail-body h4,
.article-detail .content h4,
.page-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}

/* 列表样式 */
.article-content ul,
.article-text ul,
.article-body ul,
.detail-body ul,
.article-detail .content ul,
.page-content ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.article-content ol,
.article-text ol,
.article-body ol,
.detail-body ol,
.article-detail .content ol,
.page-content ol {
  list-style: decimal;
  margin: 0 0 16px 24px;
}

.article-content li,
.article-text li,
.article-body li,
.detail-body li,
.article-detail .content li,
.page-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* 图片样式 */
.article-content img,
.article-text img,
.article-body img,
.detail-body img,
.article-detail .content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

/* 链接样式 */
.article-content a,
.article-text a,
.article-body a,
.detail-body a,
.article-detail .content a,
.page-content a {
  color: var(--primary, #2563eb);
  text-decoration: underline;
}

/* 引用?*/
.article-content blockquote,
.article-text blockquote,
.article-body blockquote,
.detail-body blockquote,
.article-detail .content blockquote,
.page-content blockquote {
  border-left: 4px solid var(--primary, #2563eb);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bg, #f9fafb);
  font-style: italic;
}

/* 代码?*/
.article-content code,
.article-text code,
.article-body code,
.detail-body code,
.article-detail .content code,
.page-content code {
  background: var(--bg, #f3f4f6);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.article-content pre,
.article-text pre,
.article-body pre,
.detail-body pre,
.article-detail .content pre,
.page-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
}

.article-content pre code,
.article-text pre code,
.article-body pre code,
.detail-body pre code,
.article-detail .content pre code,
.page-content pre code {
  background: none;
  padding: 0;
}

/* 表格样式 */
.article-content table,
.article-text table,
.article-body table,
.detail-body table,
.article-detail .content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-content th,
.article-text th,
.article-body th,
.detail-body th,
.article-detail .content th,
.page-content th {
  background: var(--bg, #f3f4f6);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border, #e5e7eb);
}

.article-content td,
.article-text td,
.article-body td,
.detail-body td,
.article-detail .content td,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e7eb);
}

/* ========== 品牌标语防溢?========== */
.brand-tagline,
[class*="brand-tagline"] {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  letter-spacing: 0.5px;
}

/* ========== 导航响应式修?========== */
@media (max-width: 768px) {
  .brand-tagline,
  [class*="brand-tagline"] {
    max-width: 200px;
    font-size: 11px;
  }
}



/* 一级栏?- 醒目样式 */
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 18px;
}

/* 二级栏目 - 三列网格 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
  padding: 8px 10px;
  margin: 0 0 8px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  background: #eff6ff;
}

/* 响应式：小屏幕改为两?*/
@media (max-width: 992px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: 1fr;
  }
}

/* ========== 侧栏分类优化 (auto-added) ========== */

/* 一级栏?- 醒目样式，颜色跟随主?*/
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f2937);
  background: var(--bg, #f9fafb);
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 16px;
}

/* 二级栏目 - 自适应布局，处理长名称 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  margin: 0 0 6px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  border-radius: 4px;
  border: 1px solid var(--border, #e5e7eb);
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.05);
}

/* 响应?*/
@media (max-width: 768px) {
  .sidebar-cats > li > ul > li > a,
  .sidebar-cats > li > .sidebar-subcats > li > a,
  .side-nav > li > ul > li > a,
  .sidebar-widget .side-nav > li > ul > li > a {
    max-width: 100px;
    font-size: 12px;
  }
}
