/* 🌫️ Loro Piana 大地灰色系统 */
:root {
    /* 主色彩系统 */
    --earth-dark: #3a3632;      /* 深陶土色 - 标题 */
    --earth-medium: #6b645c;    /* 中灰色 - 正文 */
    --earth-light: #a8a095;     /* 浅灰色 - 辅助 */
    --earth-lighter: #d4cfc7;   /* 极浅灰 - 边框 */
    --earth-lightest: #f5f3f0;  /* 米白灰 - 背景 */

    /* 功能色 */
    --earth-accent: #8b8175;    /* 强调色 */
    --earth-hover: #7a6f63;     /* 悬停色 */
    --earth-shadow: rgba(58, 54, 50, 0.1);

    /* 响应式断点 */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--earth-lightest);
    color: var(--earth-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 80px;
}

.name {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--earth-dark);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--earth-medium);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.navigation {
    margin-bottom: 80px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--earth-dark);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--earth-dark);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--earth-lightest);
    background-color: var(--earth-dark);
    padding: 8px 16px;
    margin: -8px -16px;
}

.nav-link:hover::before {
    opacity: 0;
}

.main-content {
    flex: 1;
    text-align: center;
}

.intro {
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--earth-medium);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    font-weight: 500;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--earth-dark);
    opacity: 0.3;
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.number {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--earth-dark);
}

.label {
    font-size: 0.9rem;
    color: var(--earth-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--earth-lighter);
}

.copyright {
    font-size: 0.9rem;
    color: var(--earth-light);
    font-weight: 300;
}

/* 📱 移动端响应式优化 */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        min-height: calc(100vh - 60px);
        max-width: 100%;
    }

    .header {
        margin-bottom: 50px;
    }

    .name {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
        margin-bottom: 15px;
    }

    .name::after {
        width: 80px;
        height: 1px;
    }

    .subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .navigation {
        margin-bottom: 50px;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        font-size: 1.6rem;
        padding: 12px 24px;
        border-radius: 6px;
        transition: all 0.2s ease;
        text-align: center;
        min-width: 200px;
    }

    /* 修复移动端文字重叠问题 - 移除伪元素 */
    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        padding: 12px 24px;
        margin: 0;
        background-color: var(--earth-dark);
        color: var(--earth-lightest);
    }

    .intro {
        margin-bottom: 40px;
    }

    .intro-text {
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 90%;
    }

    .achievements {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }

    .stat {
        gap: 8px;
    }

    .number {
        font-size: 2rem;
    }

    .label {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    .footer {
        margin-top: 50px;
        padding-top: 30px;
    }

    .copyright {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 📱 微信H5和小屏手机优化 */
@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
        min-height: calc(100vh - 50px);
    }

    .header {
        margin-bottom: 40px;
    }

    .name {
        font-size: 1.8rem;
        letter-spacing: 0.06em;
        margin-bottom: 12px;
    }

    .name::after {
        width: 60px;
        height: 1px;
    }

    .subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .navigation {
        margin-bottom: 40px;
    }

    .nav-list {
        gap: 20px;
        width: 100%;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 10px 20px;
        text-align: center;
        min-width: 180px;
    }

    /* 修复小屏手机文字重叠问题 */
    .nav-link::before {
        display: none;
    }

    .intro {
        margin-bottom: 30px;
    }

    .intro-text {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 95%;
    }

    .achievements {
        gap: 25px;
        margin-top: 40px;
    }

    .number {
        font-size: 1.8rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .footer {
        margin-top: 40px;
        padding-top: 25px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

/* 🌐 微信内置浏览器优化 */
@supports (-webkit-touch-callout: none) {
    .container {
        min-height: -webkit-fill-available;
    }

    .nav-link {
        -webkit-tap-highlight-color: transparent;
    }
}

/* 📲 高清屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .name::after {
        height: 0.5px;
        transform: translateX(-50%) scaleY(0.5);
    }

    .footer {
        border-top: 0.5px solid var(--earth-lighter);
    }
}