/* ==========================================================================
   首页专属样式 - 精致大气简洁版
   ========================================================================== */

/* 全局样式优化 */
.homepage {
    background: white;
}

/* 英雄区 - 精简大气 + 气泡装饰 */
.hero-section {
    background: #00247D url('../images/bn1.jpg') center center / cover no-repeat;
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

/* 添加半透明遮罩层，确保文字清晰可读 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 36, 125, 0.4);
    z-index: 1;
}

/* 装饰气泡 - 右上（使用after） */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px #000000;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.75;
    margin-bottom: 30px;
    opacity: 0.92;
    font-weight: bold;
    text-align: left;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px #000000;
}

.hero-note {
    font-size: 1.15rem;
    margin-bottom: 50px;
    opacity: 0.85;
    font-weight: bold;
    text-align: left;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px #000000;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* 按钮样式 - 现代化 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 16px;
}

.btn-primary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn-outline {
    background: #C8102E;
    color: white;
}

.btn-outline:hover {

    background: #A00D26;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}

.btn-secondary {
    background: #C8102E;
    color: white;
}

.btn-secondary:hover {
    background: #A00D26;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
}

/* 装饰小气泡 */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-content::before {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-content::after {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 8%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, rgba(200, 16, 46, 0) 70%);
}

/* 合作代码框 */
.partner-code-box {
    /* background: rgba(255, 255, 255, 0.08); */
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* backdrop-filter: blur(10px); */
    height: 124px;
}

.partner-code-box svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.9;
}

.partner-code-box strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
}

.partner-code-box p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
}

/* 特性区 - 极简风格 */
.features-section {
    padding: 100px 0;
    background: #FAFBFC;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 48px 0px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #00247D;
    box-shadow: 0 12px 40px rgba(0, 36, 125, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: #00247D;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: #1A1A1A;
    font-weight: 600;
    line-height: 1.4;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* 流程区 - 简洁现代 */
.process-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 24px;
    color: #1A1A1A;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    text-align: center;
    max-width: 160px;
    flex: 1;
    min-width: 140px;
}

.step-number {
    width: 52px;
    height: 52px;
    background: #00247D;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-content h4 {
    font-size: 14px;
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.process-arrow {
    font-size: 24px;
    color: #D0D5DD;
    font-weight: 400;
    margin-top: 16px;
}

/* 内容区 */
.content-section {
    padding: 100px 0;
}

.content-section.bg-light {
    background: #FAFBFC;
}

.content-section.bg-gradient {
    background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 64px;
    line-height: 1.75;
    font-weight: 400;
}

/* 步骤列表 */
.steps-list {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {

    border-radius: 8px;
    padding: 32px 0px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: #00247D;
    box-shadow: 0 8px 24px rgba(0, 36, 125, 0.06);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.step-badge {
    background: #00247D;
    color: white;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.step-item h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1A1A1A;
    font-weight: 600;
}

.step-item p {
    color: #666;
    line-height: 1.75;
    margin: 0;
    font-size: 15px;
}

.option-list {
    list-style: none;
    padding: 16px 0 0 0;
    margin: 0;
}

.option-list li {
    padding: 16px 20px;
    background: #FAFBFC;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* 提示框 */
.important-note {
    background: #FFF9E6;
    border: 1px solid #FFE5A3;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 48px;
}

.important-note svg {
    flex-shrink: 0;
    color: #F59E0B;
    margin-top: 1px;
}

.important-note strong {
    color: #92400E;
    font-weight: 600;
}

.important-note div {
    color: #92400E;
    font-size: 14px;
    line-height: 1.6;
}

/* 信息卡片网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: white;

    border-radius: 8px;
    padding: 32px 0px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #00247D;
    box-shadow: 0 8px 24px rgba(0, 36, 125, 0.06);
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #1A1A1A;
    font-weight: 600;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00247D;
    font-weight: 700;
    font-size: 14px;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* CTA 框 */
.cta-box {
    text-align: center;
    padding: 48px;
    background: white;

    border-radius: 8px;
    margin-top: 48px;
}

.cta-box h3 {
    font-size: 1.65rem;
    margin-bottom: 14px;
    color: #1A1A1A;
    font-weight: 600;
}

.cta-box p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* 合作伙伴区 */
.partner-benefits {
    margin: 64px 0;
}

.partner-benefits h3 {
    text-align: center;
    font-size: 1.65rem;
    margin-bottom: 40px;
    color: #1A1A1A;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 24px 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #E8EBED;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #333;
}

.benefit-item:hover {
    border-color: #00247D;
    box-shadow: 0 6px 20px rgba(0, 36, 125, 0.06);
}

.benefit-item svg {
    color: #00247D;
    flex-shrink: 0;
}

/* 支持网格 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.support-card {
    background: white;

    border-radius: 8px;
    padding: 36px 0px;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: #00247D;
    box-shadow: 0 8px 24px rgba(0, 36, 125, 0.06);
}

.support-card h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: #1A1A1A;
    font-weight: 600;
}

.support-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* 联系方式 */
.contact-methods {
    text-align: center;
    padding: 48px;
    background: white;
    border: 1px solid #E8EBED;
    border-radius: 8px;
    margin-top: 48px;
}

.contact-methods h3 {
    font-size: 1.65rem;
    margin-bottom: 20px;
    color: #1A1A1A;
    font-weight: 600;
}

.methods-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 36px 0 24px;
    flex-wrap: wrap;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #00247D;
    transition: all 0.2s ease;
    cursor: pointer;
}

.method-item:hover {
    color: #C8102E;
    transform: translateY(-2px);
}

.method-item svg {
    width: 36px;
    height: 36px;
}

.method-item span {
    font-weight: 600;
    font-size: 14px;
}

.methods-note {
    color: #999;
    font-size: 14px;
    margin-top: 16px;
}

/* 联系框 */
.contact-box {
    text-align: center;
    padding: 48px;
    background: white;
    border: 1px solid #E8EBED;
    border-radius: 8px;
    margin-bottom: 24px;
}

.contact-box h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: #1A1A1A;
    font-weight: 600;
}

.contact-box p {
    font-size: 1.05rem;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.contact-box .note {
    font-size: 14px;
    color: #999;
}

/* 联系方式网格 */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-method-card {

    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    border-color: #00247D;
    box-shadow: 0 8px 24px rgba(0, 36, 125, 0.08);
    transform: translateY(-4px);
}

.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.contact-icon.email {
    background: linear-gradient(135deg, #00247D 0%, #4A69BD 100%);
    color: white;
}

.contact-icon.wechat {
    color: white;
}

.contact-method-card:hover .contact-icon {
    transform: scale(1.05);
}

.contact-method-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #1A1A1A;
    font-weight: 600;
}

.contact-value {
    font-size: 1.15rem;
    color: #00247D;
    font-weight: 700;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.contact-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 40px;
}

.btn-outline-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #00247D;
    color: #00247D;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-small:hover {
    background: #00247D;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-small svg {
    width: 16px;
    height: 16px;
}

/* 联系提示框 */
.contact-note-box {
    background: #FFF9E6;
    border: 1px solid #FFE5A3;
    border-radius: 8px;
    padding: 24px 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-note-box svg {
    flex-shrink: 0;
    color: #F59E0B;
    margin-top: 2px;
}

.contact-note-box h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #92400E;
    font-weight: 600;
}

.contact-note-box p {
    color: #92400E;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* 工作时间 */
.business-hours {
    text-align: center;
    padding: 32px;
    background: white;
    border: 1px solid #E8EBED;
    border-radius: 8px;
}

.business-hours h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #1A1A1A;
    font-weight: 600;
}

.business-hours p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.business-hours strong {
    color: #00247D;
    font-weight: 600;
}

.contact-info-box {
    background: #FAFBFC;
    border: 1px solid #E8EBED;
    border-radius: 8px;
    padding: 28px 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-info-box svg {
    flex-shrink: 0;
    color: #00247D;
    margin-top: 2px;
}

.contact-info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1A1A1A;
    font-weight: 600;
}

.contact-info-box p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* 最终 CTA */
.final-cta-section {
    padding: 80px 0;
    background: white;
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color:#00247D;
    font-weight: 600;
}

.final-cta-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 14px;
    opacity: 0.92;
    line-height: 1.7;
    color:#666;
}

.final-cta-section .small-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 24px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .features-grid,
    .info-grid,
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   首页产品展示区域 - 参考 v0 设计
   ========================================================================== */

.products-showcase {
    margin: 60px 0 40px;
}

.products-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.5px;
}

.products-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 20px;
}

.product-card-home {
    background: white;
    border: 1px solid #E8EBED;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #00247D;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
    border-bottom: 1px solid #E8EBED;
}

.product-image-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.placeholder-img {
    opacity: 0.4;
}

.product-card-home:hover .product-image {
    transform: scale(1.08);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #00247D;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #00247D;
    margin: 4px 0;
}

.product-price del {
    font-size: 18px;
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
}

.product-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-primary {
    background: rgba(0, 36, 125, 0.1);
    color: #00247D;
}

.badge-verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.product-content .btn {
    margin-top: auto;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .products-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .products-showcase {
        margin: 40px 0 30px;
    }
    
    .products-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .products-grid-home {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        top: 185px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }
    
    .features-grid,
    .info-grid,
    .support-grid,
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .methods-list {
        flex-direction: row;
        gap: 32px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .contact-method-card {
        padding: 32px 24px;
    }
}
