:root {
    /* 요청하신 4가지 메인 컬러 (차분하고 은은한 파스텔톤으로 조정) */
    --color-skyblue: #E0F2FE; /* 하늘색 */
    --color-purple: #EDE9FE;  /* 보라색 */
    --color-blue: #DBEAFE;    /* 파란색 */
    --color-green: #DCFCE7;   /* 연두색 */
    
    --color-text-main: #1E293B; /* 차분한 짙은 네이비/그레이 */
    --color-text-sub: #64748B;
    --color-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

/* Line Break Utility */
.pc-br {
    display: inline;
}

body {
    background-color: #F8FAFC;
    color: var(--color-text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 4가지 색상을 활용한 차분하고 유려한 배경 애니메이션 */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        var(--color-skyblue), 
        var(--color-purple), 
        var(--color-blue), 
        var(--color-green)
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease-in-out infinite alternate;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 차분함을 더해주는 글래스 오버레이 (뿌연 안개 느낌) */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 32px 0;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.nav a {
    text-decoration: none;
    color: var(--color-text-sub);
    margin-left: 36px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--color-text-main);
}

/* Main */
.main {
    flex: 1;
    display: block; /* Removed flex to stop horizontal layout */
    padding: 0;
}

/* Hero Section (별도 래퍼 스타일) */
.hero-section {
    padding: 80px 0;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 580px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6366F1;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--color-text-main);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-sub);
    margin-bottom: 48px;
    word-break: keep-all;
}

/* 버튼: 과장되지 않고 정갈하게 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-text-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 글래스모피즘 카드 디자인 */
.glass-card {
    position: absolute;
    width: 260px;
    height: 120px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    padding: 24px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 16px 32px -8px rgba(15, 23, 42, 0.1),
        0 32px 64px -20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: float 8s ease-in-out infinite;
}

.card-1 {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 0%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: -4s;
}

.card-4 {
    bottom: 0%;
    right: 20%;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* 4가지 포인트 컬러 아이콘 */
.card-icon.skyblue { background: linear-gradient(135deg, #BAE6FD, #7DD3FC); }
.card-icon.purple { background: linear-gradient(135deg, #E9D5FF, #C084FC); }
.card-icon.blue { background: linear-gradient(135deg, #BFDBFE, #60A5FA); }
.card-icon.green { background: linear-gradient(135deg, #BBF7D0, #4ADE80); }

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.card-tags {
    font-size: 0.75rem;
    color: var(--color-text-sub);
    font-weight: 500;
}

/* Sections Common */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text-main);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-text-sub);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Feature Section */
.feature-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px -8px rgba(15, 23, 42, 0.08),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 36px -8px rgba(15, 23, 42, 0.12),
        0 40px 64px -20px rgba(15, 23, 42, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    box-shadow:
        0 6px 16px rgba(15, 23, 42, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}
.feature-icon.skyblue { background: linear-gradient(135deg, #BAE6FD, #7DD3FC); }
.feature-icon.purple { background: linear-gradient(135deg, #E9D5FF, #C084FC); }
.feature-icon.blue { background: linear-gradient(135deg, #BFDBFE, #60A5FA); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-main);
    word-break: keep-all;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-sub);
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Roles Section */
.roles-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.role-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 44px 36px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px -8px rgba(15, 23, 42, 0.08),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-top: 4px solid transparent;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
}

.role-card.developer::before {
    background: radial-gradient(circle, #BAE6FD 0%, transparent 70%);
}

.role-card.company::before {
    background: radial-gradient(circle, #E9D5FF 0%, transparent 70%);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 36px -8px rgba(15, 23, 42, 0.12),
        0 40px 64px -20px rgba(15, 23, 42, 0.1);
}

.role-card.developer {
    border-top-color: #7DD3FC;
}

.role-card.company {
    border-top-color: #C084FC;
}

.role-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.role-card.developer .role-icon {
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
}

.role-card.company .role-icon {
    background: linear-gradient(135deg, #EDE9FE, #E9D5FF);
}

.role-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    word-break: keep-all;
}

.role-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-sub);
    margin-bottom: 24px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.role-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-list li {
    font-size: 0.9rem;
    color: var(--color-text-main);
    padding-left: 20px;
    position: relative;
    word-break: keep-all;
}

.role-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6366F1;
    font-weight: 600;
}

/* Guide Section */
.guide-section {
    padding: 100px 0;
    background: rgba(248, 250, 252, 0.5);
}

/* Guide Tabs */
.guide-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-text-sub);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #6366F1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-text-main);
}

.guide-content.hidden {
    display: none;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px 32px;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px -8px rgba(15, 23, 42, 0.06),
        0 16px 40px -16px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(255, 255, 255, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateX(6px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px -8px rgba(15, 23, 42, 0.1),
        0 24px 48px -16px rgba(15, 23, 42, 0.08);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #6366F1;
    background: linear-gradient(135deg, #E0F2FE, #EDE9FE);
    margin-right: 24px;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.step-body {
    flex: 1;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-main);
    word-break: keep-all;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-sub);
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Info Notice (계정 삭제 안내) */
.info-notice {
    padding: 40px 0 80px;
}

.notice-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px -8px rgba(15, 23, 42, 0.06);
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-card p {
    font-size: 0.95rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.notice-link {
    color: #6366F1;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    transition: border-color 0.2s ease;
}

.notice-link:hover {
    border-bottom-color: #6366F1;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--color-text-sub);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.footer-links a:hover {
    color: #6366F1;
    background: rgba(255, 255, 255, 0.5);
}

.footer-divider {
    color: var(--color-text-sub);
    opacity: 0.4;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-sub);
}

/* Delete Account Page */
.delete-content {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px -8px rgba(15, 23, 42, 0.08),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
}

.delete-description {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-sub);
    margin: 16px 0 28px;
    word-break: keep-all;
}

.delete-warning {
    background: rgba(254, 215, 215, 0.4);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.warning-body strong {
    display: block;
    font-size: 0.95rem;
    color: #B91C1C;
    margin-bottom: 8px;
    word-break: keep-all;
}

.warning-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-body li {
    font-size: 0.88rem;
    color: var(--color-text-main);
    padding: 3px 0 3px 14px;
    position: relative;
    word-break: keep-all;
}

.warning-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #B91C1C;
}

.delete-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.form-field input {
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-field input:disabled {
    background: rgba(15, 23, 42, 0.04);
    color: var(--color-text-sub);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #DC2626;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-field span {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-main);
    word-break: keep-all;
}

.btn-delete {
    padding: 16px 20px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
}

.btn-delete:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.32);
}

.btn-delete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hidden {
    display: none !important;
}

.result-message {
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 0;
    word-break: keep-all;
}

.result-message.success {
    padding: 14px 16px;
    background: rgba(220, 252, 231, 0.7);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-radius: 12px;
    color: #166534;
}

.result-message.error {
    padding: 14px 16px;
    background: rgba(254, 226, 226, 0.7);
    border: 1px solid rgba(248, 113, 113, 0.4);
    border-radius: 12px;
    color: #991B1B;
}

/* Legal Pages (개인정보 처리방침, 이용약관) */
.legal-page {
    min-height: 100vh;
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 32px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.legal-back:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-2px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 56px 48px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px -8px rgba(15, 23, 42, 0.08),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
}

.legal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.legal-effective-date {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 36px 0 16px;
    word-break: keep-all;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin: 24px 0 12px;
    word-break: keep-all;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 14px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.legal-content ul,
.legal-content ol {
    margin: 14px 0 18px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 8px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.legal-content li ul {
    margin: 8px 0;
}

.legal-content strong {
    color: var(--color-text-main);
    font-weight: 700;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.legal-table th,
.legal-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    word-break: keep-all;
}

.legal-table th {
    background: rgba(99, 102, 241, 0.08);
    font-weight: 700;
    color: var(--color-text-main);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table td {
    color: var(--color-text-main);
}

/* Responsive */
@media (max-width: 960px) {
    .pc-br {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0 60px;
        align-items: flex-start;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-visual {
        width: 100%;
        height: 380px;
        margin-top: 40px;
    }

    .glass-card {
        width: 200px;
        height: 80px;
        padding: 14px;
        gap: 12px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .card-title {
        font-size: 0.85rem;
    }
    
    .card-tags {
        font-size: 0.7rem;
    }
    
    /* 모바일 네비게이션 복구 및 정렬 */
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }
    
    .nav a {
        margin-left: 0;
        font-size: 1rem;
        padding: 10px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* GPU 부하 경감 */
    .glass-overlay {
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .guide-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 320px;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-card:hover {
        transform: translateY(-4px);
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .notice-card {
        padding: 18px 22px;
        gap: 12px;
    }

    .legal-content {
        padding: 40px 32px;
        border-radius: 20px;
    }

    .legal-title {
        font-size: 1.6rem;
    }

    .legal-content h2 {
        font-size: 1.1rem;
    }
}

/* Extra Small Devices (Mobile Phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 16px 0;
    }

    .glass-overlay {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 24px 0 40px;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.35;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 32px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .hero-visual {
        height: 280px;
        margin-top: 24px;
    }
    
    .glass-card {
        width: 160px;
        height: 75px;
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 0.78rem;
    }
    
    .card-tags {
        font-size: 0.65rem;
    }
    
    .card-1 {
        top: 2%;
        left: 2%;
    }
    
    .card-2 {
        top: 25%;
        right: 2%;
    }
    
    .card-3 {
        bottom: 22%;
        left: 5%;
    }
    
    .card-4 {
        bottom: 0%;
        right: 5%;
    }
    
    .section-title {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }
    
    .feature-section {
        padding: 60px 0;
    }

    .feature-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .roles-section {
        padding: 60px 0;
    }

    .role-card {
        padding: 28px 24px;
    }

    .role-icon {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .guide-section {
        padding: 60px 0;
    }

    .tab-btn {
        padding: 11px 20px;
        font-size: 0.95rem;
        max-width: 100%;
    }

    .step-card {
        padding: 20px;
        border-radius: 16px;
    }

    .step-number {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .info-notice {
        padding: 24px 0 48px;
    }

    .notice-card {
        padding: 16px 18px;
        gap: 10px;
        border-radius: 14px;
    }

    .notice-card p {
        font-size: 0.88rem;
    }

    .notice-icon {
        font-size: 1.3rem;
    }

    .legal-page {
        padding: 24px 0 48px;
    }

    .legal-content {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .legal-title {
        font-size: 1.35rem;
    }

    .legal-effective-date {
        margin-bottom: 28px;
        padding-bottom: 18px;
    }

    .legal-content h2 {
        font-size: 1rem;
        margin: 28px 0 12px;
    }

    .legal-content h3 {
        font-size: 0.95rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .legal-table {
        font-size: 0.82rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
    }

    .delete-content {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .delete-warning {
        padding: 16px 18px;
        gap: 12px;
        border-radius: 14px;
    }

    .warning-icon {
        font-size: 1.3rem;
    }

    .form-field input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn-delete {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

/* 애니메이션 감소 선호 접근성 */
@media (prefers-reduced-motion: reduce) {
    .background-gradient {
        animation: none;
        background-position: 0% 50%;
    }
    .glass-card {
        animation: none;
    }
    * {
        transition-duration: 0.01ms !important;
    }
}
