/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2b7a9d;
    --primary-dark: #1a5a7a;
    --accent: #e89a4c;
    --accent-light: #f0b87a;
    --text: #1d1d1d;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #f5f5f5;
    --white: #ffffff;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(232, 154, 76, 0.4);
}

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

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

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-menu a {
    color: var(--text);
}

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

.navbar.scrolled .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
}

.dropdown-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    padding: 150px 0 100px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    margin-bottom: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

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

.stat-item .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.stat-item .stat-label {
    font-size: 14px;
    opacity: 0.7;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    color: var(--text);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    font-size: 24px;
}

.card-title {
    font-weight: 600;
    font-size: 14px;
}

.card-desc {
    font-size: 12px;
    color: var(--text-light);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
}

.section-badge .dot {
    background: var(--primary);
}

.about h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about strong {
    color: var(--text);
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.note {
    font-size: 12px;
    color: var(--text-muted);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg), var(--white));
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* 服务 */
.services {
    padding: 100px 0;
    background: var(--bg);
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
}

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

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

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

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* 成果展示 */
.results {
    padding: 100px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.result-card {
    background: linear-gradient(135deg, var(--bg), var(--white));
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.result-badge {
    display: inline-block;
    background: rgba(43, 122, 157, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

.result-metric {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.result-label {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.result-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.result-tags {
    display: flex;
    gap: 8px;
}

.tag-small {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-light);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.stats-label {
    font-size: 14px;
    color: var(--text-light);
}

/* 工作流程 */
.process {
    padding: 100px 0;
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.process-step {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    margin-bottom: 16px;
}

.step-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.process-step ul {
    list-style: none;
}

.process-step li {
    font-size: 12px;
    opacity: 0.7;
    padding: 3px 0;
    padding-left: 14px;
    position: relative;
}

.process-step li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

/* 案例 */
.cases {
    padding: 100px 0;
    background: var(--bg);
}

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

.case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.case-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image::after {
    content: '🌐';
    font-size: 60px;
    opacity: 0.3;
}

.case-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

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

.case-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

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

.case-tags {
    display: flex;
    gap: 8px;
}

/* 为什么选择我们 */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

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

.why-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.why-card:hover p {
    color: rgba(255,255,255,0.8);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 合作流程 */
.cooperation {
    padding: 100px 0;
    background: var(--bg);
}

.coop-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
    position: relative;
}

.coop-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.coop-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.coop-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    border: 3px solid var(--primary);
}

.coop-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.coop-step p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.coop-time {
    display: inline-block;
    background: rgba(43, 122, 157, 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

/* 博客 */
.blog {
    padding: 100px 0;
    background: var(--white);
}

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

.blog-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image::after {
    content: attr(data-letter);
    font-size: 80px;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.contact-question {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.contact-highlight {
    color: var(--primary) !important;
    font-weight: 600;
    margin-top: 20px;
}

.wechat-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.wechat-qr {
    width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.wechat-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wechat-card p {
    font-size: 13px;
    color: var(--text-light);
}

.email-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.email-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.email-label {
    font-size: 12px;
    color: var(--text-muted);
}

.email-value {
    font-weight: 500;
}

/* 表单 */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.contact-info > div {
    margin-bottom: 16px;
}

.contact-info span {
    font-size: 12px;
    opacity: 0.6;
    display: block;
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-to-top:hover {
    background: rgba(255,255,255,0.2);
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .results-grid,
    .cases-grid,
    .why-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .coop-steps {
        flex-wrap: wrap;
    }
    
    .coop-step {
        flex: 0 0 calc(50% - 10px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid,
    .results-grid,
    .cases-grid,
    .why-grid,
    .blog-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coop-step {
        flex: 0 0 100%;
    }
    
    .coop-steps::before {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
