:root {
    --forest-deep: #1B4332;
    --moss-green: #40916C;
    --leaf: #95D5B2;
    --morning-mist: #D8F3DC;
    --earth-brown: #5C4033;
    --bark: #3E2723;
    --white: #FFFFFF;
    --shadow-forest: rgba(27, 67, 50, 0.15);
    --shadow-earth: rgba(92, 64, 51, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'IBM Plex Sans', 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--forest-deep);
    background-color: var(--morning-mist);
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--morning-mist); }
::-webkit-scrollbar-thumb { background: var(--moss-green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--forest-deep); }

.nav-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(27, 67, 50, 0.92); backdrop-filter: blur(12px);
    transition: all 0.4s ease; border-bottom: 1px solid rgba(149, 213, 178, 0.2);
}
.nav-header.scrolled { background: rgba(27, 67, 50, 0.98); box-shadow: 0 4px 20px var(--shadow-forest); }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--morning-mist); }
.nav-logo-icon {
    width: 40px; height: 40px; background: var(--moss-green);
    border-radius: 50% 50% 50% 20%; display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem; color: var(--white);
}
.nav-logo-text { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a {
    color: var(--leaf); text-decoration: none; font-size: 0.95rem;
    font-weight: 400; transition: color 0.3s ease; position: relative;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--leaf);
    transition: width 0.3s ease; border-radius: 1px;
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border: none; background: transparent;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--leaf); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; width: 100%;
    background: rgba(27, 67, 50, 0.98); backdrop-filter: blur(12px);
    padding: 1.5rem 2rem; border-bottom: 1px solid rgba(149, 213, 178, 0.2);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
    display: block; color: var(--leaf); text-decoration: none;
    padding: 0.75rem 0; font-size: 1rem;
    border-bottom: 1px solid rgba(149, 213, 178, 0.1); transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--white); }

.hero-section {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(180deg, var(--forest-deep) 0%, #2D6A4F 40%, var(--moss-green) 70%, var(--leaf) 100%);
}
.hero-forest-layers { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.forest-layer { position: absolute; bottom: 0; left: 0; width: 100%; }
.forest-layer-1 { height: 40%; background: var(--forest-deep); clip-path: polygon(0 60%, 5% 55%, 10% 50%, 15% 45%, 18% 42%, 22% 38%, 25% 35%, 28% 32%, 30% 35%, 33% 40%, 36% 35%, 38% 30%, 40% 28%, 42% 32%, 45% 38%, 48% 35%, 50% 30%, 52% 25%, 55% 28%, 58% 35%, 60% 32%, 62% 28%, 65% 25%, 68% 30%, 70% 35%, 73% 32%, 75% 28%, 78% 35%, 80% 40%, 83% 35%, 85% 30%, 88% 35%, 90% 42%, 93% 38%, 95% 45%, 98% 50%, 100% 55%, 100% 100%, 0 100%); opacity: 0.9; z-index: 3; }
.forest-layer-2 { height: 55%; background: #2D6A4F; clip-path: polygon(0 50%, 3% 45%, 7% 40%, 10% 35%, 13% 30%, 16% 28%, 19% 25%, 22% 22%, 24% 25%, 27% 30%, 30% 28%, 32% 24%, 35% 20%, 37% 22%, 40% 28%, 43% 25%, 45% 20%, 48% 18%, 50% 22%, 53% 28%, 55% 24%, 57% 20%, 60% 18%, 63% 22%, 65% 28%, 68% 24%, 70% 20%, 73% 22%, 75% 28%, 78% 25%, 80% 20%, 83% 22%, 85% 28%, 88% 30%, 90% 25%, 93% 30%, 95% 35%, 97% 40%, 100% 45%, 100% 100%, 0 100%); opacity: 0.6; z-index: 2; }
.forest-layer-3 { height: 70%; background: var(--moss-green); clip-path: polygon(0 55%, 4% 50%, 8% 45%, 12% 40%, 15% 38%, 18% 35%, 21% 32%, 24% 30%, 27% 33%, 30% 38%, 33% 35%, 36% 30%, 39% 28%, 42% 32%, 45% 35%, 48% 32%, 51% 28%, 54% 25%, 57% 28%, 60% 35%, 63% 30%, 66% 28%, 69% 25%, 72% 28%, 75% 35%, 78% 30%, 81% 28%, 84% 32%, 87% 35%, 90% 30%, 93% 35%, 96% 40%, 100% 50%, 100% 100%, 0 100%); opacity: 0.35; z-index: 1; }

.floating-leaf { position: absolute; opacity: 0.4; animation: floatLeaf 8s ease-in-out infinite; color: var(--leaf); font-size: 1.5rem; }
.floating-leaf:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.floating-leaf:nth-child(2) { top: 25%; right: 15%; animation-delay: 2s; animation-duration: 9s; }
.floating-leaf:nth-child(3) { top: 40%; left: 20%; animation-delay: 4s; animation-duration: 6s; }
.floating-leaf:nth-child(4) { top: 10%; right: 30%; animation-delay: 1s; animation-duration: 10s; }
.floating-leaf:nth-child(5) { top: 30%; left: 40%; animation-delay: 3s; animation-duration: 8s; }

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(10deg); }
    50% { transform: translateY(-8px) rotate(-5deg); }
    75% { transform: translateY(-20px) rotate(8deg); }
}

.hero-content { position: relative; z-index: 10; text-align: center; padding: 2rem; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(149, 213, 178, 0.15); border: 1px solid rgba(149, 213, 178, 0.3);
    border-radius: 30px; padding: 0.5rem 1.25rem; margin-bottom: 2rem;
    color: var(--leaf); font-size: 0.85rem; font-weight: 500;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; color: var(--white);
    line-height: 1.2; margin-bottom: 1.5rem; letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero-title .highlight { color: var(--leaf); position: relative; }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(216, 243, 220, 0.85);
    font-weight: 300; line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--moss-green); color: var(--white); padding: 1rem 2rem;
    border-radius: 50px 50px 50px 20px; text-decoration: none; font-weight: 500;
    font-size: 1rem; transition: all 0.3s ease; border: none; cursor: pointer;
    box-shadow: 0 8px 25px rgba(64, 145, 108, 0.3);
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(27, 67, 50, 0.4); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--leaf); padding: 1rem 2rem;
    border-radius: 50px 20px 50px 50px; text-decoration: none; font-weight: 500;
    font-size: 1rem; transition: all 0.3s ease;
    border: 1px solid rgba(149, 213, 178, 0.4); cursor: pointer;
}
.btn-secondary:hover { background: rgba(149, 213, 178, 0.1); border-color: var(--leaf); transform: translateY(-2px); }

.hero-scroll-indicator {
    position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
    z-index: 10; color: var(--leaf); animation: bounce 2s ease-in-out infinite;
    font-size: 1.5rem; opacity: 0.7;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

.section { padding: 6rem 2rem; position: relative; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem;
    font-weight: 500; color: var(--moss-green); margin-bottom: 1rem;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: var(--forest-deep);
    line-height: 1.3; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.section-desc { font-size: 1.05rem; color: var(--earth-brown); max-width: 600px; margin: 0 auto; font-weight: 300; line-height: 1.8; }

.features-section { background: var(--white); position: relative; }
.features-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--moss-green); opacity: 0.3; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card {
    background: var(--morning-mist); padding: 2.5rem 2rem;
    border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.feature-card:nth-child(2) { border-radius: 70% 30% 30% 70% / 40% 60% 40% 60%; }
.feature-card:nth-child(3) { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
.feature-card:nth-child(4) { border-radius: 60% 40% 40% 60% / 30% 70% 30% 70%; }
.feature-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px var(--shadow-forest); }
.feature-icon {
    width: 70px; height: 70px; margin: 0 auto 1.5rem; background: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--moss-green); box-shadow: 0 4px 12px var(--shadow-forest);
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon { background: var(--moss-green); color: var(--white); transform: rotate(10deg); }
.feature-title { font-size: 1.15rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 0.75rem; }
.feature-desc { font-size: 0.9rem; color: var(--earth-brown); line-height: 1.7; font-weight: 300; }

.board-section { background: var(--morning-mist); position: relative; }
.boards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.board-card {
    background: var(--white); border-radius: 20px; padding: 2rem;
    box-shadow: 0 4px 16px var(--shadow-forest); transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.board-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--moss-green); border-radius: 0 2px 2px 0; }
.board-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--shadow-forest); }
.board-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgba(149, 213, 178, 0.3);
}
.board-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 600; color: var(--forest-deep); }
.board-title i { color: var(--moss-green); }
.board-more { font-size: 0.8rem; color: var(--moss-green); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.board-more:hover { color: var(--forest-deep); }
.board-list { list-style: none; }
.board-item { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px dashed rgba(149, 213, 178, 0.2); position: relative; }
.board-item:last-child { border-bottom: none; }
.board-dot { width: 8px; height: 8px; min-width: 8px; background: var(--leaf); border-radius: 50%; margin-top: 0.5rem; }
.board-item-content { flex: 1; min-width: 0; }
.board-item-title { font-size: 0.9rem; color: var(--forest-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.25rem; font-weight: 400; transition: color 0.3s ease; cursor: pointer; }
.board-item-title:hover { color: var(--moss-green); }
.board-item-date { font-size: 0.75rem; color: var(--earth-brown); opacity: 0.7; }

.stats-section { background: var(--forest-deep); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 2; }
.stat-item { text-align: center; padding: 2.5rem 1.5rem; background: rgba(255, 255, 255, 0.05); border-radius: 20px; border: 1px solid rgba(149, 213, 178, 0.15); transition: all 0.3s ease; }
.stat-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-4px); border-color: rgba(149, 213, 178, 0.3); }
.stat-icon { width: 60px; height: 60px; margin: 0 auto 1.25rem; background: rgba(149, 213, 178, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--leaf); }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); margin-bottom: 0.5rem; line-height: 1; }
.stat-number .counter-suffix { font-size: 0.5em; font-weight: 400; color: var(--leaf); margin-left: 0.25rem; }
.stat-label { font-size: 0.9rem; color: rgba(216, 243, 220, 0.75); font-weight: 300; }

.cta-section { background: var(--white); position: relative; overflow: hidden; }
.cta-container { max-width: 900px; margin: 0 auto; text-align: center; background: var(--forest-deep); padding: 4rem 3rem; border-radius: 30px; position: relative; overflow: hidden; }
.cta-content { position: relative; z-index: 2; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-desc { font-size: 1.05rem; color: rgba(216, 243, 220, 0.8); margin-bottom: 2rem; font-weight: 300; line-height: 1.8; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 0.6rem; background: var(--leaf);
    color: var(--forest-deep); padding: 1.1rem 2.5rem; border-radius: 50px 50px 50px 20px;
    text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: all 0.3s ease;
    border: none; cursor: pointer; box-shadow: 0 8px 25px rgba(149, 213, 178, 0.3);
}
.cta-btn:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 12px 35px rgba(149, 213, 178, 0.4); }

.site-footer { background: var(--bark); padding: 4rem 2rem 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--moss-green); opacity: 0.4; }
.footer-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-brand-icon { width: 36px; height: 36px; background: var(--moss-green); border-radius: 50% 50% 50% 20%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; }
.footer-brand-text { font-size: 1.15rem; font-weight: 600; color: var(--leaf); }
.footer-about-text { font-size: 0.88rem; color: rgba(216, 243, 220, 0.6); line-height: 1.7; font-weight: 300; }
.footer-heading { font-size: 0.95rem; font-weight: 600; color: var(--leaf); margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(216, 243, 220, 0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s ease; font-weight: 300; }
.footer-links a:hover { color: var(--leaf); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(149, 213, 178, 0.15); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copyright { font-size: 0.82rem; color: rgba(216, 243, 220, 0.5); font-weight: 300; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(149, 213, 178, 0.1); border-radius: 50%; color: var(--leaf); font-size: 0.9rem; transition: all 0.3s ease; text-decoration: none; }
.footer-socials a:hover { background: var(--moss-green); color: var(--white); transform: translateY(-2px); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

@media (min-width: 1024px) and (max-width: 1279px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html { font-size: 15px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .boards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .cta-container { padding: 3rem 2rem; }
}
@media (max-width: 767px) {
    html { font-size: 14px; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .nav-container { padding: 0 1rem; height: 64px; }
    .hero-section { min-height: 90vh; }
    .hero-content { padding: 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .section { padding: 4rem 1.25rem; }
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-card, .feature-card:nth-child(2), .feature-card:nth-child(3), .feature-card:nth-child(4) { border-radius: 20px; }
    .boards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-item { padding: 1.5rem 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-container { padding: 2.5rem 1.5rem; border-radius: 20px; }
    .mobile-menu { top: 64px; }
}
@media (max-width: 359px) {
    html { font-size: 13px; }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-logo-text { font-size: 1rem; }
}
@media (min-width: 1920px) { html { font-size: 17px; } .section-container { max-width: 1400px; } }
@media (min-width: 2560px) { html { font-size: 19px; } .section-container { max-width: 1600px; } }
@media (min-width: 3840px) { html { font-size: 22px; } .section-container { max-width: 2000px; } }
