/* 全局变量与重置 */
:root {
    --color-primary: #0D9488;
    --color-primary-dark: #0F766E;
    --color-primary-light: #14B8A6;
    --color-secondary: #F97316;
    --color-bg: #F9FAFB;
    --color-bg-white: #FFFFFF;
    --color-text: #1F2937;
    --color-text-secondary: #6B7280;
    --color-text-light: #9CA3AF;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --container-max: 1200px;
    --font-display: 'Playfair Display', 'Noto Sans SC', serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    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 var(--color-border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.logo-icon {
    font-size: 28px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.nav-links .btn-primary {
    color: white;
}

/* 按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--color-primary);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

.arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #F9FAFB 0%, #ECFDF5 100%);
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

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

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* 英雄区域视觉卡片 */
.hero-visual {
    position: relative;
    height: 480px;
}

.visual-card {
    position: absolute;
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 140px;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 0;
    left: 40px;
    animation-delay: 4s;
}

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

.card-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

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

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.05));
    top: -100px;
    right: -100px;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.05));
    bottom: -50px;
    left: -50px;
}

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

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

.section-label {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 功能区域 */
.features {
    background: white;
}

.feature-section {
    margin-bottom: 64px;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-group-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.group-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.group-info {
    flex: 1;
}

.group-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.group-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
}

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

.feature-card {
    background: var(--color-bg);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

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

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-icon {
    font-size: 28px;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 使用场景区 */
.scenes {
    background: linear-gradient(135deg, #F9FAFB 0%, #ECFDF5 100%);
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.scene-card {
    display: flex;
    gap: 24px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

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

.scene-image {
    width: 100px;
    height: 100px;
    background: rgba(13, 148, 136, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scene-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.scene-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* 管理后台区域 */
.admin-panel {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
}

.admin-panel .section-label {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
}

.admin-panel .section-title {
    color: white;
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.admin-text {
    text-align: left;
}

.admin-text .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.admin-features {
    list-style: none;
}

.admin-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.admin-features svg {
    color: var(--color-primary-light);
    flex-shrink: 0;
}

/* 后台模拟界面 */
.admin-mockup {
    perspective: 1000px;
}

.mockup-window {
    background: #374151;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateY(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #1F2937;
    border-bottom: 1px solid #374151;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-title {
    font-size: 14px;
    color: #9CA3AF;
}

.mockup-content {
    display: flex;
    min-height: 360px;
}

.mockup-sidebar {
    width: 180px;
    background: #1F2937;
    padding: 20px 0;
}

.mockup-menu {
    padding: 12px 20px;
    color: #9CA3AF;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mockup-menu.active {
    background: rgba(13, 148, 136, 0.2);
    color: var(--color-primary-light);
    border-left: 3px solid var(--color-primary);
}

.mockup-main {
    flex: 1;
    padding: 24px;
    background: #111827;
}

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

.mockup-stat-card {
    background: #1F2937;
    padding: 16px;
    border-radius: var(--radius-md);
}

.mockup-stat-label {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 8px;
}

.mockup-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
    padding: 16px;
    background: #1F2937;
    border-radius: var(--radius-md);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* 关于我们 */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

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

.about-icon {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.about-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* 联系区域 */
.contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

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

.contact-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-text p {
    font-size: 18px;
    opacity: 0.9;
}

.contact-actions {
    display: flex;
    gap: 16px;
}

/* 页脚 */
.footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

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

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h5 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content,
    .admin-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        height: 400px;
    }

    .feature-cards-row,
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

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

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .feature-cards-row,
    .about-content {
        grid-template-columns: 1fr;
    }

    .scene-card {
        flex-direction: column;
        text-align: center;
    }

    .scene-image {
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}
