
:root {
    --brand-primary: #000000;
    --brand-secondary: #444444;
    --brand-glow: rgba(0, 0, 0, 0.1);
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --text-main: #000000;
    --text-muted: #666666;
    --text-invert: #ffffff;
    --border-color: #eeeeee;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.08);
    --header-height: 80px;
}

[data-theme="dark"] {
    --bg-body: #0a0a0a;
    --bg-card: #121212;
    --bg-glass: rgba(10, 10, 10, 0.95);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #222222;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease;
    line-height: 1.6;
}

header {
    background-color: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    gap: 2rem;
}

.header-left #logo { margin: 0; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }

.scenario-slider-container { flex: 1; overflow: hidden; display: flex; justify-content: center; }
.scenario-tabs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 0.5rem; }
.scenario-tabs::-webkit-scrollbar { display: none; }

.scenario-tab {
    white-space: nowrap; padding: 0.5rem 1.2rem; background: transparent; border: 1px solid var(--border-color);
    color: var(--text-muted); font-weight: 500; font-size: 0.85rem; cursor: pointer; transition: all 0.2s ease;
}
.scenario-tab:hover { color: var(--text-main); border-color: var(--text-main); }
.scenario-tab.active { background: var(--text-main); color: var(--bg-body); border-color: var(--text-main); }

.header-nav { display: flex; align-items: center; gap: 2rem; }
.nav-btn { background: none; border: none; color: var(--text-main); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; cursor: pointer; letter-spacing: 0.02em; transition: opacity 0.2s; }
.nav-btn:hover { opacity: 0.6; }

#theme-toggle { background: none; border: 1px solid var(--border-color); color: var(--text-main); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#theme-toggle svg { width: 18px; height: 18px; }

.view { display: none; padding-top: 2rem; }
.view.active { display: block; animation: viewFade 0.4s ease; }
@keyframes viewFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.hero-section { text-align: center; padding: 8rem 2rem 4rem 2rem; }
.hero-section h2 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -0.04em; }

.home-intro { max-width: 1100px; margin: 0 auto 8rem auto; padding: 0 2rem; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; border-top: 1px solid var(--border-color); padding-top: 4rem; }
.intro-item h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; text-transform: uppercase; }
.intro-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

#scenario-details-container { max-width: 1100px; margin: 0 auto 5rem auto; padding: 0 2rem; }

#partnership-section { max-width: 600px; margin: 4rem auto; padding: 0 2rem; }
.partnership-card { border: 1px solid var(--border-color); padding: 4rem; }
.partnership-card h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid var(--border-color); background: var(--bg-body); color: var(--text-main); outline: none; }
.submit-btn { width: 100%; padding: 1.2rem; background: var(--text-main); color: var(--bg-body); border: none; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s; }

#site-footer { border-top: 1px solid var(--border-color); padding: 4rem 3rem; background: var(--bg-body); }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; }
.footer-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.footer-info p { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.info-btn { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: color 0.2s; }
.info-btn:hover { color: var(--text-main); }

.info-card { max-width: 800px; margin: 4rem auto 8rem auto; padding: 4rem; border: 1px solid var(--border-color); line-height: 1.8; }
.info-card h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 2rem; }
.info-card h3 { font-size: 1.2rem; font-weight: 800; margin-top: 2rem; margin-bottom: 1rem; }

#comments-section { max-width: 1100px; margin: 4rem auto 8rem auto; padding: 0 2rem; border-top: 1px solid var(--border-color); padding-top: 4rem; }

/* Community Section */
#community-section {
    max-width: 900px;
    margin: 4rem auto 8rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 1rem;
}

.section-header h2 { margin: 0; font-size: 2.2rem; font-weight: 900; }

.submit-btn.mini {
    width: auto;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-item {
    padding: 2rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-item:hover {
    border-color: var(--text-main);
    background-color: #fafafa;
}

[data-theme="dark"] .post-item:hover {
    background-color: #1a1a1a;
}

.post-item h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.post-date { font-size: 0.8rem; color: var(--text-muted); }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

#post-detail-content {
    margin: 3rem 0;
}

#post-detail-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
#post-detail-content .date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; display: block; }
#post-detail-content .content-body { line-height: 1.8; font-size: 1.1rem; white-space: pre-wrap; }

.community-disqus {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    header { padding: 0 1.5rem; flex-direction: column; height: auto; padding-bottom: 1rem; }
    .hero-section h2 { font-size: 2.5rem; }
    .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
}
