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

/* 페이지 슬라이드 인 애니메이션 */
@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;
}

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

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

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

.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;
}

/* 그리기 기능 - 전체 폭 그리드 */
.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;
}

/* 추가 기능 그리드 (페이지 범위, 회전) */
.additional-features-grid {
    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;
}

.btn-primary-large,
.btn-secondary-large {
    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);
}

.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);
}

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

.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;
}

/* 코드 스타일 */
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 {
        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;
    }

    .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 {
        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 {
    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;
}

/* 유튜브 영상 스타일 */
.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-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-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.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;
    }
}

