/* ===== CSS 变量 ===== */
:root {
    --brand-blue: #0060FF;
    --brand-blue-dark: #004acc;
    --brand-green: #6ABF69;
    --bg-light: #F8F9FC;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-mid: #4A4A5E;
    --text-light: #8A8A9E;
    --shadow-sm: 0 4px 20px rgba(0, 30, 80, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 30, 80, 0.12);
    --radius-card: 20px;
    --radius-btn: 40px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-serif: 'Noto Serif SC', '华文行楷', 'STXingkai', 'KaiTi', serif;
    --max-width: 1200px;
}

/* ===== 基础重置 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background: #ffffff;
    color: #1a2b3f;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== 滚动淡入动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    text-decoration: none;
}
.navbar .logo span {
    color: var(--brand-blue);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 1px;
    transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-blue);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 汉堡菜单（移动端） */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 110;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    .navbar .logo {
        font-size: 17px;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.08);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        font-size: 18px;
    }
}

/* ===== Hero 全屏容器 ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(175deg,
            #b5d4f7 0%,
            #d6e8fa 30%,
            #e9f1fb 55%,
            #f0f6fc 70%,
            #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 40% 20% at 15% 22%, rgba(255, 255, 255, 0.7) 0%, transparent 70%),
        radial-gradient(ellipse 35% 18% at 65% 16%, rgba(255, 255, 255, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 30% 15% at 80% 28%, rgba(255, 255, 255, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 45% 20% at 40% 32%, rgba(255, 255, 255, 0.4) 0%, transparent 70%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 22%;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(180, 210, 240, 0.4) 20%,
            rgba(180, 210, 240, 0.5) 50%,
            rgba(180, 210, 240, 0.4) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem 2.5rem;
    text-align: center;
    animation: heroIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2.8rem, 9vw, 6.5rem);
    color: #1a2b3f;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-shadow:
        0 0 1px rgba(26, 43, 63, 0.08),
        0 2px 20px rgba(255, 255, 255, 0.25);
    margin-bottom: 0.25rem;
    user-select: none;
}

.main-title .line-break {
    display: block;
}

.sub-motto {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: #5a7a9a;
    margin-top: 1.2rem;
    text-transform: uppercase;
    animation: fadeIn 2s 1s ease forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    animation: fadeIn 2s 1.5s ease forwards;
    opacity: 0;
    text-decoration: none;
}

.scroll-indicator .arrow {
    width: 1.6rem;
    height: 1.6rem;
    border: 1.5px solid rgba(44, 62, 80, 0.35);
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    animation: arrowBounce 2.2s ease-in-out infinite;
    transition: border-color 0.3s;
}

.scroll-indicator .label {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: rgba(44, 62, 80, 0.4);
    text-transform: uppercase;
}

.geo-watermark {
    position: absolute;
    bottom: 3.2rem;
    right: 2.8rem;
    z-index: 20;
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 0.65rem;
    color: rgba(44, 62, 80, 0.2);
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    user-select: none;
    animation: fadeIn 2.5s 2s ease forwards;
    opacity: 0;
}

/* ===== 通用区块 ===== */
.section {
    padding: 100px 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.section-header p {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== 价值观 ===== */
.values {
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px 40px;
    background: var(--bg-light);
    border-radius: var(--radius-card);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.value-card .value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(0, 96, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.value-card:hover .value-icon {
    background: rgba(0, 96, 255, 0.12);
}

.value-card .value-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--brand-blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.value-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .value-card {
        padding: 36px 24px 32px;
    }
}

/* ===== 产品展示 ===== */
.products {
    background: var(--bg-light);
}

.product-showcase {
    display: flex;
    align-items: center;
    gap: 64px;
}

.product-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product-visual svg {
    width: 100%;
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 60, 120, 0.08));
}

.product-info {
    flex: 1;
}

.product-info .badge {
    display: inline-block;
    background: rgba(0, 96, 255, 0.08);
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.product-info h2 {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-info h2 .highlight {
    color: var(--brand-blue);
}

.product-info .desc {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.product-features-list li .check {
    width: 24px;
    height: 24px;
    background: rgba(106, 191, 105, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-features-list li .check svg {
    width: 14px;
    height: 14px;
    stroke: var(--brand-green);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-primary {
    display: inline-block;
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(0, 96, 255, 0.25);
}
.btn-primary:hover {
    background: var(--brand-blue-dark);
    box-shadow: 0 8px 28px rgba(0, 96, 255, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #D0D5DD;
    padding: 16px 40px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-outline:hover {
    border-color: var(--brand-blue);
    background: rgba(0, 96, 255, 0.04);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .product-showcase {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .product-features-list {
        align-items: center;
    }
    .btn-group {
        justify-content: center;
    }
    .product-info h2 {
        font-size: 32px;
    }
    .product-visual svg {
        max-width: 260px;
    }
}

/* ===== 关于我们 ===== */
.about {
    background: var(--bg-white);
}

.about-inner {
    display: flex;
    gap: 64px;
    align-items: center;
}

.about-text {
    flex: 1;
}
.about-text h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-text .highlight-text {
    color: var(--brand-blue);
    font-weight: 500;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.location-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 360px;
}

.location-card .loc-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 96, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.location-card .loc-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--brand-blue);
    fill: none;
    stroke-width: 2;
}

.location-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.location-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (max-width: 820px) {
    .about-inner {
        flex-direction: column;
        gap: 40px;
    }
    .about-text {
        text-align: center;
    }
    .about-text h3 {
        font-size: 24px;
    }
    .location-card {
        max-width: 100%;
    }
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    text-align: center;
}

.cta h2 {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.cta p {
    color: var(--text-mid);
    font-size: 18px;
    margin-bottom: 40px;
}
.cta .cta-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-light);
}

/* ===== 页脚 ===== */
.footer {
    border-top: 1px solid #EEF2F6;
    padding: 48px 40px 32px;
    background: var(--bg-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.footer-brand .logo-text span {
    color: var(--brand-blue);
}
.footer-brand p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul a {
    font-size: 13px;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #EEF2F6;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-light);
}
.footer-bottom .right {
    display: flex;
    gap: 24px;
}
.footer-bottom .right a {
    color: var(--text-mid);
    text-decoration: none;
}
.footer-bottom .right a:hover {
    color: var(--brand-blue);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .right {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 动画关键帧 ===== */
@keyframes heroIn {
    0% { opacity: 0; transform: scale(0.96); filter: blur(6px); }
    60% { filter: blur(0px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes arrowBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .main-title {
        font-size: clamp(2.4rem, 10vw, 5rem);
    }
    .geo-watermark {
        bottom: 2.4rem;
        right: 2rem;
        font-size: 0.55rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100dvh;
    }
    .main-title {
        font-size: clamp(2rem, 12vw, 3.6rem);
        letter-spacing: 0.04em;
    }
    .sub-motto {
        font-size: 0.55rem;
        letter-spacing: 0.3em;
        margin-top: 0.8rem;
    }
    .geo-watermark {
        display: none;
    }
    .hero-content {
        padding: 1.5rem 1.5rem;
    }
    .scroll-indicator {
        bottom: 2.4rem;
    }
    .section {
        padding: 60px 0;
    }
    .container {
        padding: 0 24px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .footer {
        padding: 36px 20px 24px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(1.8rem, 14vw, 2.8rem);
        letter-spacing: 0.02em;
    }
    .sub-motto {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
        margin-top: 0.6rem;
    }
    .hero-content {
        padding: 1rem 1.2rem;
    }
    .scroll-indicator {
        bottom: 1.6rem;
    }
}

@media (min-width: 1600px) {
    .main-title {
        font-size: 7rem;
        letter-spacing: 0.12em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .sub-motto,
    .scroll-indicator,
    .geo-watermark {
        animation: none !important;
        opacity: 1 !important;
    }
    .scroll-indicator .arrow {
        animation: none !important;
    }
    .hero-content {
        transform: none !important;
        filter: none !important;
    }
}