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

:root {
    --primary-color: #0c7ff2;
    --background-color: #0a1033;
    --text-primary: #e2e8f0;
    --text-secondary: #ffffff;
    --accent-color: #3b82f6;
    --card-background: #1e293b;
    --button-hover: #095fbd;
    --input-background: #1e293b;
    --input-border: #334155;
    --glow-color: rgba(12, 127, 242, 0.2);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-color);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill);
    /* 根据需要调整宽度 */
    grid-auto-flow: column;
    gap: 8px;
}

.text-center {
    text-align: center;
    /* 水平居中 */
}

h2 {
    margin: 0 auto;
    /* 防止不必要的外边距 */
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--input-border);
    transition: all 0.3s ease;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 60px;
    width: auto;
    /* margin-right: 18px; */
    vertical-align: middle;
    font-size: 0;
    display: inline;
}



.nav-logo span {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    margin-left: 1rem;
}

.lang-option {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.lang-option.active {
    background: var(--primary-color);
    color: white;
}

.lang-option:not(.active):hover {
    background: var(--secondary-color);
}

.lang-divider {
    color: var(--text-secondary);
}

/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    position: relative;
    padding-right: 1.2rem !important;
    display: flex;
    align-items: center;
}

.dropdown-trigger::after {
    content: '◀';
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    color: var(--text-primary);
}

.nav-dropdown:hover .dropdown-trigger::after {
    transform: translateY(-50%) rotate(-90deg);
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(15px);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    display: block !important;
}

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

.nav-dropdown .dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
}

.page {
    /* min-height: 100vh; */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: relative;
    background: var(--background-color);
    opacity: 1;
    transform: translateY(0);
    padding: 2rem 1rem;
    margin-bottom: 0;
}

.page.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}

/* 首页样式 */
#home {
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--text-primary);
}

.hero-content {
    max-width: 900px;
    position: relative;
    top: 80px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 40px
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    animation: slideInDown 1s ease-out 0.3s both;
}

/* 打字机效果样式 */
.typewriter-text {
    font-family: 'KaiTi', 'Arial';
}

.h-cursor {
    display: inline-block;
    margin-left: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(12, 127, 242, 0.3);
}

/* 页面内容样式 */
.page-content {
    max-width: 1200px;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-family: 'KaiTi';
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.2s;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    width: auto;
    margin: 0 auto 2rem auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.page.active .section-title,
.page.active .section-description {
    opacity: 1;
    transform: translateY(0);
}

/* 关于我们页面 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.page.active .about-card:nth-child(1) {
    transition-delay: 0.4s;
}

.page.active .about-card:nth-child(2) {
    transition-delay: 0.6s;
}

.page.active .about-card:nth-child(3) {
    transition-delay: 0.8s;
}

.page.active .about-card {
    opacity: 1;
    transform: translateY(0);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1);
    color: #60a5fa;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    text-indent: 1.5em;
}

/* 服务介绍页面 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* 新服务页面 - 两列布局 */
#education-services .services-grid,
#retail-services .services-grid,
#service-solutions .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.1s;
}

.page.active .breadcrumb {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--button-hover);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.service-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 2rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.page.active .service-card:nth-child(1) {
    transition-delay: 0.2s;
}

.page.active .service-card:nth-child(2) {
    transition-delay: 0.4s;
}

.page.active .service-card:nth-child(3) {
    transition-delay: 0.6s;
}

.page.active .service-card:nth-child(4) {
    transition-delay: 0.8s;
}

.page.active .service-card:nth-child(5) {
    transition-delay: 1.0s;
}

.page.active .service-card:nth-child(6) {
    transition-delay: 1.2s;
}

.page.active .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {

    color: #f6f0c5;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-indent: 0;
}

.service-description {
    position: relative;
    display: flex;
    align-items: flex-start;
    text-indent: 0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.service-description:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.2rem 0;
    position: relative;
    flex-shrink: 0;
    width: auto;
    margin-right: 0.5rem;
}

.dropdown-toggle::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.dropdown-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}


/* 服务描述下拉菜单样式 */
.service-card ul.dropdown-menu {
    list-style: none;
    display: none !important;
    z-index: 10;
    background-color: #31374b;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* 确保所有服务卡片中的下拉菜单默认隐藏 */
.service-card ul {
    display: none !important;
}

.service-card ul.show {
    display: block !important;
}

.service-card ul.dropdown-menu.show {
    display: block !important;
    max-height: 200px;
    overflow-y: auto;
}

.service-card ul.dropdown-menu li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-card ul.dropdown-menu li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 应用场景页面 */
#scenarios {
    background: var(--secondary-color);
}

/* 业务概览样式 */
.business-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.scenario-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}



.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 127, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.5rem;
}

.card-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}



.page.active .scenario-card:nth-child(1) {
    transition-delay: 0.3s;
}

.page.active .scenario-card:nth-child(2) {
    transition-delay: 0.5s;
}

.page.active .scenario-card:nth-child(3) {
    transition-delay: 0.7s;
}

.page.active .scenario-card {
    opacity: 1;
    transform: scale(1);
}

.scenario-card:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(12, 127, 242, 0.2);
}

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

.scenario-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.scenario-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 合作伙伴页面 */
.partners-description {
    font-size: 1rem;
    text-align: justify;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
    text-indent: 1.5rem;
}

.page.active .partners-description {
    opacity: 1;
    transform: translateY(0);
}

.partners-grid {
    display: grid;
    max-width: max-content;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.partner-logo {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.partner-logo:hover::before {
    transform: translateX(100%);
}

.partner-logo:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.partner-logo:hover img {
    opacity: 0.3;
    transform: scale(1.05);
}

.logo-placeholder {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 2;
    position: relative;
}

.partner-logo:hover .logo-placeholder {
    display: flex;
    background: rgba(30, 41, 59, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.logo-placeholder img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
}

/* 联系我们页面 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
    text-align: left;
}

.contact-info {
    color: var(--text-primary);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease 0.4s;
}

.page.active .contact-info {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-info>p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-form {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.6s;
}

.page.active .contact-form {
    opacity: 1;
    transform: translateX(0);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--input-background);
    border: 1px solid var(--input-border);
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(12, 127, 242, 0.1);
}

.contact-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

/* 页面导航指示器 - 隐藏 */
.page-indicators {
    display: none;
}

.indicator {
    display: none;
}

/* 下一页按钮 - 隐藏 */
.next-page-btn {
    display: none;
}

.main-title {
    position: relative;
    z-index: 5;
    text-shadow: 0 0 30px rgba(12, 127, 242, 0.3);
}

.scenario-card {
    position: relative;
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-10px);
}

.image-block {
    position: relative;
    height: 136px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-background), var(--secondary-color));
    border: 1px solid var(--input-border);
    perspective: 1000px;
}

.education-block {
    background: #000000
}

.retail-block {
    background: #000000
}

.service-block {
    background: #000000
}



.scenario-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    /* background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
    /* text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    transform-style: preserve-3d;
    animation: textGlow 3s infinite ease-in-out;
}


.scenario-card {
    position: relative;
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-10px);
}

@keyframes floatIcons {

    0%,
    100% {
        transform: translateY(0px) rotateZ(0deg);
        opacity: 0.8;
    }

    25% {
        transform: translateY(-8px) rotateZ(5deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-4px) rotateZ(-3deg);
        opacity: 0.9;
    }

    75% {
        transform: translateY(-12px) rotateZ(3deg);
        opacity: 1;
    }
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 时间轴相关动画 */
@keyframes drawPath {
    from {
        stroke-dashoffset: 2000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInEvent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fillProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(12, 127, 242, 0.6);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(12, 127, 242, 0.9);
    }
}

/* 响应式设计 */

/* 大屏幕 (1200px 及以上) */
@media (min-width: 1200px) {
    .nav-container {
        padding: 0 2.5rem;
    }

    .curved-timeline {
        top: -105px;
        height: 100%;
        width: 100%;
    }

    .page-content {
        padding: 0 2.5rem;
    }
}

/* 平板设备 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .curved-timeline {
        top: -90px;
        height: 100%;
        width: 100%;
    }

    .page-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .business-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .company-intro-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .company-intro-content {
        text-align: center;
    }
}

/* 移动设备 (767px 及以下) */
@media (max-width: 767px) {
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }

    .logo-img {
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .language-switch {
        margin-left: 0;
        margin-top: 1rem;
    }

    .page {
        padding: 1rem 0.5rem;
        /* min-height: calc(100vh - 60px); */
        margin-top: 60px;
    }

    .page-content {
        padding: 0 1rem;
    }

    .hero-content {
        top: 20px;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .business-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .scroll-content img {
        height: 60px;
        min-width: 60px;
        max-width: 100px;
    }

    .footerTit {
        font-size: 0.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .company-intro-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        text-indent: 1.5em;
    }

    .honor-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .timeline-container {
        height: 60vh;
        /* 使用视口高度单位实现同步缩放 */
        min-height: 300px;
        margin: 10px;
    }

    .curved-timeline {
        top: -90px;
        height: 100%;
        width: 100%;
    }



    .event-content {
        width: 180px;
        left: -90px;
        padding: 0.8rem;
    }

    .event-year {
        font-size: 0.9rem;
    }

    .event-title {
        font-size: 0.8rem;
    }

    .event-description {
        font-size: 0.7rem;
    }

    .wrap {
        top: 35%;
        left: 45%;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* 小屏幕移动设备 (480px 及以下) */
@media (max-width: 640px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .page-content {
        padding: 0 0.5rem;
    }

    .info-ul {
        display: flex;
        gap: 50px;
        margin: 10px 0;
        justify-content: center;
        font-size: 12px;
        flex-direction: column;
    }

    .hero-title {
        font-size: 1.6rem;
    }

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

    .hero-content {
        padding: 0 0.5rem;
    }

    .about-card,
    .service-card,
    .scenario-card {
        padding: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .timeline-container {
        height: 50vh;
        /* 小屏幕也使用视口高度 */
        min-height: 250px;
        margin: 5px;
    }

    .curved-timeline {
        top: 40px;

        height: 20vh;
        min-height: 200px;
    }

    .timeline-events {
        left: 37px !important
    }

    .honor-image {
        max-width: 250px;
    }

    .event-content {
        width: 150px;
        left: -75px;
        padding: 0.6rem;
    }

    .wrap {
        top: 30%;
        left: 40%;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .footer .inner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .footer .inner .left_text,
    .footer .inner .right_text {
        align-items: center;
        text-align: center;
    }

    .nav-dropdown .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }

    .nav-dropdown .dropdown-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(51, 65, 85, 0.3);
        text-align: center;
    }

    .nav-dropdown .dropdown-item:hover {
        transform: none;
        background: rgba(12, 127, 242, 0.1);
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {

    .about-card:hover,
    .service-card:hover,
    .scenario-card:hover {
        transform: none;
        border-color: var(--input-border);
    }

    .partner-logo:hover {
        transform: none;
        border-color: var(--input-border);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .partner-logo:hover::before {
        transform: translateX(-100%);
    }

    .partner-logo:hover img {
        opacity: 1;
        transform: scale(1);
    }

    .partner-logo:hover .logo-placeholder {
        display: none;
    }
}

/* 横屏移动设备 */
@media (max-width: 767px) and (orientation: landscape) {
    .page {
        min-height: 100vh;
        padding: 1rem 0.5rem;
    }

    .hero-content {
        top: 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .timeline-container {
        height: 40vh;
        width: 40vh;
        /* 横屏时适当减小高度 */
        min-height: 200px;
    }

    .curved-timeline {
        height: 100%;
        width: 100%;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .curved-timeline {
        height: 100%;
        width: 100%;
    }

    .main-content {
        max-width: 1400px;
    }

    .page {
        max-width: 1400px;
    }

    .page-content {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* 打印样式 */
@media print {

    .navbar,
    .mobile-menu-toggle,
    .page-indicators,
    .next-page-btn,
    .back-to-home {
        display: none !important;
    }

    .page {
        position: static !important;
        height: auto !important;
        min-height: auto !important;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }

    .main-content {
        overflow: visible !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* 性能优化 - 仅在用户明确设置减少动画时才禁用 */
@media (prefers-reduced-motion: reduce) {
    .wrap {
        animation-duration: 60s !important;
        /* 减慢而不是完全禁用 */
    }

    .dot {
        animation-duration: 4s !important;
    }

    .timeline-curve {
        animation-duration: 6s !important;
    }

    .timeline-event {
        transition-duration: 0.3s !important;
    }

    .scroll-content {
        animation-duration: 40s !important;
    }
}

/* 移动设备动画优化 - 保持动画但优化性能 */
@media (max-width: 767px) {
    .wrap {
        /* 保持3D动画，但减少复杂度 */
        animation: rotate 30s infinite linear;
        /* 确保动画正常运行 */
    }

    .dot {
        /* 减少粒子数量但保持动画 */
        animation: pulse 3s infinite ease-in-out;
    }

    .timeline-curve {
        /* 保持滤镜效果但减少强度 */
        filter: drop-shadow(0 0 4px rgba(12, 127, 242, 0.2));
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --background-color: #000000;
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --card-background: #1a1a1a;
        --input-border: #666666;
    }

    .about-card,
    .service-card,
    .scenario-card,
    .announcement-card {
        border-width: 2px;
    }
}

/* 公司介绍样式 */
.company-intro-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.company-intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.honor-image {
    width: 40%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* 添加荣誉媒体容器样式 */
.honor-media-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    justify-content:space-around;
}

.honor-video {
    width: 50%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    outline: none;
}

.honor-video:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .honor-media-container {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .honor-media-container { 
        flex-direction: column;
    }
    .honor-image,
    .honor-video {
        /* height: 70%; */
        width: 70%;
        border-radius: 0.75rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

.company-intro-content {
    text-align: left;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-indent: 2em;
    text-align: justify;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.page.active .intro-text p:nth-child(1) {
    animation-delay: 0.3s;
}

.page.active .intro-text p:nth-child(2) {
    animation-delay: 0.5s;
}

.page.active .intro-text p:nth-child(3) {
    animation-delay: 0.7s;
}

.page.active .intro-text p {
    opacity: 1;
    transform: translateY(0);
}

/* 确保动画元素初始状态正确 */
.timeline-event {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.timeline-curve {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.progress-bar {
    width: 0%;
    transition: width 4s ease-out;
}

.footer {
    max-width: 1200px;
    width: 100%;
    min-height: 260px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer .inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer .inner .left_text {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
}

.footer .inner .left_text p {
    margin-bottom: 12px;
}

.footer .inner .left_text p a {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
}

.footer .inner .left_text p a:hover {
    color: #b0b0b0;
}

.footer .inner .right_text {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
}

.footer .inner .right_text .bot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
}

.footer .inner .right_text .bot p {
    margin-bottom: 12px;
}

.footer .inner .right_text .bot p a {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
}

.footer .inner .right_text .bot p a:hover {
    color: #b0b0b0;
}

/* 时间轴动画样式 */
.timeline-container {
    margin: 20px;
    right: 30px;
    text-align: center;
    position: relative;
    width: 100%;
    height: 70vh;
    /* 使用视口高度 */
    min-height: 500px;
    overflow: hidden;
}

.timeline-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.curved-timeline {
    position: relative;
    /* 与容器保持比例 */
    /* min-height: 400px; */
    margin: 2rem 0;
}

.timeline-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* 确保SVG能够响应式缩放 */
    aspect-ratio: 2.5/1;
    /* 保持宽高比 */
}

.timeline-curve {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawPath 3s ease-in-out forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.timeline-events {
    position: absolute;
    top: 0;
    left: 47px;
    width: 100%;
    height: 100%;
    z-index: 5;
    margin-bottom: 2rem;
}

.timeline-event {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInEvent 0.8s ease-out forwards;
}

.timeline-event:nth-child(1) {
    animation-delay: 0.5s;
}

.timeline-event:nth-child(2) {
    animation-delay: 1s;
}

.timeline-event:nth-child(3) {
    animation-delay: 1.5s;
}

.timeline-event:nth-child(4) {
    animation-delay: 2s;
}

.timeline-event:nth-child(5) {
    animation-delay: 2.5s;
}

.timeline-event:nth-child(6) {
    animation-delay: 3s;
}

@keyframes fadeInEvent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: 3px solid var(--background-color);
    box-shadow: 0 0 20px rgba(12, 127, 242, 0.6);
    position: absolute;
    top: -8px;
    left: -8px;
    animation: pulse 2s infinite, expandDot 1s ease-out forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

/* 添加自动展开动画 */
@keyframes expandDot {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 移除hover效果，因为现在要自动展开 */
/*
.event-dot:hover {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(12, 127, 242, 0.8);
}
*/

/* 为每个事件点添加延迟动画 */
.timeline-event:nth-child(1) .event-dot {
    animation-delay: 1.5s, 2s;
}

.timeline-event:nth-child(2) .event-dot {
    animation-delay: 2s, 2.5s;
}

.timeline-event:nth-child(3) .event-dot {
    animation-delay: 2.5s, 3s;
}

.timeline-event:nth-child(4) .event-dot {
    animation-delay: 3s, 3.5s;
}

.timeline-event:nth-child(5) .event-dot {
    animation-delay: 3.5s, 4s;
}

.timeline-event:nth-child(6) .event-dot {
    animation-delay: 4s, 4.5s;
}

/* 为每个事件内容添加延迟动画 */
.timeline-event:nth-child(1) .event-content {
    animation-delay: 2.3s;
}

.timeline-event:nth-child(2) .event-content {
    animation-delay: 2.8s;
}

.timeline-event:nth-child(3) .event-content {
    animation-delay: 3.3s;
}

.timeline-event:nth-child(4) .event-content {
    animation-delay: 3.8s;
}

.timeline-event:nth-child(5) .event-content {
    animation-delay: 4.3s;
}

.timeline-event:nth-child(6) .event-content {
    animation-delay: 4.8s;
}

.event-content {
    position: absolute;
    top: 25px;
    left: -100px;
    width: 200px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: showContent 0.5s ease-out forwards;
    animation-delay: 5s; /* 默认延迟，会被每个事件点的特定延迟覆盖 */
}

@keyframes showContent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.event-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.3;
}

.event-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: justify;
    text-indent: 0;
}

.timeline-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    border-radius: 2px;
    animation: fillProgress 4s ease-out forwards;
}

@keyframes fillProgress {
    to {
        width: 100%;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline-container {
        height: 350px;
    }


    .event-content {
        width: 150px;
        left: -75px;
        padding: 0.75rem;
    }

    .event-year {
        font-size: 1rem;
    }

    .event-title {
        font-size: 0.8rem;
    }

    .event-description {
        font-size: 0.7rem;
    }
}

/* 页面激活时的动画 */
.page.active .timeline-curve {
    animation: drawPath 3s ease-in-out forwards;
}

.page.active .timeline-event {
    animation: fadeInEvent 0.8s ease-out forwards;
}

.page.active .progress-bar {
    animation: fillProgress 4s ease-out forwards;
}

/* 时间轴特殊效果 */
.timeline-event[data-year="2015"] .event-dot {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.timeline-event[data-year="2017"] .event-dot {
    background: linear-gradient(45deg, #4834d4, #686de0);
}

.timeline-event[data-year="2021"] .event-dot {
    background: linear-gradient(45deg, #00d2d3, #01a3a4);
}

.timeline-event[data-year="2023"] .event-dot {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
}

.timeline-event[data-year="2024"] .event-dot {
    background: linear-gradient(45deg, #feca57, #ff9f43);
}

.timeline-event[data-year="2025"] .event-dot {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
}

/* 连续进步的视觉效果 */
.timeline-curve {
    filter: drop-shadow(0 0 8px rgba(12, 127, 242, 0.3));
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 127, 242, 0.1) 0%, transparent 70%);
    animation: ripple 3s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 合作伙伴页脚样式 */
.footerBox {
    width: 100%;
    border-top: 1px solid var(--input-border);
    margin-top: 8rem;
    /* flex-direction: row; */
    align-content: center;
    align-items: center;
}

/* 图片循环滚动样式 */
.scroll-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroll-content {
    display: flex;
    gap: 2rem;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 确保滚动动画在所有浏览器中正常工作 */
.scroll-content {
    will-change: transform;
    backface-visibility: hidden;
}

.scroll-content:hover {
    animation-play-state: paused;
}

.scroll-content a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.scroll-content img {
    height: 80px;
    width: auto;
    max-width: 140px;
    min-width: 80px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footerTit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.footerList.footer_logo {
    display: grid;
    justify-content: center;
    align-items: center;
    /* gap: 1.5rem; */
    margin: 0 auto;
    /* grid-template-columns: repeat(6, 1fr); */
    /* padding: 0 1rem; */
    align-content: center;
    justify-items: center;
}

.footerList.footer_logo a {
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.info-ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 10px 0;
    justify-content: center;
    font-size: 12px;
    list-style: none;
}

.footerList.footer_logo a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footerList.footer_logo img {
    height: 80px;
    width: auto;
    max-width: 140px;
    min-width: 80px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
/* 
新闻公告样式 */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.announcement-card {
    background: var(--card-background);
    border: 1px solid var(--input-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.announcement-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(12, 127, 242, 0.2);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    text-align: justify;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.announcement-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    background: rgba(12, 127, 242, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    white-space: nowrap;
}

.announcement-content {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.announcement-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-indent: 1.5em;
}

.announcement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.announcement-footer {
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1199px) and (min-width: 768px) {
    .announcements-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .announcement-card {
        padding: 1rem;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .announcement-title {
        font-size: 1.1rem;
    }

    .announcement-date {
        font-size: 0.8rem;
        align-self: flex-end;
    }

    .announcement-content p {
        text-indent: 1em;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .announcement-card {
        padding: 0.8rem;
    }

    .announcement-title {
        font-size: 1rem;
    }

    .announcement-content p {
        font-size: 0.85rem;
    }

    .read-more-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .footerBox { 
        margin: 0;
    }
}