/* ========== 基础重置与变量 ========== */
:root {
    --primary: #1a365d;
    --primary-dark: #0f2440;
    --primary-light: #2a4a7d;
    --gold: #c9a84c;
    --gold-light: #e0c068;
    --gold-dark: #a8893d;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --font-sans: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-serif: 'Noto Serif SC', 'STSong', serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--gold);
}

/* ========== 头部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.logo-name {
    font-size: 22px;
    color: var(--primary);
    font-family: var(--font-serif);
    position: relative;
}

.logo-r {
    font-size: 10px;
    color: var(--gold);
    top: -8px;
    position: relative;
}

.logo-divider {
    color: var(--gray-300);
    font-weight: 300;
}

.logo-tagline {
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ========== Banner区域 ========== */
.banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.banner-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26,54,93,0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(42,74,125,0.6) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-dark) 0%, #1e3a5f 50%, var(--primary) 100%);
    animation: bannerShift 15s ease-in-out infinite;
}

@keyframes bannerShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.05) rotate(1deg); }
    66% { transform: scale(1.02) rotate(-1deg); }
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
    color: var(--white);
}

.banner-title {
    font-size: 56px;
    font-weight: 900;
    font-family: var(--font-serif);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.title-highlight {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.title-sub {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    letter-spacing: 2px;
}

.banner-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.5);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-serif);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.banner-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== 通用Section样式 ========== */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--gold-dark);
    background: rgba(201,168,76,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 痛点分析 ========== */
.pain-points {
    background: var(--gray-50);
}

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

.pain-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

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

.pain-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== 解决方案 ========== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--gray-100);
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-serif);
    line-height: 1;
}

.service-card:hover .service-num {
    color: rgba(201,168,76,0.2);
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
}

.service-card > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-list {
    font-size: 14px;
    color: var(--gray-600);
}

.service-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

/* ========== 服务优势 ========== */
.advantages {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.advantages .section-tag {
    background: rgba(201,168,76,0.2);
    color: var(--gold-light);
}

.advantages .section-title {
    color: var(--white);
}

.advantages .section-desc {
    color: rgba(255,255,255,0.6);
}

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

.adv-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.adv-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.adv-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ========== 成功案例 ========== */
.cases {
    background: var(--gray-50);
}

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

.case-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
}

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

.case-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--gold-dark);
    background: rgba(201,168,76,0.15);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 500;
}

.case-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
}

.case-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.case-stat {
    display: flex;
    flex-direction: column;
}

.case-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.case-label {
    font-size: 12px;
    color: var(--gray-400);
}

.case-desc {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== 关于闫宝龙 ========== */
.about {
    background: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.about-title {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
}

.highlight-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-serif);
}

.highlight-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== FAQ ========== */
.faq {
    background: var(--gray-50);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

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

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

.faq-icon {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--gold);
}

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

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========== 联系方式 ========== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover .contact-icon {
    color: var(--gold);
}

.contact-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.contact-link:hover {
    color: var(--gold-dark);
}

.contact-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

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

.wechat-qrcode {
    display: inline-block;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.wechat-qrcode img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 16px;
}

.wechat-qrcode p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========== 底部 ========== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-name {
    color: var(--white);
    font-size: 20px;
}

.footer-brand .logo-divider {
    color: var(--gold);
}

.footer-brand .logo-tagline {
    color: var(--gold);
    font-size: 13px;
}

.footer-desc {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-contact a {
    color: var(--gold);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-links {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.links-grid a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    padding: 6px 0;
    transition: var(--transition);
}

.links-grid a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--gold);
    transform: translateY(-4px);
}

/* ========== 动画 ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 44px;
    }
    
    .title-sub {
        font-size: 24px;
    }
    
    .banner-stats {
        gap: 40px;
    }
    
    .stat-num {
        font-size: 40px;
    }
    
    .pain-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .banner {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .title-sub {
        font-size: 18px;
    }
    
    .banner-desc {
        font-size: 15px;
    }
    
    .banner-btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .banner-stats {
        gap: 24px;
    }
    
    .stat-num {
        font-size: 32px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pain-grid,
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 26px;
    }
    
    .title-sub {
        font-size: 16px;
    }
    
    .banner-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 12px);
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .adv-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
