:root {
    --primary-color: #11D6BB;
    --primary-dark: #0eb89e;
    --primary-light: #4ce4d0;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
    --header-height: 70px;
    --page-header-height: clamp(18rem, 62vh, 34rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ── 统一右箭头图标 ── */
.icon-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 0.875em;
    height: 0.875em;
    line-height: 0;
    transition: transform 0.2s ease;
}

.icon-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .news-card-link:hover .icon-arrow,
    .activity-card-link:hover .icon-arrow,
    .home-section__more:hover .icon-arrow,
    .home-role__link:hover .icon-arrow,
    .svc-preview__link:hover .icon-arrow {
        transform: translateX(3px);
    }
}

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    /* box-shadow: var(--shadow); */
    z-index: 1000;
    height: var(--header-height);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
    will-change: transform;
}

.header.header--hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.nav {
    height: 100%;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ── 移动端：右侧抽屉 + 遮罩（Apple / Stripe 常见模式） ── */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(15, 20, 25, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 320px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-height) + 0.75rem) 0 2rem;
    background-color: var(--bg-color);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s;
    z-index: 999;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

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

.nav-item {
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.nav-item a {
    display: block;
    padding: 0.9375rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.nav-item a:hover,
.nav-item.active > a {
    color: var(--primary-color);
    background-color: var(--bg-gray);
}

.has-submenu > a {
    padding-right: 3.25rem;
    cursor: pointer;
    position: relative;
}

/* 移动端只用 submenu-toggle 箭头，避免与 a::after 重复 */
.has-submenu > a::after {
    display: none;
}

.has-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 3.25rem;
    height: 3.25rem;
    z-index: 10;
    align-items: center;
    justify-content: center;
    color: #5D6E7F;
}

.submenu-toggle svg {
    display: block;
    width: 1.625rem;
    height: 1.625rem;
    transition: transform 0.25s ease;
}

.submenu-toggle.active svg {
    transform: rotate(180deg);
}

.submenu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    padding: 0;
}

.submenu.active {
    max-height: 520px;
    padding: 0.25rem 0 0.5rem;
}

.submenu-item a {
    display: block;
    padding: 0.6875rem 1.25rem 0.6875rem 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-bottom: none;
}

.submenu-item a:hover,
.submenu-item a:active {
    color: var(--primary-dark);
    background-color: rgba(17, 214, 187, 0.06);
}

.submenu-item.active a {
    color: var(--primary-dark);
    background-color: rgba(17, 214, 187, 0.08);
    font-weight: 500;
}

.hero {
    padding: calc(var(--header-height) + 2rem) 1rem 4rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

    .btn-secondary:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .intro-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

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

.hero-image {
    margin-top: 3rem;
    width: 100%;
    max-width: 500px;
}

.hero-visual {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.intro {
    padding: 4rem 1rem;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.intro-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.1rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.intro-card {
    background-color: var(--bg-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.intro-desc {
    color: var(--text-light);
    line-height: 1.6;
}

.logo-meaning {
    padding: 4rem 1rem;
    background-color: var(--bg-gray);
}

.logo-meaning-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-meaning-image {
    flex: 0 0 auto;
    max-width: 200px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.logo-meaning-text {
    flex: 1;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
    text-align: justify;
}

.news {
    padding: 4rem 1rem;
    background-color: var(--bg-color);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.news-more {
    text-align: center;
}

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
}

.footer-section {
    text-align: left;
    padding: 0;
    min-width: 0;
}

.footer-section--brand,
.footer-section--contact {
    grid-column: 1 / -1;
}

.footer-section--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section--contact {
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-head {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.footer-logo {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.footer-desc {
    margin: 0 0 1.25rem;
    color: #999;
    line-height: 1.6;
    max-width: 18rem;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 18rem;
    gap: 0.75rem;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.footer-action--primary {
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 6px 18px rgba(17, 214, 187, 0.22);
}

.footer-action--ghost {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-links a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #999;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.625rem;
    line-height: 1.5;
}

.footer-contact__icon {
    flex-shrink: 0;
    display: flex;
    color: var(--primary-color);
    margin-top: 0.125rem;
}

.footer-contact__icon svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 0.5rem;
    width: 100%;
}

.qrcode-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.qrcode-text {
    font-size: 14px;
    color: #999;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 0.25rem;
    word-break: break-word;
}

.footer-bottom a {
    color: var(--primary-color);
}

@media (hover: hover) and (pointer: fine) {
    .footer-brand-head:hover .footer-title {
        color: #fff;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
        color: var(--primary-color);
    }

    .footer-action--primary:hover {
        background: var(--primary-dark);
        color: #fff;
    }

    .footer-action--ghost:hover {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.45);
        background: rgba(255, 255, 255, 0.06);
    }
}

@media (min-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-backdrop {
        display: none !important;
    }

    body.nav-open {
        overflow: auto;
    }

    .nav-toggle {
        display: none;
    }

    .nav-item.has-submenu {
        display: flex;
        align-items: center;
    }
    
    .nav-menu {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        height: auto;
        display: flex;
        transform: none;
        visibility: visible;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        overflow: visible;
    }
    
    .nav-item {
        border-bottom: none;
    }
    
    .nav-item a {
        padding: 0.5rem 1rem;
        font-size: inherit;
    }
    
    .nav-item a:hover,
    .nav-item.active > a {
        background-color: transparent;
    }
    
    .has-submenu > a {
        padding-right: 0.25rem;
    }

    .submenu-toggle {
        position: static;
        width: 1.75rem;
        height: 1.75rem;
        flex-shrink: 0;
        margin-right: 0.125rem;
    }

    .submenu-toggle svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .has-submenu > a::after {
        display: none;
    }

    .has-submenu:hover .submenu-toggle svg,
    .has-submenu.active .submenu-toggle svg {
        transform: rotate(180deg);
    }
    
    .has-submenu {
        position: relative;
    }
    
    .submenu {
        position: absolute;
        top: calc(100% + 0.375rem);
        left: 50%;
        transform: translateX(-50%) translateY(6px);
        min-width: 11rem;
        max-height: none;
        overflow: visible;
        background-color: #fff;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
        z-index: 998;
        padding: 0.375rem;
        border-radius: 12px;
    }

    .submenu.active {
        max-height: none;
        padding: 0.375rem;
    }
    
    .has-submenu:hover .submenu,
    .submenu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .submenu-item a {
        padding: 0.5625rem 0.875rem;
        font-size: 0.875rem;
        color: var(--text-color);
        border-radius: 8px;
        border-bottom: none;
        white-space: nowrap;
    }

    .submenu-item a:hover,
    .submenu-item a:active {
        color: var(--primary-dark);
        background-color: rgba(17, 214, 187, 0.08);
    }

    .submenu-item.active a {
        color: var(--primary-dark);
        background-color: rgba(17, 214, 187, 0.1);
        font-weight: 500;
    }
    
    .hero .container {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-content {
        flex: 1;
        padding-right: 2rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        margin-top: 0;
        flex: 1;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-meaning-content {
        flex-direction: row;
        align-items: flex-start;
    }

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

    .footer-section--brand {
        display: block;
        text-align: left;
        align-items: stretch;
        padding-bottom: 0;
        border-bottom: none;
    }

    .footer-section--contact {
        padding-top: 0;
        border-top: none;
    }

    .footer-actions {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 20rem;
    }

    .footer-action {
        flex: 1;
        min-width: 7.5rem;
        width: auto;
        min-height: 2.375rem;
        font-size: 0.8125rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }
}

@media (min-width: 992px) {
    .intro-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-meaning-image {
        max-width: 200px;
    }

    .footer-content {
        grid-template-columns: 1.3fr 1fr 1fr 1.35fr;
        gap: 2rem 3rem;
        margin-bottom: 2rem;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section--brand,
    .footer-section--contact {
        grid-column: auto;
        border: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-section--brand {
        display: block;
        text-align: left;
        align-items: stretch;
    }

    .footer-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: auto;
        max-width: none;
        gap: 0.625rem;
    }

    .footer-action {
        flex: none;
        width: auto;
        min-height: 2.375rem;
        padding: 0 1.125rem;
        font-size: 0.8125rem;
    }

    .footer-heading {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        display: inline-block;
        padding: 0;
        font-size: inherit;
    }

    .footer-contact__item {
        justify-content: flex-start;
    }

    .footer-contact-block {
        align-items: flex-start;
        gap: 1.75rem;
    }

    .footer-contact a {
        white-space: nowrap;
    }

    .footer-qrcode {
        align-self: center;
    }
}

/* Social QR Code Styles */
.social-qrcode {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.social-qrcode img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 180px;
    height: auto;
}

/* ── 页面标题区（全站统一高度） ── */
.page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--page-header-height);
    box-sizing: border-box;
    padding: calc(var(--header-height) + 2.5rem) 1rem 4rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
    text-align: center;
}

.page-header .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 40rem;
    margin: 0 auto;
}

@media (max-width: 767px) {
    :root {
        --page-header-height: clamp(16rem, 55vh, 26rem);
    }

    .page-header {
        padding: calc(var(--header-height) + 2rem) 1rem 3rem;
    }
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }
}