/* Desktop Common Styles */
.container {
    width: 100%;
    max-width: 1800px;
    /* Standardize max-width */
    margin: 0 auto;
    padding: 0 40px;
    /* Consistent padding */
    box-sizing: border-box;
}

/* Ensure body has flex column for sticky footer if needed */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   Premium Components (Migrated from K12)
   ========================================= */

/* --- 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: 'Playfair Display', 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);
}

/* =========================================
   Migrated Premium Styles (from K12) - "Figure 12" Effects
   ========================================= */

/* --- Hero Section & Decorations --- */
.research-hero {
    position: relative;
    height: calc(700px * var(--hero-ratio, 1));
    min-height: calc(600px * var(--hero-ratio, 1));
    background: linear-gradient(135deg, #0a1128 0%, #1e293b 50%, #0a1128 100%);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(100px * var(--hero-ratio, 1));
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.5) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(203, 161, 116, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(203, 161, 116, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, rgba(10, 17, 40, 0.9) 0%, #0a1128 100%);
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.8;
        filter: brightness(1);
    }

    100% {
        opacity: 1;
        filter: brightness(1.1);
    }
}

.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);
    }
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    height: auto;
    line-height: 1.5;
    color: #cba174;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    /* Reduced from 30px to match English */
    background: rgba(203, 161, 116, 0.1);
    border: 1px solid rgba(203, 161, 116, 0.3);
    border-radius: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.hero-tag:hover {
    background: rgba(203, 161, 116, 0.2);
    border-color: rgba(203, 161, 116, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 179, 8, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 42px;
    /* Match Primary */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    /* Match Primary */
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-left: 20px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-tag::before,
.hero-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cba174, transparent);
    opacity: 0.6;
}

.hero-tag::before {
    right: 100%;
    margin-right: 20px;
}

.hero-tag::after {
    left: 100%;
    margin-left: 20px;
    transform: rotate(180deg);
}

.research-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    /* Reduced from 4.2rem to match English */
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 30%, #cba174 80%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(203, 161, 116, 0.3));
    font-weight: 700;
    letter-spacing: -1px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 4px 20px rgba(203, 161, 116, 0.3));
    }

    100% {
        filter: drop-shadow(0 6px 30px rgba(203, 161, 116, 0.5));
    }
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    /* Reduced from 50px to match English */
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- Section Headers --- */
.section-header h2 {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #cba174, transparent);
    border-radius: 2px;
}

.section-header p.subtitle {
    display: block;
    font-family: 'Noto Sans SC', sans-serif;
    color: #64748b;
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    text-transform: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
    /* Increased from 0/inherit to add spacing */
    font-weight: 300;
}

/* --- Academic Cards (Figure 12 - Effect 1) --- */
.academic-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    padding: 80px 0;
}

.academic-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);
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.academic-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-left: 4px solid transparent;
    /* Prepare for hover/highlight */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.academic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #cba174, #d97706);
    transition: height 0.4s ease;
}

.academic-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(to bottom, #fffbf5, #ffffff);
    box-shadow: 0 25px 50px rgba(203, 161, 116, 0.15);
    border-color: rgba(203, 161, 116, 0.3);
}

.academic-card:hover::before {
    height: 100%;
}

.academic-card.highlight {
    background: linear-gradient(135deg, #fffbf5 0%, #ffffff 100%);
    border-left: 4px solid #cba174;
    box-shadow: 0 20px 40px rgba(203, 161, 116, 0.1);
}

.academic-card.highlight .card-number {
    font-size: 5rem;
    color: rgba(203, 161, 116, 0.25);
    transform: translateY(-5px);
}

.card-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(203, 161, 116, 0.2);
    margin-bottom: 20px;
    line-height: 1;
    transition: all 0.4s ease;
}

.academic-card:hover .card-number {
    color: rgba(203, 161, 116, 0.4);
    transform: scale(1.1) translateX(10px);
}

.academic-card h3 {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.academic-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Solution Visuals (Figure 12 - Effect 2) --- */
.solution-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}



.solution-row.reverse .solution-text {
    order: 2;
    text-align: left;
    /* Ensure text stays left aligned within its container */
}

.solution-row.reverse .solution-visual {
    order: 1;
}

.solution-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(203, 161, 116, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    color: #d97706;
    border-radius: 25px;
    font-size: 0.75rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid rgba(203, 161, 116, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(203, 161, 116, 0.15);
}

.solution-tag:hover {
    background: linear-gradient(135deg, rgba(203, 161, 116, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-color: rgba(203, 161, 116, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 161, 116, 0.25);
}

.solution-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #0a1128;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
    background: linear-gradient(135deg, #0a1128 0%, #1e293b 70%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.solution-text p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.9;
    letter-spacing: 0.3px;
    opacity: 0.95;
}

.solution-visual {
    height: 320px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-visual::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    z-index: 2;
    transition: all 0.5s ease;
}

.solution-visual:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.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: 'Playfair Display', 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 Variants - Premium K12 Style */
.visual-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.visual-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%);
    position: relative;
    overflow: hidden;
}

.visual-dark::before {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(203, 161, 116, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    animation: subtleGlow 8s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.visual-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
}



.visual-warm {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.visual-memory {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
}

.visual-recovery {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.visual-family {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.visual-home {
    background: linear-gradient(135deg, #57534e 0%, #44403c 100%);
}

.visual-hotel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* --- Buttons --- */
/* Duplicate .btn-primary removed */

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(203, 161, 116, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #cba174 100%);
}

.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: 'Playfair Display', 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 (Enhanced) --- */
.section-padding {
    padding: 60px 0;
}

.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* --- Premium Button Styles --- */
.btn-primary {
    display: inline-block;
    padding: 16px 42px;
    /* Match Secondary */
    background: linear-gradient(135deg, #cba174 0%, #d97706 100%);
    color: #0a1128;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(203, 161, 116, 0.3);
    font-size: 1rem;
    /* Match Secondary */
    letter-spacing: 1px;
    border: 1px solid transparent;
    /* Match Secondary Border width */
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(203, 161, 116, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #cba174 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.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;
    }
}

/* --- Dimension & Metric Section (Consolidated) --- */
.dimension-section,
.matrix-section,
.tech-section {
    background: #f8fafc;
    padding: 80px 0;
}

.dimension-grid,
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.dimension-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.dimension-item,
.tech-item {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dimension-item:hover,
.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}



.dim-icon,
.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.dimension-item h4,
.tech-item h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.dimension-item p,
.tech-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}