/* ===== common.css - 英忆科技 官网样式 ===== */

:root {
    --primary: #1E4D8F;
    --primary-light: #2A6CB8;
    --secondary: #F5F5DC;
    --text-dark: #1F2937;
    --text-mid: #4B5563;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --bg-card: #FFFFFF;
    --border-light: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --radius: 12px;
    --max-width: 1180px;
    --font-sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; font-size: 16px; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.corp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}
.corp-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    color: white;
    font-family: Georgia, serif;
    font-weight: 800;
    font-size: 1.2rem;
}
.corp-logo img { height: 40px; }

.site-footer {
    background: #1A2634;
    color: #CBD5E1;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand .corp-logo { color: white; margin-bottom: 12px; }
.footer-brand p { max-width: 340px; opacity: 0.7; }

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    opacity: 0.7;
    transition: 0.2s;
}
.footer-col ul li a:hover { opacity: 1; color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-bottom a { text-decoration: underline; }

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
