/* 기본 리셋 및 공통 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    background-color: #9376E0;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #7d63c7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-card {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-card:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

/* 헤더 스타일 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #9376E0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #9376E0;
}

/* 히어로 섹션 제거 - 향후 캐러셀 위치 */

/* 서비스 섹션 */
.services {
    padding: 120px 0 80px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-top: 5px solid var(--card-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-color);
    color: white;
}

.card-image i {
    font-size: 3rem;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.desktop-only {
    display: block;
    margin-top: 10px;
    color: #ff8080;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 소개 섹션 */
.about {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* 공유 섹션 */
.share {
    padding: 60px 0;
    background-color: #fff;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    background-color: #eee;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share i {
    margin-right: 10px;
}

.btn-share:hover {
    background-color: #ddd;
}

.btn-share.facebook {
    background-color: #3b5998;
    color: white;
}

.btn-share.facebook:hover {
    background-color: #2d4373;
}

.btn-share.twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-share.twitter:hover {
    background-color: #0c85d0;
}

/* 푸터 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 15px;
}

.email {
    color: #9376E0;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* 기존 CSS 파일에 아래 내용을 추가해주세요 */

/* 관련 서비스 섹션 스타일 */
.related-services {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.related-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.related-category {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 30px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-category h3 {
    color: #9376E0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.related-category ul {
    list-style: none;
}

.related-category ul li {
    margin: 10px 0;
}

.related-category ul li a {
    color: #555;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.related-category ul li a:hover {
    color: #9376E0;
}

/* 푸터 내비게이션 추가 스타일 */
.footer-nav {
    flex: 1;
}

.footer-nav ul {
    columns: 2;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: white;
}

/* 반응형 스타일 수정 */
@media (max-width: 768px) {
    .related-links {
        flex-direction: column;
    }
    
    .related-category {
        margin: 0 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav ul {
        columns: 1;
    }
}

/* 파트너스 섹션 스타일 (쿠팡 + 알리익스프레스) */
.partners {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partners-box {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
}

.partners-logo {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
}

.partners-logo.coupang {
    background-color: #FF9B31;
}

.partners-logo.ali {
    background-color: #FF4747;
}

.partners-logo i {
    font-size: 4rem;
}

.partners-text {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.partners-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.partners-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.btn-partners {
    display: inline-block;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 20px 0;
    text-align: center;
}

.btn-partners.coupang {
    background-color: #FF9B31;
}

.btn-partners.coupang:hover {
    background-color: #e8831c;
}

.btn-partners.ali {
    background-color: #FF4747;
}

.btn-partners.ali:hover {
    background-color: #e63c3c;
}

.btn-partners:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partners-notice {
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
    margin-top: auto;
    padding-top: 15px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* 파트너스 섹션 다이렉트 링크 및 복사 버튼 추가 스타일 */
.direct-link-container {
    display: flex;
    margin: 15px 0;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.direct-link-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 0.9rem;
    color: #555;
    background-color: #f9f9f9;
    cursor: text;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background-color: #eee;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background-color: #e0e0e0;
}

.btn-copy i {
    font-size: 1rem;
    color: #555;
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
    .direct-link-container {
        flex-direction: column;
    }
    
    .direct-link-input {
        border-right: 1px solid #ddd;
        border-bottom: none;
        border-radius: 5px 5px 0 0;
    }
    
    .btn-copy {
        padding: 8px 0;
        border-radius: 0 0 5px 5px;
    }
}