/* 
 * Technology Sub-pages Comprehensive Styles
 * 6个技术子页面统一排版系统 - 优化版
 */

/* ===========================================
   1. Main Content Section
   =========================================== */
.tech-detail-section {
    padding: 80px 0;
    background: #ffffff;
}

.tech-detail-section > .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================================
   2. Intro Section
   =========================================== */
.tech-intro {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.tech-intro-label {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 24px;
}

.tech-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.tech-intro-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
}

.tech-intro-text p {
    font-size: 20px;
    line-height: 1.85;
    color: #4b5563;
    margin: 0 0 24px;
}

.tech-intro-text p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   3. Media Grid (Image Gallery)
   =========================================== */
.tech-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.tech-figure {
    display: flex;
    flex-direction: column;
}

.tech-figure img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    display: block;
}

.tech-figure figcaption {
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* ===========================================
   4. Split Block (Image + Text Side by Side)
   =========================================== */
.tech-split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
}

.tech-split-block.reverse {
    direction: rtl;
}

.tech-split-block.reverse > * {
    direction: ltr;
}

.tech-split-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tech-split-text {
    padding: 0 8px;
}

.tech-mini-label {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tech-split-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    margin: 0 0 24px;
}

.tech-split-text p {
    font-size: 20px;
    line-height: 1.85;
    color: #4b5563;
    margin: 0 0 24px;
}

.tech-split-text p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   5. Formula Box
   =========================================== */
.tech-formula-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 80px;
    text-align: center;
}

.tech-formula-title {
    font-size: 13px;
    font-weight: 600;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tech-formula {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Times New Roman', Georgia, serif;
    margin-bottom: 24px;
    line-height: 1.4;
}

.tech-formula sub,
.tech-formula sup {
    font-size: 0.65em;
}

.tech-formula-note {
    max-width: 700px;
    margin: 0 auto;
}

.tech-formula-note p {
    font-size: 20px;
    line-height: 1.8;
    color: #cbd5e1;
    margin: 0 0 16px;
}

/* ===========================================
   6. Features Section
   =========================================== */
.tech-features-section {
    margin-bottom: 80px;
}

.tech-section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.tech-section-heading .tech-mini-label {
    margin-bottom: 14px;
}

.tech-section-heading h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.tech-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.tech-feature-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.tech-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    font-size: 16px;
    font-weight: 800;
    border-radius: 12px;
    margin-bottom: 20px;
}

.tech-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    line-height: 1.4;
}

.tech-feature-card p {
    font-size: 14px;
    line-height: 1.75;
    color: #6b7280;
    margin: 0;
}

/* ===========================================
   7. Summary Band
   =========================================== */
.tech-summary-band {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.tech-summary-content {
    max-width: 800px;
    margin: 0 auto;
}

.tech-summary-content .tech-mini-label {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

.tech-summary-band h3 {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    line-height: 1.65;
    margin: 0;
}

/* ===========================================
   8. Background Variants
   =========================================== */
.tech-detail-section.light-bg {
    background: #f9fafb;
}

.tech-detail-section.blue-bg {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

/* ===========================================
   9. Responsive Design
   =========================================== */
@media (max-width: 1024px) {
    .tech-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tech-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tech-detail-section > .container {
        padding: 0 24px;
    }
    
    .tech-intro {
        margin-bottom: 60px;
        padding-bottom: 32px;
    }
    
    .tech-intro-title h2 {
        font-size: 28px;
    }
    
    .tech-media-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .tech-split-block {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    
    .tech-split-block.reverse {
        direction: ltr;
    }
    
    .tech-split-text {
        padding: 0;
    }
    
    .tech-formula-box {
        padding: 36px 24px;
        margin-bottom: 60px;
    }
    
    .tech-formula {
        font-size: 26px;
    }
    
    .tech-features-section {
        margin-bottom: 60px;
    }
    
    .tech-summary-band {
        padding: 40px 32px;
    }
    
    .tech-summary-band h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .tech-detail-section {
        padding: 48px 0;
    }
    
    .tech-intro {
        margin-bottom: 48px;
    }
    
    .tech-intro-title h2 {
        font-size: 24px;
    }
    
    .tech-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-feature-card {
        padding: 24px;
    }
    
    .tech-summary-band h3 {
        font-size: 18px;
    }
}

/* ===========================================
   10. Additional Utility Classes
   =========================================== */
.tech-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2px 6px;
    border-radius: 4px;
}

.tech-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.tech-kpi-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.tech-kpi-value {
    font-size: 36px;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.tech-kpi-label {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .tech-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   11. Related Products Section
   =========================================== */
.tech-related-products {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e5e7eb;
}

.tech-related-products .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.tech-related-products .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.tech-related-products .section-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.tech-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.tech-product-item {
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.tech-product-item:hover img {
    opacity: 0.8;
}

.tech-product-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 16px;
    background: transparent;
    display: block;
}

.tech-product-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .tech-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-related-products {
        padding: 60px 0;
    }
    
    .tech-product-item img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .tech-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================
   12. Hero Title Responsive (All Subpages)
   =========================================== */
.tech-page-hero .hero-content {
    max-width: 100%;
    width: 100%;
}

.tech-page-hero .hero-content h1 {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* ===== DAS page only ===== */
.tech-equation-stack { display:flex; flex-direction:column; gap:12px; align-items:center; }
.tech-equation-stack .eq-small { font-size:24px; color:#dbeafe; }
.data-output-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin:0 0 80px; }
.data-output-item { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:20px; text-align:center; }
.data-output-item strong { display:block; color:#111827; font-size:15px; margin-bottom:8px; }
.data-output-item span { font-size:13px; line-height:1.55; color:#6b7280; }
.data-output-item:hover { border-color:#93c5fd; box-shadow:0 4px 16px rgba(59,130,246,0.08); }
@media(max-width:1024px) { .data-output-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .data-output-grid { grid-template-columns:1fr; } }
