/* ============================================================
   长春灵犀智能科技有限公司官网 — 主样式
   主色 #53C01A 来自旗下产品 FitMeal 品牌色
   ============================================================ */

:root {
    --color-brand:        #53C01A;
    --color-brand-dark:   #3FA014;
    --color-brand-soft:   #EAF7E0;
    --color-text:         #0D2E1B;
    --color-text-mid:     #3D4F46;
    --color-text-soft:    #6B7D74;
    --color-bg:           #FAFAF7;
    --color-card:         #FFFFFF;
    --color-card-soft:    #F5F5F0;
    --color-border:       #E5E8E0;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(13, 46, 27, 0.04);
    --shadow-md: 0 4px 16px rgba(13, 46, 27, 0.06);

    --max-w: 1140px;
    --nav-h: 64px;

    --font-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-cn);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* ============== Layout ============== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-title-en {
    font-size: 14px;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}
.section-sub {
    font-size: 16px;
    color: var(--color-text-soft);
    margin-bottom: 48px;
    max-width: 640px;
}

/* ============== Nav ============== */
.nav {
    height: var(--nav-h);
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 100;
}
.nav-inner {
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo-mark {
    width: 28px; height: 28px;
    background: var(--color-brand);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; font-weight: 700;
}
.nav-logo-en {
    font-size: 12px;
    color: var(--color-text-soft);
    font-weight: 500;
    margin-left: 4px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
    font-size: 15px;
    color: var(--color-text-mid);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-links a.active { color: var(--color-brand); }
.nav-links a:hover { color: var(--color-brand); }

/* ============== Hero ============== */
.hero {
    padding: 96px 0 80px;
    background: linear-gradient(180deg, #FAFAF7 0%, #F2F7EC 100%);
    position: relative;
    overflow: hidden;
}
.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    color: var(--color-brand-dark);
    background: var(--color-brand-soft);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero-title-en {
    font-size: 18px;
    color: var(--color-text-soft);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}
.hero-desc {
    font-size: 18px;
    color: var(--color-text-mid);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 40px;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-brand);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(83, 192, 26, 0.3);
}
.hero-cta:hover {
    background: var(--color-brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(83, 192, 26, 0.4);
}

/* ============== Cards ============== */
.card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}
.card-desc {
    font-size: 15px;
    color: var(--color-text-mid);
    line-height: 1.7;
}

/* ============== Product showcase ============== */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.product-showcase-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 46, 27, 0.12);
    background: var(--color-card-soft);
    aspect-ratio: 9 / 16;
    max-width: 360px;
    margin: 0 auto;
}
.product-showcase-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.product-showcase h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.product-showcase .product-tag {
    display: inline-block;
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.product-showcase p {
    font-size: 16px;
    color: var(--color-text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}
.product-showcase .product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-brand-dark);
    font-weight: 600;
    font-size: 15px;
}
.product-showcase .product-link::after { content: "→"; transition: transform 0.2s; }
.product-showcase .product-link:hover::after { transform: translateX(4px); }

/* ============== Feature grid ============== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-icon {
    width: 48px; height: 48px;
    background: var(--color-brand-soft);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

/* ============== Product gallery ============== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.gallery-item {
    background: var(--color-card-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--color-border);
}
.gallery-item img {
    border-radius: 12px;
    margin: 0 auto 16px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    max-width: 240px;
    box-shadow: 0 8px 24px rgba(13, 46, 27, 0.08);
}
.gallery-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}
.gallery-item-desc {
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.6;
}

/* ============== Info table (about) ============== */
.info-table {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 20px 28px;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}
.info-row:last-child { border-bottom: none; }
.info-row-label {
    font-size: 14px;
    color: var(--color-text-soft);
    font-weight: 500;
}
.info-row-value {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    word-break: break-all;
}
.info-row-value.mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 14px;
}

/* ============== Contact card ============== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.contact-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 32px;
    transition: all 0.2s;
}
.contact-card:hover {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md);
}
.contact-card-icon {
    width: 44px; height: 44px;
    background: var(--color-brand-soft);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.contact-card-label {
    font-size: 13px;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}
.contact-card-value {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 600;
    word-break: break-all;
}
.contact-card-value.small {
    font-size: 15px;
    line-height: 1.6;
}

/* ============== Footer ============== */
.footer {
    background: #F0F2EC;
    border-top: 1px solid var(--color-border);
    padding: 48px 0 32px;
    margin-top: 80px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}
.footer-col h4 {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col ul li {
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 2;
}
.footer-col ul li a:hover { color: var(--color-brand); }
.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}
.footer-brand-en {
    font-size: 13px;
    color: var(--color-text-soft);
    margin-bottom: 16px;
}
.footer-desc {
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.7;
    max-width: 360px;
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-soft);
}
.footer-bottom a:hover { color: var(--color-brand); }

/* ============== Responsive ============== */
@media (max-width: 768px) {
    .nav-h { height: 56px; }
    .nav-inner { padding: 0 16px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 14px; }
    .nav-logo-en { display: none; }

    .container { padding: 0 16px; }
    .section { padding: 56px 0; }

    .hero { padding: 64px 0 56px; }
    .hero-title { font-size: 32px; }
    .hero-title-en { font-size: 14px; }
    .hero-desc { font-size: 15px; }

    .section-title { font-size: 24px; }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-showcase h2 { font-size: 26px; }

    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery { grid-template-columns: 1fr; gap: 16px; }

    .info-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 20px;
    }

    .contact-grid { grid-template-columns: 1fr; gap: 16px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
