/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e4e7eb;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: height 0.3s ease;
}

.navbar .container {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo img {
    width: 69.744px;
    height: 43px;
}

.logo span {
    font-size: 32px;
    font-weight: 500;
    color: #073a7c;
}

.nav-menu {
    display: flex;
    gap: 75px;
    align-items: center;
}

.nav-menu a {
    font-size: 20px;
    font-weight: 350;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a.active {
    color: #073a7c;
    font-weight: 400;
    font-size: 23px;
}

.nav-menu a:hover {
    color: #073a7c;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: #073a7c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 汉堡菜单动画状态 */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 移动端下拉菜单 */
.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e4e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-dropdown-menu.active {
    display: flex;
    max-height: 400px;
    opacity: 1;
}

.mobile-dropdown-menu a {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 350;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-dropdown-menu a.active {
    color: #073a7c;
    font-weight: 400;
    background-color: #f5f9ff;
}

.mobile-dropdown-menu a:hover {
    color: #073a7c;
    background-color: #f8fafc;
}

/* 英雄横幅 */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(to left, rgba(69, 212, 238, 0.75), #0052ff);
    overflow: hidden;
    width: 100%;
    /* max-width: 1200px; */
    margin-left: auto;
    margin-right: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-background .placeholder-bg {
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/view.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* 占位背景色 */
}

.hero-content {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 600;
    color: #ffffff;
    line-height: 80px;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 50px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 180px;
    margin-left: 55%;
}

.tags {
    margin-left: -55%;
    /* padding-bottom: 300px; */
    gap: 45px;
}

.tag {
    background-color: #6c8399;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* 通用部分样式 */
.section {
    padding: 60px 0;
}

.section .container {
    max-width: 1200px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #073a7c;
    margin-bottom: 60px;
    text-align: left;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e4e7eb;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    padding: 31px 35px;
    border-radius: 8px;
}

.card h3 {
    font-size: 24px;
    font-weight: 500;
    color: #0f1419;
    text-align: center;
    margin-bottom: 24px;
}

.card-description {
    font-size: 20px;
    font-weight: 500;
    color: #5a6c7d;
    line-height: 25px;
    letter-spacing: 1px;
    margin-bottom: 26px;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 20px;
    font-weight: 400;
    color: #5a6c7d;
    line-height: 20px;
    letter-spacing: 0.2px;
    margin-bottom: 7px;
}

/* 简化卡片 */
.simple-card {
    height: 169px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.simple-card h3 {
    margin-bottom: 28px;
}

.simple-card p {
    font-size: 20px;
    font-weight: 500;
    color: #5a6c7d;
    line-height: 25px;
    letter-spacing: 1px;
}

/* 引语 */
.quote {
    background: linear-gradient(to left, rgba(69, 212, 238, 0.75), #0052ff);
    padding: 27.5px 0;
    text-align: center;
}

.quote p {
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 4px;
}

/* 页脚使用首页的样式 - 这里只需确保结构一致，样式已由index.css定义 */
/* 页脚 */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0 40px;
}

.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-logo img {
    width: 69.744px;
    height: 43px;
}

.footer-logo span {
    font-size: 32px;
    font-weight: 500;
    color: #073a7c;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 60px;
    /* max-width: 1200px; */
    margin-left: 100px;
    /* gap: 130px;
    flex: 1; */
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h5 {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.footer-column a,
p {
    font-size: 14px;
    font-weight: 350;
    color: #1f2937;
    text-decoration: none;
    letter-spacing: 0.42px;
    line-height: 20px;
}

.footer-column p {
    font-size: 14px;
    font-weight: 350;
    color: #1f2937;
    text-decoration: none;
    letter-spacing: 0.42px;
    line-height: 20px;
}

.footer-column a:hover {
    color: #073a7c;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    margin: 40px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 350;
    color: #0f1419;
    letter-spacing: 0.42px;
}

/* 响应式设计 - 平板 */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 48px;
        line-height: 60px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 40px;
    }

    .quote p {
        font-size: 32px;
    }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    /* 导航栏、页脚使用首页的移动端样式 */
    .container {
        padding: 0 24px;
    }

    /* 导航栏 */
    .navbar {
        height: 54px;
    }

    .logo img {
        margin-left: 20px;
        width: 50px;
        height: 31px;
    }

    .logo span {
        font-size: 20px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        margin-right: 20px;
        display: flex;
    }

    .menu-toggle span {
        background-color: #073a7c;
    }

    .hero {
        margin-top: 54px;
        height: 230px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: normal;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 8px;
        margin-left: 60%;
        margin-bottom: 220px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
        text-align: center;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 292px;
        margin: 0 auto;
    }

    .card {
        padding: 14px 11px;
    }

    .card h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .card-description {
        font-size: 14px;
        letter-spacing: 0.7px;
        margin-bottom: 16px;
    }

    .card-list li {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .simple-card {
        height: 78px;
        padding: 14px 20px;
    }

    .simple-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .simple-card p {
        font-size: 14px;
        letter-spacing: 0.7px;
    }

    .quote {
        padding: 16px 0;
    }

    .quote p {
        font-size: 16px;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    /* 移动端特定调整 */
    .who-we-are .card {
        height: auto;
        min-height: 165px;
    }

    .why-choose-us .card {
        height: 78px;
    }

    /* 页脚适配 */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        order: -1;
    }

    .footer-logo img {
        width: 50px;
        height: 31px;
    }

    .footer-logo span {
        font-size: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px !important;
        width: 100%;
        align-items: center;
        margin-left: 0 !important;
    }

    .footer-column h5 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .footer-column p {
        font-size: 13px;
        font-weight: 350;
    }

    .footer-column a {
        font-size: 13px;
    }

    .footer-divider {
        margin: 30px 0 15px;
    }

    .footer-bottom {
        gap: 8px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

@media screen and (min-width: 1025px) {

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}