/* 开云体育品牌CSS - 完整样式文件 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #2d3436;
    transition: background 0.3s, color 0.3s;
    scroll-behavior: smooth;
    min-height: 100vh;
}

body.dark {
    background: linear-gradient(135deg, #0a0a23, #1a1a3e);
    color: #e0e0e0;
}

/* 链接样式 */
a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #ff6b6b;
}

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

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

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s;
}

.nav a:hover::before,
.nav a.active::before {
    width: 80%;
}

.nav a:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.nav .active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(231, 76, 60, 0.8);
    color: #e74c3c;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: scale(1.05);
}

.search-box {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: all 0.3s;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

.search-box button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.search-box button:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.hero .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* 通用区块 */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    margin: 15px auto;
    border-radius: 2px;
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f0f0f0, #ddd);
    transition: transform 0.4s;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2d3436;
}

.card p {
    color: #636e72;
    line-height: 1.6;
}

/* 暗色模式卡片 */
.dark .card {
    background: rgba(45, 45, 68, 0.9);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .card h3 {
    color: #e0e0e0;
}

.dark .card p {
    color: #b0b0b0;
}

/* Banner轮播 */
.banner-slider {
    position: relative;
    overflow: hidden;
    height: 450px;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
}

.banner-slide p {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.8;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.banner-dots span {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.banner-dots span:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.banner-dots span.active {
    background: #e74c3c;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
    transform: scale(1.2);
}

/* 品牌介绍 */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
    color: #636e72;
}

.dark .about-text p {
    color: #b0b0b0;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* 团队网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .team-member {
    background: rgba(45, 45, 68, 0.8);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid #e74c3c;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.team-member img:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: #f39c12;
}

.team-member h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2d3436;
}

.dark .team-member h4 {
    color: #e0e0e0;
}

.team-member p {
    color: #636e72;
    font-size: 14px;
}

.dark .team-member p {
    color: #b0b0b0;
}

/* 服务列表 */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .service-item {
    background: rgba(45, 45, 68, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.service-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f0f0f0, #ddd);
    transition: transform 0.4s;
}

.service-item:hover img {
    transform: rotate(360deg) scale(1.1);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2d3436;
}

.dark .service-item h3 {
    color: #e0e0e0;
}

.service-item p {
    color: #636e72;
    font-size: 14px;
    line-height: 1.6;
}

.dark .service-item p {
    color: #b0b0b0;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .case-card {
    background: rgba(45, 45, 68, 0.9);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-card .case-info {
    padding: 20px;
}

.case-card .case-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #2d3436;
}

.dark .case-card .case-info h3 {
    color: #e0e0e0;
}

.case-card .case-info p {
    color: #636e72;
    font-size: 14px;
}

.dark .case-card .case-info p {
    color: #b0b0b0;
}

/* 客户评价 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #e74c3c;
    transition: all 0.3s;
}

.dark .testimonial-card {
    background: rgba(45, 45, 68, 0.9);
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #636e72;
}

.dark .testimonial-card p {
    color: #b0b0b0;
}

.testimonial-card h4 {
    text-align: right;
    color: #e74c3c;
    font-weight: bold;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.dark .news-card {
    background: rgba(45, 45, 68, 0.9);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .news-info {
    padding: 20px;
}

.news-card .news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2d3436;
}

.dark .news-card .news-info h3 {
    color: #e0e0e0;
}

.news-card .news-info p {
    color: #636e72;
    font-size: 14px;
    line-height: 1.6;
}

.dark .news-card .news-info p {
    color: #b0b0b0;
}

.news-card .news-info .date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s;
    color: #2d3436;
}

.dark .faq-question {
    color: #e0e0e0;
}

.faq-question:hover {
    color: #e74c3c;
}

.faq-question .arrow {
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-question.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding-left: 20px;
    color: #636e72;
    line-height: 1.8;
}

.dark .faq-answer {
    color: #b0b0b0;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 15px;
}

/* HowTo步骤 */
.howto-steps {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .howto-steps {
    background: rgba(45, 45, 68, 0.9);
}

.howto-steps h3 {
    margin-bottom: 20px;
    color: #2d3436;
}

.dark .howto-steps h3 {
    color: #e0e0e0;
}

.howto-steps ol {
    padding-left: 20px;
    line-height: 2;
    font-size: 16px;
}

.howto-steps li {
    margin-bottom: 10px;
    color: #636e72;
}

.dark .howto-steps li {
    color: #b0b0b0;
}

.howto-steps p {
    color: #636e72;
    margin: 10px 0;
}

.dark .howto-steps p {
    color: #b0b0b0;
}

/* 联系信息 */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 200px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .contact-item {
    background: rgba(45, 45, 68, 0.9);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f0f0f0, #ddd);
    transition: transform 0.4s;
}

.contact-item:hover img {
    transform: rotate(360deg);
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2d3436;
}

.dark .contact-item h3 {
    color: #e0e0e0;
}

.contact-item p {
    color: #636e72;
    font-size: 14px;
}

.dark .contact-item p {
    color: #b0b0b0;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #e0e0e0;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #e74c3c);
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #e74c3c;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e74c3c;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    color: #b0b0b0;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer ul li a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: #e74c3c;
    padding-left: 15px;
}

.footer ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.footer .copyright a {
    color: #e74c3c;
}

.footer img {
    border-radius: 10px;
    transition: transform 0.3s;
}

.footer img:hover {
    transform: scale(1.05);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* 暗黑模式切换按钮 */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #555, #777);
}

/* 面包屑 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .breadcrumb {
    background: rgba(45, 45, 68, 0.8);
}

.breadcrumb a {
    color: #e74c3c;
}

.breadcrumb span {
    color: #636e72;
}

.dark .breadcrumb span {
    color: #b0b0b0;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .article-card {
    background: rgba(45, 45, 68, 0.9);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2d3436;
}

.dark .article-card h3 {
    color: #e0e0e0;
}

.article-card .date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

.article-card p {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dark .article-card p {
    color: #b0b0b0;
}

.article-card .read-more {
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
}

.article-card .read-more::after {
    content: ' →';
    opacity: 0;
    transition: all 0.3s;
}

.article-card .read-more:hover::after {
    opacity: 1;
    margin-left: 5px;
}

.article-card .read-more:hover {
    color: #c0392b;
    transform: translateX(5px);
}

/* 相关链接 */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px 0;
}

.related-links a {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    color: #2d3436;
    font-size: 14px;
    font-weight: 500;
}

.dark .related-links a {
    background: rgba(45, 45, 68, 0.9);
    color: #e0e0e0;
}

.related-links a:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

/* 网站地图 */
.sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.sitemap a {
    color: #e74c3c;
    font-size: 14px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.sitemap a:hover {
    background: rgba(231, 76, 60, 0.1);
    text-decoration: none;
    transform: translateX(5px);
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stats-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .stats-item {
    background: rgba(45, 45, 68, 0.9);
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stats-item h3 {
    font-size: 36px;
    color: #e74c3c;
    margin-bottom: 10px;
    font-weight: bold;
}

.stats-item p {
    color: #636e72;
    font-size: 16px;
}

.dark .stats-item p {
    color: #b0b0b0;
}

/* 数字增长动画 */
.count-up {
    font-size: 48px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin: 20px 0;
}

.count-up span {
    display: block;
    font-size: 16px;
    color: #636e72;
    font-weight: normal;
}

.dark .count-up span {
    color: #b0b0b0;
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 暗色模式背景调整 */
.dark .section {
    background: rgba(26, 26, 46, 0.5);
}

.dark .section[style*="background"] {
    background: rgba(45, 45, 68, 0.5) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

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

    .about-content {
        flex-direction: column;
    }

    .banner-slider {
        height: 300px;
    }

    .banner-slide h2 {
        font-size: 28px;
    }

    .banner-slide p {
        font-size: 16px;
    }

    .footer .container {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .dark-mode-toggle {
        bottom: 75px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }

    .footer .container {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 24px;
    }

    .search-box input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .search-box button {
        padding: 10px 20px;
        font-size: 14px;
    }

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

    .article-list {
        grid-template-columns: 1fr;
    }

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

    .related-links a {
        padding: 8px 15px;
        font-size: 12px;
    }

    .sitemap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* 暗色模式滚动条 */
.dark ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
}

/* 选择文本样式 */
::selection {
    background: rgba(231, 76, 60, 0.3);
    color: #fff;
}

.dark ::selection {
    background: rgba(231, 76, 60, 0.5);
}

/* 焦点样式 */
:focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .back-to-top,
    .dark-mode-toggle,
    .banner-slider {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}