/* ============ CNCD SHARED DESIGN SYSTEM ============ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700;900&family=Caveat:wght@400;500;600;700&display=swap');

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

:root {
    --mint: #6EDAAB;
    --mint-light: #E8F8F0;
    --mint-dark: #4BC48E;
    --ocean: #4A90D9;
    --ocean-light: #EBF3FC;
    --dark: #1A1A2E;
    --dark-soft: #2D2D44;
    --text: #1A1A2E;
    --text-light: rgba(26, 26, 46, 0.65);
    --bg: #FFFFFF;
    --bg-warm: #FAFCFB;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.display-text { font-family: 'Crimson Text', serif; }
.handwritten { font-family: 'Caveat', cursive; }

/* ============ NAVIGATION ============ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--mint);
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
}

.logo-img {
    width: 70px;
    height: 42px;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

nav ul a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul a:hover { color: var(--mint-dark); }
nav ul a:hover::after { width: 100%; }

nav ul a.active { color: var(--mint); }
nav ul a.active::after { width: 100%; }

.nav-cta {
    background: var(--mint);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--mint-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 218, 171, 0.35);
}

/* ============ FOOTER ============ */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--ocean), var(--mint));
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-brand .logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--mint);
    margin-bottom: 0.3rem;
}

.footer-desc {
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 28rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-section h4 {
    color: var(--mint);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--mint); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html { scroll-behavior: smooth; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none; /* 手机上隐藏CTA按钮 */
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(26, 26, 46, 0.1);
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem;
        font-size: 1.1rem;
    }
}
