﻿/* =========================================
   Tablet Styles (768px - 1199px) - Premium Edition
   File: css/tablet/research/elderly.css
   ========================================= */

/* --- Hero Section - Desktop Parity --- */
.research-hero {
    position: relative;
    height: auto;
    min-height: 600px;
    background: linear-gradient(135deg, #0a1128 0%, #1e293b 50%, #0a1128 100%);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 80px;
}

.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: 90%;
    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: 'Noto Serif SC', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    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);
}

.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: 'Noto Serif SC', serif;
    font-size: 3.5rem;
    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;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 90%;
    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);
}

.research-hero .hero-cta {
    margin-top: 40px !important;
}

/* --- Section Headers --- */
.section-header h2 {
    display: block;
    font-family: 'Noto Serif SC', 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;
    font-weight: 300;
}

/* --- Academic Cards --- */
.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) !important;
    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;
    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%;
}

.card-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.5rem;
    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.4rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.academic-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Dimension Section (Elderly Specific) --- */
.dimension-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.dimension-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px;
    margin-top: 50px;
}

.dimension-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.dimension-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    border-color: rgba(203, 161, 116, 0.3);
}

.dim-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.dimension-item h4 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
}

.dimension-item p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* --- Solution Section --- */
.solution-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.solution-row:last-child {
    margin-bottom: 0;
}

.solution-row.reverse .solution-text {
    order: 2;
    text-align: left;
}

.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: 'Noto Serif SC', serif;
    font-size: 2.0rem;
    color: #0a1128;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    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 {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    letter-spacing: 0.3px;
    opacity: 0.95;
}

.solution-visual {
    height: 320px;
    width: 100%;
    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: 40px;
    left: 40px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 3;
    font-style: italic;
    letter-spacing: 1px;
}

/* Visual Variants */
.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%);
}

.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-app {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* --- Cooperation Section --- */
.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-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 40px;
    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: 1rem;
    line-height: 1.8;
    margin-bottom: 45px;
    letter-spacing: 0.5px;
}

/* --- Ecosystem Section --- */
.ecosystem-section {
    background: #ffffff;
    color: #475569;
    padding: 60px 0;
    position: relative;
}

.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);
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px;
}

.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;
}

.eco-card::before {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    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: 100%;
    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;
}

/* --- Premium Button Styles --- */
.btn-primary {
    display: inline-block;
    padding: 16px 42px;
    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;
    letter-spacing: 1px;
}

.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%;
}