@charset "UTF-8";

/* ==========================================================================
   1. 기본 설정 (Base)
   ========================================================================== */
:root {
    --bs-body-font-family: "Pretendard Variable", Pretendard, sans-serif;
    --bs-primary: #000000;
    --bs-body-color: #333333;
}

body {
    background-color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 반응형 폰트 사이즈 */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 18px;
    }
    p, .lead, .btn {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    .hero-title {
        font-size: 2.8rem !important;
    }
    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .nav-pills .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        margin: 0 1px;
        white-space: nowrap;
    }
}

@media (min-width: 769px) {
    .hero-title {
        font-size: 5rem !important;
        font-weight: 800;
        letter-spacing: -0.05em;
    }
}

/* ==========================================================================
   2. 컴포넌트 (Components)
   ========================================================================== */

/* 네비게이션 바 */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 공통 버튼 스타일 */
.btn-black {
    background-color: #000;
    color: #fff;
    border-radius: 3rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border: 1px solid #000;
}

.btn-outline-black {
    background-color: transparent;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 3rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
}

/* 탭 버튼 스타일 */
.nav-pills .nav-link {
    color: #888;
    font-weight: 600;
    border-radius: 2rem;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #f5f5f5;
    color: #000;
}

/* 카드 공통 스타일 (기능, 요금제, 다운로드) */
.feature-card,
.pricing-card,
.download-card {
    border: none;
    background: #f9f9f9;
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-card .bi {
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .bi {
    transform: scale(1.1);
}

/* 요금제 카드 특수 스타일 */
.pricing-card.pro {
    background: #000;
    color: #fff;
}

.pricing-card.pro h3,
.pricing-card.pro h4,
.pricing-card.pro .text-muted,
.pricing-card.pro .bi {
    color: #ccc !important;
}

.pricing-card.basic {
    background: #fff;
    border: 1px solid #eee;
}

/* 텍스트 그라디언트 효과 */
.text-gradient {
    background: linear-gradient(45deg, #000000, #555555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   3. 가이드 페이지 전용 (Guide)
   ========================================================================== */
.guide-section {
    margin-bottom: 3rem;
}

.guide-step-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: #111;
}

.guide-step-number {
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.guide-content {
    padding-left: 34px;
    font-size: 0.95rem;
    color: #555;
}

.guide-content ol,
.guide-content ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

.code-box {
    background: #f4f6f8;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #d63384;
    font-family: monospace;
    font-weight: bold;
}

.alert-tip {
    background-color: #f8f9fa;
    border-left: 4px solid #000;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 플랫폼 뱃지 */
.platform-badge {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    margin-right: 6px;
    font-weight: bold;
    color: #fff;
}

.bg-naver {
    background-color: #03c75a;
}

.bg-tistory {
    background-color: #f55320;
}

.bg-wp {
    background-color: #21759b;
}