:root {
    --primary-color: #007bff;
    --secondary-color: #6f42c1;
    --success-color: #198754;
    --warning-color: #fd7e14;
    --danger-color: #dc3545;
    --info-color: #20c997;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --darker-gray: #495057;
    --darkest-gray: #343a40;
    --text-color: #333;
    --heading-color: #212529;
    --white-color: #ffffff;
    --body-font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --base-font-size: 16px;
    --border-radius: 0.5rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--body-font); line-height: 1.7; color: var(--text-color); background-color: var(--light-gray); font-weight: 400; font-size: var(--base-font-size); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: var(--primary-color); transition: all 0.2s ease; }
a:hover { color: #0056b3; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; vertical-align: middle; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; color: var(--heading-color); line-height: 1.4; margin-bottom: 1rem; }
h1 { font-size: 2.75rem; font-weight: 700;}
h2 { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 3rem; color: var(--darkest-gray); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--darker-gray); }
p:last-child { margin-bottom: 0; }
ul { list-style-position: inside; padding-left: 0; margin-bottom: 1rem;} /* 기본 ul 패딩 제거 */
li { margin-bottom: 0.5rem; }
section { padding: 4.5rem 0; }
.section-bg-white { background-color: var(--white-color); }
.section-bg-light { background-color: var(--light-gray); }
.section-bg-gradient { background: linear-gradient(180deg, var(--white-color) 0%, var(--light-gray) 100%); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.primary-cta-button { display: inline-block; padding: 0.9rem 1.75rem; background-color: var(--primary-color); color: white; border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); }
.primary-cta-button:hover { background-color: #0056b3; box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3); transform: translateY(-2px); color: white; }
.icon, .icon-large, .category-logo, .footer-social-icon span { display: inline-block; background-color: var(--medium-gray); border-radius: 4px; text-align: center; line-height: 1; font-style: normal; color: var(--dark-gray); font-size: 0.8em; vertical-align: middle; }
.icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.icon-large { width: 50px; height: 50px; margin: 0 auto 1.25rem auto; display: block; border-radius: 8px; line-height: 50px; }
.category-logo { width: 50px; height: 50px; margin-bottom: 1rem; object-fit: contain; background-color: var(--light-gray); border: 1px solid var(--medium-gray); }
.footer-social-icon span { width: 28px; height: 28px; background-color: var(--dark-gray); border-radius: 50%; opacity: 0.8; transition: opacity 0.2s ease; line-height: 28px; }


/* --- Hero Section --- */
.hero-section { background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%); padding: 6rem 0 5rem 0; text-align: center; border-bottom: 1px solid var(--medium-gray); position: relative; overflow: hidden; }
.hero-section::before, .hero-section::after { content: ''; position: absolute; border-radius: 50%; opacity: 0.05; background-color: var(--primary-color); }
.hero-section::before { width: 300px; height: 300px; left: -100px; top: -50px; }
.hero-section::after { width: 200px; height: 200px; right: -80px; bottom: -80px; }
.hero-section h1 { font-size: 3rem; margin-bottom: 1rem; color: #1a2533; }
.hero-section .subtitle { font-size: 1.15rem; color: #5a6f84; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta-area { margin-top: 2rem; }
.hero-statistic { font-size: 1rem; color: var(--darkest-gray); margin-bottom: 2rem; font-weight: 500; }
.hero-statistic strong { color: var(--primary-color); font-size: 1.1em; }
.trust-signals-atf { display: flex; justify-content: center; gap: 1.75rem; margin-top: 3rem; font-size: 0.9rem; color: var(--dark-gray); }
.trust-signals-atf span { display: flex; align-items: center; gap: 0.5rem; }
.trust-signals-atf .icon { background-color: var(--success-color); width:18px; height:18px; opacity: 0.7; }

 /* --- Category Section --- */
.category-section { background-color: var(--white-color); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.category-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 1.5rem 1rem; border: 1px solid var(--medium-gray); border-radius: var(--border-radius); background-color: var(--white-color); color: var(--darker-gray); transition: all 0.2s ease; min-height: 190px; }
.category-item:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); color: var(--primary-color); border-color: var(--primary-color); }
.category-item img.category-logo { width: 50px; height: 50px; margin-bottom: 1rem; object-fit: contain; border: 1px solid var(--medium-gray); border-radius: 4px; }
.category-item span { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; display: block; }
.category-item p { font-size: 0.85rem; color: var(--dark-gray); line-height: 1.5; padding: 0 0.5rem; flex-grow: 1; }

/* --- Top Links Section --- */
.top-links-section { background-color: var(--light-gray); }
.top-links-section h2 { color: var(--secondary-color); }
.top-links-list { list-style: none; padding-left: 0; max-width: 800px; margin: 3rem auto 0 auto; }
.top-links-list li { background-color: var(--white-color); margin-bottom: 1rem; border-radius: var(--border-radius); border: 1px solid var(--medium-gray); box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; align-items: stretch; transition: all 0.2s ease; }
.top-links-list li:hover { transform: scale(1.02); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.top-links-list .rank { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); background-color: #f3eefc; padding: 1.25rem 1.5rem; min-width: 65px; text-align: center; border-right: 1px solid var(--medium-gray); flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--border-radius) 0 0 var(--border-radius); }
.top-links-list .link-info { padding: 1.25rem 1.5rem; flex-grow: 1; }
.top-links-list .link-title { font-weight: 600; color: var(--heading-color); font-size: 1.05rem; display: block; margin-bottom: 0.25rem; }
.top-links-list .link-title:hover { color: var(--primary-color); }
.top-links-list .link-description { font-size: 0.85rem; color: var(--dark-gray); display: block; }

/* --- Directory Types Table Section --- */
.directory-types-section { background-color: var(--white-color); }
.directory-types-section h2 { color: var(--warning-color); }
.directory-table-container { overflow-x: auto; /* Enable horizontal scroll on small screens */ margin-top: 1rem; }
.directory-types-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.9rem; }
.directory-types-table th,
.directory-types-table td { border: 1px solid var(--medium-gray); padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
.directory-types-table thead th { background-color: var(--light-gray); font-weight: 600; color: var(--darkest-gray); }
.directory-types-table tbody tr:nth-child(even) { background-color: var(--light-gray); }
.directory-types-table td ul { list-style: disc; margin-top: 0.5rem; margin-bottom: 0; }
.directory-types-table td li { font-size: inherit; margin-bottom: 0.25rem; }

/* --- Theme Banner Section --- */
.theme-banner-section { background-color: var(--light-gray); }
.theme-banner-section h2 { color: var(--danger-color); }
.banner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.theme-banner { display: block; border-radius: var(--border-radius); overflow: hidden; position: relative; min-height: 220px; color: var(--white-color); text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.theme-banner:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); text-decoration: none; color: var(--white-color); }
.banner-content { padding: 2rem; position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.theme-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; z-index: 1; transition: transform 0.3s ease; }
.theme-banner:hover::before { transform: scale(1.05); }
.banner-productivity::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--primary-color); }
.banner-design::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--secondary-color); }
.banner-streaming::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--danger-color); }
.banner-edu::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--success-color); }
.banner-finance::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--warning-color); }
.banner-hobby::before { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), var(--info-color); }
.theme-banner h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white-color); text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.theme-banner p { font-size: 0.95rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.9); text-shadow: 1px 1px 2px rgba(0,0,0,0.4); }
.banner-cta { display: inline-block; font-weight: 600; color: var(--white-color); padding: 0.5rem 0; align-self: flex-start; border-bottom: 2px solid rgba(255, 255, 255, 0.7); transition: border-bottom-color 0.2s ease; }
.banner-cta:hover { border-bottom-color: var(--white-color); }

/* --- Problem Solving Section --- */
.problem-solving-section { background-color: var(--white-color); }
.problem-solving-section h2 { color: var(--info-color); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.problem-item { border: 1px solid var(--medium-gray); border-radius: var(--border-radius); padding: 1.75rem 1.5rem; background-color: var(--white-color); display: flex; flex-direction: column; text-align: left; box-shadow: 0 2px 5px rgba(0,0,0,0.04); transition: all 0.2s ease; }
.problem-item:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: var(--info-color); }
.problem-item h3 { font-size: 1.15rem; color: var(--info-color); margin-bottom: 0.75rem; font-weight: 600; }
.problem-item p { font-size: 0.9rem; color: var(--dark-gray); flex-grow: 1; margin-bottom: 1.25rem; line-height: 1.6; }
.problem-cta { display: inline-block; font-weight: 600; color: var(--primary-color); font-size: 0.9rem; align-self: flex-start; }
.problem-cta:hover { color: #0056b3; text-decoration: underline; }

/* --- Info Section --- */
.info-section { background-color: var(--light-gray); }
.info-section h2 { color: var(--warning-color); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.info-item { border: 1px solid var(--medium-gray); border-radius: var(--border-radius); padding: 1.75rem 1.5rem; background-color: var(--white-color); display: flex; flex-direction: column; text-align: left; box-shadow: 0 2px 5px rgba(0,0,0,0.04); transition: all 0.2s ease; }
.info-item:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.info-item h3 { font-size: 1.2rem; color: var(--darkest-gray); margin-bottom: 0.75rem; line-height: 1.4; }
.info-item h3 a { color: inherit; }
.info-item h3 a:hover { color: var(--primary-color); }
.info-item p { font-size: 0.9rem; color: var(--dark-gray); flex-grow: 1; margin-bottom: 1.25rem; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.info-cta { display: inline-block; font-weight: 600; color: var(--primary-color); font-size: 0.9rem; align-self: flex-start; }
.info-cta:hover { color: #0056b3; text-decoration: underline; }

/* --- Info Content Section --- */
.info-content-section { background-color: var(--white-color); }
.info-content-section h2 { color: var(--secondary-color); }
.info-content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 100%; }
.info-content-item { background-color: var(--light-gray); padding: 2rem 1.75rem; border: 1px solid var(--medium-gray); border-radius: var(--border-radius); box-shadow: 0 3px 7px rgba(0,0,0,0.05);}
.info-content-item h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--secondary-color); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.info-content-item h3 .icon { background-color: var(--secondary-color); opacity: 0.8; width: 22px; height: 22px; }
.info-content-item p, .info-content-item li { font-size: 0.95rem; color: var(--darker-gray); line-height: 1.8; }
.info-content-item ul { list-style: '✓ '; list-style-position: inside; padding-left: 0.5rem; margin-top: 1rem; }
.info-content-item li { margin-bottom: 0.75rem; }
.info-content-item strong { color: var(--heading-color); font-weight: 600;}

/* --- How It Works Section --- */
.how-it-works-section { background-color: var(--light-gray); text-align: center; }
.how-it-works-section h2 { color: var(--success-color); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }
.feature-item { padding: 1.75rem; background-color: var(--white-color); border-radius: var(--border-radius); border: 1px solid var(--medium-gray); box-shadow: 0 2px 4px rgba(0,0,0,0.03);}
.feature-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--success-color); }
.feature-item p { font-size: 0.9rem; color: var(--dark-gray); }

/* --- FAQ Section --- */
.faq-section { background-color: var(--white-color); }
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--medium-gray); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { padding: 1.5rem 0; font-size: 1.1rem; font-weight: 600; color: var(--darkest-gray); cursor: pointer; list-style: none; position: relative; padding-right: 2.5rem; transition: color 0.2s ease;}
.faq-item summary:hover { color: var(--primary-color); }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary-color); transition: transform 0.2s ease; }
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-item[open] summary { color: var(--primary-color); }
.faq-answer { padding: 0.5rem 0 1.75rem 0; font-size: 0.95rem; color: var(--darker-gray); line-height: 1.8; }
.faq-answer p { margin-bottom: 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item summary::-webkit-details-marker { display: none; }

/* --- Responsive Styles --- */

/* Tablet & Mobile (992px and below) */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .hero-section h1 { font-size: 2.25rem; }
    .hero-section .subtitle { font-size: 1.1rem; }

    /* --- Other 992px Styles --- */
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .footer-content { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Styles from 992px already apply, add only specifics for smaller screens */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    /* Removed .navigation { display: none; } as it's handled above */
    .hero-section { padding: 3rem 0; }
    .hero-section h1 { font-size: 2rem; }
    .trust-signals-atf { flex-direction: column; gap: 0.75rem; align-items: center; }
    section { padding: 3rem 0; }
    section h2 { margin-bottom: 2rem; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
    .category-item { min-height: 150px; padding: 1.5rem 0.8rem; }
    .top-links-list .rank { padding: 1rem; min-width: 50px; font-size: 1.2rem; }
    .top-links-list .link-info { padding: 1rem; }
    .top-links-list .link-title { font-size: 1rem; }
    .banner-container { grid-template-columns: 1fr; gap: 1rem; }
    .theme-banner { min-height: 180px; }
    .banner-content { padding: 1.5rem; }
    .theme-banner h3 { font-size: 1.2rem; }
    .theme-banner p { font-size: 0.9rem; }
    .problem-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .problem-item { padding: 1.5rem 1.25rem; }
    .problem-item h3 { font-size: 1.1rem; }
    .info-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .info-item { padding: 1.5rem 1.25rem; }
    .info-item h3 { font-size: 1.1rem; }
    .info-content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .info-content-item { padding: 1.75rem 1.25rem; }
    .info-content-item h3 { font-size: 1.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .feature-item { padding: 1.5rem 1rem; }
    .feature-item h3 { font-size: 1.05rem; }
    .faq-item summary { font-size: 1rem; padding-right: 1.5rem; }
    .faq-answer { font-size: 0.9rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-section h4 { margin-top: 1.5rem; text-align: center; border-bottom: none; }
    .footer-section ul { text-align: center; }
    .footer-contact p { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .footer-social { margin-top: 0.5rem; justify-content: center; }
    .footer-bottom-right { flex-direction: column; align-items: center; gap: 1rem; }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
   h1 { font-size: 1.8rem; }
   h2 { font-size: 1.5rem; }
   .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
   .features-grid { grid-template-columns: 1fr; }
}