/* --- START OF FILE: nylon-landing.css --- */

/* 1. 字体定义 (保留常用字重，减少体积) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''), url('/fonts/roboto-v48-latin-regular.woff2') format('woff2'), url('/fonts/roboto-v48-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''), url('/fonts/roboto-v48-latin-500.woff2') format('woff2'), url('/fonts/roboto-v48-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local(''), url('/fonts/poppins-v23-latin-600.woff2') format('woff2'), url('/fonts/poppins-v23-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''), url('/fonts/poppins-v23-latin-700.woff2') format('woff2'), url('/fonts/poppins-v23-latin-700.woff') format('woff');
}

/* 2. 全局变量与重置 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #34495e;
    --white-color: #ffffff;
    --success-color: #28a745;
    --whatsapp-color: #25d366;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; padding-top: 80px; /* 针对落地页头部高度调整 */ }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--dark-color); }
h2 { text-align: center; margin-bottom: 1rem; font-size: 2.2rem; }
.container { max-width: 1100px; margin: auto; overflow: hidden; padding: 0 20px; }
section { padding: 60px 0; }
.section-title-underline {
    width: 80px; height: 4px; background-color: var(--primary-color);
    margin: 0 auto 3rem auto; border-radius: 2px;
}

/* 3. 按钮样式 */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 28px; border: none; border-radius: 5px;
    cursor: pointer; font-size: 1rem; font-weight: 500;
    text-decoration: none; transition: all .3s ease; text-align: center;
}
.btn-primary { background-color: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background-color: #004494; }

/* 4. 落地页专属导航栏 (简化版) */
.navbar {
    display: flex; justify-content: center; align-items: center;
    padding: 1rem 0; position: fixed; width: 100%; top: 0; left: 0;
    background-color: rgba(255, 255, 255, .98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1); z-index: 1000;
}
.landing-page-header .container {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.navbar .logo img { height: 60px; width: auto; }

/* 5. Hero Section (首屏) */
.hero {
    position: relative; height: auto; min-height: 80vh; /* 落地页不需要强制100vh */
    color: var(--white-color); display: flex; justify-content: center; align-items: center;
    text-align: center; padding: 100px 0 60px 0; overflow: hidden;
}
.hero-background-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -1; background-color: var(--dark-color);
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 62, 80, .7); z-index: 0;
}
.hero-content { max-width: 800px; position: relative; z-index: 1; padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--white-color); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #f0f0f0; }

/* 6. Trust Bar / Certifications */
.certifications-section { background-color: var(--light-color); }
.certifications-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; align-items: center; justify-content: center;
}
.certification-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.certification-item img { height: 60px; width: auto; margin-bottom: 10px; object-fit: contain; }
.certification-name { font-size: 0.9rem; font-weight: 500; color: var(--text-color); }

/* 7. Logo Carousel (轮播) */
.logo-carousel-container { overflow: hidden; position: relative; width: 100%; padding: 20px 0; }
.logo-carousel-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.logo-carousel-container:hover .logo-carousel-track { animation-play-state: paused; }
.partner-logo { display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.partner-logo img { max-height: 50px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s; }
.partner-logo:hover img { filter: grayscale(0%); opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 8. Applications Section (复用 Commitment Card 样式) */
.commitment-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 2rem;
}
.commitment-card {
    background: var(--white-color); padding: 0 0 30px 0; /* 调整padding适应大图 */
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    overflow: hidden; /* 确保图片圆角 */
}
/* 专门为落地页应用图片设置的样式 */
#applications .commitment-card img {
    width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px;
}
.commitment-card h3 { font-size: 1.25rem; margin-bottom: 10px; padding: 0 20px; }
.commitment-card p { font-size: 0.95rem; color: var(--text-color); padding: 0 20px; }

/* 9. Why Choose Us (Feature Grid) */
#why-choose-us { background-color: var(--light-color); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 2rem; }
.feature-card {
    background: var(--white-color); border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    text-align: center; padding: 30px 20px; transition: transform .3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card svg { width: 50px; height: 50px; color: var(--primary-color); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }

/* 10. FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 2rem auto 0; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-question {
    width: 100%; padding: 20px 25px; background: var(--white-color); border: none;
    text-align: left; font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 500;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-question:hover { background-color: var(--light-color); }
.faq-icon { width: 16px; height: 16px; transition: transform 0.3s; }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; }
.faq-answer p { padding: 0 25px 20px; margin: 0; }

/* 11. Contact Form Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info p { margin-bottom: 1rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px;
    font-size: 1rem; font-family: 'Roboto', sans-serif; margin-bottom: 15px;
}
.contact-form textarea { height: 120px; resize: vertical; }
.form-status { margin-top: 15px; text-align: center; font-weight: 500; }

/* 12. Footer & WhatsApp */
footer { background: var(--dark-color); color: #ccc; text-align: center; padding: 2rem 0; }
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 80px; /* 移动端防遮挡 */
    right: 30px; background-color: var(--whatsapp-color); color: var(--white-color);
    border-radius: 50px; display: flex; justify-content: center; align-items: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .25); z-index: 100;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* 13. Responsive (移动端适配) */
@media (max-width: 992px) {
    .feature-grid, .certifications-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h2 { font-size: 1.8rem; }
    .navbar .logo img { height: 45px; }
    .hero { 
        padding: 100px 0 40px 0; /* 原来是 120px 0 60px 0 */
        min-height: auto; 
    }
    .hero h1 { 
        font-size: 1.8rem; /* 原来是 2rem */
        line-height: 1.3;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero .btn {
        width: 80%; 
        padding: 15px; /* 增加手指点击区域 */
    }
    .commitment-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .certifications-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .logo-carousel-container::before, .logo-carousel-container::after { width: 50px; }
    .whatsapp-float { width: 50px; height: 50px; right: 20px; bottom: 40px; }
}

/* 让中间的文字看起来专业、整洁 */
.header-usps {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.check-icon {
    color: var(--success-color); /* 绿色对勾，增加心理暗示 */
    font-weight: bold;
}

/* 移动端隐藏中间文字，防止拥挤 */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    .header-usps {
        display: none; /* 如果手机屏幕太小，建议直接隐藏中间这块，只留Logo和按钮 */
    }
}

/* 默认隐藏（电脑端不显示） */
.mobile-sticky-bar { display: none; }

@media (max-width: 768px) {
    /* 隐藏原本的悬浮球 */
    .whatsapp-float { display: none !important; }

    /* 底部固定栏样式 */
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .sticky-btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-weight: 600;
        color: white;
        gap: 8px;
        font-size: 1rem;
    }
    .email-btn { background-color: var(--dark-color); }
    .whatsapp-btn { background-color: var(--whatsapp-color); }
    
    /* 防止底部内容被遮挡，给body加点padding */
    body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
    .contact-form input, 
    .contact-form textarea {
        font-size: 16px !important; /* 关键：防止iOS自动缩放 */
    }
}

.mobile-scroll-hint { display: none; }
@media (max-width: 768px) {
    .mobile-scroll-hint {
        display: block;
        text-align: center;
        color: #888;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }
}