/* 全局样式 */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #6c757d;
    --success-color: #4CAF50;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fa;
    --dark-color: #3a3b45;
    --bg-color: #f9f9f9;
    --text-color: #333333;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

/* 轮播图样式 */
.carousel-section {
    background-color: var(--bg-color);
    padding: 20px 0;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 15px;
    bottom: 30px;
}

.carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 背景装饰效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(78, 115, 223, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(28, 200, 138, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #375ed8;
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 模态框样式 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

.modal-content {
    z-index: 1060;
}

.modal-content {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 90%;
}

.modal-dialog {
    max-width: 800px;
}

.modal-header {
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border-color);
}

.btn-close {
    opacity: 1;
}

.btn-close:hover {
    opacity: 0.8;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.navbar.fixed-top {
    position: sticky;
}

/* 按钮点击效果 */
.btn-clicked {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #81C784 100%);
    color: white;
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
    animation: slideInLeft 1s ease-out 0.3s both;
    white-space: nowrap;
}

.hero-content .btn {
    animation: slideInUp 1s ease-out 0.6s both;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 英雄图片样式 */
.hero-image-container {
    position: relative;
    display: inline-block;
    max-width: 80%;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
    background: white;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(45deg, var(--primary-color), #81C784);
    border-radius: 24px;
    z-index: 0;
    animation: pulse 3s infinite;
}

/* 英雄区域轮播图样式 */
.hero-image-container .carousel {
    position: relative;
    z-index: 1;
}

.hero-image-container .carousel-indicators {
    top: -40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-image-container .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-image-container .carousel-indicators button:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

.hero-image-container .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
}

.hero-image-container .carousel-control-prev, 
.hero-image-container .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.hero-image-container .carousel-control-prev:hover, 
.hero-image-container .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.hero-image-container .carousel-control-prev-icon, 
.hero-image-container .carousel-control-next-icon {
    background-color: transparent;
    width: 24px;
    height: 24px;
}

.hero-image-container .carousel-inner {
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.hero-image-container .carousel-item {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 轮播图标签样式 */
.hero-image-container .carousel-caption {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    padding: 25px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    position: absolute;
    margin: 0;
    transition: all 0.3s ease;
}

.hero-image-container .carousel-caption:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-5px);
}

.hero-image-container .carousel-caption h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

.hero-image-container .carousel-caption p {
    color: white;
    margin-bottom: 0;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 特性卡片样式 */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 容器样式 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* 工具箱区域样式 */
.toolbox-section {
    padding: 8rem 0;
    position: relative;
}

.toolbox-section .row {
    display: flex;
    align-items: stretch;
}

.toolbox-section .col-lg-6 {
    display: flex;
}

.toolbox-section .toolbox-card {
    flex: 1;
}

.toolbox-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23f5f7fa"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.toolbox-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toolbox-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #81C784);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.toolbox-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.toolbox-card:hover::before {
    transform: scaleX(1);
}

.toolbox-header {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #81C784 100%);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.toolbox-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.toolbox-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toolbox-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: white;
}

.toolbox-header p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.toolbox-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.toolbox-features {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
    flex: 1;
}

.toolbox-features li {
    padding: 0.75rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.toolbox-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toolbox-features li:hover::before {
    transform: scale(1.5);
}

.toolbox-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    position: absolute;
    left: -2px;
    top: 12px;
    z-index: 1;
    font-size: 1rem;
}

/* 工具箱卡片按钮区域 */
.toolbox-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 排版样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 按钮样式 */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #388E3C;
    border-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* 页脚样式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #81C784);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover, .footer-link:hover {
    color: white;
    margin-left: 8px;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* 页脚响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-title {
        margin-top: 2rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        margin-top: 2rem;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    :root {
        --container-width: 95%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .toolbox-section {
        padding: 6rem 0;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-section {
        padding: 6rem 0 4rem;
    }

    .toolbox-section {
        padding: 4rem 0;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        margin: 0.5rem 0;
    }
    
    .hero-image-container {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .toolbox-section .col-lg-6 {
        margin-bottom: 2rem;
    }
}

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .toolbox-header {
        padding: 1.5rem;
    }

    .toolbox-body {
        padding: 1.5rem;
    }

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

@media (min-width: 768px) {
    .navbar-expand-lg {
        flex-wrap: wrap;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .nav-link {
        margin: 0 0.75rem;
    }
}

.carousel-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 分隔线样式 */
.section-divider {
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23f5f7fa"></path></svg>');
    background-size: cover;
    background-position: top;
}

/* 更新日志时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: center;
}

.timeline-content {
    background: #f8f9fa;
    text-align: left;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}