/* ===================================================================
   Anke Fire Product Detail Page Styles
   Design: Clean & Professional Theme (Inspired by nbloyal.com)
=================================================================== */

/* --- 1. Global Variables & Reset --- */
:root {
    --primary-bg: #F8F9FA; /* Main light background */
    --secondary-bg: #FFFFFF; /* Card/Section background */
    --accent-blue: #007BFF; /* Primary accent color */
    --accent-blue-hover: #0056b3; /* Hover state */
    --accent-blue-light: #e7f1ff; /* Very light blue for highlights */
    --text-primary: #212529; /* Main text color */
    --text-secondary: #6c757d; /* Secondary text */
    --text-muted: #adb5bd; /* Muted text */
    --border-color: #dee2e6; /* Light borders */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max-width: 1200px;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- 2. Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.container h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-primary);
}

.container h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.container h3 {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.container h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    padding-top: 10px;
}

.container p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}


.container a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

.container a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* --- 3. Layout Components --- */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* --- 4. Inner Banner --- */
.inner-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.inner-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.inner-banner .ui.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 20px;
}

.mbx h2 {
    color: var(--secondary-bg);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.mbx h2::after {
    display: none;
}

.mbx ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mbx li {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 25px;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);
}

.mbx li:hover,
.mbx li.is_active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* --- 5. Hero Section --- */
.hero-section {
    padding: 100px 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-blue);
    color: var(--secondary-bg);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* --- 6. Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--secondary-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- 7. Description Section --- */
.description-content {
    background: var(--secondary-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
    border: 1px solid var(--border-color);
}

.description-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.description-content strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* --- 8. Specs Table --- */
.spec-table, .info-table {
    width: 100%;
    background: var(--secondary-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.spec-table thead th {
    background: var(--accent-blue);
    color: var(--secondary-bg);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.spec-table tbody tr, .info-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.spec-table tbody tr:last-child, .info-table tbody tr:last-child {
    border-bottom: none;
}

.spec-table tbody tr:hover, .info-table tbody tr:hover {
    background: var(--accent-blue-light);
}

.spec-table td, .info-table td {
    padding: 20px;
    font-size: 1.05rem;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 35%;
}

/* --- 9. Installation Steps --- */
.installation-steps {
    margin-top: 50px;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--secondary-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step-item:hover {
    border-color: var(--accent-blue);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* --- 10. Applications Grid --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.application-card {
    background: var(--secondary-bg);
    padding: 40px 15px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.application-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.application-card h3 {
    margin-bottom: 1rem;
}

.application-card p {
    color: var(--text-secondary);
}

/* --- 11. FAQ Section --- */
.faq-list {
    margin-top: 50px;
}

.faq-item {
    background: var(--secondary-bg);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--accent-blue);
}

.faq-item h4 {
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-item h4::after {
    content: '+';
    font-size: 2rem;
    color: var(--accent-blue);
    transition: var(--transition-base);
}

/* 初始状态：回答内容完全隐藏 */
.faq-item p {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* 点击后：显示回答内容 */
.faq-item.active p {
    max-height: 1000px; 
    padding: 25px 30px;
    line-height: 1.8;
}

.faq-item.active h4 {
    color: var(--accent-blue);
    background: var(--accent-blue-light);
}

.faq-item.active h4::after {
    transform: rotate(45deg);
}


/* --- 12. CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--secondary-bg);
    margin-bottom: 2rem;
}

.cta-section h2::after {
    background: var(--secondary-bg);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.cta-section .btn {
    background: var(--secondary-bg);
    color: var(--accent-blue);
}

.cta-section .btn:hover {
    background: #f8f9fa;
}

/* --- 13. Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- 14. Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .inner-banner {
        height: 300px;
    }
    
    .mbx h2 {
        font-size: 2rem;
    }
    
    .description-content {
        padding: 30px 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-table td,
    .info-table td {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .spec-table td:first-child {
        width: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

#index-body .i-product.info{
    padding-top: 45px;
}
#index-body .i-product.info ul li{
    height: 160px;
}
#index-body .i-product.infos ul li{
    height: 450px;
}
.contact-page.info .contact-1 .right{
    width: 100%;
}
.contact-page.info .contact-1:before{
    background: unset;
}
.contact-page.info .contact-1 .right .form{
    padding: 100px 100px 30px 80px;
}
.contact-page.info .contact-1 .right .form ul li.wid-100{
    text-align: center;
}