/* ============================================
   快进度 - 装修工地甘特进度管理系统
   官方网站样式
   ============================================ */

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

:root {
    /* 主色 */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;

    /* 辅助色 */
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;

    /* 中性色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

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

    /* 过渡 */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* 容器 */
    --container-max: 1200px;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* ---------- Button ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-primary);
    background: var(--bg-white);
}

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* ---------- Header / Nav ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    bottom: -100px;
    left: -80px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-body {
    padding: 24px;
}

.mock-gantt {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.gantt-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gantt-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 110px;
    font-weight: 500;
}

.gantt-bar {
    height: 20px;
    border-radius: 10px;
    position: relative;
    min-width: 30px;
    animation: ganttSlide 1.5s ease-out;
}

@keyframes ganttSlide {
    from { width: 0; opacity: 0; }
    to { opacity: 1; }
}

.mock-card {
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-around;
}

.mock-card-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mock-card-row span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mock-card-row strong {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

/* ---------- Section Common ---------- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ---------- Features ---------- */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Split Content ---------- */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content.reverse {
    direction: initial;
}

.split-visual {
    min-width: 0;
    overflow: hidden;
}

.split-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--primary-bg);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Gantt Section ---------- */
.gantt-section {
    background: var(--bg-light);
}

.gantt-demo {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid var(--border);
    max-width: 100%;
    contain: layout paint;
}

.gantt-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gantt-demo-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gantt-demo-status.on-track {
    background: #d1fae5;
    color: #065f46;
}

.gantt-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.gantt-chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gantt-phase {
    font-size: 0.78rem;
    color: var(--text-secondary);
    min-width: 80px;
    font-weight: 500;
}

.gantt-track {
    flex: 1;
    height: 26px;
    background: var(--bg-light);
    border-radius: 13px;
    position: relative;
    overflow: hidden;
}

.gantt-block {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 13px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 8px;
}

.gantt-block.done {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.gantt-block.active {
    background: linear-gradient(90deg, #6366f1, #818cf8);
    animation: pulseActive 2s ease-in-out infinite;
}

@keyframes pulseActive {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.gantt-block.pending {
    background: var(--border);
    color: var(--text-muted);
}

.gantt-legend {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gantt-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.done { background: #10b981; }
.dot.active { background: #6366f1; }
.dot.pending { background: var(--border); }

/* ---------- Payment Section ---------- */
.payment-section {
    background: var(--bg-white);
}

.payment-demo {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    max-width: 100%;
    contain: layout paint;
}

.payment-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.payment-badge {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 50px;
}

.payment-table {
    padding: 4px 0;
    width: 100%;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 14px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    width: 100%;
}

.payment-row.header {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.8rem;
    background: var(--bg-light);
    text-transform: uppercase;
}

.payment-row:last-child {
    border-bottom: none;
}

.paid {
    color: #10b981;
    font-weight: 600;
}

.pending-pay {
    color: #f59e0b;
    font-weight: 600;
}

/* ---------- WeChat Section ---------- */
.wechat-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.wechat-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.wechat-mock {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    background: #1e293b;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-statusbar {
    text-align: center;
    color: #fff;
    font-size: 0.75rem;
    padding: 8px 0 12px;
    font-weight: 600;
}

.phone-header {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.phone-body {
    background: #f0f0f0;
    border-radius: 24px;
    padding: 20px 16px;
    min-height: 380px;
}

.phone-project {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.phone-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.phone-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.phone-progress-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.phone-photos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.phone-photo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}

.phone-photo-thumb {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.phone-photo-item span {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
}

.phone-photo-item small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.phone-notice {
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-left: 3px solid var(--accent-orange);
}

.wechat-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wechat-feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.wechat-feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.wechat-feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wechat-feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.wechat-feature-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Solutions ---------- */
.solutions {
    background: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

.solution-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.solution-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
}

/* ---------- CTA ---------- */
.cta {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), #3730a3);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-card > p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta-form input {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 150px;
    flex: 1;
    outline: none;
    transition: border-color var(--transition);
}

.cta-form input:focus {
    border-color: var(--primary-light);
}

.cta-form .btn {
    flex-shrink: 0;
    border: 2px solid #fff;
}

.cta-note {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ---------- Footer ---------- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 16px;
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    padding: 6px 0;
    opacity: 0.7;
    transition: all var(--transition);
}

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

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.footer-qrcode {
    margin-top: 12px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 640px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

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

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.video-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 80px 40px;
    border: 2px dashed var(--border);
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 16px;
    cursor: pointer;
    transition: transform var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
}

.video-placeholder p {
    font-weight: 600;
    margin-bottom: 8px;
}

.video-placeholder small {
    color: var(--text-muted);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .split-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-content.reverse .split-visual {
        order: -1;
    }

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

    .wechat-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wechat-mock {
        order: -1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active,
    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 12px;
    }

    .nav-actions.active {
        top: 320px;
        border-bottom: none;
        box-shadow: none;
        padding-top: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .hero-desc {
        font-size: 0.95rem;
    }

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

    .hero-stats {
        gap: 20px;
    }

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

    section {
        padding: 60px 0;
    }

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

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

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

    .cta-form {
        flex-direction: column;
    }

    .cta-form input {
        min-width: auto;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

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

    .price {
        font-size: 2.5rem;
    }
}

/* ==========================================
   新闻 / 文章 页面样式
   ========================================== */

/* 页面Hero（列表/详情页共用） */
.page-hero {
    padding: 132px 0 40px;
    background: linear-gradient(135deg, var(--primary-bg), #fafafe);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-hero-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 面包屑 */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

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

.breadcrumb span + span {
    margin-left: 6px;
}

/* 分类标签导航 */
.cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-tabs a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-light);
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.cat-tabs a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.cat-tabs a.active {
    color: #fff;
    background: var(--primary);
    font-weight: 600;
}

/* 新闻卡片网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all var(--transition);
    text-decoration: none;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.news-card-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--primary-bg);
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.news-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 新闻列表页面布局 */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.news-sidebar {
    position: sticky;
    top: 90px;
}

/* 列表项 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.news-list-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.news-list-img {
    width: 180px;
    height: 120px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-list-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.news-cat-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--primary-bg);
    color: var(--primary);
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-list-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-list-body h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.news-list-body h3 a:hover {
    color: var(--primary);
}

.news-list-summary {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    align-items: center;
}

.page-prev,
.page-next {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.page-prev:hover,
.page-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 侧栏卡片 */
.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
}

.sidebar-card.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
}

.sidebar-card.sidebar-cta h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-card.sidebar-cta p {
    font-size: 0.88rem;
    opacity: 0.9;
    line-height: 1.6;
}

.sidebar-card.sidebar-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.sidebar-card.sidebar-cta .btn-primary:hover {
    background: #f0f0ff;
}

.hot-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.hot-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.hot-list a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
    transition: color var(--transition);
}

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

.hot-list small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 文章正文 */
.article-body {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    line-height: 1.9;
    font-size: 1rem;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 10px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul {
    margin: 12px 0 16px 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: var(--primary-dark);
}

.article-tags {
    margin-top: 24px;
    padding: 0 40px;
}

.article-tags span {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-nav {
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

/* 响应式 - 新闻 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .news-sidebar {
        position: static;
    }

    .news-list-item {
        flex-direction: column;
    }

    .news-list-img {
        width: 100%;
        height: 180px;
    }

    .article-body {
        padding: 24px 20px;
    }

    .cat-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .cat-tabs a {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
