/* 1. Fonts */
@font-face {
    font-family: 'Satoshi-Custom';
    src: url('assets/font/Satoshi-BoldItalic.otf') format('opentype');
    font-weight: bold; font-style: italic; font-display: swap;
}

/* 2. Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #111; background-color: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* 3. Header (Desktop - 原封不动) */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-svg { height: 28px; }
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { font-size: 13px; font-weight: 500; text-transform: uppercase; color: #666; }

/* 4. Hero Section (Desktop) */
.hero { width: 100%; background-color: #111; }
.hero-content { display: flex; width: 100%; min-height: 80vh; flex-wrap: nowrap; }
.hero-text { flex: 1; min-width: 50%; color: #fff; padding: 80px 8%; display: flex; flex-direction: column; justify-content: center; }
.hero-text h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: 25px; letter-spacing: -2px; }
.hero-text p { font-size: 16px; opacity: 0.7; margin-bottom: 40px; }
.hero-image-area { flex: 1; min-width: 50%; height: 80vh; overflow: hidden; }
.hero-main-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.btn-white { background: #fff; color: #111; padding: 16px 35px; border-radius: 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; width: fit-content; }

/* 5. Stats & Experience (Desktop) */
.stats-bar { background-color: #fbc3bc; padding: 35px 20px; text-align: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; }
.experience { padding: 100px 0; }
.experience .container { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 40px; align-items: center; gap: 60px; flex-direction: row-reverse; }
.experience-content { flex: 1; }
.experience-content h2 { font-family: 'Satoshi-Custom', sans-serif; font-size: 3rem; font-style: italic; font-weight: bold; line-height: 1.1; margin-bottom: 25px; }
.experience-content p { font-size: 15px; color: #555; margin-bottom: 35px; }
.exp-img { width: 100%; height: 500px; object-fit: cover; border-radius: 4px; }
.btn-black { background: #111; color: #fff; padding: 16px 35px; border-radius: 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; }

/* 6. Process Section (Desktop) */
.process { background-color: #fbc3bc; padding: 80px 5%; text-align: center; }
.process h2 { font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; text-transform: uppercase; letter-spacing: -1.5px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto; }
.process-item { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.icon { height: 60px; display: flex; align-items: center; }
.svg-icon { width: 40px; height: 40px; }
.process-item p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
   7. MOBILE OPTIMIZATION (PHONE PAGE)
   ========================================================================== */
@media (max-width: 768px) {
    /* 手机端导航栏：转变为 Logo 下方的按钮条 */
    header {
        padding: 10px 15px;
        flex-direction: column; /* Logo 与 导航纵向排列 */
        gap: 12px;
    }

    nav {
        display: block; /* 开启导航显示 */
        width: 100%;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
        gap: 4px; /* 按钮间距 */
        width: 100%;
    }

    nav li {
        flex: 1; /* 每个按钮平分宽度 */
    }

    nav a {
        display: block;
        background: #f5f5f5; /* 按钮灰色背景 */
        padding: 8px 0;
        text-align: center;
        border-radius: 4px;
        font-size: 10px; /* 适配 5 个按钮不换行 */
        font-weight: 700;
        border: 1px solid #e0e0e0;
        color: #333;
    }

    nav a:active {
        background: #0070c0;
        color: #fff;
        border-color: #0070c0;
    }

    /* Hero Mobile */
    .hero-content { flex-direction: column; }
    .hero-image-area { min-width: 100%; height: 40vh; order: 1; }
    .hero-text { min-width: 100%; padding: 40px 20px; text-align: center; align-items: center; order: 2; }
    .hero-text h1 { font-size: 2.2rem; }

    /* Experience Mobile */
    .experience { padding: 60px 0; }
    .experience .container { flex-direction: column; text-align: center; padding: 0 20px; }
    .exp-img { height: auto; aspect-ratio: 3 / 4; margin-bottom: 20px; }
    .experience-content h2 { font-size: 2.4rem; }

    /* Process Mobile (垂直步骤流) */
    .process { padding: 60px 25px; background-color: #fbc3bc; }
    .process h2 { font-size: 1.8rem; margin-bottom: 40px; }
    .process-grid { display: flex; flex-direction: column; gap: 40px; align-items: center; }
    .process-item { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 280px; }
    .icon { height: 50px; }
    .svg-icon { width: 38px; height: 38px; }
    .process-item p { font-size: 13px; font-weight: 700; line-height: 1.4; white-space: normal; }

    .process-item:not(:last-child)::after {
        content: ''; width: 1px; height: 25px; background-color: rgba(17, 17, 17, 0.2); margin-top: 10px;
    }
}

/* ==========================================================================
   8. Contact Modal Styles
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #111;
}

.modal-content h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.contact-list strong {
    width: 100px;
    color: #555;
    font-weight: 700;
}

.contact-list a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-list a:hover {
    color: #0070c0;
    text-decoration: underline;
}