﻿/* =========================================
   Desktop Styles (≥1200px) - Premium Edition
   File: css/desktop/research/k12.css
   ========================================= */

/* --- Hero Section - Styles Migrated to common.css --- */
/* --- Section Headers - Styles Migrated to common.css --- */
/* --- Academic Section - Styles Migrated to common.css --- */
/* --- Solution Section - Styles Migrated to common.css --- */
.solution-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cba174;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    position: relative;
    padding: 8px 20px;
    border: 1px solid rgba(203, 161, 116, 0.3);
    border-radius: 25px;
    background: rgba(203, 161, 116, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.solution-tag:hover {
    background: rgba(203, 161, 116, 0.15);
    border-color: rgba(203, 161, 116, 0.5);
    transform: scale(1.05);
}

.solution-text h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: #0a1128;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.solution-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.solution-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Remove standalone visual styles since they are now part of the card */
.solution-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}



/* Elegant Inset Border Design */
.solution-visual::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
}

.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);
    z-index: 3;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 1;
    transform: translateY(0);
}

/* 视觉占位背景 - 高级渐变 */
.visual-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.visual-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
}

.visual-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%);
}

/* --- Cooperation Section - Premium Design --- */
.new-coop-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%) !important;
    position: relative;
    padding: 60px 0;
    z-index: 10;
    overflow: hidden;
}

.new-coop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 116, 0.3), transparent);
}

.new-coop-container {
    background: transparent !important;
}

.new-coop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 80px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    z-index: 2;
}

.new-coop-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cba174, #d97706);
    border-radius: 24px 24px 0 0;
}

.new-coop-content h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.4rem;
    margin-bottom: 35px;
    color: #0f172a;
    letter-spacing: -0.5px;
    position: relative;
}

.new-coop-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #cba174, transparent);
    border-radius: 2px;
}

.new-coop-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 55px;
    letter-spacing: 0.5px;
}

.new-coop-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* --- Ecosystem Section - Premium Cards --- */
.ecosystem-section {
    background: #ffffff;
    color: #475569;
    position: relative;
    padding: 60px 0;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 116, 0.2), transparent);
}

.ecosystem-section .grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    border: none;
}

.ecosystem-section .grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    border: none;
}

.eco-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    height: auto;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.eco-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 116, 0.05), transparent);
    transition: left 0.6s;
}

.eco-card:hover::after {
    left: 100%;
}

.eco-card:hover {
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: #cba174;
}

.training-bg,
.conference-bg,
.hhha-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.eco-card::before {
    content: '';
    display: block;
    width: 70px;
    height: 70px;
    margin-bottom: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transition: transform 0.4s ease;
}

.eco-card:hover::before {
    transform: scale(1.1) rotate(5deg);
}

.training-bg::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='1.5'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
}

.conference-bg::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='1.5'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.hhha-bg::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='1.5'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}

.eco-tag {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    color: #cba174;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
    font-weight: 700;
}

.eco-card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
    font-family: 'Noto Serif SC', serif;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.eco-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 35px;
    max-width: 340px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.btn-text {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.95rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(15, 23, 42, 0.2);
    padding-bottom: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.eco-card:hover .btn-text {
    border-bottom-color: #cba174;
    color: #d97706;
    padding-bottom: 8px;
}

/* --- Common Utilities --- */
.section-padding {
    padding: 60px 0;
}

.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* --- Smooth Scroll Behavior --- */
html {
    scroll-behavior: smooth;
}

/* --- Premium Button Styles --- */
.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Loading Animation --- */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* --- 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;
}