/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2e7d32;
    --primary-light: #66bb6a;
    --primary-dark: #1b5e20;
    --primary-gradient: linear-gradient(135deg, #2e7d32, #66bb6a);
    --bg-main: #f0fdf4;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: rgba(46, 125, 50, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(46, 125, 50, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== Background Decoration ===== */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.3), transparent);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.25), transparent);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.2), transparent);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.02); }
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(240, 253, 244, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-logo i {
    font-size: 1.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(46, 125, 50, 0.08);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.08);
}

.nav-links a.active {
    color: #fff;
    background: var(--primary-gradient);
    font-weight: 600;
}

.nav-links a i {
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 80px 24px 60px;
    text-align: center;
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 20px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ===== Content Section ===== */
.content-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 80px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.15);
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    margin-top: 24px;
}

.content-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.content-card a:hover {
    border-bottom-color: var(--primary);
}

/* Highlight Box */
.highlight-box {
    background: rgba(46, 125, 50, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.highlight-box p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.info-card {
    background: rgba(46, 125, 50, 0.04);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46, 125, 50, 0.25);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 14px;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 auto 12px;
}

.info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
    margin: 24px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
    padding-left: 16px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.timeline-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(46, 125, 50, 0.2);
    transform: translateX(4px);
}

.feature-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Small text */
.small {
    color: var(--text-light);
    font-size: 0.82rem;
    margin-top: 16px;
}

/* ===== FAQ Section ===== */
.faq-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Filter Buttons */
.faq-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: rgba(46, 125, 50, 0.3);
    color: var(--primary);
    background: rgba(46, 125, 50, 0.06);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
}

.filter-btn i {
    font-size: 1rem;
}

/* FAQ Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.4s; }
.faq-item:nth-child(9) { animation-delay: 0.45s; }
.faq-item:nth-child(10) { animation-delay: 0.5s; }
.faq-item:nth-child(11) { animation-delay: 0.55s; }
.faq-item:nth-child(12) { animation-delay: 0.6s; }
.faq-item:nth-child(13) { animation-delay: 0.65s; }
.faq-item:nth-child(14) { animation-delay: 0.7s; }
.faq-item:nth-child(15) { animation-delay: 0.75s; }

.faq-item:hover {
    border-color: rgba(46, 125, 50, 0.25);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-2px);
}

.faq-item.active {
    background: var(--bg-card-hover);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}

.faq-q-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.faq-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-number {
    border-radius: 50%;
    transform: scale(1.05);
}

.faq-q-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--primary-gradient);
    color: #fff;
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px;
    padding-left: 80px;
}

.faq-answer-inner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
}

.faq-answer-inner p::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 3px;
    height: calc(100% - 8px);
    background: var(--primary-gradient);
    border-radius: 10px;
}

/* ===== Related Section ===== */
.related-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 80px;
}

.related-container {
    max-width: 900px;
    margin: 0 auto;
}

.related-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.related-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 16px;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 14px;
    transition: var(--transition);
}

.related-card:hover .related-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.related-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.related-card p {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-logo i {
    font-size: 1.4rem;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-links a {
    padding: 6px 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    border-color: rgba(46, 125, 50, 0.3);
    background: rgba(46, 125, 50, 0.06);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.78rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(240, 253, 244, 0.95);
        backdrop-filter: blur(20px);
        padding: 16px;
        flex-direction: column;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .hero {
        padding: 60px 20px 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        padding: 16px 24px;
        gap: 20px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .content-card {
        padding: 28px 20px;
    }

    .content-section {
        padding: 0 16px 60px;
    }

    .faq-section {
        padding: 0 16px 60px;
    }

    .faq-question {
        padding: 18px 16px;
    }

    .faq-q-left {
        gap: 12px;
    }

    .faq-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.75rem;
        border-radius: 10px;
    }

    .faq-q-text {
        font-size: 0.92rem;
    }

    .faq-answer-inner {
        padding: 0 16px 20px;
        padding-left: 64px;
    }

    .faq-answer-inner p::before {
        left: -16px;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .faq-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-card {
        padding: 20px 12px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 28px;
    }

    .blob-1 { width: 300px; height: 300px; }
    .blob-2 { width: 250px; height: 250px; }
    .blob-3 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .faq-answer-inner {
        padding-left: 16px;
    }

    .faq-answer-inner p::before {
        display: none;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-card {
        padding: 24px 16px;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: rgba(46, 125, 50, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 125, 50, 0.35);
}

/* Selection */
::selection {
    background: rgba(46, 125, 50, 0.2);
    color: var(--primary-dark);
}