/* IDEAL Platform - Professional Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Professional Navigation */
.nav {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    font-family: 'Gill Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a365d;
    display: flex;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

.logo-subtitle {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
    margin-left: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 180px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f7fafc;
    color: #2b6cb0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-auth {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.btn-login {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #1a365d;
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a5568;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.hero h1 {
    font-family: 'Gill Sans', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
    color: #1a365d;
    position: relative;
    animation: simpleFadeIn 2s ease-out;
    text-shadow: 0 2px 4px rgba(26, 54, 93, 0.1);
}

.hero h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(43, 108, 176, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(43, 108, 176, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes simpleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes gentlePulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 0.3;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero .hero-buttons {
    justify-content: flex-start;
}

.cta-section .hero-buttons {
    justify-content: center;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #2b6cb0;
    color: white;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.15);
}

.btn-primary:hover {
    background-color: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(43, 108, 176, 0.25);
}

.btn-secondary {
    background-color: white;
    color: #2b6cb0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: #2b6cb0;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main {
    padding: 80px 0;
}

/* Introduction Section */
.introduction {
    margin-bottom: 80px;
}

.intro-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 32px;
    box-shadow: 0 32px 80px rgba(26, 54, 93, 0.15);
    border: 1px solid rgba(26, 54, 93, 0.08);
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 6rem 0;
    backdrop-filter: blur(20px);
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #2b6cb0, #3182ce, #4299e1);
}

.intro-card-header {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 50%, #3182ce 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.intro-title {
    font-family: 'Gill Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.intro-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.intro-card-header::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.intro-card-header h3 {
    font-family: 'Gill Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0;
}

.intro-card-content {
    padding: 4rem 3rem;
    position: relative;
}

.intro-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
}

.interactive-dashboard {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(26, 54, 93, 0.08);
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.08);
    position: relative;
    overflow: hidden;
}

.interactive-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d 0%, #2b6cb0 50%, #4299e1 100%);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #48bb78;
    animation: pulse 2s infinite;
}

.status-indicator.active {
    background: #48bb78;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(26, 54, 93, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.06);
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.15);
    border-color: #2b6cb0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.4);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
}

.card-metric {
    margin-bottom: 1rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.card-description {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.action-btn.primary {
    background: #1a365d;
    color: #ffffff;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.4);
}

.action-btn.secondary {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.4);
}

.intro-card-footer {
    background: #f7fafc;
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.intro-section h4 {
    font-family: 'Gill Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.intro-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Features Section */
.features {
    margin-bottom: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Gill Sans', sans-serif;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-description {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b6cb0, #3182ce);
    border-radius: 12px 12px 0 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b6cb0, #3182ce);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    font-size: 0.9rem;
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link:hover {
    color: #2c5282;
}

/* Stats Section */
.stats {
    background: #f7fafc;
    padding: 80px 0;
    margin: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Research Areas Preview */
.research-preview {
    margin: 100px 0;
}

.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.research-card:hover {
    border-color: #2b6cb0;
    box-shadow: 0 8px 30px rgba(43, 108, 176, 0.12);
}

.research-card-header {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.research-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.research-card-category {
    font-size: 0.85rem;
    color: #2b6cb0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.research-card-body {
    padding: 1.5rem;
}

.research-card-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.research-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #e2e8f0;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 16px;
    margin: 40px 0 100px 0;
}

.cta-title {
    font-family: 'Gill Sans', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Consortium Section */
.consortium-section {
    padding: 1rem 0;
    margin: 0.5rem 0;
}

.consortium-section .cta-title {
    color: #1a365d;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.consortium-scroll-container {
    overflow: hidden;
    width: 100vw;
    position: relative;
    margin: 1rem 0;
    margin-left: calc(-50vw + 50%);
}

.consortium-scroll-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.consortium-scroll-track:hover {
    animation-play-state: paused;
}

.consortium-organization-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    width: 300px;
}

.consortium-organization-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: #2b6cb0;
}

.consortium-organization-card__image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    height: 200px;
    background: #ffffff;
}

.consortium-organization-card__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: all 0.3s ease;
}

.consortium-organization-card:hover .consortium-organization-card__image {
    filter: grayscale(0);
    transform: scale(1.08);
}

/* Professional Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 24px;
    flex-wrap: wrap;
}

.footer-section {
    text-align: left;
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #2d5590;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 24px 0 24px;
}

/* Login Page Styles */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid #e2e8f0;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #64748b;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.input-group input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #64748b;
    z-index: 1;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #1a365d;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #1a365d;
    border-color: #1a365d;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #1a365d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #2d5590;
}

.login-btn {
    background: linear-gradient(135deg, #1a365d 0%, #2d5590 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.login-divider span {
    background: #ffffff;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #1a365d;
    color: #1a365d;
    transform: translateY(-1px);
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.microsoft-btn:hover {
    border-color: #0078d4;
    color: #0078d4;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.login-footer p {
    color: #64748b;
    font-size: 0.9rem;
}

.login-footer a {
    color: #1a365d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #2d5590;
}

.login-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card {
    background: linear-gradient(135deg, #1a365d 0%, #2d5590 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(26, 54, 93, 0.2);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.info-list i {
    color: #4ade80;
    font-size: 1.1rem;
}

.login-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.login-message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.login-message-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.login-message-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-auth {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-card-footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consortium-scroll-track {
        gap: 2rem;
    }
    
    .consortium-organization-card {
        width: 250px;
    }
    
    .consortium-organization-card__image-container {
        height: 160px;
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .consortium-scroll-track {
        gap: 1.5rem;
    }
    
    .consortium-organization-card {
        width: 200px;
    }
    
    .consortium-organization-card__image-container {
        height: 130px;
        padding: 2rem 1rem;
    }
    
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .login-header h1 {
        font-size: 1.75rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-card h3 {
        font-size: 1.25rem;
    }
}

/* Keep default browser expand/collapse arrows, only remove custom right-side elements */
details summary {
    /* Keep default list styling to preserve browser arrows */
}

/* Only hide custom pseudo-elements that might appear on the right side */
details summary::before {
    display: none;
}

details summary::after {
    display: none;
}

/* Stage Introduction Styling */
.stage-intro {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.intro-content {
    max-width: none;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.section-notes {
    background: #edf2f7;
    border-left: 4px solid #4299e1;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.notes-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2b6cb0;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notes-text {
    font-size: 0.875rem;
    color: #4a5568;
    margin: 0;
}

.context-info {
    margin-top: 1.5rem;
}

.context-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 1rem;
}

.task-list {
    padding-left: 1.5rem;
    margin: 0;
    font-family: inherit;
}

.task-list li {
    font-size: 0.875rem;
    line-height: inherit;
    color: inherit;
    margin-bottom: 0.5rem;
    font-weight: inherit;
    font-family: inherit;
}

/* Last Updated Styling */
.last-updated {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: inline-block;
}

.update-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #718096;
    margin-right: 0.5rem;
}

.update-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
}
