@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-gov.min.css");
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard GOV', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Sub Navigation */
.sub-nav-wrapper {
    background-color: rgba(247, 248, 253, 1);
    padding: 12px 0;
    display: flex;
    justify-content: center;
}

.sub-nav-inner {
    display: flex;
    gap: 12px;
}

.sub-nav-item {
    font-size: 15px;
    font-weight: 700;
    color: #666;
    padding: 8px 20px;
    border-radius: 24px;
    transition: all 0.2s;
    line-height: 17px;
}

.sub-nav-item:hover {
    color: #333;
}

.sub-nav-item.active {
    background-color: rgba(34, 34, 34, 1);
    color: #fff;
}

/* Main Content */
.service-main {
    min-height: calc(100vh - 200px);
    /* rough estimate */
}

/* Product Guide Section */
.product-guide {
    padding: 40px 0 100px;
    background-color: #fff;
}

.product-guide-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: rgba(34, 34, 34, 1);
    margin-bottom:20px;
    letter-spacing: 0;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: rgba(34, 34, 34, 1);
    letter-spacing: 0;
    line-height: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-category {
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-bottom: 16px;
    border-bottom: 1px solid #EAEAEA;
    margin-bottom: 20px;
}

.product-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .product-card {
        flex-direction: column;
    }

    .product-left {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }
}

/* Product Left Side (Image & Tags) */
.product-left {
    width: 220px;
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-image {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FAFAFA;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Placeholder styles until real images are provided */
.book-cover {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.book-cover span {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    line-height: 1.4;
}

.placeholder-topic {
    background: linear-gradient(135deg, #E8F0FE 0%, #fff 100%);
    border: 1px solid #D2E3FC;
}

.placeholder-topic span {
    color: #1967D2;
}

.placeholder-career {
    background: linear-gradient(135deg, #FCE8E6 0%, #fff 100%);
    border: 1px solid #FAD2CF;
}

.placeholder-career span {
    color: #C5221F;
}

.product-meta-tags {
    display: flex;
    border: 1px solid #EAEAEA;
    border-radius: 6px;
    overflow: hidden;
}

.meta-tag {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    font-size: 12px;
    color: rgba(103, 106, 120, 1);
    background-color: #fff;
    font-weight: 700;
}

.meta-tag:first-child {
    border-right: 1px solid #EAEAEA;
}

/* Product Right Side (Info & Actions) */
.product-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 330px;
    /* match left side approx height */
}

.product-right.product{
    justify-content: flex-start;
}
.product-right.product .product-main-title{
    margin-bottom: 16px;
}

.product-info-parts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-right.product .product-info-parts{
    gap: 0;
}

.product-right.product .product-divider{
    margin-bottom: 20px;
}
.product-right.product .desc-subtitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.5px;
    color: rgba(153, 153, 153, 1);
    margin-bottom: 4px;
}
.product-right.product .desc-text{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.5px;
    color: rgba(34, 34, 34, 1);

}
.product-right.product .product-desc-section{
    margin-bottom: 12px;
}
.product-right.product .product-actions{
    padding-top: 30px;
    margin-top: 0;
}

.product-part {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;

}
.product-part:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.part-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A233A;
    margin-bottom: 8px;
}

.part-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.tag {
    background-color: rgba(239, 240, 246, 1);
    color: rgba(34, 34, 34, 1);
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 8px;
}

.part-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.part-list li {
    font-size: 13px;
    font-weight: 700;
    color: rgba(68, 68, 68, 1);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.5;
}

.list-num {
    color: rgba(255, 255, 255, 1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background-color: rgba(160, 160, 160, 1);
    width: 14px;
    height: 14px;
    position: relative;
    top: -1px;
    text-align: center;
    border-radius: 50%;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.btn-outline {
    height: 36px;
    line-height: 36px;
    border: 1px solid #EAEAEA;
    background-color: #fff;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
    text-align: center;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline img {
    width: 6px;
    height: 10px;
}

.btn-outline:hover {
    background-color: #F8F9FA;
    border-color: #DEE2E6;
}

.btn-primary {
    height: 36px;
    background-color: #2B354D;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
}

.btn-primary:hover {
    background-color: #1A233A;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* V2 Product Card Styles for product.html */
.product-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A233A;
    margin-bottom: 0;
}

.product-divider {
    height: 1px;
    background-color: #EAEAEA;
    margin-bottom: 24px;
}

.product-desc-section {
    margin-bottom: 24px;
}

.product-desc-section:last-of-type {
    margin-bottom: 0;
}

.desc-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}

.desc-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    flex: 0 1 auto;
    min-width: 120px;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1380px;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    margin: 0 auto;
    background: white;
}

.logo img {
    width: auto;
}

nav.gnb {
    display: flex;
    gap: 64px;
}

nav.gnb a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    position: relative;
}

nav.gnb a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary, #1a1a1a);
}

.btn-contact {
    background-color: #ff473e;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Footer Section */
.site-footer {
    background-color: #2b2b2b;
    color: #888888;
    padding: 50px 0;
    width: 100%;
}

.footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    font-weight: 700;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-controls {
    display: flex;
    gap: 12px;
}

.related-sites {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #888888;
    padding: 8px 16px;
    border-radius: 4px;
    outline: none;
    font-size: 13px;
    appearance: none;
    width: 140px;
}

.btn-top {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #bbb;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.btn-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 12px;
    line-height: 1.6;
}

.company-info {
    margin-bottom: 10px;
}

.company-info .divider {
    margin: 0 8px;
    color: #555;
}

.copyright {
    color: #666;
}