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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

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

/* 헤더 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4f46e5;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

/* 메인 콘텐츠 */
.main-content {
    margin-top: 100px;
    padding: 2rem 0;
}

h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.terms-content, .privacy-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

section {
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

h3 {
    font-size: 1.2rem;
    color: #334155;
    margin: 1rem 0 0.5rem 0;
}

p {
    margin-bottom: 1rem;
    color: #475569;
}

ol, ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: #475569;
}

address {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 5px;
    font-style: normal;
    line-height: 1.8;
}

address a {
    color: #4f46e5;
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}

/* 푸터 */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .terms-content, .privacy-content {
        padding: 1.5rem;
    }
}