/*
* 파일명: style.css
* 경로: /assets/css/
* 기능: 부고링크 공통 스타일시트
* 작성일: 2025-09-01
* 수정일: 2025-09-01
*/

/* ======== [1차] 기본 설정 ======== */
:root {
    --primary-color: #4a4359;
    --secondary-color: #6b5b7a;
    --accent-color: #c5b89a;
    --text-light: #e8dcc6;
    --text-dark: #2c2833;
    --bg-dark: #3e3446;
    --bg-light: #f5f3f0;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ---- [2차] 타이포그래피 ---- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.display-1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 700; }
.display-2 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600; }

/* ---- [2차] 네비게이션 ---- */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(74, 67, 89, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(74, 67, 89, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light) !important;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28232, 220, 198, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ======== [1차] 히어로 섹션 ======== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(197, 184, 154, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 91, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(74, 67, 89, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- [2차] 버튼 스타일 ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
    border: none !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    color: var(--text-dark) !important;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--text-light) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* ======== [1차] 콘텐츠 섹션 ======== */
.content-section {
    background: var(--bg-light);
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ---- [2차] 광고 섹션 ---- */
.promo-section {
    background: linear-gradient(135deg, rgba(197, 184, 154, 0.1), rgba(107, 91, 122, 0.1));
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.promo-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.promo-section p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.promo-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    text-decoration: none !important;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: white !important;
}

/* ---- [2차] 피처 카드 ---- */
.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* ---- [2차] 정보 카드 ---- */
.info-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.info-card .card-body {
    padding: 2rem;
}

.info-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card .card-text {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* ======== [1차] 푸터 ======== */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

footer h5, footer h6 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--accent-color);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ======== [1차] 서브페이지 스타일 ======== */
.page-content {
    background: var(--bg-light);
    min-height: 100vh;
    padding-top: 100px;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.content-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.content-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.content-card h4 i {
    margin-right: 0.75rem;
    color: var(--secondary-color);
}

/* ---- [2차] 체크리스트 아이템 ---- */
.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(197, 184, 154, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: rgba(197, 184, 154, 0.15);
}

.checklist-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.checklist-item strong {
    color: var(--primary-color);
}

.checklist-item small {
    color: var(--secondary-color);
    opacity: 0.8;
}

/* ---- [2차] 메시지 예시 ---- */
.message-example {
    background: rgba(107, 91, 122, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.message-example:hover {
    background: rgba(107, 91, 122, 0.15);
    transform: translateX(4px);
}

.message-example p {
    margin: 0;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
}

/* ---- [2차] 스텝 카드 ---- */
.step-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}

.timeline-item {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 8px;
    width: 11px;
    height: 11px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 2px solid var(--bg-light);
}

.timeline-item h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-item p {
    color: var(--secondary-color);
    margin: 0;
}

/* ---- [2차] 경고 박스 오버라이드 ---- */
.alert-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-dark) !important;
}

.alert-info {
    background-color: rgba(197, 184, 154, 0.1) !important;
    border-color: var(--secondary-color) !important;
    color: var(--text-dark) !important;
}

/* ======== [1차] 반응형 디자인 ======== */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .feature-card,
    .content-card,
    .step-card {
        padding: 2rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .promo-section {
        padding: 2rem;
        margin: 2rem 0;
    }
}

/* ---- [2차] 애니메이션 ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ---- [2차] 스크롤 애니메이션 ---- */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}