﻿/* ?몃씪???뺤닔湲??쒕뵫 ?섏씠吏 ?ㅽ???*/
:root {
    --cg-primary: #1a1a2e;
    --cg-accent: #2563eb;
    --cg-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --cg-light: #f8fafc;
    --cg-gray: #64748b;
}

/* 그누보드 테마 너비 제한 해제 */
#ctt,
#ctt_con,
.ctt_ceragem_water,
section.sub,
article#ctt,
.rb-basic,
#wrapper,
#container,
.container,
#main,
main,
section.sub,
.sub,
#sub {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* contents_wrap 패딩 제거 */
.contents_wrap {
    padding: 0 !important;
}

/* Landing Container */
.cg-landing {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--cg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.cg-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Hero Section - 반응형 이미지 */
.cg-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #e8f4fc;
}

.cg-hero picture {
    display: block;
    width: 100%;
}

.cg-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

/* 모바일에서는 가로 100% */
@media (max-width: 768px) {
    .cg-hero picture {
        max-width: 100%;
    }
}





.cg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 22px 48px;
    border-radius: 60px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.cg-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.6);
}

.cg-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cg-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Benefits Section */
.cg-benefits {
    padding: 100px 0;
    background: var(--cg-light);
}

.cg-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cg-section-badge {
    display: inline-block;
    color: var(--cg-accent);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cg-section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--cg-primary);
    margin-bottom: 16px;
}

.cg-section-desc {
    font-size: 18px;
    color: var(--cg-gray);
}

.cg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cg-benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cg-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.cg-benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--cg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.cg-benefit-icon i {
    font-size: 32px;
    color: white;
}

.cg-benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cg-primary);
}

.cg-benefit-card p {
    font-size: 15px;
    color: var(--cg-gray);
    line-height: 1.6;
}

/* Product Section */
.cg-product {
    padding: 100px 0;
    background: white;
}

/* Product Gallery - 1000px 제한 + 더보기 기능 */
.cg-product-gallery-wrapper {
    position: relative;
    max-height: 1000px !important;
    overflow: hidden !important;
    transition: max-height 0.5s ease;
}

.cg-product-gallery-wrapper.expanded {
    max-height: none !important;
    overflow: visible !important;
}

.cg-product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.cg-gallery-item {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
}

/* 그라데이션 오버레이 */
.cg-gallery-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cg-product-gallery-wrapper.expanded .cg-gallery-gradient {
    opacity: 0;
}

/* 더보기 버튼 */
.cg-gallery-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.cg-gallery-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.cg-gallery-toggle.expanded {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.cg-gallery-toggle.expanded i {
    transform: rotate(180deg);
}

.cg-gallery-toggle i {
    transition: transform 0.3s ease;
}

.cg-product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f4f4f4;
    border-radius: 30px;
    padding: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.cg-product-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
}

.cg-product-badge {
    display: inline-block;
    background: var(--cg-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cg-product-name {
    font-size: 36px;
    font-weight: 800;
    color: var(--cg-primary);
    margin-bottom: 24px;
}

.cg-product-price {
    margin-bottom: 24px;
}

.cg-price-label {
    display: block;
    font-size: 16px;
    color: var(--cg-gray);
    margin-bottom: 8px;
}

.cg-price-original {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 12px;
}

.cg-price-discount {
    font-size: 32px;
    font-weight: 800;
    color: var(--cg-accent);
}

.cg-price-note {
    display: block;
    font-size: 13px;
    color: var(--cg-gray);
    margin-top: 4px;
}

.cg-product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.cg-product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--cg-primary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cg-product-features li i {
    color: var(--cg-accent);
    font-size: 16px;
}

.cg-product-btn {
    display: inline-block;
    background: var(--cg-gradient);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.cg-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* CTA Section */
.cg-cta {
    padding: 80px 0;
    background: #f4f4f4;
}

.cg-cta-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.cg-cta-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cg-cta-icon {
    width: 60px;
    height: 60px;
    background: var(--cg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cg-cta-icon i {
    color: white;
    font-size: 24px;
}

.cg-cta-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cg-primary);
}

.cg-cta-card p {
    font-size: 16px;
    color: var(--cg-gray);
    line-height: 1.6;
}

/* Inquiry Form Section */
.cg-inquiry {
    padding: 100px 0;
    background: white;
}

.cg-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cg-light);
    padding: 50px;
    border-radius: 24px;
}

.cg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cg-form-group {
    margin-bottom: 24px;
}

.cg-form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--cg-primary);
    margin-bottom: 8px;
}

.cg-form-group label .required {
    color: #ef4444;
}

.cg-form-group input,
.cg-form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.cg-form-group input:focus,
.cg-form-group textarea:focus {
    outline: none;
    border-color: var(--cg-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cg-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cg-form-agreement {
    margin-bottom: 24px;
}

.cg-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--cg-gray);
}

.cg-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--cg-accent);
}

.cg-checkbox .required {
    color: #ef4444;
}

.cg-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cg-gradient);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.cg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.cg-form-note {
    text-align: center;
    font-size: 13px;
    color: var(--cg-gray);
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cg-container {
        padding: 0 2rem;
    }

    .cg-benefits-grid,
    .cg-cta-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cg-product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cg-product-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cg-hero-title {
        font-size: 32px;
    }

    .cg-section-title {
        font-size: 28px;
    }

    .cg-hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cg-benefits-grid,
    .cg-cta-cards {
        grid-template-columns: 1fr;
    }

    .cg-form-row {
        grid-template-columns: 1fr;
    }

    .cg-form {
        padding: 30px 20px;
    }
}

/* 체크박스 가시성 개선 */
.cg-checkbox input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.cg-checkbox .checkmark {
    display: none;
}


/* 제품 상세보기 버튼 */
.cg-product-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 16px 32px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cg-product-detail-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Footer Section */
.cg-footer {
    background: #1a1a2e;
    color: #e2e8f0;
    padding: 50px 20px 30px;
    margin-top: 60px;
}

.cg-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cg-footer-info {
    margin-bottom: 30px;
}

.cg-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cg-footer-logo img {
    height: 32px;
    width: auto;
}

.cg-footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.cg-footer-company p {
    font-size: 14px;
    color: #94a3b8;
    margin: 6px 0;
    line-height: 1.6;
}

.cg-footer-company strong {
    color: #e2e8f0;
}

.cg-footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.cg-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.cg-footer-links a:hover {
    color: #3b82f6;
}

.cg-footer-links span {
    color: #475569;
}

.cg-footer-copyright {
    font-size: 13px;
    color: #64748b;
    margin-top: 20px;
}

/* 모바일 푸터 */
@media (max-width: 768px) {
    .cg-footer {
        padding: 40px 16px 24px;
        margin-top: 40px;
    }

    .cg-footer-company p {
        font-size: 12px;
    }

    .cg-footer-links {
        font-size: 13px;
        gap: 10px;
    }
}