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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.nav-phone {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-content .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

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

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

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

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

.btn-full {
    width: 100%;
}

/* Dashboard预览 */
.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.dashboard-header {
    background: var(--dark);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

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

.dash-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.dash-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.dash-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
}

/* 产品服务 */
.products {
    background: var(--light);
}

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

.product-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.product-card p {
    color: var(--gray);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 6px 0;
    color: var(--dark-light);
    font-size: 0.875rem;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

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

.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.solution-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.solution-tab:hover {
    background: rgba(37, 99, 235, 0.05);
}

.solution-tab.active {
    background: var(--gradient);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.solution-tab.active .tab-text {
    color: var(--white);
}

.tab-icon {
    font-size: 1.25rem;
}

.tab-text {
    font-weight: 600;
    color: var(--dark);
}

.solution-content {
    position: relative;
}

.solution-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-panel.active {
    display: grid;
}

.solution-illustration {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.illu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
}

.illu-icon {
    font-size: 2rem;
}

.solution-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.solution-list {
    list-style: none;
}

.solution-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--dark-light);
    line-height: 1.6;
}

.solution-list li:last-child {
    border-bottom: none;
}

.solution-list strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

/* 核心优势 */
.advantages {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
}

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

.advantages .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

.advantage-item {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

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

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
    opacity: 0.5;
}

.advantage-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    background: var(--light);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 16px 0 24px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.about-stat {
    text-align: center;
}

.about-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.about-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.about-visual {
    display: grid;
    gap: 20px;
}

.about-card {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.about-card p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* 联系我们 */
.contact {
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: 24px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 提交消息提示 */
.submit-message {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-message.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.submit-message.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.message-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
    color: var(--white);
}

.message-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
}

.message-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.message-text p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.message-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.3s;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* 悬浮按钮 */
.float-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .solution-panel.active {
        grid-template-columns: 1fr;
    }
    
    .solution-illustration {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-phone {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}