/*
Theme Name: VideoPayphone
Theme URI: https://payphone.com.cn
Author: SOL - Shenzhen Guanri Netcom Technologies Co., Ltd.
Author URI: https://www.wifibrother.com
Description: 中英双语WordPress主题，专为PHONE-901EV户外视频公用电话产品推广设计。支持ICP备案、自动询盘应答（邮件+企业微信通知）。科技蓝专业风格，响应式布局。
Version: 1.0.2
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: videopayphone
Tags: bilingual, technology, product-promotion, responsive, custom-menu, custom-logo, translation-ready
*/

/* ========== 基础重置与变量 ========== */
:root {
    --color-primary: #0A4DA8;
    --color-primary-dark: #083d85;
    --color-primary-light: #1a6fd4;
    --color-dark-bg: #0E1E3A;
    --color-accent: #00B4FF;
    --color-accent-glow: rgba(0, 180, 255, 0.15);
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F7FA;
    --color-border: #E0E5EC;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-white: #FFFFFF;
    --font-cn: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-en: 'Inter', 'Segoe UI', sans-serif;
    --radius-card: 8px;
    --radius-btn: 4px;
    --shadow-card: 0 4px 20px rgba(10, 77, 168, 0.1);
    --shadow-hover: 0 8px 30px rgba(10, 77, 168, 0.2);
    --transition: all 0.3s ease;
    --container-max: 1200px;
}

/* ========== 全局基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-cn), var(--font-en);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

.container-custom { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* ========== 通用按钮 ========== */
.btn-custom-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-custom-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 77, 168, 0.35);
}

.btn-custom-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-custom-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ========== 通用区块 ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-dark-bg); color: var(--color-white); }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.section-dark .section-title h2 { color: var(--color-white); }
.section-title p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.section-dark .section-title p { color: rgba(255,255,255,0.7); }

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== 滚动动画 ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.fade-in.visible { opacity: 1; }

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 1.8rem; }
}

@media (max-width: 767px) {
    .section { padding: 40px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 1.5rem; }
    .section-title p { font-size: 1rem; }
    .btn-custom-primary, .btn-custom-outline { padding: 10px 24px; font-size: 0.9rem; }
}
