:root {
    /* Color Palette - Light Theme */
    --find-bg-primary: #FFFFFF; /* Pure White */
    --find-bg-secondary: #F0F4F8; /* Cool Blue-Gray - Replaces plain Light Gray */
    --find-bg-tertiary: #E1E8F0; /* Lighter Cool Gray for borders/accents */
    
    --find-text-primary: #111827; /* Near Black */
    --find-text-secondary: #475569; /* Slate Gray - More blueish than pure gray */
    
    /* New Blue Palette */
    --find-blue-primary: #1650b1;    /* Deep Blue - Main Brand Color */
    --find-blue-secondary: #1767be;  /* Medium Blue - Secondary/Gradient */
    --find-blue-light: #a2e2ff;      /* Light Sky Blue - Highlights/Accents */

    /* Mapping to legacy variable names for compatibility */
    --find-accent-cyan: var(--find-blue-primary); 
    --find-accent-purple: var(--find-blue-secondary); 
    --find-gold: #B45309; /* Dark Gold/Amber */
    
    --find-border-color: rgba(0, 0, 0, 0.1);

    /* Spacing */
    --spacing-container: 1440px;
    --spacing-section: 120px;

    --find-font-scale: 1;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--find-bg-primary);
    color: var(--find-text-primary);
    font-size: calc(16px * var(--find-font-scale));
    /* Optimized System Font Stack */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography */
[v-cloak] {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    margin: 0;
    color: var(--find-text-primary);
}

.text-gradient {
    background: linear-gradient(90deg, var(--find-blue-primary), var(--find-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.find-container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.find-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9); /* White with transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--find-border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: visible;
}

.find-navbar .nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
    gap: 20px;
    overflow: visible;
}

.find-logo {
    font-size: calc(24px * var(--find-font-scale));
    font-weight: 700;
    color: var(--find-text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.find-nav-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(12px, 1.8vw, 26px);
    flex-wrap: nowrap;
    margin-left: clamp(20px, 2.4vw, 44px);
}

.find-nav-links > a,
.find-nav-links > .nav-item-dropdown {
    flex-shrink: 0;
}

.find-nav-link {
    color: var(--find-text-secondary);
    text-decoration: none;
    font-size: calc(18px * var(--find-font-scale));
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: nowrap;
}

.find-nav-link:hover, .find-nav-link.active {
    color: var(--find-accent-cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px !important;
    min-width: 72px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 10px;
    font-size: calc(14px * var(--find-font-scale)) !important;
    box-sizing: border-box;
}

@media (max-width: 1400px) {
    .find-nav-link {
        font-size: calc(18px * var(--find-font-scale));
        letter-spacing: 0.6px;
    }
}

@media (max-width: 1100px) {
    .find-navbar .nav-content {
        gap: 16px;
    }

    .find-nav-links {
        gap: 18px;
    }

    .find-nav-link {
        font-size: calc(18px * var(--find-font-scale));
        letter-spacing: 0.4px;
    }

    .nav-actions .btn {
        min-width: 68px;
    }
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 0px; /* Aligned with bottom of nav */
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--find-text-secondary);
    text-decoration: none;
    font-size: calc(15px * var(--find-font-scale));
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: left;
}

.dropdown-item:hover {
    color: var(--find-accent-cyan);
    background-color: var(--find-bg-secondary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Navbar height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Light gradient background with Deep Blue influence */
    background: radial-gradient(circle at 50% 30%, #F8FAFC 0%, #E0F2FE 100%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: calc(64px * var(--find-font-scale));
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--find-text-primary);
}

.hero-subtitle {
    font-size: calc(20px * var(--find-font-scale));
    color: var(--find-text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    font-size: calc(16px * var(--find-font-scale));
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--find-accent-cyan);
    color: #FFFFFF;
    border: none;
}

.btn-primary:hover {
    background: #003d99; /* Darker shade on hover */
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--find-text-primary);
    border: 1px solid var(--find-text-secondary);
}

.btn-outline:hover {
    border-color: var(--find-text-primary);
    background: rgba(0, 0, 0, 0.05);
}

/* Stats Section - Enhanced for Spatial/High-end feel - Light Theme */
.stats-section {
    padding: 0; /* Reset padding, controlled by flex layout */
    min-height: 60vh; /* Occupy 60% of viewport height */
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F4F8 100%); /* Cool Gray/White */
    color: var(--find-text-primary);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.stats-section .find-container {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Spatial Background Effects */
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%); /* Subtle Blue */
    transform: rotate(30deg);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.05) 0%, transparent 70%); /* Subtle Light Blue */
    transform: rotate(-30deg);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 20px;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 5rem; /* Very large numbers */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    /* Gradient Text */
    background: linear-gradient(135deg, var(--find-accent-cyan) 0%, var(--find-accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 82, 204, 0.15)); /* Softer shadow */
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--find-text-secondary); /* Dark Gray */
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

/* Optional decorative line under label */
.stat-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(0,0,0,0.1); /* Darker subtle line */
    margin: 12px auto 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.stat-item:hover .stat-label::after {
    width: 100%;
    background: var(--find-accent-cyan);
}

.home-section-recruitment {
    background: #ffffff;
}

.home-recruitment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-recruitment-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--find-border-color);
    background: #ffffff;
}

.home-recruitment-main {
    flex: 1;
    min-width: 0;
}

.home-recruitment-title {
    font-weight: 600;
    font-size: calc(18px * var(--find-font-scale));
    color: var(--find-text-primary);
    margin-bottom: 8px;
}

.home-recruitment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: calc(14px * var(--find-font-scale));
    color: var(--find-text-secondary);
    margin-bottom: 8px;
}

.home-recruitment-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.home-recruitment-meta .status.recruiting {
    color: #16a34a;
}

.home-recruitment-meta .status.closed {
    color: #dc2626;
}

.home-recruitment-desc {
    font-size: calc(14px * var(--find-font-scale));
    color: var(--find-text-secondary);
}

.home-recruitment-action {
    margin-left: 24px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .home-recruitment-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .home-recruitment-action {
        margin-left: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .stat-number {
        font-size: 4rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

/* Projects Section (Homepage) */
.projects-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
}

.projects-section {
    padding: 140px 0; /* More vertical padding */
    background: linear-gradient(to bottom, #F8FAFC 0%, #F0F4F8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.projects-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-header {
    margin-bottom: 80px;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.projects-section .section-header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: calc(48px * var(--find-font-scale));
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--find-text-primary);
    line-height: 1.1;
}

.project-scroll {
    display: flex;
    overflow-x: auto;
    gap: 40px; /* Larger gap */
    padding-bottom: 48px;
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
    -webkit-overflow-scrolling: touch;
    /* Custom Scrollbar styling instead of hiding it */
    scrollbar-width: thin;
    scrollbar-color: var(--find-accent-cyan) var(--find-bg-secondary);
    position: relative;
    z-index: 1;
    cursor: grab; /* Indicate draggable */
}

.project-scroll.active {
    cursor: grabbing;
}

.project-scroll::-webkit-scrollbar {
    height: 6px;
}

.project-scroll::-webkit-scrollbar-track {
    background: var(--find-bg-secondary);
    border-radius: 4px;
}

.project-scroll::-webkit-scrollbar-thumb {
    background-color: var(--find-accent-cyan);
    border-radius: 4px;
}

.project-card:first-child {
    margin-left: auto;
}

.project-card:last-child {
    margin-right: auto;
}

.project-card {
    min-width: 600px; /* Even wider card */
    width: 600px;
    background: #FFFFFF;
    border-radius: 32px; /* Even larger radius */
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08); /* Deeper shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.project-img {
    height: 400px; /* Taller image for impact */
    background-color: var(--find-bg-tertiary);
    position: relative;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.03);
}

.project-info {
    padding: 48px; /* More padding */
    text-align: center; /* Center aligned content */
}

.project-title {
    font-size: calc(32px * var(--find-font-scale)); /* Larger title */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--find-text-primary);
    line-height: 1.3;
}

.project-desc {
    font-size: calc(20px * var(--find-font-scale)); /* Larger description text */
    color: var(--find-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.find-footer {
    background-color: #111827;
    color: #F0F4F8;
    padding: 80px 0 40px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand h3 {
    color: #FFFFFF;
    font-size: calc(24px * var(--find-font-scale));
    margin-bottom: 24px;
}

.footer-text {
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: calc(16px * var(--find-font-scale));
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--find-accent-cyan);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Styles for Projects Section */
@media (max-width: 1200px) {
    .project-card {
        min-width: 500px;
        width: 500px;
    }
    
    .project-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 80px 0;
    }

    .project-scroll {
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }

    .project-card {
        min-width: 85vw;
        width: 85vw;
        border-radius: 20px;
    }

    .project-img {
        height: 240px;
    }

    .project-info {
        padding: 30px 20px;
    }

    .project-title {
        font-size: calc(24px * var(--find-font-scale));
    }

    .project-desc {
        font-size: calc(16px * var(--find-font-scale));
    }
}

/* News List Section */
.news-list-container {
    max-width: var(--spacing-container);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: background-color 0.3s ease;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 32px 0;
    height: auto;
    gap: 32px;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    transform: none;
    box-shadow: none;
    background-color: rgba(255,255,255,0.4);
}

.news-list-image {
    width: 220px;
    height: 140px;
    background-size: cover;
    background-position: center;
    order: 2; /* Image on the right */
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.news-list-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    order: 1;
}

.news-list-date {
    position: static;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    min-width: 80px;
    margin-bottom: 0;
    color: var(--find-text-secondary);
}

.news-list-date .day {
    font-size: calc(18px * var(--find-font-scale));
    font-weight: 700;
    color: var(--find-accent-cyan);
    line-height: 1;
}

.news-list-date .month {
    font-size: calc(14px * var(--find-font-scale));
    color: var(--find-text-secondary);
    text-transform: uppercase;
    margin-top: 0;
    font-weight: 600;
}

.news-list-tag {
    display: none; /* Hide tag for cleaner list view, or keep it */
}

.news-list-title {
    font-size: calc(22px * var(--find-font-scale));
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-list-title a {
    color: var(--find-text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-list-title a:hover {
    color: var(--find-accent-cyan);
}

.news-list-summary {
    font-size: calc(16px * var(--find-font-scale));
    color: var(--find-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 0;
    }

    .news-list-image {
        width: 100%;
        height: 200px;
        order: 0; /* Image top */
        margin-bottom: 0;
    }
    
    .news-list-date {
        order: 1;
        margin-bottom: 0;
        width: 100%;
    }

    .news-list-content {
        order: 2;
        width: 100%;
    }
}
