@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-start: #f8f9fa;
    --bg-end: #ffffff;
    --accent-blue-start: #4A90E2;
    --accent-blue-end: #357ABD;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --text-light-gray: #95a5a6;
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.08);
    --font-main: 'Noto Sans KR', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    text-decoration: none;
}

.logo span {
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue-start);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent-blue-start);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 300;
    margin-bottom: 30px;
}

.accent-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-blue-start), var(--accent-blue-end));
    border-radius: 2px;
}

/* Sections */
.section {
    padding: 60px 0;
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.12);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-blue-start), var(--accent-blue-end));
}

.card-label {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--accent-blue-start);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.card-content {
    color: var(--text-dark);
}

.card-list {
    list-style: none;
}

.card-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

.card-list li::before {
    content: '•';
    color: var(--accent-blue-start);
    margin-right: 10px;
    font-weight: bold;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--accent-blue-start);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.card-footer-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Detail Lists (for Works/Books) */
.detail-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

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

.detail-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.detail-desc {
    font-size: 15px;
    color: var(--text-dark);
}

.tag {
    display: inline-block;
    background: #f0f4f8;
    color: var(--text-gray);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 10px;
    font-family: var(--font-heading);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.2s;
    box-shadow: var(--shadow-card);
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide for now, or could add hamburger */
    }
}