/* ScriptPlanner - Drama Formatter 디자인 톤 기반 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
    min-height: 100vh;
    font-size: 16px;
}

/* 네비게이션 바 */
.navbar {
    background: white;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

/* 햄버거 메뉴 버튼 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background-color: #f5f5f5;
}

.nav-toggle:active {
    background-color: #e0e0e0;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 네비게이션 텍스트 - 기본적으로 데스크톱 텍스트만 표시 */
.nav-text-mobile {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 20px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px;
}

/* 페이지 전환 */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* 서비스 소개 페이지 */
.intro-section {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-header {
    text-align: center;
    padding: 80px 0;
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    margin-bottom: 48px;
}

.intro-header h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.intro-subtitle {
    font-size: 1.25rem;
    color: #666666;
    font-weight: 400;
    margin-bottom: 40px;
}

.hook {
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 32px;
    margin-bottom: 40px;
    border-left: 4px solid #1a1a1a;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.intro-content {
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 80px 56px;
}

/* 스토리 섹션 */
.story-section {
    margin-bottom: 80px;
}

.story-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.story {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
}

.story p {
    margin-bottom: 24px;
}

.story .highlight {
    background: linear-gradient(180deg, rgba(255,226,143,0) 50%, rgba(255,226,143,0.8) 50%);
    padding: 2px 4px;
    font-weight: 500;
}

/* 기능 리스트 (Medium/Brunch 스타일) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 100%;
    margin-bottom: 80px;
}

.feature-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-number {
    background: #1a1a1a;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
}

/* 워크플로우 섹션 */
.workflow-section {
    margin-bottom: 80px;
}

.workflow-section h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 48px;
    color: #1a1a1a;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.workflow-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-content p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* CTA 섹션 */
.cta-section {
    text-align: center;
}

.cta-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

/* 기대치 섹션 */
.expectations-section {
    background: #fefcf0;
    border: 1px solid #f7e98e;
    border-radius: 2px;
    padding: 48px;
    margin: 60px 0;
}

.expectations-section h3 {
    color: #b8860b;
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.expectations-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.expectations-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f7e98e;
    position: relative;
    color: #333333;
    line-height: 1.7;
}

.expectations-list li:last-child {
    border-bottom: none;
}

.expectations-list li:before {
    content: "•";
    color: #b8860b;
    font-weight: bold;
    margin-right: 12px;
}

/* 보안 섹션 */
.security-section {
    background: #f0f8f0;
    border: 1px solid #90c695;
    border-radius: 2px;
    padding: 48px;
    margin: 48px 0;
}

.security-section h3 {
    color: #2d5a2d;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.security-section p {
    color: #333333;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* 속도 섹션 */
.speed-section {
    margin: 60px 0;
}

.speed-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.speed-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333333;
}

.speed-note {
    color: #666666 !important;
    font-size: 0.85rem !important;
    margin-top: 16px !important;
}

/* 제한사항 섹션 */
.limitation-section {
    margin: 60px 0;
}

.limitation-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.limitation-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333333;
}

.future-note {
    color: #27ae60 !important;
    font-weight: 500 !important;
    margin-top: 16px !important;
}

/* 인용구 섹션 */
.quote-section {
    background: #1a1a1a;
    color: white;
    padding: 60px;
    border-radius: 2px;
    text-align: center;
    margin: 60px 0;
}

.quote-section h2 {
    color: white;
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 500;
}

.quote-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.95;
}

/* 헤더 */
.header {
    text-align: center;
    margin-bottom: 48px;
    color: #1a1a1a;
    background: white;
    padding: 60px 40px;
    border-radius: 2px;
    border: 1px solid #e6e6e6;
}

.header h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-family: Georgia, 'Times New Roman', serif;
}

.header p {
    font-size: 1.125rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* 메인 컨텐츠 */
.main-content {
    display: grid;
    gap: 48px;
}

/* 입력 섹션 */
.input-section {
    background: white;
    border-radius: 2px;
    padding: 56px;
    border: 1px solid #e6e6e6;
}

.input-section h2 {
    margin-bottom: 24px;
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 500;
}

#scriptInput {
    width: 100%;
    height: 400px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    padding: 20px;
    font-family: 'SF Mono', Monaco, Menlo, 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    background: white;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

#scriptInput:focus {
    outline: none;
    border-color: #666666;
}

.input-info {
    font-size: 0.85rem;
    color: #666666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tip {
    font-style: italic;
}

#charCount {
    font-family: 'SF Mono', Monaco, Menlo, 'Courier New', monospace;
    font-weight: 500;
}

/* 분석 옵션 */
.analysis-options {
    margin: 20px 0 30px 0;
    padding: 30px;
    background: white;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.analysis-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 24px 0;
}

.analysis-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.analysis-option {
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s;
    background: white;
}

.analysis-option:hover {
    border-color: #007acc;
}

.analysis-option.selected {
    border-color: #007acc;
    background: #f8fcff;
}

.analysis-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f9fa;
    border-color: #e9ecef;
}

.analysis-option.disabled .option-title,
.analysis-option.disabled .option-subtitle,
.analysis-option.disabled .detail-good,
.analysis-option.disabled .detail-neutral,
.analysis-option.disabled .option-recommend {
    color: #9aa0a6;
}

.preparing-badge {
    font-size: 0.8rem;
    color: #f39c12;
    font-weight: 500;
    background: #fef9e7;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #f39c12;
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.option-radio {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.option-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 4px 0 0 0;
}

.option-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
    font-size: 0.9rem;
}

.detail-good {
    color: #28a745;
    margin-bottom: 4px;
}

.detail-warning {
    color: #dc3545;
    margin-bottom: 4px;
}

.detail-neutral {
    color: #666;
    margin-bottom: 4px;
}

.option-recommend {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #495057;
}

.security-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    background: #d4edda;
    color: #155724;
}

.analysis-guide {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
}

.guide-content {
    font-size: 0.9rem;
    color: #495057;
}

.guide-content div {
    margin-bottom: 4px;
}

.guide-note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6c757d;
}

/* 액션 섹션 */
.action-section {
    display: flex;
    gap: 24px;
    justify-content: center;
    background: white;
    padding: 40px;
    border-radius: 2px;
    border: 1px solid #e6e6e6;
}

.btn-primary, .btn-secondary, .btn-sample {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.3);
}

.btn-sample {
    background: #10b981;
    color: white;
    border: none;
}

.btn-sample:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:disabled, .btn-secondary:disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 미리보기 섹션 */
.preview-section {
    background: white;
    padding: 56px;
    border-radius: 2px;
    border: 1px solid #e6e6e6;
    animation: fadeIn 0.3s ease-in;
}

.preview-section h2 {
    margin-bottom: 32px;
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 500;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-item {
    padding: 24px;
    background-color: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
}

.stat-label {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 8px;
}

/* 씬 리스트 */
.scene-list {
    overflow-x: auto;
}

.scene-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6e6e6;
}

.scene-table th,
.scene-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
}

.scene-table th:last-child,
.scene-table td:last-child {
    border-right: none;
}

.scene-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.scene-table tr:hover {
    background-color: #fafafa;
}

.scene-number {
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'SF Mono', Monaco, Menlo, 'Courier New', monospace;
}

/* 로딩 오버레이 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* 상태 메시지 */
.status-message {
    position: fixed;
    top: 32px;
    right: 32px;
    padding: 16px 24px;
    border-radius: 2px;
    font-weight: 400;
    font-size: 0.9rem;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.2s ease;
    border: 1px solid;
}

.status-message.show {
    transform: translateX(0);
}

.status-message.success {
    background-color: white;
    color: #1a1a1a;
    border-color: #e6e6e6;
}

.status-message.error {
    background-color: white;
    color: #1a1a1a;
    border-color: #e6e6e6;
}

/* 애니메이션 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 모바일 안내 메시지 스타일 */
.mobile-warning-section {
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    margin: 48px 0;
    padding: 0;
}

.mobile-warning-content {
    text-align: center;
    padding: 80px 40px;
    background: #fafafa;
}

.mobile-warning-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mobile-warning-content p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 수정 가능한 UI 스타일 */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e6e6e6;
}

.preview-actions {
    display: flex;
    gap: 12px;
}

.btn-edit, .btn-save, .btn-cancel, .btn-add, .btn-quick-review,
.btn-step-next, .btn-step-prev, .btn-generate-final {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.btn-edit {
    background: #3b82f6;
    color: white;
}

.btn-edit:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-save {
    background: #10b981;
    color: white;
}

.btn-save:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cancel {
    background: #ef4444;
    color: white;
}

.btn-cancel:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-add {
    background: #3b82f6;
    color: white;
    min-width: 60px;
}

.btn-add:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-quick-review {
    background: #8b5cf6;
    color: white;
    font-weight: 600;
}

.btn-quick-review:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-step-next {
    background: #3b82f6;
    color: white;
    min-width: 120px;
}

.btn-step-next:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-step-prev {
    background: #6b7280;
    color: white;
    min-width: 80px;
}

.btn-step-prev:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-generate-final {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    font-weight: 600;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-generate-final:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-step-next:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 분석 완료 후 다음 단계 안내 */
.next-step-guide {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    border: 2px solid #27ae60;
    border-radius: 12px;
    padding: 40px;
    margin: 32px 0;
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.next-step-content h3 {
    font-size: 1.5rem;
    color: #27ae60;
    margin-bottom: 8px;
    font-weight: 600;
}

.next-step-content p {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 32px;
}

/* 전체 진행률 바 */
.overall-progress {
    background: white;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid #e6e6e6;
}

.overall-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.progress-percentage {
    font-weight: 600;
    color: #007acc;
    font-size: 0.9rem;
}

.overall-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.overall-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007acc 0%, #4a9eff 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-steps-mini {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.step-mini {
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    transition: color 0.2s ease;
}

.step-mini.completed {
    color: #007acc;
    font-weight: 600;
}

.step-mini.current {
    color: #007acc;
    font-weight: 500;
}

.step-mini:not(.completed):not(.current) {
    color: #999;
}

/* 다음 단계 선택 버튼들 */
.next-step-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 24px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-height: 80px;
    width: 100%;
}

.btn-primary-large {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    transform: scale(1.02);
}

.btn-primary-large:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.btn-secondary-large {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e6e6e6;
}

.btn-secondary-large:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.15);
}

.btn-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* 빠른 검토 모드 내 진행률 */
.overall-progress-in-review,
.review-step-progress {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.review-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.step-progress-title {
    font-weight: 500;
    color: #007acc;
    font-size: 0.9rem;
}

.step-progress-text {
    font-weight: 600;
    color: #007acc;
    font-size: 0.85rem;
}

.step-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 122, 204, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007acc 0%, #4a9eff 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 수정 가능한 섹션들 */
.editable-scene-section,
.character-management {
    margin: 48px 0;
    padding: 32px;
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.editable-scene-section h3,
.character-management h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.edit-instruction {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 24px;
    font-style: italic;
}

/* 수정 가능한 씬 테이블 */
.scene-list-editable {
    overflow-x: auto;
}

.editable-scene-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6e6e6;
    background: white;
}

.editable-scene-table th,
.editable-scene-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
}

.editable-scene-table th:last-child,
.editable-scene-table td:last-child {
    border-right: none;
}

.editable-scene-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.9rem;
}

/* 인라인 수정 가능한 셀 */
.editable-cell {
    cursor: text;
    transition: background-color 0.2s ease;
    position: relative;
}

.editable-cell:hover {
    background-color: #f0f8ff;
}

.editable-cell.editing {
    background-color: #fff3cd;
    padding: 0;
}

.editable-cell input,
.editable-cell select,
.editable-cell textarea {
    width: 100%;
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    background: transparent;
    font-family: inherit;
}

.editable-cell textarea {
    resize: vertical;
    min-height: 60px;
}

.editable-cell input:focus,
.editable-cell select:focus,
.editable-cell textarea:focus {
    outline: 2px solid #3498db;
    background: white;
}

/* 등장인물 관리 */
.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.character-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.character-name {
    flex: 1;
    font-size: 0.9rem;
    border: none;
    background: transparent;
    cursor: text;
}

.character-name:focus {
    outline: 1px solid #3498db;
    background: white;
}

.character-frequency {
    font-size: 0.8rem;
    color: #666666;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 8px;
}

.delete-character {
    background: #e74c3c;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-character:hover {
    background: #c0392b;
}

.add-character-section {
    display: flex;
    gap: 12px;
    align-items: center;
}

#newCharacterInput {
    flex: 1;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    font-size: 0.9rem;
}

#newCharacterInput:focus {
    outline: none;
    border-color: #3498db;
}

/* 수정 모드 인디케이터 */
.edit-mode-active {
    border-left: 4px solid #f39c12 !important;
}

.edit-mode-active .preview-header {
    border-bottom-color: #f39c12;
}

/* 변경 사항 하이라이트 */
.modified {
    background-color: #fff3cd !important;
}

.modified::after {
    content: "*";
    color: #f39c12;
    font-weight: bold;
    margin-left: 4px;
}

/* 빠른 검토 모드 스타일 */
.quick-review-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #8e44ad;
    border-radius: 8px;
    padding: 32px;
    margin: 32px 0;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-review-header {
    text-align: center;
    margin-bottom: 32px;
}

.quick-review-header h3 {
    font-size: 1.5rem;
    color: #8e44ad;
    margin-bottom: 8px;
    font-weight: 600;
}

.quick-review-subtitle {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 24px;
}

/* 진행 상황 인디케이터 */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #bdc3c7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #8e44ad;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #27ae60;
}

.step-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666666;
    text-align: center;
}

.progress-step.active .step-title {
    color: #8e44ad;
    font-weight: 600;
}

.progress-step.completed .step-title {
    color: #27ae60;
}

/* 연결선 */
.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 40px;
    height: 2px;
    background: #bdc3c7;
    transition: background 0.3s ease;
}

.progress-step.completed:not(:last-child)::after {
    background: #27ae60;
}

/* 단계별 컨텐츠 */
.quick-step {
    animation: fadeIn 0.3s ease-in;
}

.step-content {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-content h4 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.step-guide {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.step-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e6e6e6;
}

.step-actions button {
    padding: 12px 24px;
    min-height: 48px;
    font-size: 0.9rem;
}

/* 1단계: 주요 등장인물 선택 */
.main-characters-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.character-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
}

.character-option:hover {
    border-color: #007acc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 122, 204, 0.15);
}

.character-option.selected {
    border-color: #007acc;
    background: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0, 122, 204, 0.2);
}

.character-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.character-option.selected .character-checkbox {
    background: #007acc;
    border-color: #007acc;
    color: white;
}

.character-checkbox::after {
    content: '';
    display: none;
}

.character-option.selected .character-checkbox::after {
    content: '✓';
    display: block;
    font-size: 14px;
    font-weight: bold;
}

.character-info {
    flex: 1;
}

.character-option-name {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.character-option-frequency {
    font-size: 0.85rem;
    color: #666666;
}

/* 2단계: 오류 수정 */
.error-scenes-list {
    space-y: 16px;
}

.error-scene-item {
    background: white;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.error-scene-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.error-icon {
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.error-scene-title {
    font-weight: 600;
    color: #e74c3c;
}

.error-description {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.error-field-edit {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.error-field-label {
    min-width: 80px;
    font-weight: 500;
    color: #1a1a1a;
}

.error-field-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.error-field-input:focus {
    outline: none;
    border-color: #3498db;
}

/* 3단계: 촬영 순서 */
.shooting-order-recommendation {
    space-y: 16px;
}

.location-group {
    background: white;
    border: 2px solid #007acc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.location-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.location-icon {
    width: 32px;
    height: 32px;
    background: #3498db;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.location-group-title {
    font-weight: 600;
    color: #3498db;
    font-size: 1.1rem;
}

.location-scenes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.scene-card {
    background: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.scene-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.scene-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.scene-number-card {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.scene-time-card {
    font-size: 0.75rem;
    color: #666666;
    margin-top: 4px;
}

/* 새로운 그룹핑 UI 스타일 */
.sub-locations-info {
    font-size: 0.8rem;
    color: #888888;
    margin-top: 4px;
    line-height: 1.3;
}

.location-group-info {
    flex-grow: 1;
}

.location-group-stats {
    text-align: right;
}

.scene-location-detail {
    font-size: 0.7rem;
    color: #999999;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 반응형 디자인 - 모바일에서 메인 기능 숨김 */
@media (max-width: 768px) {
    .intro-content,
    .main-content {
        display: none;
    }
    
    .mobile-warning-section {
        display: block !important;
    }
    
    .container {
        padding: 20px;
    }
    
    .nav-container {
        padding: 0 20px;
        position: relative;
    }
    
    /* 햄버거 메뉴 버튼 표시 */
    .nav-toggle {
        display: flex;
    }
    
    /* 네비게이션 메뉴 숨김 */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #e6e6e6;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 20px 20px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: background-color 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background-color: #f8f9fa;
    }
    
    /* 모바일에서 텍스트 전환 */
    .nav-text-desktop {
        display: none;
    }
    
    .nav-text-mobile {
        display: inline;
    }
    
    .intro-header {
        padding: 40px 20px;
        margin-bottom: 20px;
    }
    
    .intro-header h1 {
        font-size: 1.75rem;
    }
    
    .intro-header p {
        font-size: 1rem;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .character-list {
        grid-template-columns: 1fr;
    }
    
    .add-character-section {
        flex-direction: column;
    }
}

/* ==================== 서비스 헤더 ==================== */
.service-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 48px 0;
    margin-bottom: 0;
}

.service-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.service-title {
    margin-bottom: 20px;
}

.title-main {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.title-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-left: 8px;
}

.service-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    min-width: 140px;
}

.feature-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

/* ==================== 가이드 페이지 ==================== */

.guide-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.guide-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-top: 24px;
}

.guide-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.3;
}

.beta-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 24px;
    margin: 24px auto 0;
    max-width: 800px;
}

.beta-notice h2 {
    font-size: 1.3rem;
    color: #856404;
    margin-bottom: 12px;
}

.beta-notice p {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.guide-content {
    padding: 24px 0;
    font-size: 17px;
    line-height: 1.7;
}

.guide-toc {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.guide-toc h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #333;
}

.guide-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-toc li {
    margin-bottom: 8px;
}

.guide-toc a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.guide-toc a:hover {
    background-color: #e3f2fd;
}

.guide-section-content {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.guide-section-content:last-child {
    border-bottom: none;
}

.guide-section-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4CAF50;
}

.guide-section-content h3 {
    font-size: 1.5rem;
    color: #444;
    margin: 32px 0 16px 0;
}

.guide-section-content h4 {
    font-size: 1.2rem;
    color: #555;
    margin: 24px 0 12px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 8px 0;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.format-section {
    margin: 32px 0;
    padding: 24px;
    background: #fafafa;
    border-radius: 8px;
}

.format-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.format-good,
.format-bad {
    background: white;
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid;
}

.format-good {
    border-left-color: #4CAF50;
}

.format-bad {
    border-left-color: #f44336;
}

.format-good h4,
.format-bad h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
}

.format-good pre,
.format-bad pre {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 12px;
    margin: 0;
    font-size: 1rem;
    overflow-x: auto;
}

.format-note,
.key-rule,
.important-notice {
    background: white;
    border-radius: 6px;
    padding: 16px;
    margin: 20px 0;
    border-left: 4px solid #2196F3;
}

.important-notice {
    border-left-color: #ff9800;
    background: #fff8e1;
}

.format-note h4,
.key-rule h4,
.important-notice h4 {
    margin: 0 0 12px 0;
    color: #333;
}

.troubleshoot-item {
    margin: 32px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.problem-solution {
    margin: 20px 0;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.before,
.after {
    background: white;
    border-radius: 6px;
    padding: 16px;
}

.before {
    border-left: 4px solid #f44336;
}

.after {
    border-left: 4px solid #4CAF50;
}

.before pre,
.after pre {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 12px;
    margin: 8px 0 0 0;
    font-size: 1rem;
    overflow-x: auto;
}

.tips-section {
    margin: 32px 0;
}

.tip-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.tip-item h4 {
    color: #333;
    margin: 0 0 12px 0;
}

.tip-item ul {
    margin: 0;
    padding-left: 20px;
}

.tip-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.guide-contact {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.guide-contact h2 {
    margin-bottom: 16px;
    color: #333;
}

.guide-contact a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.guide-contact a:hover {
    text-decoration: underline;
}

/* 모바일 반응형 - 가이드 페이지 */
@media (max-width: 768px) {
    .guide-header h1 {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .format-examples,
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .guide-section {
        padding: 0 16px;
    }
    
    .guide-header {
        padding: 24px 16px;
        margin-top: 16px;
    }
    
    .beta-notice {
        padding: 16px;
        margin: 16px auto 0;
    }
    
    .format-section,
    .troubleshoot-item {
        padding: 16px;
    }
}

/* ==================== 설문조사 섹션 ==================== */
.survey-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    padding: 48px 0;
    margin-top: 80px;
}

.survey-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.survey-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.survey-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.survey-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.feedback-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.survey-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    min-width: 140px;
}

.survey-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.survey-btn.positive:hover {
    border-color: #28a745;
    background: #f8fff9;
}

.survey-btn.negative:hover {
    border-color: #dc3545;
    background: #fff8f8;
}

.survey-btn.suggestion:hover {
    border-color: #ffc107;
    background: #fffef7;
}

.survey-emoji {
    font-size: 1.25rem;
}

.survey-thanks {
    background: #d4edda;
    color: #155724;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    font-weight: 600;
}

/* ==================== 개선 제안 모달 ==================== */
.suggestion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.suggestion-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.suggestion-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.suggestion-modal-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.suggestion-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.suggestion-close:hover {
    background: #e9ecef;
    color: #333;
}

.suggestion-modal-body {
    padding: 24px;
}

.suggestion-modal-body textarea {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 16px;
}

.suggestion-modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.suggestion-contact {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.suggestion-contact input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
}

.suggestion-contact input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

@media (max-width: 768px) {
    .suggestion-contact {
        flex-direction: column;
        gap: 8px;
    }
}

.suggestion-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.btn-suggestion-cancel,
.btn-suggestion-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-suggestion-cancel {
    background: #6c757d;
    color: white;
}

.btn-suggestion-cancel:hover {
    background: #5a6268;
}

.btn-suggestion-submit {
    background: #667eea;
    color: white;
}

.btn-suggestion-submit:hover {
    background: #5a67d8;
}

/* ==================== 푸터 ==================== */
.footer {
    background: #2c3e50;
    color: white;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid #34495e;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #ecf0f1;
}

.footer-brand p {
    color: #bdc3c7;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.footer-column h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ecf0f1;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #3498db;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* ==================== 반응형 디자인 ==================== */
@media (max-width: 768px) {
    .service-header {
        padding: 32px 0;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 1.1rem;
    }
    
    .service-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .option-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .analysis-options {
        margin: 10px;
        padding: 20px;
    }
    
    .analysis-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .survey-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feedback-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .survey-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== 촬영 순서 확인 UI ==================== */

.grouping-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.grouping-summary h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #495057;
}

.location-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.location-item {
    background: #f8f9fa;
    color: #000000;
    border: 2px solid #3498db;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.flow-arrow {
    color: #007acc;
    font-weight: bold;
    font-size: 1.2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.location-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.location-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: auto;
}

.order-btn {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-btn:hover:not(:disabled) {
    background: #007acc;
    color: white;
    border-color: #007acc;
    box-shadow: 0 2px 4px rgba(0, 122, 204, 0.2);
    transform: translateY(-1px);
}

.order-btn:disabled {
    background: #f8f9fa;
    color: #c6c8ca;
    cursor: not-allowed;
    border-color: #e8eaed;
    box-shadow: none;
}

.drag-handle {
    font-size: 16px;
    color: #9aa0a6;
    cursor: grab;
    user-select: none;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.drag-handle:hover {
    color: #007acc;
    background: #f0f8ff;
}

.location-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.location-card.drag-over {
    border-color: #007acc;
    background: #f8fcff;
    transform: scale(1.02);
}

.location-card {
    transition: all 0.2s ease;
    cursor: move;
}

.location-info {
    text-align: left;
    flex: 1;
}

.location-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-align: left;
}

.location-meta {
    font-size: 0.85rem;
    color: #666;
    text-align: left;
}

.time-distribution {
    font-size: 0.8rem;
    color: #666;
}

.scene-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scene-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
}

.scene-number {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.scene-time {
    color: #666;
    font-size: 0.8rem;
    min-width: 40px;
}

.scene-content {
    flex: 1;
    color: #495057;
}

.shooting-overview {
    background: #e7f3ff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.shooting-overview h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #004085;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    color: #004085;
}

.schedule-options {
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    cursor: pointer;
    font-size: 0.95rem;
}

.option-item input[type="radio"] {
    margin-right: 8px;
}

.guide-message {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
    text-align: center;
    margin-bottom: 24px;
}

/* ==================== 분석 결과 리포트 스타일 ==================== */

.analysis-report {
    max-width: 100%;
}

.report-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.report-section h4 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.stat-card {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.location-breakdown,
.character-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-item,
.character-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #17a2b8;
}

.location-name,
.character-name {
    font-weight: 600;
    color: #2c3e50;
}

.location-stats,
.character-stats {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
}

.day-count {
    color: #f39c12;
    font-weight: 500;
}

.night-count {
    color: #9b59b6;
    font-weight: 500;
}

.character-role {
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.character-count {
    color: #6c757d;
    font-weight: 500;
}

/* 씬 리스트 테이블 스타일 */
.scene-list-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.scene-table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 2fr;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.scene-table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 2fr;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
    transition: background-color 0.15s ease;
}

.scene-table-row:hover {
    background: #f8f9fa;
}

.scene-table-row:last-child {
    border-bottom: none;
}

.scene-col-number {
    font-weight: 600;
    color: #495057;
    text-align: center;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.scene-col-location {
    color: #2c3e50;
    font-weight: 500;
}

.scene-col-time {
    text-align: center;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.time-badge.day {
    background: #fff3cd;
    color: #856404;
}

.time-badge.night {
    background: #d1ecf1;
    color: #0c5460;
}

.scene-col-content {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
}

.content-preview,
.content-full {
    position: relative;
}

.expand-btn {
    background: none;
    border: none;
    color: #3498db;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.expand-btn:hover {
    background: #3498db;
    color: white;
}

/* ==================== 4단계 미리보기 스타일 ==================== */

.preview-guide {
    margin-bottom: 24px;
}

.preview-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 24px;
    gap: 0;
}

.preview-tab {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.preview-tab:hover {
    color: #495057;
    background: #f8f9fa;
}

.preview-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: white;
}

.preview-content {
    min-height: 400px;
}

.preview-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.preview-tab-content.active {
    display: block;
}

.preview-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.preview-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.preview-table-container {
    overflow-x: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    max-height: 500px;
    overflow-y: auto;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.preview-table th {
    background: #f3f4f6;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    position: sticky;
    top: 0;
    z-index: 10;
}

.preview-table th:last-child {
    border-right: none;
}

.preview-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: top;
}

.preview-table td:last-child {
    border-right: none;
}

.preview-table tr:nth-child(even) {
    background: #f9fafb;
}

.preview-table tr:hover {
    background: #dbeafe;
}

/* 장소 구분자 행 */
.preview-table tr.location-separator {
    background: #eff6ff !important;
}

.preview-table tr.location-separator td {
    font-weight: 600;
    color: #1e40af;
    text-align: center;
    padding: 8px;
}

/* 신뢰도 낮은 행 */
.preview-table tr.low-confidence {
    background: #fef3c7 !important;
}

/* 주요 인물 표시 */
.main-character {
    color: #dc2626;
    font-weight: 600;
}

.main-character::before {
    content: "● ";
}

/* 분석 정보 카드 */
.analysis-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.analysis-info-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analysis-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.analysis-info-card h5 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.analysis-info-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    font-family: Georgia, serif;
}

.analysis-info-card .unit {
    font-size: 0.8rem;
    color: #6c757d;
}

.analysis-info-card.highlight {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%);
}

.analysis-info-card.highlight .value {
    color: #3b82f6;
}

/* 다운로드 정보 */
.download-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-left: 12px;
    font-style: italic;
}

.step-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

/* 4단계 프로그레스 조정 */
.quick-review-mode .review-step-progress .step-progress-text {
    font-size: 0.85rem;
}

/* 테이블 셀 최소 너비 */
.preview-table th,
.preview-table td {
    min-width: 80px;
    white-space: nowrap;
}

.preview-table th:nth-child(7),
.preview-table td:nth-child(7) {
    min-width: 200px;
    white-space: normal;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .preview-tabs {
        flex-direction: column;
    }
    
    .preview-tab {
        border-bottom: 1px solid #e9ecef;
        border-right: 3px solid transparent;
    }
    
    .preview-tab.active {
        border-bottom-color: #e9ecef;
        border-right-color: #3b82f6;
    }
    
    .analysis-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 장소 그룹핑 스타일 */
.location-group {
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.location-group-header {
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.location-group-header:hover {
    background: #e9ecef;
}

.location-group-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.toggle-icon {
    color: #666;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.location-count {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.location-group-stats {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
}

.location-group-details {
    padding: 0;
    background: white;
}

.location-sub-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-sub-item:last-child {
    border-bottom: none;
}

.location-sub-name {
    font-weight: 500;
    color: #333;
}

.location-sub-stats {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

.scene-count {
    font-weight: 600;
    color: #333;
}

/* 등장인물 역할 태그 스타일 */
.character-role {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.character-role.주연 {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d2;
}

.character-role.주조연 {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #7b1fa2;
}

.character-role.조연 {
    background: #e8f5e8;
    color: #388e3c;
    border: 1px solid #388e3c;
}

.character-role.단역 {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #f57c00;
}

.character-role.언급없음 {
    background: #fafafa;
    color: #757575;
    border: 1px solid #bdbdbd;
}

.character-count {
    font-weight: 500;
    color: #666;
}

/* 샘플 다운로드 섹션 */
.sample-download-section {
    display: none; /* 기본적으로 숨김 */
    padding: 32px 0;
    background: #fafafa;
}

.sample-download-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.sample-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-tag {
    background: #f0f9ff;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0f2fe;
}

.sample-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

.sample-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.sample-download-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sample-download-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.sample-download-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.sample-download-btn:hover .btn-icon {
    transform: translateX(2px);
}

.sample-preview {
    display: flex;
    justify-content: center;
}

.excel-preview {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    width: 200px;
    font-size: 0.85rem;
}

.excel-header {
    background: #28a745;
    color: white;
    padding: 6px 10px;
    margin: -16px -16px 12px -16px;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    text-align: center;
}

.excel-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.excel-row {
    background: white;
    padding: 6px 8px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    color: #495057;
}

/* 반응형 */
@media (max-width: 768px) {
    .sample-download-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .sample-preview {
        order: -1;
    }
    
    .excel-preview {
        width: 100%;
        max-width: 250px;
    }
    
    .sample-download-btn {
        width: 100%;
        justify-content: center;
    }
}