/* Base Styles — 全站深色主题 */
:root {
    /* 主色：低饱和蓝灰，仅作链接/标签/点缀，避免高亮「塑料蓝」 */
    --primary-color: #9eb0c2;
    --secondary-color: #3d4f5f;
    --accent-color: #9eb0c2;
    --accent-rgb: 158, 176, 194;
    --light-color: #e8eaed;
    --dark-color: #0a0e14;
    --gray-color: #94a3b8;
    --text-primary: #e8eaed;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --bg-page: #0f1419;
    --bg-section-alt: #151c28;
    --bg-elevated: #1a2332;
    --bg-card: #1c2636;
    --bg-input: #0d1218;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-input: rgba(255, 255, 255, 0.12);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #0f1419 100%);
    --box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --box-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.45);
    --transition: all 0.3s ease;
    --hero-overlay: rgba(0, 0, 0, 0.5);
    --hero-overlay-mobile: rgba(0, 0, 0, 0.55);
    --nav-height: 72px;
    --radius-card: 12px;
    --radius-sm: 8px;
}

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

html {
    color-scheme: dark;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-page);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

section:not(.hero) {
    padding: 96px 0;
    position: relative;
    scroll-margin-top: calc(var(--nav-height) + 8px);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

/* 主按钮：浅灰实心，深色底上更克制、偏编辑/品牌站质感 */
.btn-primary {
    background: linear-gradient(180deg, #f1f4f8 0%, #e6ebf2 100%);
    color: #0d1117;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #fafbfd 0%, #eef2f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.32);
}

/* 次按钮：玻璃描边，与主按钮同列时不抢色 */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.92);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.52);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Navbar — 首屏内透明，离开首屏后实底 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
}

.navbar.scrolled {
    background-color: rgba(15, 20, 25, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 44px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo img {
    filter: brightness(0) invert(1);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    transition: color 0.35s ease;
}

.navbar:not(.scrolled) .logo h1 {
    color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .logo h1 {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 16px;
        font-size: 0.94rem;
    }
}

.nav-links a {
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.82);
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a::after {
    background: var(--accent-color);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

@media (min-width: 769px) {
    .navbar:not(.scrolled) .nav-links a {
        color: rgba(255, 255, 255, 0.88);
        opacity: 1;
    }

    .navbar:not(.scrolled) .nav-links a::after {
        background: rgba(255, 255, 255, 0.85);
    }

    .navbar:not(.scrolled) .nav-links a:hover {
        color: #fff;
    }
}

/* 移动端下拉为深色底，链接浅色 */
@media (max-width: 768px) {
    .navbar:not(.scrolled) .nav-links a {
        color: rgba(255, 255, 255, 0.88);
        opacity: 1;
    }

    .navbar:not(.scrolled) .nav-links a::after {
        background: var(--accent-color);
    }

    .navbar:not(.scrolled) .nav-links a:hover {
        color: var(--accent-color);
    }
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.35s ease;
}

.navbar:not(.scrolled) .menu-toggle {
    color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .menu-toggle {
    color: var(--text-primary);
}

/* Hero — 全屏背景 + 遮罩 + 居中标题 */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 32px) 24px 100px;
    overflow: hidden;
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-color: var(--dark-color);
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 56rem;
    padding: 0 12px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0.25em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
    .hero__title {
        letter-spacing: 0.16em;
    }
}

.hero__tagline {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    opacity: 0.92;
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.hero__subtagline {
    font-size: clamp(0.88rem, 1.85vw, 1.08rem);
    font-weight: 400;
    letter-spacing: 0.14em;
    opacity: 0.85;
    line-height: 1.65;
    margin-bottom: 1.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.hero__actions .btn {
    min-width: 8.5rem;
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions .btn {
        width: 100%;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hero__scroll:hover {
    color: rgba(255, 255, 255, 0.9);
}

.hero__scroll i {
    font-size: 0.85rem;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroScrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.hero__inner .hero__title,
.hero__inner .hero__tagline,
.hero__inner .hero__subtagline,
.hero__inner .hero__actions {
    opacity: 0;
    animation: heroEnter 1s ease forwards;
}

.hero__inner .hero__tagline {
    animation-delay: 0.12s;
}

.hero__inner .hero__subtagline {
    animation-delay: 0.2s;
}

.hero__inner .hero__actions {
    animation-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
    .hero__inner .hero__title,
    .hero__inner .hero__tagline,
    .hero__inner .hero__subtagline,
    .hero__inner .hero__actions {
        animation: none;
        opacity: 1;
    }

    .hero__scroll i {
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero__overlay {
        background: var(--hero-overlay-mobile);
    }
}

/* 产品：茉哩 */
.product-moli {
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.product-moli__layout {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.product-moli__visual {
    flex: 1 1 380px;
    min-width: 0;
}

.product-moli__mockup {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-rgb), 0.12);
    background: var(--bg-card);
}

.product-moli__mockup img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.product-moli__content {
    flex: 1 1 320px;
    min-width: 0;
}

.product-moli__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.product-moli__title {
    margin-bottom: 12px;
}

.product-moli__title img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: clamp(2.85rem, 7.25vw, 4.25rem);
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-left: -0.5rem;
}

.product-moli__lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 22px;
}

.product-moli__features {
    margin-bottom: 26px;
}

.product-moli__features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.product-moli__features i {
    color: var(--accent-color);
    margin-top: 0.2em;
    flex-shrink: 0;
}

.product-moli__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Solutions Section */
.solutions {
    background-color: var(--bg-page);
}

.solutions-intro {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.solutions-intro strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.scene-tags span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-color);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
}

.solution-details .scene-tags + h3 {
    margin-top: 0;
}

/* 智慧社区 */
.community-section {
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
}

.community-section__layout {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.community-section__visual {
    flex: 1 1 380px;
    min-width: 0;
}

.community-section__mockup {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--box-shadow);
    background: var(--bg-card);
}

.community-section__mockup img {
    display: block;
    width: 100%;
    height: auto;
}

.community-section__content {
    flex: 1 1 320px;
    min-width: 0;
}

.community-section__title {
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.community-section__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.community-section__lead strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.community-section__role {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 3px solid var(--accent-color);
}

@media (max-width: 992px) {
    .product-moli__layout,
    .community-section__layout {
        flex-direction: column;
        text-align: center;
    }

    .product-moli__features li {
        justify-content: center;
        text-align: left;
    }

    .product-moli__cta,
    .community-section__content .btn {
        justify-content: center;
    }

    .community-section__role {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 36rem;
    }

    .scene-tags {
        justify-content: center;
    }
}

/* Solution Showcase Styles */
.solution-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 80px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.solution-showcase.reverse {
    flex-direction: row-reverse;
}

.solution-image {
    flex: 0 0 500px;
    position: relative;
}

.solution-mockup {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--border-subtle);
}

.solution-screen {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.solution-details {
    flex: 1;
}

.solution-details h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.solution-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.solution-features {
    margin-bottom: 30px;
}

.solution-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.solution-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Projects Section */
.projects {
    background-color: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-subtle);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(var(--accent-rgb), 0.22);
}

/* About Section */
.about {
    background-color: var(--bg-page);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-info {
    flex: 1;
    min-width: 300px;
}

.about-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-info p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 关于我们 — 合作品牌自动横向滚动（无缝跑马灯） */
@keyframes partner-marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.partner-strip {
    margin-top: 44px;
    max-width: 100%;
}

.partner-strip__head {
    margin-bottom: 18px;
}

.partner-strip__eyebrow {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(var(--accent-rgb), 0.65);
    margin-bottom: 6px;
}

.partner-strip__title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.partner-strip__viewport {
    position: relative;
    margin: 0 -20px;
    padding: 4px 0 8px;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 48px,
        #000 calc(100% - 48px),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 48px,
        #000 calc(100% - 48px),
        transparent 100%
    );
}

.partner-strip__viewport:hover .partner-strip__list {
    animation-play-state: paused;
}

.partner-strip__list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    will-change: transform;
    animation: partner-marquee-scroll 48s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    min-height: 56px;
}

.partner-logo__img {
    display: block;
    max-height: 56px;
    width: auto;
    max-width: min(220px, 40vw);
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.partner-logo:hover .partner-logo__img {
    opacity: 1;
    filter: brightness(1.05);
}

.partner-logo__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

.partner-logo--en .partner-logo__name {
    font-size: 0.84rem;
    letter-spacing: 0.05em;
}

.partner-logo__sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
    .partner-strip__list {
        animation: none;
    }

    .partner-strip__list .partner-logo[aria-hidden="true"] {
        display: none;
    }

    .partner-strip__viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--accent-rgb), 0.35) transparent;
    }

    .partner-strip__viewport::-webkit-scrollbar {
        height: 5px;
    }

    .partner-strip__viewport::-webkit-scrollbar-thumb {
        background: rgba(var(--accent-rgb), 0.35);
        border-radius: 99px;
    }
}

@media (max-width: 480px) {
    .partner-strip__viewport {
        margin: 0 -16px;
        mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 32px,
            #000 calc(100% - 32px),
            transparent 100%
        );
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0,
            #000 32px,
            #000 calc(100% - 32px),
            transparent 100%
        );
    }

    .partner-strip__list {
        gap: 20px;
    }

    .partner-logo__name {
        font-size: 0.82rem;
    }
}

/* Contact Section */
.contact {
    background-color: var(--bg-section-alt);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info__lead {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-primary);
}

.contact-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
}

.contact-row__icon {
    display: flex;
    justify-content: center;
    padding-top: 0.22em;
    line-height: 1;
}

.contact-row__icon i {
    font-size: 1.05rem;
    color: var(--accent-color);
}

.contact-row--wechat .contact-row__icon i {
    font-size: 1.15rem;
    color: #07c160;
}

.contact-row__text {
    margin: 0;
    min-width: 0;
    word-break: break-word;
}

a.contact-row__text.email {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

a.contact-row__text.email:hover {
    text-decoration: underline;
}

.contact-row--wechat .contact-row__text {
    color: #07c160;
    font-weight: 500;
}

.email {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    color: var(--accent-color);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.social-links a:hover {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.35);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group-label {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-mailto-targets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-form .form-radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(var(--accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #070a0f;
    color: var(--text-primary);
    padding: 70px 0 20px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
}

.footer-link-group h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-link-group a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-link-group a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    color: rgba(148, 163, 184, 0.65);
    font-size: 0.9rem;
}

.footer-bottom .footer-icp {
    margin-top: 10px;
}

.footer-bottom .footer-icp a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom .footer-icp a:hover {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .solution-showcase,
    .solution-showcase.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-features li {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .navbar.scrolled .nav-links a {
        color: rgba(255, 255, 255, 0.88);
    }

    .navbar.scrolled .nav-links a:hover {
        color: var(--accent-color);
    }

    .navbar.scrolled .nav-links a::after {
        background: var(--accent-color);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .solution-details h3 {
        font-size: 1.8rem;
    }
}

/* 法律文档页（privacy.html、terms.html） */
.legal-doc {
    padding: calc(var(--nav-height) + 48px) 0 96px;
}

.legal-doc .container {
    max-width: 720px;
}

.legal-doc h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.legal-doc .legal-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-doc h2 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 32px 0 12px;
    font-weight: 600;
}

.legal-doc p,
.legal-doc li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.legal-doc ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 12px 0 16px;
}

.legal-doc a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-doc a:hover {
    color: var(--light-color);
}
