/* 内页全新设计样式 - 现代化风格 */

/* 响应式图片样式 */
.feature-hero-image,
.feature-card-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-radius: 2rem;
}

/* 英雄区域保持不变 */
.hero-section {
    background: rgba(93, 64, 55, 0.1);
    padding: 2.5rem 0;
    margin: 1rem 0;
    border-radius: 20px;
    border: 1px solid rgba(141, 110, 99, 0.1);
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: #e9ecef;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* 全新内容区域设计 */
.content-section {
    background: linear-gradient(135deg, #3E2723 0%, #4E342E 50%, #5D4037 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

/* 功能卡片网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 110, 99, 0.15), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(78, 52, 46, 0.35);
    border-color: rgba(141, 110, 99, 0.35);
}

.feature-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Image sizing for feature icons */
.feature-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: inline-block;
}

@media (max-width: 480px) {
    .feature-icon img {
        width: 192px;
        height: 192px;
    }
}

.feature-content {
    text-align: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.feature-description {
    font-size: 1rem;
    color: #e9ecef;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #FF6F00 0%, #FFA726 100%);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 167, 38, 0.35);
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffeb3b 0%, #fdd835 100%);
    color: #1a1a1a;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(253, 216, 53, 0.35);
    position: relative;
    overflow: hidden;
}

.feature-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.feature-btn:hover::before {
    left: 100%;
}

.feature-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(253, 216, 53, 0.55);
    color: #1a1a1a;
    text-decoration: none;
}

.btn-icon {
    font-style: normal;
    transition: transform 0.3s ease;
}

.feature-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* 步骤流程设计 */
.steps-section {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.25) 0%, rgba(78, 52, 46, 0.15) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(141, 110, 99, 0.35);
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,107,107,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.steps-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(141, 110, 99, 0.35);
    background: linear-gradient(135deg, #FF6F00 0%, #FFA726 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 52, 46, 0.35);
    border-color: rgba(141, 110, 99, 0.35);
}

.step-number {
    background: linear-gradient(135deg, #FF6F00 0%, #FFA726 100%);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.35);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9rem;
    color: #e9ecef;
    opacity: 0.8;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-section {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .steps-section {
        padding: 2rem 1rem;
    }
    
    .steps-title {
        font-size: 1.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-tags {
        gap: 0.3rem;
    }
    
    .feature-tag {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .steps-section {
        padding: 1.5rem 1rem;
    }
    
    .steps-title {
        font-size: 1.6rem;
    }
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.3);
    position: relative;
    z-index: 1;
}

/* 内页网格布局 */
.inner-page-grid {
    margin-top: 2rem;
    gap: 1rem;
}

/* PC端横向显示 */
@media (min-width: 992px) {
    .inner-page-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        display: flex;
    }
    
    .inner-page-grid .content-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* 大屏幕横向显示 */
@media (min-width: 1200px) {
    .inner-page-grid {
        gap: 2rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

/* 超大屏幕横向显示 */
@media (min-width: 1400px) {
    .inner-page-grid {
        gap: 2.5rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 1.25rem);
        max-width: calc(50% - 1.25rem);
    }
}

/* 内页卡片样式 */
.content-card {
    background: #5D4037;
    border: 2px solid #5D4037;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.6s ease;
}

.content-card:hover::before {
    left: 100%;
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #BCAAA4;
    box-shadow: 0 15px 40px rgba(141, 110, 99, 0.4);
}

.content-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-text {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.content-card p {
    color: #e9ecef;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.content-card .btn {
    background-color: #FF6F00;
    color: #ffffff;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
}

.content-card .btn:hover {
    background-color: #E65100;
    transform: scale(1.05);
}

/* 特色内容区域 */
.featured-content {
    background: rgba(93, 64, 55, 0.08);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(141, 110, 99, 0.2);
    position: relative;
    overflow: hidden;
}

.featured-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #8D6E63;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.featured-content h2 {
    color: #FF6F00;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.featured-content p {
    color: #e9ecef;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* 信息列表样式 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.info-list li {
    background: rgba(255, 255, 255, 0.05);
    margin: 0.75rem 0;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(141, 110, 99, 0.2);
    color: #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #8D6E63;
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px) scale(1.02);
    border-color: rgba(141, 110, 99, 0.4);
    box-shadow: 0 5px 15px rgba(141, 110, 99, 0.2);
}

.info-list li:hover::before {
    transform: scaleY(1);
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(93, 64, 55, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(141, 110, 99, 0.1);
}

.step {
    background: #5D4037;
    border: 2px solid #8D6E63;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scale(1);
}

.step:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(141, 110, 99, 0.5);
    border-color: #BCAAA4;
}

/* 导航菜单当前页面高亮 - 已禁用 */
/* .nav-menu a[href*=".html"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.25) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    transform: translateY(-2px);
} */

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        border-radius: 15px;
        margin: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .content-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .highlight-text {
        font-size: 2rem;
    }
    
    .featured-content {
        padding: 1.5rem;
        border-radius: 15px;
        margin: 1.5rem 0;
    }
    
    .featured-content::before {
        border-radius: 17px;
    }
    
    .info-list li {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .step-indicator {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .step {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* 移动端防止图片溢出 */
    body {
        overflow-x: hidden;
    }
    
    section {
        overflow-x: hidden;
    }
    
    section img {
        max-width: 100%;
        height: auto;
    }
    
    .col-12 img,
    .col-lg-6 img {
        max-width: 100%;
        height: auto;
    }
    
    .feature-hero-image,
    .feature-card-image {
        max-width: 100%;
    }
}

/* 小屏幕额外保护 */
@media (max-width: 480px) {
    .feature-hero-image,
    .feature-card-image {
        margin: 0.75rem auto;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}