﻿/* =========================================
   Desktop Styles (≥1200px) - Home Premium
   File: css/desktop/research/home.css
   ========================================= */

/* --- Hero Section - Styles Migrated to common.css --- */

/* --- Section Headers --- */
/* Section header styles removed to inherit from common.css */


.dim-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.dimension-item h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.2rem;
    color: #44403c;
    margin-bottom: 15px;
}

.dimension-item p {
    color: #78716c;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* --- Solution Section (Ecosystem) --- */
.solution-section {
    background: #ffffff;
    padding: 100px 0;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 24px;
    /* Soft home curve */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.solution-text {
    padding: 60px 50px;
}

.solution-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.solution-row.reverse .solution-text {
    order: 2;
}

.solution-row.reverse .solution-visual {
    order: 1;
}

.solution-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #a16207;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(161, 98, 7, 0.3);
    border-radius: 25px;
    background: rgba(161, 98, 7, 0.06);
}

.solution-text h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: #44403c;
    margin-bottom: 25px;
}

.solution-text p {
    font-size: 1rem;
    color: #57534e;
    line-height: 1.8;
}

/* Visual Backgrounds - Home Comfort */
.visual-home {
    background: linear-gradient(135deg, #e7e5e4 0%, #d6d3d1 100%);
}

.visual-hotel {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.visual-iot {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* .visual-content styles removed to inherit from common.css */

/* --- Coop / Tips Section --- */
.new-coop-section {
    padding: 80px 0;
}

.new-coop-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 60px;
    border-radius: 24px;
}

.new-coop-content h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.4rem;
    margin-bottom: 35px;
}

.new-coop-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

/* --- Lab Section --- */
.lab-section {
    background: #fafaf9;
    padding: 80px 0;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.lab-item {
    background: white;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e7e5e4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.lab-item h4 {
    font-family: 'Noto Serif SC', serif;
    color: #57534e;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.lab-item p {
    color: #78716c;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- English Layout Overrides --- */
/* Scope to English version to avoid affecting Chinese layout which uses <br> */
html[lang="en"] .research-hero h1 {
    font-size: 3.2rem !important;
    /* Override common.css 4.2rem */
    line-height: 1.1 !important;
    /* Reduced line-height slightly */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* Reduced gap from 15px */
    margin-bottom: 25px;
    /* Reduced margin-bottom from 30px default */
}

/* Reduce surrounding margins for tighter layout */
html[lang="en"] .hero-tag {
    margin-bottom: 20px !important;
    /* Reduced from 30px */
}

html[lang="en"] .hero-desc {
    margin-bottom: 35px !important;
    /* Reduced from 50px */
}

.hero-title-main {
    display: block;
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}