﻿/*
 * 파일명: sections.css
 * 위치: /assets/css/sections.css
 * 기능: 메인 페이지 섹션들 통합 스타일시트
 * 작성일: 2025-07-20
 * 수정일: 2025-07-20
 */

/* ===================================
 * 웹툴 섹션 (가로 5개로 수정)
 * =================================== */
.webtools-section {
    background: rgba(124, 58, 237, 0.03);
    padding: 1.75rem 0;
    margin: 1.5rem 0;
    border-radius: 16px;
}

.webtools-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.webtools-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.webtools-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.webtools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.webtool-item {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 80px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.webtool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #7c3aed;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.webtool-item:hover {
    color: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.webtool-item:hover::before {
    transform: scaleX(1);
}

.webtool-item i {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.webtool-item:hover i {
    transform: scale(1.1);
}

.webtool-item span {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.2;
}

.webtool-item.special {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #ffffff !important;
    font-weight: 600;
}

.webtool-item.special:hover {
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
}

.webtool-item.special::before {
    background: #ffffff;
}


/* 쿠팡 인기상품 카드 특별 강조 스타일 */
.webtool-item.premium {
    background: linear-gradient(135deg, #f0e8fe 0%, #e4d4fd 100%);
    color: #7c3aed !important;
    border: 1px solid #e4d4fd;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
}

.webtool-item.premium::before {
    background: #7c3aed;
    height: 3px;
}

.webtool-item.premium:hover {
    color: #6d28d9 !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, #e4d4fd 0%, #d8b4fe 100%);
}

.webtool-item.premium:hover::before {
    transform: scaleX(1);
}

.webtool-item.premium i {
    color: #7c3aed;
}

.webtool-item.premium:hover i {
    transform: scale(1.15);
    color: #6d28d9;
}

/* ===================================
 * Features 섹션 (webtools 기준으로 재작성)
 * =================================== */
.features-balanced {
    background: rgba(0, 102, 255, 0.02);
    padding: 2rem 0;
    margin: 1.5rem 0;
    border-radius: 16px;
}

.features-balanced h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1a1d29;
    margin-bottom: 1.75rem;
    text-align: center;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.balanced-card {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.balanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0066ff;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.balanced-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.balanced-card:hover::before {
    transform: scaleX(1);
}

.balanced-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.balanced-card:hover .balanced-icon {
    transform: scale(1.1);
}

.balanced-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1d29;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.balanced-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    text-align: center !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 32px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.balanced-btn i { 
    font-size: 0.75rem;
	margin-left: 0 !important;
    margin-right: 0 !important;
}

.balanced-btn-primary { 
    color: #0066ff; 
    border-color: #0066ff; 
    background: transparent; 
}

.balanced-btn-primary:hover { 
    background: #0066ff; 
    color: #ffffff; 
    text-decoration: none; 
}

.balanced-btn-success { 
    color: #10b981; 
    border-color: #10b981; 
    background: transparent; 
}

.balanced-btn-success:hover { 
    background: #10b981; 
    color: #ffffff; 
    text-decoration: none; 
}

.balanced-btn-warning { 
    color: #d97706; 
    border-color: #d97706; 
    background: transparent; 
}

.balanced-btn-warning:hover { 
    background: #d97706; 
    color: #ffffff; 
    text-decoration: none; 
}

.balanced-btn-danger { 
    color: #dc2626; 
    border-color: #dc2626; 
    background: transparent; 
}

.balanced-btn-danger:hover { 
    background: #dc2626; 
    color: #ffffff; 
    text-decoration: none; 
}

.stats-balanced {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #0ea5e9;
}

.stats-balanced::before { 
    background: #10b981; 
}

.stats-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #10b981;
    margin: 0.5rem 0 0.25rem 0;
    line-height: 1;
}

.stats-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.dual-btn-balanced {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.dual-btn-balanced .balanced-btn {
    flex: 1;
    min-width: 60px;
    justify-content: center;
}

/* ===================================
 * 빠른 메뉴 섹션 (모바일 2개씩 배치)
 * =================================== */
.menu-section {
    background: #ffffff;
    padding: 1.25rem 0;
    margin: 1rem 0;
    border-radius: 16px;
    border: 1px solid #e5e8ec;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.menu-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-horizontal-item {
    background: #fafbfc;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.menu-horizontal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #0066ff;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.menu-horizontal-item:hover {
    background: #0066ff;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-horizontal-item:hover::before { 
    transform: scaleX(1); 
}

/* ===================================
 * 가격 정책 섹션 (webtools 기준으로 재작성)
 * =================================== */
.pricing-section {
    background: #ffffff;
    padding: 2rem 0;
    margin: 1.5rem 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e8ec;
}

.pricing-section h2 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1a1d29;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-section p {
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card-header {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    border: none;
}

.pricing-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.pricing-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.9rem;
    border-bottom: 1px solid #f4f6f8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li:last-child { 
    border-bottom: none; 
}

.pricing-features li::before {
    content: '•';
    color: #0066ff;
    font-weight: bold;
    font-size: 1.2rem;
    width: 16px;
    flex-shrink: 0;
}

.pricing-btn {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid;
    cursor: pointer;
}

.pricing-btn.btn-outline-primary { 
    background: transparent; 
    color: #0066ff; 
    border-color: #0066ff; 
}

.pricing-btn.btn-outline-primary:hover { 
    background: #0066ff; 
    color: #ffffff; 
    text-decoration: none; 
    transform: translateY(-1px); 
}

.pricing-btn.btn-primary { 
    background: #0066ff; 
    color: #ffffff; 
    border-color: #0066ff; 
}

.pricing-btn.btn-primary:hover { 
    background: #0052cc; 
    border-color: #0052cc; 
    color: #ffffff; 
    text-decoration: none; 
    transform: translateY(-1px); 
}

.pricing-btn.w-100 { 
    width: 100%; 
}

/* ===================================
 * 사이트 정보 섹션 (webtools 기준으로 재작성)
 * =================================== */
.siteinfo-section {
    background: rgba(0, 102, 255, 0.02);
    padding: 2rem 0;
    margin: 1.5rem 0;
    border-radius: 16px;
}

.siteinfo-section h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1a1d29;
    text-align: center;
    margin-bottom: 1.75rem;
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
}

.info-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    text-align: center;
    margin-bottom: 2rem;
}

.url-example-box {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.url-example-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
}

.url-item {
    background: #fafbfc;
    border: 1px solid #e5e8ec;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.url-item:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.url-item:last-child { 
    margin-bottom: 0; 
}

.url-label {
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    min-width: 70px;
}

.url-item a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Monaco', 'Consolas', monospace;
    word-break: break-all;
    flex: 1;
}

.url-item a:hover {
    color: #0052cc;
    text-decoration: underline;
}

.benefits-container {
    background: #ffffff;
    border: 1px solid #e5e8ec;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.benefits-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.benefit-tag {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.benefit-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-tag i { 
    font-size: 0.75rem; 
}

/* ===================================
 * 반응형 최적화
 * =================================== */
@media (max-width: 1199px) {
    .features-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
    }
	.webtools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.875rem;
    }
}

@media (max-width: 991px) {
    .features-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
	
	.webtools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
    }
    
    .balanced-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .webtools-section,
    .features-balanced,
    .siteinfo-section {
        padding: 1.75rem 0;
        margin: 1.25rem 0;
    }
    
    .pricing-section {
        padding: 1.75rem 0;
        margin: 1.25rem 0;
    }
    
    .webtools-header h3,
    .features-balanced h3,
    .siteinfo-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-section h2 {
        font-size: 1.5rem;
    }
    
    .features-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .balanced-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 190px;
        margin: 0 auto;
    }
	
	.balanced-card {
        height: 140px;
        padding: 1rem;
        width: 100%;
    }
    
    .balanced-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .balanced-title {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .balanced-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-height: 28px;
    }
	
	.dual-btn-balanced .balanced-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        min-width: 45px;
    }
    
    .stats-value { 
        font-size: 1.4rem; 
    }
    
    .stats-label { 
        font-size: 0.7rem; 
    }
    
    .menu-section {
        padding: 1rem 0;
        margin: 0.75rem 0;
    }
    
    .menu-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .menu-horizontal-item {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        min-height: 50px;
        width: 100%;
        justify-content: center;
    }
    
    .webtools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
    
    .webtool-item {
        padding: 0.875rem;
        min-height: 75px;
    }
    
    .webtool-item i { 
        font-size: 1.1rem; 
    }
    
    .webtool-item span { 
        font-size: 0.8rem; 
    }
    
    .pricing-card-header { 
        padding: 1.25rem; 
    }
    
    .pricing-card-header h3 { 
        font-size: 1.1rem; 
    }
    
    .pricing-card-body { 
        padding: 1.25rem; 
    }
    
    .pricing-features li { 
        font-size: 0.85rem; 
        padding: 0.4rem 0; 
    }
    
    .pricing-btn { 
        padding: 0.6rem 0.875rem; 
        font-size: 0.85rem; 
    }
    
    .info-description { 
        font-size: 1rem; 
        margin-bottom: 1.5rem; 
    }
    
    .url-example-box,
    .benefits-container {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .url-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.875rem;
    }
    
    .url-label {
        min-width: auto;
        font-size: 0.875rem;
    }
    
    .url-item a { 
        font-size: 0.875rem; 
    }
    
    .benefits-list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .benefit-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }
}

@media (max-width: 576px) {
    .webtools-section,
    .features-balanced,
    .siteinfo-section,
    .pricing-section { 
        padding: 1.5rem 0; 
    }
	
	.features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        max-width: 350px;
    }
    
    .balanced-card {
        height: 130px;
        padding: 0.875rem;
    }
    
    .balanced-card:nth-child(5) {
        max-width: 170px;
    }
    
    .stats-value { 
        font-size: 1.3rem; 
    }
    
    .stats-label { 
        font-size: 0.65rem; 
    }
    
    .dual-btn-balanced {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .balanced-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .balanced-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
	
	.balanced-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        min-height: 26px;
    }
	
	.dual-btn-balanced {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .dual-btn-balanced .balanced-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.6rem;
        min-width: 40px;
    }	
    
    .menu-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 350px;
    }
    
    .menu-horizontal-item {
        font-size: 0.75rem;
        padding: 0.6rem 0.4rem;
        min-height: 45px;
    }
    
    .webtools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .webtool-item {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .webtool-item i { 
        font-size: 1rem; 
    }
    
    .webtool-item span { 
        font-size: 0.75rem; 
    }
    
    .pricing-card-header { 
        padding: 1rem; 
    }
    
    .pricing-card-body { 
        padding: 1rem; 
    }
    
    .pricing-features li { 
        font-size: 0.8rem; 
    }
    
    .pricing-btn { 
        font-size: 0.8rem; 
    }
    
    .url-example-box,
    .benefits-container { 
        padding: 1rem; 
    }
    
    .url-item { 
        padding: 0.75rem; 
    }
    
    .benefit-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}