﻿/* =====================
   Reset & Base
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

/* =====================
   Navigation
   ===================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.tesla-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    background: rgba(0, 0, 0, 0.0);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.tesla-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 114, 141, 0.12);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.tesla-nav.scrolled .tesla-nav-logo a,
.tesla-nav.scrolled .tesla-nav-links a,
.tesla-nav.scrolled .nav-icon-btn,
.tesla-nav.scrolled .tesla-nav-toggle {
    color: #0c4a6e;
}

.tesla-nav-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.tesla-nav.scrolled .tesla-nav-logo a {
    color: #0891b2;
}

.tesla-nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tesla-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s;
}

.tesla-nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tesla-nav.scrolled .tesla-nav-links a {
    color: #0c4a6e;
}

.tesla-nav.scrolled .tesla-nav-links a:hover {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
}

.tesla-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon-btn {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tesla-nav.scrolled .nav-icon-btn {
    color: #0c4a6e;
    background: rgba(8, 145, 178, 0.1);
}

.tesla-nav.scrolled .nav-icon-btn:hover {
    background: rgba(8, 145, 178, 0.2);
}

.tesla-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
}

.tesla-nav.scrolled .tesla-nav-toggle {
    color: #0891b2;
}

/* Mobile Menu */
.tesla-mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(12, 74, 110, 0.98);
    padding: 16px 0;
}

.tesla-mobile-menu a {
    color: #e0f2fe;
    text-decoration: none;
    font-size: 15px;
    padding: 14px 24px;
    transition: background 0.2s;
}

.tesla-mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.tesla-mobile-menu.open {
    display: flex;
}

/* =====================
   Hero Sections
   ===================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 56px 0 48px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-top-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 48px;
}

.hero-top-text h2 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.hero-top-text h2.dark-text {
    color: #0c4a6e;
    text-shadow: none;
}

.hero-top-text p {
    font-size: clamp(13px, 1.8vw, 18px);
    margin-top: 12px;
    color: rgba(255,255,255,0.92);
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-top-text p.dark-text {
    color: #0369a1;
    text-shadow: none;
}

.hero-bottom-btns {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 8px;
}

/* Buttons */
.btn-tesla-primary {
    display: inline-block;
    padding: 12px 40px;
    background: rgba(8, 145, 178, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.btn-tesla-primary:hover {
    background: rgba(8, 145, 178, 1);
    color: #fff;
    transform: translateY(-1px);
}

.btn-tesla-secondary {
    display: inline-block;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.75);
    color: #0c4a6e;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.btn-tesla-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0891b2;
    transform: translateY(-1px);
}

/* Light section variant */
.hero-section.light-bg {
    background: linear-gradient(160deg, #e0f7fa 0%, #b2ebf2 50%, #e8f5e9 100%);
}

.hero-section.light-bg .hero-top-text h2 {
    color: #0c4a6e;
    text-shadow: none;
}

.hero-section.light-bg .hero-top-text p {
    color: #0369a1;
    text-shadow: none;
}

.hero-section.light-bg .btn-tesla-primary {
    background: #0891b2;
    color: #fff;
}

.hero-section.light-bg .btn-tesla-primary:hover {
    background: #0e7490;
}

.hero-section.light-bg .btn-tesla-secondary {
    background: rgba(8, 145, 178, 0.12);
    color: #0891b2;
    border: 1.5px solid rgba(8,145,178,0.35);
}

.hero-section.light-bg .btn-tesla-secondary:hover {
    background: rgba(8, 145, 178, 0.22);
}

/* =====================
   Home Page
   ===================== */

/* Hero Banner */
.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/v2.png') center/cover no-repeat;
    overflow: hidden;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,20,40,0.88) 0%, rgba(0,20,40,0.45) 55%, rgba(0,0,0,0) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-left: 8%;
    max-width: 800px;
}

.nhri-brand {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.nhri-brand span {
    font-size: 14px;
    letter-spacing: 0.15em;
    border-left: 3px solid #00d2ff;
    padding-left: 14px;
    opacity: 0.9;
    color: #fff;
}

.home-hero-content h1 {
    font-size: clamp(28px, 4.5vw, 58px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.home-hero-content p {
    font-size: clamp(14px, 1.5vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}

.home-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.home-hero .btn-tesla-primary {
    background: #00d2ff;
    color: #002244;
    box-shadow: 0 8px 28px rgba(0, 210, 255, 0.35);
    border-radius: 4px;
}

.home-hero .btn-tesla-primary:hover {
    background: #fff;
    color: #002244;
    transform: translateY(-2px);
}

.home-hero .btn-tesla-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.home-hero .btn-tesla-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.home-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.3em;
    transition: color 0.3s;
}

.home-scroll-hint:hover {
    color: rgba(255, 255, 255, 1);
}

.bounce-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 20, 40, 0.5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px 0;
    min-width: 140px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    text-align: center;
    width: 100%;
}

.hero-stat-number {
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 800;
    color: #00d2ff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.1em;
    margin-top: 8px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.hero-stat-sub-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: rgba(0, 210, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-sub {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 12px;
    text-align: center;
}

.hero-stat-sub-number {
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 800;
    color: rgba(0, 210, 255, 0.82);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-sub-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-top: 6px;
    font-weight: 500;
}

.hero-stat-sub-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 10px 0;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .hero-stats { display: none; }
}

/* Content Sections */
.home-section {
    padding: 96px 32px;
    background: #fff;
}

.home-section.alt-bg {
    background: linear-gradient(160deg, #f0f9ff 0%, #e0f7fa 100%);
}

.home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: #0891b2;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    color: #0c4a6e;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #0891b2, #10b981);
    border-radius: 2px;
    margin-bottom: 32px;
}

.section-body {
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
    max-width: 720px;
}

.placeholder-text {
    color: #94a3b8;
    font-style: italic;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.55);
    transform: translateY(-2px);
}

/* Background Section */
.text-accent {
    color: #0891b2;
    font-weight: 700;
}

.bg-challenges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.bg-challenge-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid rgba(8, 145, 178, 0.15);
    box-shadow: 0 2px 10px rgba(8, 145, 178, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bg-challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
}

.bg-challenge-icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}

.bg-challenge-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 10px;
}

.bg-challenge-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.bg-conclusion {
    margin-top: 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    border-left: 4px solid #0891b2;
}

@media (max-width: 768px) {
    .bg-challenges {
        grid-template-columns: 1fr;
    }
}

/* Goal Cards */
.goals-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 32px;
}

.goal-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.goal-cards::after {
    content: "?游?";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #64748b;
    z-index: 2;
}

.goal-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top-width: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.goal-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    color: #fff;
    margin-bottom: 14px;
}

.goal-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goal-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.card-life  { border-top-color: #10b981; }
.card-life  .goal-tag { background: #10b981; }
.card-life  h3 { color: #059669; }

.card-mental { border-top-color: #f59e0b; }
.card-mental .goal-tag { background: #f59e0b; }
.card-mental h3 { color: #b45309; }

.card-safe  { border-top-color: #ef4444; }
.card-safe  .goal-tag { background: #ef4444; }
.card-safe  h3 { color: #dc2626; }

.card-health { border-top-color: #0891b2; }
.card-health .goal-tag { background: #0891b2; }
.card-health h3 { color: #0369a1; }

.goals-footnote {
    margin-top: 32px;
    font-size: 14px;
    font-style: italic;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 640px) {
    .goal-cards {
        grid-template-columns: 1fr;
    }
    .goal-cards::after {
        display: none;
    }
}

/* ?? System Section ?? */
#system.home-section {
    background: #f8f9fb;
    padding: 80px 32px 100px;
}

#system .home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

#system .section-divider {
    background: #1a6fa8;
    margin-bottom: 12px;
}

.sys-tagline {
    font-size: 15px;
    color: #6b7c8a;
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 680px;
}

.sys-tagline em {
    font-style: normal;
    color: #1e2a35;
    font-weight: 600;
}

/* Dual Core */
.dual-core {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.dual-core-card {
    border-radius: 18px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dual-core-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.dc-card-header {
    padding: 28px 28px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.dual-core-card--dc .dc-card-header { background: #1a6fa8; }
.dual-core-card--cc .dc-card-header { background: #e07b3a; }

.dc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.dc-header-text { flex: 1; }

.dc-header-text h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.dc-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
}

.dc-role-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dc-card-body {
    padding: 24px 28px 28px;
    background: #fff;
    flex: 1;
}

.dc-desc {
    font-size: 13.5px;
    color: #6b7c8a;
    line-height: 1.75;
    margin-bottom: 20px;
}

.dc-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #1e2a35;
}

.dc-feat-dot {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.dc-feat-dot svg { width: 13px; height: 13px; }

.dual-core-card--dc .dc-feat-dot { background: #e8f3fb; color: #1a6fa8; }
.dual-core-card--cc .dc-feat-dot { background: #fdf0e6; color: #e07b3a; }

/* Connector */
.sys-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 36px;
    font-size: 12.5px;
    color: #6b7c8a;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.sys-connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
}

.sys-connector-badge {
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 20px;
    padding: 5px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Care Flow */
.sys-flow {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    padding: 28px 32px;
}

.sys-flow__title {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c8a;
    margin-bottom: 20px;
    font-weight: 600;
}

.sys-flow__steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.sys-flow__step {
    flex: 1;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.sys-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #dde4eb;
    z-index: 1;
}

.sys-flow__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.sys-flow__step:nth-child(1) .sys-flow__icon { background: #e8f3fb; }
.sys-flow__step:nth-child(2) .sys-flow__icon { background: #e6f4ea; }
.sys-flow__step:nth-child(3) .sys-flow__icon { background: #fff3e0; }
.sys-flow__step:nth-child(4) .sys-flow__icon { background: #fce8e6; }
.sys-flow__step:nth-child(5) .sys-flow__icon { background: #f0ebfa; }
.sys-flow__step:nth-child(6) .sys-flow__icon { background: #e8f3fb; }

.sys-flow__label {
    font-size: 12px;
    font-weight: 700;
    color: #1e2a35;
    line-height: 1.4;
    margin-bottom: 3px;
}

.sys-flow__sub {
    font-size: 10.5px;
    color: #6b7c8a;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .dual-core { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .home-section { padding: 64px 20px; }
}

/* =====================
   Footer
   ===================== */
.tesla-footer {
    background: #0c4a6e;
    color: #bae6fd;
    padding: 40px 32px 32px;
    text-align: center;
}

.tesla-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 20px;
}

.tesla-footer-links a {
    color: #bae6fd;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.tesla-footer-links a:hover {
    color: #fff;
}

.tesla-footer p {
    font-size: 12px;
    color: #7dd3fc;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    .tesla-nav-links,
    .tesla-nav-right {
        display: none;
    }

    .tesla-nav-toggle {
        display: block;
    }

    .tesla-nav-logo {
        flex: 1;
        text-align: center;
    }
}


/* =====================
   Vision Section
   ===================== */
.vision-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.vision-text {
    flex: 1;
    min-width: 300px;
}

.vision-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 20px;
    text-align: justify;
}

.vision-highlight {
    font-weight: 700;
    color: #0891b2;
}

.vision-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.15);
    display: block;
}

.vision-pillars {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vision-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 5px solid #ccc;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
}

.vision-card-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.vision-card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c4a6e;
}

.vision-card p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.vision-card.medical { border-left-color: #0891b2; }
.vision-card.care    { border-left-color: #10b981; }
.vision-card.ai      { border-left-color: #0369a1; }
.vision-card.social  { border-left-color: #f59e0b; }

@media (max-width: 768px) {
    .vision-layout {
        flex-direction: column;
    }
    .vision-text,
    .vision-pillars {
        min-width: 100%;
    }
}

/* =====================
   Partners Map Section
   ===================== */
.oldsite-map {
    width: 100%;
    height: 520px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 16px;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}

.map-legend-item:hover {
    background: #f0f9ff;
    border-color: #0891b2;
}

.map-legend-item.active {
    background: #e0f2fe;
    border-color: #0891b2;
    color: #0c4a6e;
}

.map-dot {
    width: 14px;
    height: 18px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    clip-path: polygon(50% 100%, 0% 30%, 15% 0%, 85% 0%, 100% 30%);
    flex-shrink: 0;
}

/* Map Popup */
.map-popup {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px 14px;
    min-width: 240px;
    max-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(8, 145, 178, 0.15);
    transform: translateX(-50%);
    pointer-events: auto;
    z-index: 100;
}

.map-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom: none;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}

.map-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
}

.map-popup-close:hover { color: #334155; }

.popup-type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0891b2;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.popup-name {
    font-size: 15px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 10px;
    line-height: 1.4;
    padding-right: 16px;
}

.popup-row {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 3px;
}

.popup-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
    border-bottom: 1px solid rgba(8, 145, 178, 0.3);
    padding-bottom: 1px;
    transition: color 0.2s;
}

.popup-link:hover { color: #0369a1; }

/* =====================
   Team Section
   ===================== */
#team.home-section {
    padding: 80px 32px 100px;
}

#team .home-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.team-group {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-group--main,
.team-group--sub1 {
    grid-column: 1 / -1;
}

.team-group__header {
    padding: 14px 22px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-group__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}

.team-group__badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.team-group--main  .team-group__header { background: #3aafa9; }
.team-group--sub1  .team-group__header { background: #7aab5a; }
.team-group--sub2  .team-group__header { background: #4a86c8; }
.team-group--sub3  .team-group__header { background: #c9a227; }

.team-group__body {
    padding: 24px 20px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 calc(20% - 13px);
    min-width: 110px;
}

.team-group--sub1 .team-member { flex: 0 0 calc(20% - 13px); }
.team-group--sub2 .team-member { flex: 0 0 calc(50% - 8px); }
.team-group--sub3 .team-member { flex: 0 0 calc(50% - 8px); }

.team-member__photo-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f5f7f6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.team-member:hover .team-member__photo-wrap {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.team-group--main  .team-member__photo-wrap { border-color: rgba(58, 175, 169, 0.25); }
.team-group--sub1  .team-member__photo-wrap { border-color: rgba(122, 171, 90, 0.25); }
.team-group--sub2  .team-member__photo-wrap { border-color: rgba(74, 134, 200, 0.25); }
.team-group--sub3  .team-member__photo-wrap { border-color: rgba(201, 162, 39, 0.25); }

.team-member__photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member__name {
    font-size: 14px;
    font-weight: 700;
    color: #2d3a35;
    line-height: 1.4;
    margin-bottom: 4px;
}

.team-member__role {
    font-size: 11.5px;
    color: #6b7c74;
    line-height: 1.5;
}

.team-member__tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.team-group--main  .team-member__tag { background: rgba(58, 175, 169, 0.12); color: #2a8a85; }
.team-group--sub1  .team-member__tag { background: rgba(122, 171, 90, 0.12); color: #4e7e34; }
.team-group--sub2  .team-member__tag { background: rgba(74, 134, 200, 0.12); color: #2e60a0; }
.team-group--sub3  .team-member__tag { background: rgba(201, 162, 39, 0.12); color: #8a6a10; }

@media (max-width: 840px) {
    .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .team-member { flex: 0 0 calc(50% - 8px) !important; }
}

/* =====================
   Research Page
   ===================== */

.research-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1f35 0%, #0c4a6e 50%, #0e7490 100%);
    overflow: hidden;
}

.research-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 50%, rgba(0, 210, 255, 0.12) 0%, transparent 60%);
}

.research-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-left: 8%;
    max-width: 800px;
}

.research-hero-content h1 {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.research-hero-content p {
    font-size: clamp(14px, 1.4vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.research-hero .btn-tesla-primary {
    background: #00d2ff;
    color: #002244;
    border-radius: 4px;
}

.research-hero .btn-tesla-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

/* Subproject Grid */
.subproject-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.subproject-card {
    border-radius: 16px;
    padding: 28px 24px;
    border-top: 5px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.subproject-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

.subproject-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    color: #fff;
    letter-spacing: 0.05em;
}

.subproject-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 10px;
}

.subproject-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.subproject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.subproject-tags span {
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.subproject-main { border-top-color: #0891b2; }
.subproject-main .subproject-badge { background: #0891b2; }
.subproject-main .subproject-tags span { background: rgba(8,145,178,0.1); color: #0891b2; }

.subproject-1 { border-top-color: #10b981; }
.subproject-1 .subproject-badge { background: #10b981; }
.subproject-1 .subproject-tags span { background: rgba(16,185,129,0.1); color: #059669; }

.subproject-2 { border-top-color: #f59e0b; }
.subproject-2 .subproject-badge { background: #f59e0b; }
.subproject-2 .subproject-tags span { background: rgba(245,158,11,0.1); color: #b45309; }

.subproject-3 { border-top-color: #3b82f6; }
.subproject-3 .subproject-badge { background: #3b82f6; }
.subproject-3 .subproject-tags span { background: rgba(59,130,246,0.1); color: #1d4ed8; }

/* Year Timeline */
.year-timeline {
    display: flex;
    align-items: stretch;
    margin-top: 36px;
    gap: 0;
}

.year-arrow {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 18px;
    padding: 0 16px;
    flex-shrink: 0;
    padding-bottom: 0;
}

.year-card {
    flex: 1;
    border-radius: 18px;
    padding: 28px 24px 24px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.year-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.year-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    color: #fff;
}

.year-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.year-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.year-stat {
    margin-bottom: 16px;
    line-height: 1;
}

.year-num {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.year-unit {
    font-size: 18px;
    font-weight: 600;
}

.year-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.year-points li {
    font-size: 13px;
    color: #475569;
    padding: 6px 0 6px 16px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}

.year-points li:last-child { border-bottom: none; }

.year-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    font-size: 10px;
    top: 8px;
}

.year-1 .year-badge, .year-1 .year-badge { background: #0891b2; }
.year-1 .year-name, .year-1 .year-num { color: #0891b2; }
.year-1 .year-points li::before { color: #0891b2; }

.year-2 .year-badge { background: #10b981; }
.year-2 .year-name, .year-2 .year-num { color: #10b981; }
.year-2 .year-points li::before { color: #10b981; }

.year-3 .year-badge { background: #f59e0b; }
.year-3 .year-name, .year-3 .year-num { color: #f59e0b; }
.year-3 .year-points li::before { color: #f59e0b; }

/* Subsection Title */
.subsection-title {
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 3px solid #0891b2;
}

/* Module Grid */
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.module-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    border: 1px solid rgba(8, 145, 178, 0.12);
    box-shadow: 0 2px 10px rgba(8, 145, 178, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
}

.module-icon {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}

.module-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.05em;
}

.module-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 8px;
}

.module-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Tech Concepts */
.tech-concepts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.tech-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(16, 185, 129, 0.04));
    border-radius: 12px;
    padding: 20px 24px;
    border-left: 4px solid #0891b2;
}

.tech-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0c4a6e;
    margin: 0 0 6px;
}

.tech-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Assessment Track */
.assess-track {
    background: #fff;
    border-radius: 14px;
    padding: 24px 32px;
    border: 1px solid rgba(8, 145, 178, 0.12);
    box-shadow: 0 2px 10px rgba(8, 145, 178, 0.07);
}

.assess-title {
    font-size: 11px;
    font-weight: 700;
    color: #0891b2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.assess-steps {
    display: flex;
    align-items: center;
}

.assess-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.assess-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0891b2;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0891b2;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.assess-final .assess-dot {
    background: #10b981;
    box-shadow: 0 0 0 2px #10b981;
}

.assess-label {
    font-size: 13px;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 4px;
}

.assess-week {
    font-size: 22px;
    font-weight: 800;
    color: #0891b2;
    line-height: 1;
}

.assess-final .assess-week { color: #10b981; }

.assess-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #0891b2, #10b981);
    margin-bottom: 34px;
}

/* Recruit Grid */
.recruit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.recruit-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(8, 145, 178, 0.12);
}

.recruit-icon { font-size: 28px; margin-bottom: 10px; }

.recruit-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 14px;
}

.recruit-sites { margin-bottom: 14px; }

.recruit-site {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
}

.recruit-site:last-child { border-bottom: none; }

.recruit-area {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    white-space: nowrap;
    flex-shrink: 0;
}

.recruit-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Screening Tags */
.screening-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.screening-tags span {
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

/* Group Flow */
.group-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

.group-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #ccc;
    transition: transform 0.2s;
}

.group-card:hover { transform: translateY(-3px); }

.group-icon { font-size: 28px; margin-bottom: 10px; }

.group-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0c4a6e;
}

.group-card p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.group-a { border-top-color: #10b981; }
.group-b { border-top-color: #0891b2; }
.group-c { border-top-color: #f59e0b; }
.group-d { border-top-color: #94a3b8; }

/* Station Flow */
.station-flow {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 28px;
    overflow-x: auto;
}

.station-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.station-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(8, 145, 178, 0.3);
    flex-shrink: 0;
}

.station-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

.station-arrow {
    font-size: 14px;
    color: #cbd5e1;
    padding: 0 6px;
    flex-shrink: 0;
    padding-bottom: 22px;
    align-self: flex-start;
    margin-top: 14px;
}

/* Pilot Pending */
.pilot-pending {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, rgba(8,145,178,0.06), rgba(16,185,129,0.04));
    border-radius: 14px;
    padding: 24px 28px;
    border-left: 4px solid #0891b2;
}

.pending-icon { font-size: 36px; flex-shrink: 0; }

.pilot-pending h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 6px;
}

.pilot-pending p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Research Page Responsive */
@media (max-width: 900px) {
    .year-timeline { flex-direction: column; gap: 16px; }
    .year-arrow { display: none; }
    .subproject-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .module-grid { grid-template-columns: 1fr 1fr; }
    .tech-concepts { grid-template-columns: 1fr; }
    .recruit-grid { grid-template-columns: 1fr; }
    .group-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
    .module-grid { grid-template-columns: 1fr; }
    .group-flow { grid-template-columns: 1fr 1fr; }
    .station-arrow { display: none; }
}
