﻿/* =========================================
   Desktop Styles (≥1200px) - Corporate Premium
   File: css/desktop/research/office.css
   ========================================= */

/* --- Hero Section - Styles Migrated to common.css --- */
/* --- Academic Section - Styles Migrated to common.css --- */
/* --- Solution Section - Styles Migrated to common.css --- */

.research-hero {
    position: relative;
    height: calc(600px * var(--hero-ratio, 1));
    min-height: calc(500px * var(--hero-ratio, 1));
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #172554 100%);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(80px * var(--hero-ratio, 1));
    box-sizing: border-box;
    margin-bottom: 0;
}

/* Abstract Tech Lines Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tag */
.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    color: #60a5fa;
    /* Light Blue for Tech/Corporate */
    font-family: 'Noto Serif SC', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 30px;
    position: relative;
    backdrop-filter: blur(10px);
}

.research-hero h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 30%, #93c5fd 80%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    filter: drop-shadow(0 4px 20px rgba(30, 58, 138, 0.4));
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    font-family: 'Noto Sans SC', sans-serif;
}

.hero-cta {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-header h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.4rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
}

.section-header p.subtitle {
    font-family: 'Noto Sans SC', sans-serif;
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 30px;
    font-weight: 300;
}

/* --- Academic & Use Cases Grid --- */
.academic-section,
.use-cases-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 80px 0;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.academic-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s ease;
    text-align: left;
    height: 100%;
    position: relative;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.08);
    /* Blue shadow */
    border-color: rgba(59, 130, 246, 0.3);
}

.academic-card.highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.5rem;
    color: #e2e8f0;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.academic-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 600;
}

.academic-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

/* --- Solution Section (Ecosystem) --- */
.solution-section {
    background: #f1f5f9;
    padding: 100px 0;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 24px;
    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: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    background: rgba(59, 130, 246, 0.08);
}

.solution-text h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: #0a1128;
    margin-bottom: 25px;
}

.solution-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
}

/* Visual Backgrounds - Corporate Tones */
.visual-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
}

.visual-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.visual-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%);
}

.visual-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}


/* --- ROI / Coop Section --- */
.roi-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.new-coop-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 60px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.new-coop-content h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.4rem;
    margin-bottom: 35px;
}

.roi-points p {
    font-size: 1.1rem;
    line-height: 2;
    color: #475569;
    margin-bottom: 10px;
}

.new-coop-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    gap: 30px;
    margin-top: 40px;
}

/* --- 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;
}