/* Global Variables & Reset */
:root {
    --primary-color: #2E7D32;    /* 신뢰감 있는 딥 그린 */
    --primary-light: #E8F5E9;
    --secondary-color: #1B5E20;
    --accent-color: #FFC107;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --bg-light: #F9FBF9;
    --border-color: #EEEEEE;
    --grass-bg: url('https://images.unsplash.com/photo-1556056504-517cf0121fb3?q=80&w=2070&auto=format&fit=crop');
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

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

section {
    padding: 8rem 0; /* 표준 섹션 여백 */
    position: relative;
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--grass-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0;
    margin: 0;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 3.8rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    word-break: keep-all;
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    opacity: 1;
    margin-bottom: 2.5rem;
}

.cta-button {
    margin-top: 1rem;
}

/* Typography */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    word-break: keep-all;
}

.philosophy-title {
    margin-bottom: 1.5rem !important;
}

.philosophy-text {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.subsection-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

/* Component: Cards */
.method-grid, .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.method-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.method-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

/* Recommendation Section */
#recommend {
    background-color: var(--bg-light);
}

.recommend-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.recommend-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Analysis Section Wrappers */
.analysis-type-wrapper {
    margin-bottom: 6rem;
}

#guide-method {
    background-color: #fff;
}

#guide-method .container {
    background-color: var(--bg-light);
    padding: 5rem 3rem;
    border-radius: 30px;
}

/* Review Cards - 리뉴얼 */
.review-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    flex-grow: 1;
    word-break: keep-all;
}

.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: right;
}

/* FAQ Section */
#faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #333;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #dddddd;
    padding: 5rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: #ffffff;
    margin: 0 1rem;
    text-decoration: none;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    section {
        padding: var(--section-padding);
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Header & Nav Mobile - Horizontal Scroll */
    header {
        padding: 0.5rem 0;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .nav-menu {
        display: flex;
        overflow-x: auto;
        width: 100vw;
        padding: 0.5rem 1.25rem;
        gap: 1.2rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid var(--border-color);
        scrollbar-width: none; /* Firefox */
    }

    .nav-menu::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .nav-menu li {
        white-space: nowrap;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    /* Hero Section Mobile */
    #hero {
        height: 70vh;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 0 0.5rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
        word-break: keep-all;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }

    /* Typography Mobile */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    #philosophy .section-title {
        font-size: 1.3rem;
    }

    .philosophy-text {
        font-size: 1rem;
    }

    .subsection-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    /* Grid & Cards Mobile */
    .method-grid, .review-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .method-card {
        padding: 2.2rem 1.2rem;
    }

    .method-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .method-card h3 {
        font-size: 1.2rem;
    }

    .method-card p {
        font-size: 0.95rem;
    }

    .recommend-item {
        padding: 1.1rem 1.2rem;
        gap: 0.8rem;
    }

    .recommend-item i {
        font-size: 1rem !important;
        width: 24px !important;
    }

    .recommend-item p {
        font-size: 0.9rem;
    }

    /* Guide Method Container Mobile */
    #guide-method .container {
        padding: 2.5rem 1.2rem;
        border-radius: 15px;
    }

    /* FAQ Mobile */
    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.05rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }
}
