/* ===== CSS Reset & Variables ===== */
:root {
    --primary: #E8395B;
    --primary-dark: #C62A48;
    --primary-light: #FFF0F3;
    --secondary: #2D3436;
    --accent: #FF6B6B;
    --text: #2D3436;
    --text-light: #636E72;
    --bg: #FFFFFF;
    --bg-gray: #F8F9FA;
    --bg-dark: #1A1A2E;
    --border: #E9ECEF;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: var(--bg);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0;
}
.nav-logo img {
    height: 45px;
    width: auto;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}
.nav-sister-link {
    font-size: 13px !important;
    padding: 6px 16px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 20px;
    font-weight: 600;
}
.nav-sister-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: var(--transition);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 60px 24px 30px;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer p, .footer a {
    font-size: 14px;
    line-height: 2;
    color: #999;
}
.footer a:hover { color: var(--primary); }
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}
.footer-brand .sister-company {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}
.footer-brand .sister-company a {
    color: #8b9cff;
    font-weight: 600;
}
.footer-brand .sister-company a:hover {
    color: #667eea;
}
.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    color: #666;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 4px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #999;
}
.footer-contact-item .icon { color: var(--primary); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .footer-inner { grid-template-columns: 1fr; }
}
