/* ================================================================
   Terms & Privacy Page Styles
================================================================ */

/* fade-in-up 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-in-up.delay-1 {
    animation-delay: 0.15s;
}

/* ----------------------------------------------------------------
   Layout
---------------------------------------------------------------- */
.policy-page {
    min-height: 100vh;
    background: #0b0b0b;
    color: #ccc;
    display: flex;
    flex-direction: column;
}

.policy-body {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 180px;
    box-sizing: border-box;
}

/* ----------------------------------------------------------------
   Header (제목 + 시행일자 - 가운데 정렬)
---------------------------------------------------------------- */
.policy-header {
    text-align: center;
    margin-bottom: 32px;
}

.policy-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.policy-effective {
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* ----------------------------------------------------------------
   Card Box (billing-card 스타일과 동일)
---------------------------------------------------------------- */
.policy-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

/* ----------------------------------------------------------------
   Section
---------------------------------------------------------------- */
.policy-section {
    padding: 28px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.policy-section--last {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.policy-section p,
.policy-section li {
    font-size: 13px;
    color: #888;
    line-height: 1.9;
    margin: 4px 0;
}

.policy-section ol,
.policy-section ul {
    padding-left: 20px;
    margin: 8px 0;
}

.policy-section ul { list-style: disc; }
.policy-section ol { list-style: decimal; }

/* ----------------------------------------------------------------
   Light Mode
---------------------------------------------------------------- */
body.light-mode .policy-page { background: #fcfcfc; color: #333; }
body.light-mode .policy-header h1 { color: #0b0b0b; }
body.light-mode .policy-effective { color: #aaa; }
body.light-mode .policy-card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}
body.light-mode .policy-section { border-bottom-color: rgba(0,0,0,0.06); }
body.light-mode .policy-section h2 { color: #111; }
body.light-mode .policy-section p,
body.light-mode .policy-section li { color: #555; }

/* ----------------------------------------------------------------
   푸터 오버라이드 - 정책 페이지에서는 일반 흐름으로 표시
---------------------------------------------------------------- */
body.page-policy .page-footer {
    position: relative !important;
    bottom: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(10,10,10,0.95) !important;
}
body.page-policy.light-mode .page-footer {
    background: #f5f5f5 !important;
}

/* ----------------------------------------------------------------
   Mobile
---------------------------------------------------------------- */
@media (max-width: 768px) {
    .policy-body {
        padding: 100px 16px 140px;
    }
    .policy-header h1 { font-size: 1.5rem; }
    .policy-section { padding: 20px 20px; }
}
