/*
Theme Name: TechPlatform - 技术服务平台主题
Theme URI: https://example.com/techplatform
Author: Your Name
Author URI: https://example.com
Description: 一个现代化的技术服务信息发布平台WordPress主题，适用于软件开发服务平台、信息发布平台等场景。采用深蓝色科技风格设计，包含Hero区域、服务展示、开发者展示等模块。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techplatform
Tags: one-column, custom-logo, featured-images, theme-options
*/

/* ========================================
   CSS Variables - 主题色彩配置
======================================== */
:root {
    /* 主色调 */
    --primary-color: #F5A623;
    --primary-hover: #e6951a;
    --primary-light: rgba(245, 166, 35, 0.1);
    --primary-lighter: rgba(245, 166, 35, 0.05);

    /* 深色背景 */
    --dark-bg: #0f1219;
    --dark-bg-secondary: #1a1f2e;
    --dark-bg-tertiary: #252b3d;

    /* 浅色背景 */
    --light-bg: #ffffff;
    --light-bg-secondary: #f7f8fa;
    --light-bg-tertiary: #f0f2f5;

    /* 文字颜色 */
    --text-dark: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #ffffff;
    --text-muted-light: rgba(255, 255, 255, 0.7);

    /* 边框和阴影 */
    --border-color: #e8e8e8;
    --border-light: #f0f0f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.3);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.12);

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #F5A623 0%, #e6951a 100%);
    --gradient-dark: linear-gradient(180deg, #0f1219 0%, #1a1f2e 100%);
    --gradient-hero: linear-gradient(135deg, #0f1219 0%, #1a1f2e 50%, #252b3d 100%);
    --gradient-cta: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);

    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 容器宽度 */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Header高度 */
    --header-height: 64px;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* 容器内的图片撑满 */
.service-card-image {
    height: 200px;
    overflow: hidden;
}
.service-card-image img,
.service-card-image .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    display: block !important;
}

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

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-md);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin: 0 0 var(--spacing-sm);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   Container & Layout
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--light-bg);
}

.section-gray {
    background: var(--light-bg-secondary);
}

/* ========================================
   1. Header导航 - 固定顶部白色背景
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--light-bg);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.site-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.site-logo-text span {
    color: var(--primary-color);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Header电话 */
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
}

.header-phone svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Header按钮区域 */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ========================================
   2. Hero Section - 全屏深色渐变
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-bg-effects::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-bg-effects::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--text-muted-light);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted-light);
    font-size: 0.875rem;
}

.trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

/* ========================================
   Section Headers - 通用标题区域
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.section-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-dark .section-subtitle {
    color: var(--text-muted-light);
}

/* ========================================
   3. 推荐服务网格 - 3列卡片
======================================== */
.recommend-section {
    background: var(--light-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.service-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-card-image img {
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: var(--spacing-md);
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.service-card-title a {
    color: inherit;
}

.service-card-title a:hover {
    color: var(--primary-color);
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.service-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.service-card-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.service-card-link:hover {
    color: var(--primary-hover);
}

/* ========================================
   4. 关于我们 - 左右两栏
======================================== */
.about-section {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-list {
    margin-bottom: var(--spacing-lg);
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.about-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   5. 热门服务 - 左大右列表
======================================== */
.hot-services-section {
    background: var(--light-bg-secondary);
}

.hot-services-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.hot-service-featured {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.hot-service-featured:hover {
    box-shadow: var(--shadow-md);
}

.hot-service-featured-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.hot-service-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hot-service-featured:hover .hot-service-featured-image img {
    transform: scale(1.03);
}

.hot-service-featured-content {
    padding: var(--spacing-md);
}

.hot-service-featured-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.hot-service-featured-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.hot-service-featured-meta svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* 右侧列表 */
.hot-services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hot-service-list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.hot-service-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.hot-service-list-item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.hot-service-list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-service-list-item-content {
    flex: 1;
    min-width: 0;
}

.hot-service-list-item-content h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-service-list-item-content h4 a {
    color: var(--text-dark);
}

.hot-service-list-item-content h4 a:hover {
    color: var(--primary-color);
}

.hot-service-list-item-content .author-name {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hot-service-list-item-arrow {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   6. 为什么选择我们 - 深色背景3列
======================================== */
.why-choose-section {
    background: var(--gradient-dark);
    padding: var(--spacing-xxl) 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.why-choose-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
}

.why-choose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.why-choose-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.why-choose-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.why-choose-card p {
    font-size: 0.9375rem;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin: 0;
}

.why-choose-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-choose-stat {
    text-align: center;
}

.why-choose-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.why-choose-stat span {
    font-size: 0.875rem;
    color: var(--text-muted-light);
}

/* ========================================
   7. 最新发布 - 4列网格+2列列表
======================================== */
.latest-section {
    background: var(--light-bg-secondary);
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.latest-card {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.latest-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.latest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.latest-card:hover .latest-card-image img {
    transform: scale(1.05);
}

.latest-card-content {
    padding: var(--spacing-sm) var(--spacing-md);
}

.latest-card-content h4 {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-card-content h4 a {
    color: var(--text-dark);
}

.latest-card-content h4 a:hover {
    color: var(--primary-color);
}

.latest-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.latest-card-meta .author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.latest-card-meta .author img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* 无图列表 */
.latest-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.latest-list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.latest-list-item:hover {
    box-shadow: var(--shadow-md);
}

.latest-list-item-content {
    flex: 1;
    min-width: 0;
}

.latest-list-item-content h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-list-item-content h4 a {
    color: var(--text-dark);
}

.latest-list-item-content h4 a:hover {
    color: var(--primary-color);
}

.latest-list-item-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.latest-list-item-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.latest-list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-more {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   8. 入驻开发者 - 4列头像卡片
======================================== */
.developers-section {
    background: var(--light-bg);
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.developer-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--light-bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.developer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.developer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-md);
    border: 3px solid var(--primary-color);
    padding: 3px;
    background: var(--light-bg);
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.developer-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.developer-name a {
    color: inherit;
}

.developer-name a:hover {
    color: var(--primary-color);
}

.developer-stats {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.developer-stats a {
    color: var(--text-muted);
}

.developer-stats a:hover {
    color: var(--primary-color);
}

.developers-more {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   9. 步骤区域 - 4列步骤
======================================== */
.steps-section {
    background: var(--light-bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
    padding: var(--spacing-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   10. 统计数据 - 4列数字
======================================== */
.stats-section {
    background: var(--gradient-dark);
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

/* ========================================
   11. CTA区域 - 左右两栏渐变背景
======================================== */
.cta-section {
    background: var(--gradient-cta);
    padding: var(--spacing-xxl) 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.cta-block {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-normal);
}

.cta-block:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 166, 35, 0.3);
}

.cta-block h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.cta-block p {
    font-size: 0.9375rem;
    color: var(--text-muted-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.cta-block .btn {
    margin-top: var(--spacing-sm);
}

/* ========================================
   12. 公司介绍+联系方式 - 深色背景居中
======================================== */
.company-section {
    background: var(--dark-bg);
    padding: var(--spacing-xxl) 0;
}

.company-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-content p {
    font-size: 1rem;
    color: var(--text-muted-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.company-content p strong,
.company-content p em {
    color: var(--primary-color);
    font-style: normal;
}

.company-signature {
    font-size: 0.9375rem;
    color: var(--text-muted-light);
    margin-top: var(--spacing-md);
}

.company-signature::before {
    content: '—— ';
}

/* 联系方式 */
.contact-section {
    background: var(--dark-bg-secondary);
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-xxl);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-muted-light);
    font-size: 0.9375rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span {
    line-height: 1.6;
}

/* ========================================
   13. Footer - 深色背景
======================================== */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-muted-light);
    padding: var(--spacing-xxl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 36px;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin: 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-muted-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   15. 按钮样式
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline-dark:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-dark {
    background: var(--dark-bg);
    color: var(--text-light);
}

.btn-dark:hover {
    background: var(--dark-bg-secondary);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   Archive & Single Pages
======================================== */
.page-header {
    background: var(--gradient-dark);
    padding: calc(var(--spacing-xxl) + var(--header-height)) 0 var(--spacing-xxl);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin: 0;
}

.archive-content {
    padding: var(--spacing-xxl) 0;
}

.single-content {
    padding: var(--spacing-xxl) 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    margin-top: var(--spacing-xl);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

/* ========================================
   Pagination
======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

/* ========================================
   14. Responsive Design - 响应式
======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hot-services-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
        --header-height: 56px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust-badges {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Header mobile */
    .nav-menu {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav.active .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--light-bg);
        padding: var(--spacing-md);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        gap: var(--spacing-sm);
    }

    .main-nav.active .nav-menu a {
        color: var(--text-dark);
        padding: var(--spacing-sm) 0;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .latest-grid {
        grid-template-columns: 1fr;
    }

    .latest-list {
        grid-template-columns: 1fr;
    }

    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xxl: 2.5rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .developer-card {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .service-card-image {
        height: 180px;
    }

    .hot-service-featured-image {
        height: 220px;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .cta-block {
        padding: var(--spacing-md);
    }
}

/* ========================================
   16. 工具类
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

.d-flex { display: flex; }
.d-none { display: none; }
.d-block { display: block; }

.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

.w-100 { width: 100%; }

.rounded { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }

.overflow-hidden { overflow: hidden; }

.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-light); }

.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-medium { font-weight: 500; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   WordPress Specific
======================================== */
.alignleft {
    float: left;
    margin-right: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-xs);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
