/* ========================================
   2026 中文站视觉升级
   以音盾 logo 的深海军蓝、品牌蓝和湖蓝为主色
   ======================================== */

:root {
    --primary-color: #006eae;
    --primary-dark: #00457d;
    --secondary-color: #00a8d6;
    --text-color: #19324d;
    --muted-color: #637589;
    --light-gray: #f3f8fb;
    --border-color: #d9e8f0;
    --ink: #062c55;
    --warm-color: #f1dfbd;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(6, 44, 85, 0.09);
    --shadow-lg: 0 18px 46px rgba(6, 44, 85, 0.16);
}

body {
    background: #ffffff;
    color: var(--text-color);
    font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
        -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
    max-width: 1280px;
    padding-right: 32px;
    padding-left: 32px;
}

.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(6, 44, 85, 0.06);
    backdrop-filter: blur(14px);
}

.navbar .container {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand-link {
    gap: 6px;
}

.navbar-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
    object-position: left center;
}

.navbar-brand-text {
    padding-left: 0;
    border-left: none;
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-menu {
    gap: 28px;
}

.navbar-menu a {
    position: relative;
    color: var(--text-color);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.navbar-menu a:not(.cta-button)::after {
    position: absolute;
    right: 50%;
    bottom: -11px;
    left: 50%;
    height: 2px;
    content: "";
    background: var(--primary-color);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.25s ease;
}

.navbar-menu a:not(.cta-button):hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-menu .cta-button {
    padding: 11px 20px;
    border-radius: 0;
    background: var(--primary-color);
    letter-spacing: 1px;
}

.navbar-menu .cta-button:hover {
    background: var(--primary-dark);
}

.hero {
    position: relative;
    min-height: 570px;
    padding: 150px 0 130px;
    overflow: hidden;
    background: var(--ink);
    text-align: left;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(6, 44, 85, 0.58), rgba(0, 110, 174, 0.08));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-kicker {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: none;
}

.hero-content h1,
.hero-content h2 {
    max-width: 660px;
    margin-bottom: 28px;
    padding-bottom: 0;
    color: var(--white);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 2px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.hero-content h1::after,
.hero-content h2::after {
    display: none;
}

.hero-content > p.hero-kicker:first-of-type {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    letter-spacing: 0.14em;
}

.hero-subtitle {
    margin-bottom: 34px;
    max-width: 34em;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.7;
}

.hero .button {
    margin: 0 12px 0 0;
}

.button {
    border-radius: 0;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--primary-color);
}

.button-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.88);
    background: transparent;
    color: var(--white);
}

.button-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

section {
    padding: 92px 0;
}

section h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-subtitle {
    margin-bottom: 48px;
    color: var(--muted-color);
    font-size: 16px;
}

.services {
    background: var(--light-gray);
    color: var(--text-color);
}

.services h2,
.services .section-subtitle {
    color: var(--ink);
}

.services .section-subtitle {
    color: var(--muted-color);
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    background: transparent;
}

.service-card {
    min-height: 258px;
    padding: 34px 28px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 4px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h2,
.service-card h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 21px;
}

.service-card p {
    color: var(--muted-color);
    line-height: 1.9;
}

.service-card a {
    color: var(--primary-color);
    font-size: 13px;
}

.why-us {
    background: var(--light-gray);
}

.features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border-color);
}

.feature {
    min-height: 160px;
    padding: 28px 24px;
    background: var(--white);
    text-align: left;
}

.feature h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 25px;
    font-weight: 500;
}

.feature p {
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.75;
}

.cases-preview {
    background: var(--white);
}

.cases-grid,
.knowledge-grid {
    gap: 18px;
}

.case-card,
.knowledge-card {
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--white);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover,
.knowledge-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.case-card {
    border-top: 3px solid var(--primary-color);
    border-left: 0;
}

.case-card h3,
.knowledge-card h3 {
    color: var(--ink);
    line-height: 1.5;
}

.case-card strong,
.case-card a,
.knowledge-card h3,
.knowledge-card a {
    color: var(--primary-color);
}

.after-sales {
    background: var(--light-gray);
}

.after-sales-case {
    border-radius: 0;
    box-shadow: none;
    align-items: stretch;
}

.after-sales-content {
    display: flex;
    flex-direction: column;
}

.after-sales-points span {
    border-radius: 0;
    background: #e7f3f8;
    color: var(--primary-color);
}

.after-sales-content .button {
    margin-top: auto;
    margin-bottom: auto;
    align-self: flex-end;
}

.knowledge {
    background: var(--light-gray);
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.knowledge-card a {
    margin-top: auto;
    align-self: flex-end;
}

.cta {
    position: relative;
    background: var(--primary-dark);
    text-align: left;
}

.cta .container {
    max-width: 900px;
}

.cta h2 {
    color: var(--white);
    text-align: left;
}

.cta p {
    color: rgba(255, 255, 255, 0.76);
}

.footer {
    background: var(--ink);
}

.footer-bottom {
    background: #041d39;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

/* 内页标题与内容卡片统一到中文首页视觉 */
.hero[style*="linear-gradient"],
.after-sales-hero,
.knowledge-list-hero,
.article-hero,
.city-hero {
    background: var(--ink) !important;
}

.hero[style*="linear-gradient"],
.after-sales-hero,
.knowledge-list-hero,
.article-hero,
.city-hero {
    min-height: 320px;
    padding: 100px 0 80px !important;
    text-align: left;
}

.hero[style*="linear-gradient"] h1,
.after-sales-hero h1,
.knowledge-list-hero h1,
.article-hero h1,
.city-hero h1 {
    color: var(--white);
}

.knowledge-list-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 12px;
    max-width: 36em;
}

.services-detail,
.cases,
.article-layout,
.city-content {
    background: var(--light-gray);
}

.service-detail-item,
.case-item,
.article-detail,
.contact-form,
.contact-info {
    border-radius: 0;
}

.service-detail-item,
.case-item {
    margin: 0;
    padding: 40px 48px;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow);
}

.cases-list {
    display: grid;
    gap: 28px;
}

.service-detail-item h2,
.case-item h2 {
    margin-bottom: 28px;
    color: var(--primary-color);
    line-height: 1.4;
}

.service-detail-item h3,
.case-item h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--ink);
}

.city-tags li,
.city-national-back {
    border-radius: 0;
    background: #e7f3f8;
}

/* 联系页改为先给方案、后展示联系方式的上下布局 */
.contact-grid {
    display: flex !important;
    flex-direction: column;
    gap: 36px !important;
}

.contact-form {
    order: -1;
    width: 100%;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    background: var(--white) !important;
    box-shadow: var(--shadow);
}

.contact-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
    align-items: start;
    justify-items: center;
    text-align: center;
}

.contact-info > h2 {
    grid-column: 1 / -1;
    width: 100%;
}

.contact-info .contact-item {
    width: 100%;
    margin-bottom: 0 !important;
    padding: 24px 20px;
    border: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: 0 6px 18px rgba(6, 44, 85, 0.06);
}

@media (max-width: 900px) {
    .navbar-menu {
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .navbar-brand-link {
        gap: 8px;
    }

    .navbar-logo {
        width: auto;
        height: 40px;
    }

    .navbar-brand-text {
        padding-left: 0;
        font-size: 16px;
        letter-spacing: 1px;
    }

    .navbar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 4px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navbar-menu li {
        flex: 0 0 auto;
    }

    .navbar-menu a {
        display: inline-block;
        padding: 6px 10px;
        font-size: 13px;
        line-height: 1.3;
    }

    .navbar-menu a:not(.cta-button)::after {
        display: none;
    }

    .navbar-menu .cta-button {
        padding: 6px 12px;
    }

    .hero {
        min-height: 540px;
        padding: 110px 0 90px;
    }

    .hero[style*="linear-gradient"],
    .after-sales-hero,
    .knowledge-list-hero,
    .article-hero,
    .city-hero {
        min-height: 240px;
        padding: 72px 0 56px !important;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
        letter-spacing: 1px;
    }

    section {
        padding: 64px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature h3 {
        font-size: 22px;
    }
}

@media (max-width: 520px) {
    .navbar .container {
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .navbar-menu {
        gap: 6px 2px;
    }

    .navbar-menu a {
        padding: 5px 8px;
        font-size: 12px;
    }

    .navbar-menu .cta-button {
        padding: 5px 10px;
    }

    .navbar-menu li:nth-last-child(2),
    .navbar-menu li:last-child {
        display: none;
    }

    .hero {
        min-height: 510px;
        padding: 96px 0 72px;
    }

    .hero[style*="linear-gradient"],
    .after-sales-hero,
    .knowledge-list-hero,
    .article-hero,
    .city-hero {
        min-height: 200px;
        padding: 64px 0 48px !important;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 33px;
    }

    .hero-kicker,
    .hero-content > p.hero-kicker:first-of-type {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .hero .button {
        width: 100%;
        margin: 0 0 12px;
        text-align: center;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .feature {
        min-height: auto;
    }

    .case-item {
        padding: 28px 22px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-info > h2 {
        grid-column: auto;
    }
}
