/* 제품 상세 페이지 전용 스타일 */

/* 페이지 슬라이드 인 애니메이션 */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 페이지 콘텐츠에 애니메이션 적용 */
.page-content {
    animation: slideInFromRight 0.5s ease-out;
}

/* 헤더는 페이드인만 적용 */
header {
    animation: fadeIn 0.3s ease-out;
}

/* 뒤로가기 네비게이션 */
.back-navigation {
    background-color: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: var(--primary-color);
}

/* 제품 히어로 */
.product-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.product-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.product-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.badge-free {
    background-color: #10b981;
    color: white;
}

.badge-version {
    background-color: white;
    color: var(--primary-color);
}

.badge-update {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 프로그램 개요 */
.product-overview {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.overview-content.overview-content-wide {
    max-width: 1200px;
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.overview-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.product-overview .program-overview-screenshot {
    margin: 0 auto 2.5rem;
    max-width: 640px;
}

.product-overview .program-overview-screen-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.25rem;
    width: 100%;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-features.overview-features-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-feature-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.feature-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.overview-feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.overview-feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 기능 섹션 */
.feature-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.feature-section.alternate {
    background-color: var(--bg-light);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    line-height: 1.7;
}

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

.feature-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 이미지 플레이스홀더 */
.feature-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-box {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.placeholder-box p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.placeholder-box span {
    color: var(--text-light);
}

/* 기능 그리드 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.detail-label {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-detail span:not(.detail-label) {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 사용 방법 스텝 디자인 */
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.usage-step {
    background: #2962FF;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number-box {
    background: white;
    color: #1A237E;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid #1A237E;
}

.step-content-inline {
    flex: 1;
}

.step-content-inline h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
}

.step-content-inline p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* usage-step 내부의 usage-example 스타일 */
.usage-step .usage-example {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.75rem;
    color: white;
    font-size: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.usage-step .usage-example strong {
    color: white;
    font-weight: 700;
}

/* 그리기 기능 - 전체 폭 그리드 */
.drawing-features-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 그리기 기능 */
.drawing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.drawing-feature {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.drawing-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.drawing-feature ul {
    list-style: none;
    margin-left: 0;
}

.drawing-feature li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.drawing-feature li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 추가 기능 그리드 (2x2) */
.additional-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.additional-feature-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.additional-feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.additional-feature-card .feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.additional-feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.additional-feature-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.feature-example {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.example-label {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.example-content {
    padding: 1rem;
}

.example-content p {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.example-content p:first-child {
    margin-top: 0;
}

.example-content p:last-child {
    margin-bottom: 0;
}

.example-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 기존 추가 기능 그리드 (페이지 범위, 회전) */
.additional-features-grid-old {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.page-range-info,
.rotation-info {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.page-range-info h4,
.rotation-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* 전문가 기능 그리드 */
.expert-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.expert-feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.expert-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.expert-feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.expert-feature-card ul {
    list-style: none;
}

.expert-feature-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.expert-feature-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 활용 사례 */
.use-cases {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.use-case-card p {
    line-height: 1.7;
    opacity: 0.95;
}

/* CTA 섹션 */
.product-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.contact-quick-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-quick-info span {
    font-size: 1rem;
    opacity: 0.95;
}

/* 뒤로가기 애니메이션 효과 */
.back-button {
    position: relative;
    overflow: hidden;
}

.back-button::before {
    content: '';
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: left 0.3s ease;
}

.back-button:hover::before {
    left: 0;
}

/* 섹션별 순차 애니메이션 */
.product-hero {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.product-overview {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.feature-section:nth-of-type(1) {
    animation: fadeIn 0.6s ease-out 0.4s both;
}

/* 서버 및 홈페이지 제작 페이지 전용 스타일 */

/* 기술 스택 */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-category h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.tech-category ul {
    list-style: none;
    padding: 0;
}

.tech-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tech-category li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 서비스 리스트 */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    min-width: 80px;
    text-align: center;
}

.service-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.service-content li {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 장점 그리드 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* 프로세스 타임라인 */
.process-timeline {
    position: relative;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* 실제 사례 섹션 */
.case-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.case-features h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* YouTube 영상 섹션 */
.video-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.video-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.video-link-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: start;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.youtube-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.youtube-link-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* 기술 상세 */
.tech-details h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

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

/* 시스템 요구사항 */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.requirement-box {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.requirement-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.requirement-box ul {
    list-style: none;
    padding: 0;
}

.requirement-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.note-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #856404;
}

/* 가격 정보 */
.pricing-info {
    margin: 2rem 0;
}

.price-range h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.price-range ul {
    list-style: none;
    padding: 0;
}

.price-range li {
    padding: 1rem;
    background: var(--bg-light);
    margin-bottom: 0.75rem;
    border-radius: 8px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-range li strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

.cta-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large,
.btn-kakao-large {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    text-align: center;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-large {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-large:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-kakao-large,
.cta-button.kakao {
    background: #FEE500;
    color: #3c1e1e;
    border: 2px solid #FEE500;
    text-decoration: none;
}

.btn-kakao-large:hover,
.cta-button.kakao:hover {
    background: #f5dc00;
    color: #3c1e1e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 프로그램 스크린샷 */
.feature-screenshot {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-screenshot.program-screenshot-menu {
    max-width: 360px;
    width: auto;
}

.program-screenshot {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.program-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-caption {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    font-style: italic;
}

/* 홈페이지: 파일 순서 정하기 미리보기 */
.homepage-file-order-stage {
    width: 100%;
    max-width: 640px;
    padding: 18px 14px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(28, 48, 66, .42), rgba(28, 48, 66, .48)),
        repeating-linear-gradient(90deg, #d8e6f1 0 18px, #c9dceb 18px 36px);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    user-select: none;
}

.hp-fo-card {
    display: grid;
    grid-template-rows: auto auto auto auto;
    overflow: hidden;
    border: 1px solid #9fb7c9;
    border-radius: 9px;
    background: #f8fcff;
    box-shadow: 0 10px 28px rgba(18, 46, 67, .28);
    font-family: "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}

.hp-fo-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px 8px;
    border-bottom: 1px solid #b7c9d8;
    background: #d9ebf7;
}

.hp-fo-header h2 {
    margin: 0 0 3px;
    color: #153d5a;
    font-size: 14px;
    font-weight: 700;
}

.hp-fo-header p {
    margin: 0;
    color: #6f8294;
    font-size: 11px;
    line-height: 1.4;
}

.hp-fo-close {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #657d90;
    font-size: 16px;
    line-height: 1;
}

.hp-fo-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-bottom: 1px solid #b7c9d8;
    background: #f8fcff;
}

.hp-fo-btn {
    height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border: 1px solid #b7c9d8;
    border-radius: 5px;
    background: #fff;
    color: #334d61;
    font-size: 11px;
    white-space: nowrap;
}

.hp-fo-swap {
    border-color: #7da9c8;
    color: #245d84;
    background: #eef7fd;
}

.hp-fo-primary {
    border-color: #2386d8;
    color: #fff;
    background: #2386d8;
}

.hp-fo-check {
    height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid #9fb7c9;
    border-radius: 5px;
    color: #36566e;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.hp-fo-check input {
    margin: 0;
    accent-color: #2386d8;
}

.hp-fo-duplex {
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.homepage-file-order-stage[data-duplex="on"] .hp-fo-duplex {
    border-color: #2386d8;
    background: #e2f2ff;
    box-shadow: 0 0 0 2px rgba(35, 134, 216, .28);
}

.hp-fo-orient {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hp-fo-select {
    height: 26px;
    display: inline-flex;
    align-items: center;
    min-width: 78px;
    padding: 0 6px;
    border: 1px solid #9fb7c9;
    border-radius: 5px;
    background: #fff;
    color: #36566e;
    font-size: 10px;
    font-weight: 600;
    opacity: .45;
}

.hp-fo-hint {
    margin-left: auto;
    color: #6f8294;
    font-size: 10px;
}

.hp-fo-list {
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #edf6fb;
}

.hp-fo-item {
    min-height: 34px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    padding: 3px 7px;
    border: 1px solid #b9ccda;
    border-radius: 6px;
    background: #fff;
}

.hp-fo-item:last-child {
    margin-bottom: 0;
}

.hp-fo-num {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #2386d8;
    font-size: 11px;
    font-weight: 800;
}

.hp-fo-name {
    overflow: hidden;
    color: #28485f;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-fo-pages {
    min-width: 72px;
    color: #58758a;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    transition: color .25s ease;
}

.hp-fo-pages.is-odd {
    color: #a45b00;
}

.hp-fo-actions {
    display: flex;
    gap: 4px;
}

.hp-fo-order {
    width: 27px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid #b7c9d8;
    border-radius: 4px;
    color: #3f6077;
    background: #f8fcff;
    font-size: 10px;
}

.hp-fo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px 10px;
    border-top: 1px solid #b7c9d8;
    background: #f8fcff;
}

.hp-fo-footer > span {
    color: #6f8294;
    font-size: 11px;
}

.hp-fo-actions-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* 코드 스타일 */
code {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

/* 두쪽 모아찍기 전후 비교 섹션 */
.before-after-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
}

.comparison-diagram {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.comparison-diagram svg {
    max-width: 100%;
    height: auto;
}

.comparison-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 2rem;
    line-height: 1.8;
}

.comparison-note strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 모바일에서는 슬라이드 효과를 줄임 */
    .page-content {
        animation: slideInFromRight 0.3s ease-out;
    }

    /* 두쪽 모아찍기 다이어그램 모바일 */
    .comparison-diagram {
        padding: 1.5rem 1rem;
    }

    .comparison-diagram svg {
        max-width: 100%;
    }

    /* 프로그램 스크린샷 모바일 */
    .program-screenshot {
        max-width: 100%;
    }

    .product-hero-title {
        font-size: 2rem;
    }

    .product-hero-subtitle {
        font-size: 1rem;
    }

    .product-hero-description {
        font-size: 1rem;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .overview-features,
    .overview-features.overview-features-3 {
        grid-template-columns: 1fr;
    }

    /* 사용 방법 스텝 모바일 */
    .usage-step {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .step-number-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.25rem;
    }

    .step-content-inline h3 {
        font-size: 1.25rem;
    }

    .step-content-inline p {
        font-size: 1rem;
    }

    /* 그리기 기능 모바일 */
    .drawing-features,
    .drawing-features-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .additional-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .additional-feature-card {
        min-height: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .contact-quick-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* 서버 및 홈페이지 제작 페이지 반응형 */
    .tech-stack {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-item {
        flex-direction: column;
        gap: 1rem;
    }

    .service-number {
        font-size: 2rem;
        min-width: 60px;
    }

    .service-content ul {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-link-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-thumbnail {
        max-width: 100%;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary-large,
    .btn-secondary-large,
    .btn-kakao-large {
        width: 100%;
    }

    .process-timeline {
        padding-left: 2rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    /* 태블릿 사이즈에서는 2단 */
    .feature-grid,
    .expert-features-grid,
    .use-cases-grid,
    .drawing-features,
    .drawing-features-wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    /* 작은 화면에서는 애니메이션 더 빠르게 */
    .page-content {
        animation: slideInFromRight 0.25s ease-out;
    }

    .product-hero {
        padding: 50px 0;
        animation: fadeIn 0.4s ease-out 0.1s both;
    }

    .product-hero-title {
        font-size: 1.75rem;
    }

    /* 사용 방법 스텝 더 작은 화면 */
    .usage-step {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number-box {
        margin-bottom: 0.5rem;
    }

    .feature-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* 업데이트 타임라인 */
.update-timeline,
.updates-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.update-item {
    background: var(--bg-white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.update-date {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.update-version {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.update-content h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.update-content ul {
    list-style: none;
    margin: 0;
}

.update-content li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.update-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.update-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* 유튜브 영상 스타일 */
.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.video-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.video-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.video-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.video-link-button:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.video-link-button svg {
    width: 24px;
    height: 24px;
}

.video-thumbnail {
    position: relative;
}

.thumbnail-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.thumbnail-link:hover {
    transform: scale(1.02);
}

.thumbnail-link img {
    display: block;
    width: 100%;
    height: auto;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.thumbnail-link:hover .play-button-overlay {
    opacity: 1;
}

/* 프리퍼 애니메이션 비활성화 (접근성) */
@media (prefers-reduced-motion: reduce) {
    .page-content,
    header,
    .product-hero,
    .product-overview,
    .feature-section {
        animation: none !important;
    }
}

/* 반응형 비디오 */
@media (max-width: 768px) {
    .video-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-link-button {
        width: 100%;
        justify-content: center;
    }
}

/* 페이지 번호 자동 생성 페이지 전용 스타일 */

/* 기본 섹션 스타일 */
.features-section,
.usage-section,
.additional-features,
.examples-section,
.updates-section,
.download-section {
    padding: 80px 0;
}

.features-section {
    background-color: var(--bg-light);
}

.usage-section {
    background-color: var(--bg-white);
}

.usage-scenarios-section .usage-diagram-figure {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.usage-scenarios-section .usage-diagram-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}

.usage-scenarios-section .usage-diagram-caption {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    align-items: start;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
}

.usage-scenarios-section .usage-diagram-caption-item {
    text-align: center;
    padding: 0 0.35rem;
}

@media (max-width: 640px) {
    .usage-scenarios-section .usage-diagram-caption {
        grid-template-columns: 1fr;
    }
}

.usage-scenarios-section .usage-diagram-caption-item strong {
    color: var(--text-color);
    margin-right: 0.25rem;
}

.additional-features {
    background-color: var(--bg-light);
}

.examples-section {
    background-color: var(--bg-white);
}

.updates-section {
    background-color: var(--bg-light);
}

.download-section {
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.features-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.6;
}

.usage-example {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.example-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.example-box p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
}

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.example-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.example-io {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.example-input,
.example-output {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    border-radius: 8px;
}

.example-input {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.example-output {
    background: #d1f2eb;
    border: 2px solid #10b981;
}

.example-output small {
    color: #059669 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}

.example-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* 다운로드 섹션 스타일 */
.download-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.download-info h3 {
    color: var(--text-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.download-info p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.download-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.download-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.download-action {
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.download-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.download-reassurance {
    margin: 0.9rem auto 0;
    max-width: 26rem;
    padding: 0 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-light);
}

.download-reassurance strong {
    color: var(--text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .download-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.feature-detail {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.feature-detail h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .features-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid-custom {
        grid-template-columns: 1fr;
    }

    .example-io {
        flex-direction: column;
    }

    .example-arrow {
        transform: rotate(90deg);
    }
}

/* ========================================
   세무조정 상세 가이드 스타일
   ======================================== */

/* 상세 단계 섹션 */
.detailed-step-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.step-number-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-header h3 {
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

/* 단계 컨텐츠 레이아웃 */
.step-content-detailed {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.step-instructions h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.step-instructions h4:first-child {
    margin-top: 0;
}

/* 상세 리스트 */
.detailed-list {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}

.detailed-list > li {
    counter-increment: item;
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.detailed-list > li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.detailed-list ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
    list-style-type: disc;
}

/* 정보 박스 */
.info-box, .warning-box {
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.info-box {
    background: #e8f4fd;
    border-color: #0891b2;
}

.warning-box {
    background: #fef3c7;
    border-color: #f59e0b;
}

.info-box strong, .warning-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.warning-box ul {
    margin: 0.5rem 0 0 1.5rem;
}

.warning-box li {
    margin-bottom: 0.5rem;
}

/* 이미지 플레이스홀더 */
.step-image-placeholder {
    position: sticky;
    top: 2rem;
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    font-style: italic;
}

/* 텍스트 형식 박스 */
.text-format-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.text-format-box h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-format-box h5:first-child {
    margin-top: 0;
}

.text-format-box ul {
    list-style: none;
    padding-left: 0;
}

.text-format-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.text-format-box li:last-child {
    border-bottom: none;
}

.text-format-box code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
    font-weight: 600;
}

/* 엑셀 구조 박스 */
.excel-structure-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.excel-structure-box h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 데이터 테이블 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

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

.data-table tbody tr:hover {
    background: #f8f9fa;
}

/* 행 색상 구분 */
.required-row {
    background: #fff5f5;
}

.reference-row {
    background: #f0fdf4;
}

.custom-row {
    background: #fffbeb;
}

/* 배지 */
.badge-required {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-conditional {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-reference {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-optional {
    background: #fbbf24;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* 범례 박스 */
.legend-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.legend-box h6 {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.legend-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.legend-box li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 설정 박스 */
.settings-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.settings-box h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.settings-box h6 {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.settings-box h6:first-of-type {
    margin-top: 0;
}

.settings-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.settings-box ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.settings-box li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* 체크리스트 박스 */
.checklist-box {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

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

.checklist li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .step-content-detailed {
        grid-template-columns: 1fr;
    }

    .step-image-placeholder {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .detailed-step-section {
        padding: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .step-number-large {
        min-width: 100px;
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

    .step-header h3 {
        font-size: 1.5rem;
    }

    .data-table {
        font-size: 0.875rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}

/* ========================================
   후원 방법 스타일
   ======================================== */

.donation-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.donation-method {
    text-align: center;
}

.donation-method h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.donation-box {
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.donation-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.kakao-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.kakao-feature-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .donation-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donation-box {
        padding: 1.5rem 1rem;
    }

    .kakao-features {
        gap: 0.5rem;
    }

    .kakao-feature-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   그리기 설정 2x2 그리드 스타일
   ======================================== */

.drawing-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.drawing-feature-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.drawing-feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.feature-card-icon-small {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.drawing-feature-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.drawing-feature-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.drawing-feature-card li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.drawing-feature-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 반응형: 모바일에서 1열로 변경 */
@media (max-width: 768px) {
    .drawing-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .drawing-feature-card {
        padding: 1.5rem;
    }

    .feature-card-icon-small {
        font-size: 2rem;
    }

    .drawing-feature-card h4 {
        font-size: 1.1rem;
    }
}

/* 누리온 PDF Cover — 기본 사용 방법 애니메이션 */
.cover-tour-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.cover-tour-lead {
    text-align: center;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 auto 1.75rem;
    max-width: 760px;
}

.cover-tour {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.25rem;
    align-items: start;
}

.ct-app {
    position: relative;
    overflow: hidden;
    border: 1px solid #c6d0dc;
    border-radius: 12px;
    background: #edf1f5;
    box-shadow: var(--shadow-lg);
    font-family: "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
    color: #273342;
    user-select: none;
}

.ct-menubar {
    display: flex;
    gap: 1.1rem;
    padding: 0.45rem 0.75rem;
    background: #d8e3ee;
    color: #263c54;
    font-size: 0.78rem;
    font-weight: 700;
}

.ct-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    padding: 0.4rem 0.65rem;
    background: #e8eef4;
    border-bottom: 1px solid #c6d0dc;
    font-size: 0.68rem;
}

.ct-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.45rem;
    border: 1px solid #aebdcd;
    border-radius: 4px;
    background: #fff;
    color: #405166;
    white-space: nowrap;
}

.ct-chip.is-on {
    border-color: #3f82c8;
    background: #e2effb;
    color: #1d4ed8;
}

.ct-main {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: 340px;
}

.ct-left {
    display: grid;
    grid-template-rows: 88px 1fr;
    border-right: 1px solid #c6d0dc;
}

.ct-panel-h {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.5rem;
    background: #d8e3ee;
    border-bottom: 1px solid #afc0d1;
    font-size: 0.72rem;
    font-weight: 700;
    color: #263c54;
}

.ct-badge {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3f82c8;
    color: #fff;
    font-size: 0.62rem;
}

.ct-add {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border: 1px solid #aebdcd;
    border-radius: 50%;
    background: #fff;
    color: #273342;
    font-size: 0.85rem;
    line-height: 18px;
    text-align: center;
}

.ct-file,
.ct-pages,
.ct-preview {
    padding: 0.45rem;
}

.ct-file-item {
    display: none;
    padding: 0.35rem 0.45rem;
    border: 1px solid #c6d0dc;
    border-radius: 4px;
    background: #f7f9fc;
    font-size: 0.72rem;
}

.cover-tour[data-files="1"] .ct-file-item {
    display: block;
}

.cover-tour[data-files="1"][data-file-on="1"] .ct-file-item {
    border-color: #3f82c8;
    background: #e2effb;
}

.ct-page-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.cover-tour[data-pages="1"] .ct-page-grid {
    display: grid;
}

.ct-page {
    min-height: 72px;
    border: 1px solid #cbd3dd;
    border-radius: 4px;
    background: #dfe4ea;
    font-size: 0.62rem;
    text-align: center;
    padding-top: 1.6rem;
}

.ct-actions {
    display: none;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.45rem;
}

.cover-tour[data-pages="1"] .ct-actions {
    display: flex;
}

.ct-btn {
    padding: 0.18rem 0.4rem;
    border: 1px solid #aebdcd;
    border-radius: 4px;
    background: #fff;
    font-size: 0.62rem;
    color: #405166;
}

.ct-btn.spring { background: #e8f8e8; border-color: #80d080; color: #2a8a2a; }
.ct-btn.cyan { background: #e8f7fa; border-color: #7dd3e0; color: #1a8a9e; }
.ct-btn.yellow { background: #fff8e0; border-color: #e0c040; color: #5a4a10; font-weight: 700; }

.ct-preview-area {
    min-height: 220px;
}

.ct-set {
    display: none;
    margin-bottom: 0.55rem;
}

.cover-tour[data-slots="1"] .ct-set-1,
.cover-tour[data-sets="3"] .ct-set {
    display: block;
}

.ct-spread {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    min-height: 150px;
    border: 1px solid #aebdcd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.ct-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #748399;
    background: #f4f7fb;
    transition: transform 0.35s ease;
}

.ct-slot.spine {
    background: #e8f0d8;
    font-size: 0.62rem;
}

.ct-slot.front {
    background: #e8f2fb;
    color: #273342;
}

.cover-tour[data-rot-back="90"] .ct-slot.back { transform: rotate(90deg); }
.cover-tour[data-rot-front="270"] .ct-slot.front { transform: rotate(-90deg); }

.ct-angles {
    display: flex;
    justify-content: space-around;
    margin-top: 0.3rem;
    font-size: 0.62rem;
    color: #748399;
}

.ct-meta {
    margin-top: 0.25rem;
    font-size: 0.62rem;
    color: #405166;
}

.ct-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    border-top: 1px solid #c6d0dc;
    background: #fff;
}

.ct-ghost {
    position: absolute;
    z-index: 4;
    width: 52px;
    min-height: 68px;
    border: 1px solid #3f82c8;
    border-radius: 4px;
    background: #e2effb;
    font-size: 0.6rem;
    text-align: center;
    padding-top: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: left 0.55s ease, top 0.55s ease, opacity 0.2s;
}

.cover-tour[data-drag="1"] .ct-ghost { opacity: 1; }

.ct-cursor {
    position: absolute;
    z-index: 6;
    width: 16px;
    height: 16px;
    margin: -2px 0 0 -2px;
    border-radius: 0 12px 12px 12px;
    background: #111;
    box-shadow: 0 2px 6px rgba(0,0,0,.28);
    pointer-events: none;
    transition: left 0.42s ease, top 0.42s ease, transform 0.12s;
}

.cover-tour[data-click="1"] .ct-cursor { transform: scale(0.82); }

.ct-hl {
    box-shadow: 0 0 0 3px rgba(63, 130, 200, 0.45);
    border-radius: 6px;
}

.ct-settings {
    display: none;
    position: absolute;
    inset: 12% 10%;
    z-index: 5;
    padding: 0.8rem;
    border: 1px solid #afc0d1;
    border-radius: 10px;
    background: #f8fbff;
    box-shadow: 0 12px 32px rgba(18, 46, 67, .22);
}

.cover-tour[data-settings="1"] .ct-settings { display: block; }

.ct-settings h4 {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
}

.ct-set-row {
    display: grid;
    grid-template-columns: 52px 1fr 72px;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
}

.ct-set-row input {
    width: 100%;
    padding: 0.2rem 0.35rem;
    border: 1px solid #c6d0dc;
    border-radius: 4px;
}

.ct-card {
    position: sticky;
    top: 1rem;
    padding: 1.1rem 1.15rem 1rem;
    border: 1px solid #d5deea;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.ct-card-badge {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #e2effb;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
}

.ct-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
}

.ct-card p {
    margin: 0 0 1rem;
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.92rem;
}

.ct-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ct-nav button {
    flex: 1 1 auto;
    padding: 0.45rem 0.6rem;
    border: 1px solid #c6d0dc;
    border-radius: 8px;
    background: #f7f9fc;
    color: #273342;
    font-weight: 600;
    cursor: pointer;
}

.ct-nav button.primary {
    background: #3f82c8;
    border-color: #3f82c8;
    color: #fff;
}

.ct-nav button:disabled {
    opacity: 0.4;
    cursor: default;
}

.ct-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.75rem;
}

.ct-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c6d0dc;
    cursor: pointer;
}

.ct-dots button.is-on { background: #3f82c8; }

@media (max-width: 900px) {
    .cover-tour {
        grid-template-columns: 1fr;
    }
    .ct-card { position: static; }
}

.cover-tint-cards .feature-card {
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(39, 51, 66, 0.07);
}

.cover-tint-cards .feature-card:nth-child(1) {
    background: #eef5ff;
    border-color: #c5d8f5;
}

.cover-tint-cards .feature-card:nth-child(2) {
    background: #eefaf3;
    border-color: #bfe3cc;
}

.cover-tint-cards .feature-card:nth-child(3) {
    background: #fff8e8;
    border-color: #ecd9a4;
}

.cover-tint-cards .feature-card:nth-child(4) {
    background: #f4eefc;
    border-color: #d8c8ef;
}

