/* style.css - 从index.html提取的全部样式 */
:root {
    --main-blue: #2563eb;
    --main-bg: #f7f9fb;
    --card-bg: #fff;
    --text-main: #222;
    --text-light: #666;
    --border-radius: 14px;
    --shadow: 0 2px 16px rgba(0,0,0,0.06);
}
html, body {
    margin: 0;
    padding: 0;
    background: var(--main-bg);
    color: var(--text-main);
    font-family: '微软雅黑', Arial, sans-serif;
    max-width: 100vw;
    overflow-x: hidden;
}
a {
    color: var(--main-blue);
    text-decoration: none;
}
.navbar {
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.navbar-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 68px;
    padding: 0 32px;
    box-sizing: border-box;
}
.navbar-logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 0 0 auto;
}
.navbar-logo img {
    height: 48px;
    margin-right: 14px;
}
.navbar-menu {
    display: flex;
    gap: 40px;
    margin-left: auto;
    align-items: center;
}
.navbar-menu a {
    color: var(--text-main);
    font-size: 17px;
    font-family: 'Segoe UI', 'PingFang SC', 'HarmonyOS_Regular', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 6px;
    padding: 6px 18px;
    transition: color 0.2s, background 0.2s;
    background: none;
}
.navbar-menu a:hover {
    color: #fff;
    background: var(--main-blue);
}
.navbar-right {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 24px;
}
.banner {
    width: 100%;
    min-height: 340px;
    background: url('banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 41, 59, 0.45);
}
.banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}
.banner-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 18px;
}
.banner-desc {
    font-size: 1.1em;
    margin-bottom: 28px;
}
.banner-btn {
    background: var(--main-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.banner-btn:hover {
    background: #1742a0;
}
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px 0 16px;
    box-sizing: border-box;
}
.about-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 40px 32px;
    gap: 36px;
    min-height: 320px;
}
.about-img {
    flex: 0 0 40%;
    min-width: 220px;
    max-width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-img img {
    width: 100%;
    max-width: 340px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.about-content {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 12px;
}
.about-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}
.about-desc {
    color: var(--text-light);
    margin-bottom: 18px;
}
.about-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-blue);
    font-weight: 500;
}
.about-feature span {
    color: var(--text-main);
    font-weight: 400;
}
.contact-section {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.contact-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1 1 340px;
    min-width: 260px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-card .icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--main-blue);
}
.contact-card .contact-label {
    font-weight: bold;
    margin-bottom: 6px;
}
.contact-card .contact-value {
    color: var(--text-light);
    font-size: 1em;
}
.contact-card .qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s cubic-bezier(.22,1,.36,1);
    cursor: pointer;
}
.contact-card .qrcode-img:hover {
    transform: scale(1.18) translateY(-10px);
    box-shadow: 0 12px 32px rgba(37,99,235,0.18), 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}
.footer {
    background: #181f2a;
    color: #fff;
    padding: 40px 0 0 0;
    margin-top: 64px;
}
.footer-main {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 16px 24px 16px;
    border-bottom: 1px solid #2a3140;
    box-sizing: border-box;
}
.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-logo img {
    height: 28px;
}
.footer-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-link {
    display: block;
    color: #bfc8d6;
    margin-bottom: 8px;
    font-size: 15px;
}
.footer-link:hover {
    color: #fff;
}
.footer-contact {
    color: #bfc8d6;
    font-size: 15px;
    margin-bottom: 8px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.footer-social a {
    color: #bfc8d6;
    font-size: 1.3em;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    color: #bfc8d6;
    font-size: 13px;
    padding: 18px 0 12px 0;
}

/* 平板设备响应式 */
@media (max-width: 900px) {
    .about-card, .footer-main {
        flex-direction: column;
        gap: 24px;
    }
    .about-img, .about-content {
        max-width: 100%;
        flex: 1 1 100%;
        padding-left: 0;
    }
    .contact-section {
        flex-direction: column;
        gap: 24px;
    }
    .navbar-inner {
        max-width: 100vw;
        padding: 0 8px;
    }
    .banner-title {
        font-size: 1.8em;
    }
    .banner-desc {
        font-size: 1em;
    }
}

/* 手机设备响应式 */
@media (max-width: 600px) {
    .navbar {
        padding: 0;
        height: 60px;
    }
    .navbar-inner {
        padding: 0 16px;
        height: 60px;
    }
    .navbar-logo img {
        height: 36px;
        margin-right: 10px;
    }
    .navbar-menu {
        gap: 20px;
    }
    .navbar-menu a {
        font-size: 15px;
        padding: 4px 12px;
    }
    .banner {
        min-height: 280px;
    }
    .banner-content {
        padding: 0 16px;
    }
    .banner-title {
        font-size: 1.5em;
        margin-bottom: 12px;
    }
    .banner-desc {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .banner-btn {
        padding: 10px 24px;
        font-size: 0.9em;
    }
    .section {
        padding: 32px 16px 0 16px;
    }
    .about-card {
        padding: 24px 20px;
        gap: 20px;
        min-height: auto;
    }
    .about-img {
        flex: 0 0 100%;
        min-width: auto;
        max-width: 100%;
        margin-bottom: 16px;
    }
    .about-img img {
        max-width: 100%;
    }
    .about-content {
        padding-left: 0;
    }
    .about-title {
        font-size: 1.3em;
    }
    .about-features {
        gap: 20px;
        flex-direction: column;
    }
    .about-feature {
        font-size: 0.9em;
    }
    .contact-section {
        margin-top: 32px;
        gap: 20px;
    }
    .contact-card {
        flex: 1 1 100%;
        min-width: auto;
        padding: 24px 20px;
    }
    .contact-card .qrcode-img {
        width: 100px;
        height: 100px;
    }
    .footer-main {
        padding: 0 16px 24px 16px;
        gap: 24px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        flex: 1 1 100%;
        min-width: auto;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        justify-content: center;
        width: 100%;
    }
    .footer-bottom {
        font-size: 12px;
        padding: 16px 0 12px 0;
    }
}

/* 超小屏幕设备响应式 */
@media (max-width: 400px) {
    .navbar-inner {
        padding: 0 12px;
    }
    .navbar-menu {
        gap: 12px;
    }
    .navbar-menu a {
        font-size: 14px;
        padding: 3px 8px;
    }
    .banner-title {
        font-size: 1.3em;
    }
    .banner-desc {
        font-size: 0.85em;
    }
    .section {
        padding: 24px 12px 0 12px;
    }
    .about-card {
        padding: 20px 16px;
    }
    .contact-card {
        padding: 20px 16px;
    }
    .contact-card .qrcode-img {
        width: 80px;
        height: 80px;
    }
    .footer-main {
        padding: 0 12px 20px 12px;
    }
} 