/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    font-size: 17px;
    scroll-behavior: smooth;
    scroll-padding-top: 65px;
}
body {
    font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ===== Common ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 1.75rem; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: #666; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 8px; font-weight: 600;
    font-size: 0.95rem; transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,0.35); }
.btn-outline { border: 2px solid #667eea; color: #667eea; background: #fff; }
.btn-outline:hover { background: #667eea; color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 10px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===== Navigation ===== */
.top-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
    /* 메인 헤더 링크·드롭다운·햄버거 공통 (본문 #333과 구분) */
    --nav-link-color: #555;
}
.top-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 64px;
}
.nav-logo { font-size: 1.57rem; font-weight: 700; color: #667eea; margin-right: 40px; }
.nav-links { display: flex; align-items: center; gap: 8px; flex: 1; }
.nav-links a {
    padding: 8px 16px; border-radius: 6px; font-size: 1.01rem; font-weight: 500;
    color: var(--nav-link-color); transition: all 0.2s ease;
}
.nav-links a:hover { color: #667eea; background: rgba(102,126,234,0.06); }

/* Desktop nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
    padding: 8px 16px; border-radius: 6px; font-size: 1.01rem; font-weight: 500;
    color: var(--nav-link-color); transition: all 0.2s ease; cursor: pointer;
}
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown-btn:hover { color: #667eea; background: rgba(102,126,234,0.06); }
.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 4px); left: 50%;
    transform: translateX(-50%); min-width: 140px;
    background: #fff; border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 8px 0; z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
    display: block; padding: 10px 20px; font-size: 0.95rem;
    font-weight: 500; color: var(--nav-link-color); white-space: nowrap; transition: all 0.15s ease;
}
.nav-dropdown-menu li a:hover { color: #667eea; background: rgba(102,126,234,0.06); }

.nav-cta {
    padding: 8px 20px; border-radius: 8px; font-size: 1.01rem; font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff;
    transition: all 0.25s ease; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(102,126,234,0.3); }

/* 햄버거 (모바일 전용, 기본 숨김) — 링크와 동일 톤 (button inherit 방지) */
button.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: 4px;
    flex-shrink: 0;
    border-radius: 8px;
    color: var(--nav-link-color);
    transition: background 0.2s ease;
}
button.nav-hamburger:hover { background: rgba(102,126,234,0.08); }
.nav-hamburger-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--nav-link-color);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.is-open .nav-hamburger-line:nth-child(1) {
    transform: translateY(6.25px) rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.is-open .nav-hamburger-line:nth-child(3) {
    transform: translateY(-6.25px) rotate(-45deg);
}

.nav-mobile-backdrop {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    animation: navBackdropIn 0.2s ease;
}
@keyframes navBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.nav-mobile-panel {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-height: min(75vh, calc(100vh - 64px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    z-index: 999;
    animation: navPanelIn 0.22s ease;
}
@keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.top-nav.nav-mobile-open .nav-mobile-backdrop,
.top-nav.nav-mobile-open .nav-mobile-panel {
    display: block;
}
body.nav-mobile-menu-open {
    overflow: hidden;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 60px;
    background-color: #f8f9ff;
    background-image: url('images/ToonBud.webp');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 85%;
    min-height: 520px;
    overflow: hidden;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-content {
    max-width: 50%;
}
/* 모바일용 이미지: 데스크톱에서는 숨김 (배경으로 보여줌) */
.hero-mobile-img {
    display: none;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.hero-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(102,126,234,0.1);
    color: #667eea;
    font-size: 0.89rem;
    font-weight: 600;
}

.hero h1 { font-size: 2.46rem; font-weight: 700; line-height: 1.3; color: #1a1a2e; margin-bottom: 20px; }
.hero-desc { font-size: 1.01rem; color: #666; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.95rem; color: #888; }
.meta-divider { color: #ddd; }

/* ===== Reviews Carousel ===== */
.reviews {
    padding: 80px 0;
    background: #fff;
}
.reviews .section-header { margin-bottom: 40px; }

.reviews-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-track-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.review-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    background: #fafbff;
    border: 1px solid #e8e8f0;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102,126,234,0.12);
    border-color: #c5caf0;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 10px;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.review-tag {
    padding: 4px 10px;
    border-radius: 12px;
    background: #f0f2ff;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
}

.review-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eef0f8;
}
.review-author {
    font-size: 0.78rem;
    color: #999;
}
.review-link-text {
    font-size: 0.78rem;
    color: #667eea;
    font-weight: 500;
    transition: color 0.2s;
}
.review-card:hover .review-link-text { color: #764ba2; }

.reviews-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dde0f0;
    background: #fff;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 2;
}
.reviews-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d0d0d8;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.reviews-dot.active {
    background: #667eea;
    transform: scale(1.3);
}
.reviews-dot:hover:not(.active) {
    background: #aab;
}

/* ===== Features ===== */
.features { padding: 0; }
.block-bg { padding: 60px 0; }
.block-bg-gray { background: #f8f9ff; }
.block-bg-white { background: #fff; }
.features .section-header h2 { font-size: 1.85rem; }
.features .section-header p { font-size: 1.15rem; }
.features-group-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #667eea;
    line-height: 1.4;
}
.features-group-title + .features-grid { margin-bottom: 48px; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.features-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}
.feature-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 32px 28px; border-radius: 16px; background: #fff;
    border: 1px solid #eef0f8; transition: all 0.3s ease;
}
.features-grid:not(.features-grid-2col) > .feature-card {
    padding: 20px;
}
.features-grid:not(.features-grid-2col) > .feature-card > .feature-preview-hint {
    position: static;
    top: auto;
    right: auto;
    margin-top: auto;
    align-self: flex-end;
}
.gallery .block-bg-white .features-grid-2col > .feature-card > .feature-preview-hint {
    position: static;
    top: auto;
    right: auto;
    margin-top: auto;
    align-self: flex-end;
}
.feature-card-image {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8eaf6 100%);
    margin-bottom: 20px;
    overflow: hidden;
    flex-shrink: 0;
}
.feature-card-image img {
    width: 100%;
    display: block;
}
.feature-card:hover {
    transform: translateY(-4px);
    background: #fafbff;
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
    border-color: #c5caf0;
}
.feature-icon {
    width: 64px; height: 64px; border-radius: 14px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.feature-icon img { width: 42px; height: 42px; object-fit: contain; }
.feature-icon-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.feature-icon-row .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.feature-icon-row h3 { margin-bottom: 0; }
.feature-card > p { flex: 1; }
.feature-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 16px;
    gap: 12px;
}
.feature-formats-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.feature-formats-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #888;
}
.feature-unique-tag {
    color: #667eea;
    font-weight: 600;
}
.format-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Courier New', Consolas, monospace;
    background: #eef0f8;
    color: #555;
    letter-spacing: 0.3px;
}
.format-badge-new {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    color: #667eea;
    border: 1px solid #d5daf0;
}
.format-badge-highlight {
    background: linear-gradient(135deg, #7c4dff20, #651fff20);
    color: #5e35b1;
    border: 1px solid #b39ddb;
}
.feature-card h3 { font-size: 1.22rem; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.feature-card p { font-size: 0.98rem; color: #666; line-height: 1.6; }
.feature-card ul,
.feature-detail-desc ul {
    list-style: disc; padding-left: 1.4em; margin: 6px 0;
}
.feature-card li,
.feature-detail-desc li {
    font-size: 0.98rem; color: #666; line-height: 1.6;
    list-style: disc;
}

/* ===== Export Row Cards (horizontal layout with format icons) ===== */
.export-row-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.export-row-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 36px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef0f8;
    transition: all 0.3s ease;
    cursor: pointer;
}
.export-row-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102,126,234,0.14);
    border-color: #c5caf0;
}
.export-row-content {
    flex: 1;
    min-width: 0;
}
.export-row-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.export-row-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0;
}
.export-row-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 6px;
}
.export-row-content > .feature-unique-tag {
    display: block;
    margin-top: 8px;
    margin-bottom: 8px;
}
.export-row-content .feature-preview-hint {
    position: static;
    display: inline-flex;
}
.export-row-formats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}
.export-format-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 44px;
    border-radius: 10px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: #eef0f8;
    color: #555;
    border: 2px solid #e0e4f0;
    transition: all 0.25s ease;
}
.export-format-icon-highlight {
    background: linear-gradient(135deg, #7c4dff18, #651fff18);
    color: #5e35b1;
    border-color: #b39ddb;
}
.export-row-card:hover .export-format-icon {
    transform: scale(1.05);
}

/* ===== Scene Control Row Cards ===== */
.control-row-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.control-row-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eef0f8;
    transition: all 0.25s ease;
}
.control-row-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102,126,234,0.12);
    border-color: #c5caf0;
}
.control-row-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}
.control-row-content h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.control-row-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
}

/* 4:3 aspect ratio image */
.feature-card-image-4x3 {
    aspect-ratio: 4 / 3;
}

/* Vector section description */
.vector-section-desc {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* Vector gallery grid (masonry / Pinterest style) */
.vector-gallery-grid {
    columns: 2;
    column-gap: 20px;
}
.vector-gallery-item {
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9ff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.vector-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.vector-gallery-item img {
    width: 100%;
    display: block;
}

/* ===== Gallery ===== */
.gallery { padding: 0; }
/* 흰 배경 블록 안 카드는 연한 배경으로 구분 */
.gallery .block-bg-white .feature-card,
.features-extract .block-bg-white .feature-card {
    background: #f8f9ff;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}
.gallery .block-bg-white .feature-card:hover,
.features-extract .block-bg-white .feature-card:hover {
    background: #f0f2ff;
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.features-extract .block-bg-white .export-row-card {
    background: #f8f9ff;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}
.features-extract .block-bg-white .export-row-card:hover {
    background: #f0f2ff;
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
}
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.gallery-item {
    border-radius: 12px; overflow: hidden; background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: all 0.3s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; aspect-ratio: 3.5/3; object-fit: cover; }
.gallery-item-placeholder .gallery-placeholder-text {
    width: 100%; aspect-ratio: 3.5/3; display: flex; align-items: center; justify-content: center;
    padding: 12px; font-size: 0.9rem; font-weight: 500; color: #8a8fba; text-align: center;
    background: #e0e4f0; line-height: 1.4;
}
.gallery-label {
    padding: 10px 14px; font-size: 0.85rem; font-weight: 600;
    color: #667eea; text-align: center; background: #fff;
}

/* ===== Extract 3 steps (설치·장면·내보내기) ===== */
.extract-steps {
    max-width: 900px; margin: 0 auto 48px;
}
.extract-step {
    display: grid; grid-template-columns: 48px 1fr 1fr; gap: 24px;
    align-items: center; margin-bottom: 40px; position: relative;
}
.extract-step:not(:last-child)::after {
    content: ''; position: absolute; left: 23px; top: 48px; bottom: -40px;
    width: 2px; background: linear-gradient(180deg, #667eea, #e0e0e0);
}
.extract-step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff; font-size: 1.2rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; flex-shrink: 0;
}
.extract-step-content h4 { font-size: 1.1rem; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.extract-step-content p { font-size: 0.9rem; color: #666; line-height: 1.6; margin: 0; }
.extract-step-img { border-radius: 0; overflow: visible; box-shadow: none; background: transparent; }
.extract-step-img img { width: 100%; display: block; }

/* (Video section removed - now uses detail-carousel) */

/* ===== Pricing ===== */
.pricing { padding: 70px 0 70px 0; background: #f8f9ff; }
.pricing .section-header { margin-bottom: 24px; }
.pricing-carousel-wrapper {
    display: flex; align-items: center; gap: 8px;
    max-width: 1200px; margin: 0 auto 16px; position: relative;
}
.pricing-carousel-viewport {
    overflow: hidden; flex: 1; padding-top: 20px; padding-bottom: 10px;
}
.pricing-carousel-track {
    display: flex; gap: 18px; transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.pricing-carousel-track .pricing-card {
    min-width: calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); flex-shrink: 0;
}
.pricing-carousel-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 2px solid #d0d5e8;
    background: #fff; color: #667eea; cursor: pointer; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pricing-carousel-btn:hover { background: #667eea; color: #fff; border-color: #667eea; }
.pricing-carousel-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.pricing-carousel-dots {
    display: flex; gap: 8px; justify-content: center; margin-bottom: 16px;
}
.pricing-carousel-dots .dot {
    width: 10px; height: 10px; border-radius: 50%; background: #d0d5e8;
    cursor: pointer; transition: background 0.2s;
}
.pricing-carousel-dots .dot.active { background: #667eea; }
.pricing-card {
    width: 100%; padding: 28px 22px 20px 22px; border-radius: 24px;
    background: #fff; border: 2px solid #e0e4f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06); text-align: center;
    position: relative; transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(102,126,234,0.15); border-color: #c5caf0; }
.pricing-card-popular { border-color: #667eea; box-shadow: 0 20px 60px rgba(102,126,234,0.18); transform: scale(1.03); }
.pricing-card-popular:hover { transform: scale(1.03) translateY(-4px); box-shadow: 0 24px 60px rgba(102,126,234,0.22); }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 24px; border-radius: 20px;
    background: #e0e4f0; color: #667eea;
    font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.pricing-badge-popular {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff;
}
.pricing-plan-name { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-top: 4px; margin-bottom: 0; }
.pricing-amount { margin: 8px 0 4px; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.currency { font-size: 1.15rem; font-weight: 600; color: #667eea; vertical-align: top; line-height: 2.2; margin-right: 6px; }
.price { font-size: 2.4rem; font-weight: 700; color: #1a1a2e; white-space: nowrap; }
.period { font-size: 0.85rem; color: #888; font-weight: 400; margin-left: 2px; }
.pricing-desc { font-size: 0.85rem; color: #888; margin-bottom: 8px; }
.pricing-unit-info {
    display: flex; flex-direction: column; gap: 4px;
    margin-bottom: 12px; padding: 10px; background: #f8f9ff;
    border-radius: 8px; text-align: center;
}
.unit-price {
    font-size: 0.8rem; color: #666;
}
.unit-price strong {
    color: #667eea; font-weight: 700; font-size: 0.9rem;
}
.discount-badge {
    display: inline-block; padding: 4px 12px; border-radius: 12px;
    background: #e6f4ea; color: #137333;
    font-size: 0.75rem; font-weight: 700;
    margin-top: 4px; border: 1px solid #c6e7cf;
}
.discount-badge-large {
    font-size: 0.8rem; padding: 5px 14px;
    background: #fef3cd; color: #856404; border-color: #ffe082;
}
.pricing-features { text-align: left; margin-bottom: 16px; flex: 1; min-height: 0; }
.pricing-features li {
    display: flex; align-items: center; gap: 8px; padding: 4px 0;
    font-size: 0.85rem; color: #444;
}
.pricing-features svg { flex-shrink: 0; }
.pricing-cta { margin-top: auto; margin-bottom: 0; }
.pricing-note { font-size: 0.8rem; color: #aaa; }
.pricing-multi-note {
    text-align: center; font-size: 0.85rem; color: #888;
    margin-bottom: 60px; margin-top: 0;
}

/* Roadmap Card */
.roadmap-card {
    max-width: 820px; margin: 0 auto 32px;
    padding: 28px 32px; border-radius: 16px;
    background: #fff; border: 1px solid #e0e4f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.roadmap-card h3 {
    text-align: center; font-size: 1.1rem; font-weight: 600;
    color: #1a1a2e; margin: 0 0 24px;
}
.roadmap-timeline {
    display: flex; align-items: flex-start; gap: 0;
    position: relative; padding: 0 16px;
}
.roadmap-item {
    flex: 1; text-align: center; position: relative; padding-top: 32px;
}
.roadmap-dot {
    width: 16px; height: 16px; border-radius: 50%; border: 3px solid #ddd;
    background: #fff; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 1;
}
.roadmap-item.active .roadmap-dot { border-color: #667eea; background: #667eea; }
.roadmap-item.completed .roadmap-dot { border-color: #34a853; background: #34a853; }
.roadmap-line {
    position: absolute; top: 7px; left: calc(50% + 8px); right: calc(-50% + 8px);
    height: 2px; background: #ddd;
}
.roadmap-item:last-child .roadmap-line { display: none; }
.roadmap-item.completed .roadmap-line { background: #34a853; }
.roadmap-item.active .roadmap-line { background: linear-gradient(90deg, #667eea, #ddd); }
.roadmap-version {
    font-size: 0.9rem; font-weight: 700; color: #1a1a2e; margin-bottom: 4px;
}
.roadmap-item.active .roadmap-version { color: #667eea; }
.roadmap-item.completed .roadmap-version { color: #34a853; }
.roadmap-desc { font-size: 0.75rem; color: #888; line-height: 1.4; }
.roadmap-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    padding: 2px 8px; border-radius: 10px; margin-top: 4px;
}
/* 뱃지 스타일: 그린(출시/제공중) | 블루(개발중/상반기예정) | 그레이(예정/개발계획) */
.roadmap-badge.released,
.roadmap-detail-tag-released { background: #e6f4ea; color: #137333; }
.roadmap-badge.dev,
.roadmap-detail-tag-dev { background: #e8eaf6; color: #667eea; }
.roadmap-badge.upcoming,
.roadmap-detail-tag-plan { background: #f0f0f0; color: #888; }
.roadmap-note {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef0f8;
}
.roadmap-note p {
    font-size: 0.82rem; color: #888; text-align: center; line-height: 1.6; margin: 0;
}
.roadmap-detail-list {
    list-style: none; padding: 0; margin: 0;
    text-align: left;
}
.roadmap-detail-list > li {
    padding: 12px 0;
}
.roadmap-detail-list > li + li {
    border-top: 1px solid #eef0f8;
}
.roadmap-detail-ver {
    font-size: 0.9rem; font-weight: 700; color: #1a1a2e;
}
.roadmap-detail-tag {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    padding: 2px 8px; border-radius: 10px; vertical-align: middle;
    margin: 0 4px;
}
.roadmap-detail-title {
    font-size: 0.88rem; font-weight: 600; color: #444;
}
.roadmap-detail-title small {
    font-size: 0.75rem; font-weight: 500; color: #999;
}
.roadmap-detail-list > li > ul {
    list-style: none; padding: 6px 0 0 20px; margin: 0;
}
.roadmap-detail-list > li > ul > li {
    position: relative; padding: 3px 0 3px 12px;
    font-size: 0.8rem; color: #666; line-height: 1.55;
}
.roadmap-detail-list > li > ul > li::before {
    content: ''; position: absolute; left: 0; top: 10px;
    width: 4px; height: 4px; border-radius: 50%; background: #bbb;
}

/* System Requirements */
.system-requirements {
    padding: 30px; border-radius: 16px;
    background: #fff; border: 1px solid #e0e4f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.system-requirements h3 { text-align: center; font-size: 1.1rem; font-weight: 600; color: #1a1a2e; margin-bottom: 24px; }
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.req-item { text-align: center; }
.req-item strong { display: block; font-size: 0.85rem; color: #667eea; margin-bottom: 6px; }
.req-item span { font-size: 0.85rem; color: #666; line-height: 1.5; }
.req-item small { color: #999; }

/* ===== Pricing PR Cards (2-column) ===== */
.pricing-pr-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
    max-width: 820px; margin: 0 auto 32px;
}
.pricing-pr-card {
    position: relative; padding: 36px 30px 28px;
    border-radius: 20px; background: #fff;
    border: 2px solid #e0e4f0; text-align: center;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center;
}
.pricing-pr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(102,126,234,0.18);
    border-color: #c5caf0;
}
.pricing-pr-card-main {
    border-color: #667eea;
    box-shadow: 0 12px 40px rgba(102,126,234,0.15);
}
.pricing-pr-card-main:hover {
    box-shadow: 0 24px 60px rgba(102,126,234,0.25);
    border-color: #5a6fd6;
}
.pricing-pr-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 24px; border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff;
    font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.pricing-pr-badge-sub {
    background: #e0e4f0; color: #667eea;
}
.pricing-pr-title {
    font-size: 1.3rem; font-weight: 700; color: #1a1a2e;
    margin: 8px 0 12px;
}
.pricing-pr-desc {
    font-size: 0.92rem; color: #555; line-height: 1.65;
    margin-bottom: 24px; flex: 1;
}
.pricing-pr-features {
    list-style: none; padding: 0; margin: 0 0 24px;
    text-align: left; flex: 1;
    font-size: 0.92rem; color: #555; line-height: 1.65;
}
.pricing-pr-features li {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px;
}
.pricing-pr-features li svg {
    flex-shrink: 0;
}
.pricing-pr-cta { margin-top: auto; }

/* ===== Pricing Detail Modal (일시불/월정액 상세) ===== */
.pricing-detail-modal {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff; border-radius: 20px;
    max-width: 460px; width: 92%; max-height: 90vh;
    overflow: hidden;
    z-index: 2001; box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    text-align: center;
}
.pricing-detail-modal.active { display: block; }
.pricing-detail-scroll {
    overflow-y: auto; max-height: 90vh;
    padding: 44px 36px 32px;
}
.pricing-detail-header { margin-bottom: 16px; position: relative; }
.pricing-detail-header .pricing-badge { position: static; display: inline-block; transform: none; margin-bottom: 12px; }
.pricing-detail-header h3 { font-size: 1.35rem; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.pricing-detail-version { font-size: 0.9rem; color: #667eea; font-weight: 600; }
.pricing-detail-price { margin: 4px 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; }

/* 출시 이벤트 할인 블록 */
.pricing-event-block {
    background: linear-gradient(135deg, #fff8f5, #fff0eb);
    border: 1px solid rgba(238, 90, 36, 0.15);
    border-radius: 14px; padding: 16px 20px 12px;
    margin: 16px 0 20px; text-align: center;
}
.pricing-event-banner {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff; font-weight: 700; font-size: 0.8rem;
    padding: 5px 14px; border-radius: 16px;
    animation: eventPulse 2s ease-in-out infinite;
}
.event-badge-icon { font-size: 0.95rem; }
@keyframes eventPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(238, 90, 36, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(238, 90, 36, 0); }
}
.pricing-event-prices {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 12px;
}
.pricing-original-price {
    font-size: 1.05rem; color: #aaa; text-decoration: line-through;
    font-weight: 400;
}
.pricing-discount-badge {
    display: inline-block; background: #ee5a24; color: #fff;
    font-size: 0.7rem; font-weight: 700; padding: 2px 7px;
    border-radius: 4px; letter-spacing: 0.5px;
}
.pricing-event-final {
    display: flex; align-items: baseline; justify-content: center; gap: 4px;
    margin-top: 4px;
}
.pricing-event-final .currency { color: #ee5a24; }
.price-event { color: #ee5a24; }
.pricing-event-note {
    font-size: 0.72rem; color: #c44d1a; margin: 8px 0 0;
    font-weight: 400;
}
.pricing-detail-body { text-align: left; margin-bottom: 24px; }
.pricing-detail-body .pricing-features { margin: 0; }
.pricing-detail-body .pricing-features li { padding: 6px 0; font-size: 0.9rem; }
.pricing-detail-note { font-size: 0.8rem; color: #999; margin-top: 12px; }

/* 월정액 모달: 전체 레이아웃 */
.pricing-detail-modal-monthly {
    max-width: 560px; padding: 0; overflow: hidden;
}
.pricing-detail-modal-monthly.active {
    display: flex; flex-direction: column; max-height: 90vh;
}

/* 월정액 모달: 그라데이션 헤더 (고정) */
.monthly-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 32px 28px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}
.monthly-modal-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 20px;
    background: #fff; border-radius: 20px 20px 0 0;
}
.monthly-modal-header h3 {
    font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 12px;
}
.monthly-modal-benefits {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.monthly-benefit-item {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.16); border-radius: 20px;
    padding: 5px 14px; font-size: 0.78rem; color: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
}
.monthly-benefit-item svg { flex-shrink: 0; }

/* 영구 전환 배너 */
.monthly-modal-permanent-banner {
    margin: 0 0 12px 0;
    display: inline-flex; align-items: center;
    font-size: 0.82rem; color: rgba(255,255,255,0.95);
}
.monthly-modal-permanent-banner strong { color: #ffd54f; }

/* 월정액 모달: 바디 (플랜 영역 — 스크롤) */
.monthly-modal-body {
    padding: 12px 32px 28px;
    overflow-y: auto; flex: 1; min-height: 0;
}
.monthly-modal-subtitle {
    font-size: 0.88rem; color: #888; font-weight: 500;
    margin: 0 0 16px; text-align: center;
}

/* 플랜 선택 리스트 */
.pricing-detail-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.plan-option {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-radius: 12px;
    border: 2px solid #e8eaf4; background: #fafbff;
    cursor: pointer; transition: all 0.25s ease; gap: 12px;
}
.plan-option:hover {
    border-color: #b3bef6; background: #f5f6ff;
    box-shadow: 0 4px 12px rgba(102,126,234,0.08);
}
.plan-option.selected {
    border-color: #667eea; background: #eef0ff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15), 0 6px 20px rgba(102,126,234,0.1);
}
.plan-option-badge {
    position: absolute; top: -9px; right: 16px;
    padding: 2px 12px; border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff;
    font-size: 0.72rem; font-weight: 600;
}
.plan-option-popular {
    border-color: #667eea; background: #f0f2ff;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.12);
}
.plan-option-left { flex: 1; text-align: left; }
.plan-option-name { display: block; font-size: 0.95rem; font-weight: 600; color: #1a1a2e; }
.plan-option-desc { display: block; font-size: 0.78rem; color: #888; margin-top: 2px; }
.plan-option-right { text-align: right; flex-shrink: 0; }
.plan-option-price { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; }
.plan-option-price span { font-size: 0.8rem; font-weight: 400; color: #888; }
.plan-option-discount {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    color: #137333; margin-top: 4px;
    background: #e6f4ea; padding: 2px 8px; border-radius: 6px;
}

/* 구독중 플랜 비활성화 */
.plan-option-disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
    background: #f0f1f5;
    border-color: #d0d3e0;
    box-shadow: none;
    transform: none;
}
.plan-option-disabled:hover {
    border-color: #d0d3e0;
    background: #f0f1f5;
    box-shadow: none;
    transform: none;
}
.plan-subscribing-badge {
    position: absolute;
    top: -9px;
    left: 16px;
    padding: 2px 12px;
    border-radius: 10px;
    background: #34a853;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* 개인/단체 그룹 라벨 */
.plan-group-label {
    font-size: 0.75rem; font-weight: 600; color: #667eea;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin: 0 0 8px; padding-left: 4px;
    text-align: left;
}
.plan-group-label + .pricing-detail-plans { margin-bottom: 20px; }

/* 업/다운그레이드 안내 */
.monthly-modal-upgrade-note {
    text-align: center; font-size: 0.82rem; color: #999;
    margin: 0; padding-top: 14px;
    border-top: 1px solid #eef0f8;
}
.monthly-modal-upgrade-note b { color: #667eea; }

/* 월정액 모달 내부 닫기 버튼 보정 */
.pricing-detail-modal-monthly .modal-close {
    color: rgba(255,255,255,0.7); z-index: 10;
}
.pricing-detail-modal-monthly .modal-close:hover {
    color: #fff;
}

/* 기존 pricing-detail-footer (일시불 모달용 유지) */
.pricing-detail-footer { text-align: left; padding-top: 16px; border-top: 1px solid #eef0f8; }
.pricing-detail-footer .pricing-features li { padding: 4px 0; font-size: 0.85rem; }

/* ===== Pricing Info Accordion (라이선스 정책 / 시스템 요구사항) ===== */
.pricing-info-list { display: flex; flex-direction: column; gap: 12px; }
.pricing-info-item {
    border-radius: 12px; overflow: hidden;
    background: #fff; border: 1px solid #e0e4f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.pricing-info-item:hover { box-shadow: 0 4px 15px rgba(102,126,234,0.08); }
.pricing-info-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; font-size: 0.95rem; font-weight: 600; color: #1a1a2e;
    text-align: left;
}
.pricing-info-chevron { transition: transform 0.3s ease; flex-shrink: 0; color: #667eea; }
.pricing-info-question[aria-expanded="true"] .pricing-info-chevron { transform: rotate(180deg); }
.pricing-info-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.pricing-info-answer.open { max-height: 3000px; }
.pricing-info-answer .req-grid {
    padding: 0 24px 20px;
}
.license-policy-section {
    padding: 0 24px 16px;
}
.roadmap-detail-list-wrap {
    padding: 0 24px 20px;
}
.license-policy-section h4 {
    font-size: 0.95rem; font-weight: 700; color: #1a1a2e;
    margin: 0 0 10px; padding-top: 8px;
    border-top: 1px solid #eef0f8;
}
.license-policy-section:first-child h4 { border-top: none; padding-top: 0; }
.license-policy-section ul {
    list-style: none; padding: 0; margin: 0;
}
.license-policy-section li {
    position: relative; padding: 4px 0 4px 16px;
    font-size: 0.88rem; color: #555; line-height: 1.7;
}
.license-policy-section li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 5px; height: 5px; border-radius: 50%; background: #667eea;
}

/* ===== help ===== */
.help { padding: 70px 0; background: #fff; }
.help-list { max-width: 780px; margin: 0 auto; }
.help-item {
    margin-bottom: 12px; border-radius: 12px; overflow: hidden;
    background: #f8f9ff; border: 1px solid #e8eaf4;
    transition: all 0.3s ease;
}
.help-item:hover { box-shadow: 0 4px 15px rgba(102,126,234,0.08); }
.help-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; font-size: 0.95rem; font-weight: 500; color: #1a1a2e;
    text-align: left;
}
.help-chevron { transition: transform 0.3s ease; flex-shrink: 0; color: #667eea; }
.help-question[aria-expanded="true"] .help-chevron { transform: rotate(180deg); }
.help-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.help-answer.open { max-height: 2000px; }
.help-answer p { padding: 0 24px 20px; font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ===== Footer ===== */
.site-footer { padding: 60px 0 40px; background: #1a1a2e; color: #ccc; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-brand { margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 0.9rem; color: #888; }
.footer-links { display: flex; gap: 80px; margin-bottom: 40px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: #888; transition: color 0.2s ease; }
.footer-col a:hover { color: #667eea; }
.footer-bottom {
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: #666; }
.footer-contact { margin-top: 8px; font-size: 0.8rem; color: #555; }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); }

/* ===== Nav User ===== */
.nav-user {
    display: flex; align-items: center; gap: 10px; margin-left: auto;
}
.nav-user-photo {
    width: 32px; height: 32px; border-radius: 50%; border: 2px solid #667eea;
}
.nav-user-name {
    font-size: 0.85rem; font-weight: 500; color: #333; max-width: 120px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-cta-small {
    padding: 6px 14px !important; font-size: 0.8rem !important;
}

/* ===== Modal ===== */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 2000; backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: block; opacity: 1; }

/* 플랜 변경 확인 모달 (마이페이지 confirm-modal과 동일) */
.confirm-modal {
    display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; border-radius: 20px; padding: 40px;
    max-width: 440px; width: 90%; z-index: 2001;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}
.confirm-modal.active { display: block; }
.confirm-modal h3 { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.confirm-modal p { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 20px; white-space: pre-line; }
.confirm-actions { display: flex; gap: 12px; justify-content: flex-end; }

.subscribe-modal {
    display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; border-radius: 20px; padding: 48px 40px;
    max-width: 480px; width: 90%; max-height: 90vh; overflow-y: auto;
    z-index: 2001; box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
}
.subscribe-modal.active { display: block; opacity: 1; }

.modal-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 1.8rem; color: #999; cursor: pointer; background: none; border: none;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: all 0.2s ease;
}
.modal-close:hover { background: #f0f0f0; color: #333; }

.support-contact-modal h3 { font-size: 1.35rem; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.support-contact-modal .support-contact-lead {
    font-size: 0.92rem; color: #555; line-height: 1.65; margin-bottom: 8px; text-align: left;
}
.support-contact-modal .support-from-email {
    font-size: 0.88rem; color: #666; margin-bottom: 16px; text-align: left;
}
.support-contact-modal .support-form-field { margin-bottom: 16px; text-align: left; }
.support-contact-modal .support-form-field label {
    display: block; font-weight: 600; margin-bottom: 6px; color: #444; font-size: 0.9rem;
}
.support-contact-modal .support-form-field input[type="text"],
.support-contact-modal .support-form-field textarea {
    width: 100%; box-sizing: border-box; padding: 12px 14px;
    border: 1px solid #ddd; border-radius: 10px; font: inherit; font-size: 0.95rem;
}
.support-contact-modal .support-form-field textarea { resize: vertical; min-height: 120px; }
.support-contact-modal .support-contact-status {
    min-height: 1.25em; font-size: 0.88rem; color: #ea4335; margin-bottom: 12px; text-align: left;
}
.support-contact-modal .support-contact-status.success { color: #34a853; }

.modal-step { text-align: center; }
.modal-step h3 { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.modal-step p { font-size: 0.95rem; color: #666; margin-bottom: 24px; line-height: 1.6; }

.modal-icon { margin-bottom: 20px; }
.modal-icon svg { display: inline-block; }

/* ===== Google Login Button ===== */
.btn-google {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; padding: 14px 24px; border-radius: 10px;
    font-size: 1rem; font-weight: 600; color: #333;
    background: #fff; border: 2px solid #e0e0e0;
    cursor: pointer; transition: all 0.25s ease;
}
.btn-google:hover { border-color: #4285F4; box-shadow: 0 4px 15px rgba(66,133,244,0.2); transform: translateY(-1px); }

/* ===== Payment Step ===== */
.logged-in-as {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 20px; font-size: 0.85rem; color: #888;
}
.btn-text {
    background: none; border: none; color: #667eea; cursor: pointer;
    font-size: 0.85rem; text-decoration: underline; padding: 0;
}
.btn-text:hover { color: #764ba2; }

.modal-fine-print {
    margin-top: 12px; font-size: 0.75rem; color: #aaa; line-height: 1.5;
}
#stepPayment .modal-fine-print { margin-bottom: 0; }

/* ===== Processing Spinner ===== */
.spinner {
    width: 48px; height: 48px; border: 4px solid #eee;
    border-top-color: #667eea; border-radius: 50%;
    animation: spin 0.8s linear infinite; margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== License Result ===== */
.license-result { margin: 24px 0; }
.license-result p { margin-bottom: 8px; font-weight: 600; color: #333; }
.license-key-box {
    background: #f8f9ff; border: 2px solid #667eea; border-radius: 10px;
    padding: 16px; font-family: 'Courier New', monospace; font-size: 0.95rem;
    word-break: break-all; color: #1a1a2e; margin-bottom: 12px;
    user-select: all;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.result-info { font-size: 0.85rem; color: #888; margin: 16px 0; }
.result-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

.success-icon svg { color: #34a853; }
.error-icon svg { color: #ea4335; }

/* ===== Feature Preview Hint ===== */
.feature-card-preview { cursor: pointer; }
.feature-preview-hint {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; border-radius: 20px;
    background: rgba(102,126,234,0.08); color: #667eea;
    font-size: 0.82rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: all 0.25s ease;
    z-index: 1;
}
.feature-new-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a5f 0%, #d7263d 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 16px rgba(215, 38, 61, 0.28);
    z-index: 2;
}
.feature-card-preview:hover .feature-preview-hint,
a.feature-preview-hint:hover {
    background: rgba(102,126,234,0.18); color: #5a6fd6;
}

/* ===== Detail Carousel (GIF / Video inline) ===== */
.detail-carousel {
    max-width: 1100px; margin: 0 auto; position: relative;
    display: flex; align-items: center; gap: 16px;
}
.detail-carousel-viewport {
    flex: 1; overflow: hidden; border-radius: 16px;
}
.detail-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.detail-slide {
    min-width: 100%; box-sizing: border-box;
}
.detail-slide-title {
    font-size: 1.5rem; font-weight: 600; color: #333;
    margin-bottom: 14px; text-align: center;
}
.detail-slide-desc {
    font-size: 1rem; color: #666; line-height: 1.65;
    margin: 25px auto 25px; text-align: center; max-width: 640px;
}
.detail-slide-media {
    width: 100%; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1); background: #f0f1f5;
}
.detail-slide-media:not(.detail-slide-video) { min-height: 420px; }
.detail-slide-media img {
    width: 100%; display: block; object-fit: contain;
}
.detail-slide-video {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #000;
}
.detail-slide-video iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

.detail-carousel-btn {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid #dde0f0; background: #fff; color: #555;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.detail-carousel-btn:hover {
    background: #667eea; color: #fff; border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}
.detail-carousel-btn:disabled {
    opacity: 0.3; cursor: default; background: #f0f0f0;
    color: #aaa; border-color: #e0e0e0; box-shadow: none;
}

.detail-carousel-dots {
    display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.detail-carousel-note {
    margin-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #8a8fa8;
    line-height: 1.5;
}
.detail-carousel-dot {
    width: 10px; height: 10px; border-radius: 50%; border: none;
    background: #ccc; cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.detail-carousel-dot.active {
    background: #667eea; transform: scale(1.2);
}
.detail-carousel-dot:hover:not(.active) { background: #aab; }

.features-extract { padding: 0; }

/* ===== Image Lightbox ===== */
.lightbox-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); z-index: 3000;
    align-items: center; justify-content: center;
    cursor: zoom-out; backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.3s ease;
}
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    font-size: 2.4rem; color: #fff; background: none; border: none;
    cursor: pointer; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.2s ease;
    z-index: 3001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-img {
    max-width: 90vw; max-height: 90vh; object-fit: contain;
    border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    cursor: zoom-in;
    transition: max-width 0.3s ease, max-height 0.3s ease, transform 0.3s ease;
}
.lightbox-img.lightbox-zoomed {
    max-width: none; max-height: none;
    cursor: zoom-out;
}
.detail-slide-media img,
.feature-card-image img,
.vector-gallery-item img {
    cursor: zoom-in;
}

/* ===== Feature Detail Modal (Instagram Style) ===== */
.feature-detail-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); z-index: 3000;
    align-items: center; justify-content: center;
    cursor: zoom-out; backdrop-filter: blur(6px);
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-detail-overlay.active { display: flex; opacity: 1; }

.feature-detail-close {
    position: absolute; top: 20px; right: 24px;
    font-size: 2.4rem; color: #fff; background: none; border: none;
    cursor: pointer; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.2s ease;
    z-index: 3001;
}
.feature-detail-close:hover { background: rgba(255,255,255,0.15); }

.feature-detail-modal {
    display: flex; flex-direction: row;
    max-width: min(1200px, 138.46vh); width: 94vw; max-height: 90vh;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 60px rgba(0,0,0,0.4);
    cursor: default;
}

.feature-detail-image {
    flex: 1 1 65%; min-width: 0;
    display: flex; align-items: flex-start; justify-content: center;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8eaf6 100%);
    overflow: hidden;
}
.feature-detail-image img {
    width: 100%;
    display: block;
}

.feature-detail-info {
    flex: 1 1 35%; min-width: 280px;
    padding: 40px 36px;
    display: flex; flex-direction: column;
    justify-content: center; gap: 24px;
    overflow-y: auto;
}

.feature-detail-header {
    display: flex; align-items: center; gap: 14px;
}
.feature-detail-header .feature-detail-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-detail-header .feature-detail-icon img {
    width: 36px; height: 36px; object-fit: contain;
}
.feature-detail-header h3 {
    font-size: 1.2rem; font-weight: 700; color: #1a1a2e;
    line-height: 1.4; margin: 0;
}

.feature-detail-desc {
    font-size: 0.95rem; color: #555; line-height: 1.75; margin: 0;
}
.feature-detail-desc p {
    margin: 0 0 0.5em;
}
.feature-detail-desc p:last-child {
    margin-bottom: 0;
}

.feature-detail-link {
    align-self: flex-start;
    padding: 10px 24px; font-size: 0.9rem;
}

.feature-detail-bottom {
    display: none;
}
.feature-detail-modal > .feature-detail-image {
    order: 1;
}
.feature-detail-modal > .feature-detail-info {
    order: 2;
}
.feature-detail-modal > .feature-detail-bottom {
    order: 3;
}

/* ===== Animations ===== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .feature-detail-modal {
        flex-direction: column;
        max-height: 92vh;
        width: 97vw; max-width: 800px;
    }
    .feature-detail-modal > .feature-detail-info { order: -1; }
    .feature-detail-modal > .feature-detail-image { order: 0; }
    .feature-detail-modal > .feature-detail-bottom { order: 1; }
    .feature-detail-image {
        flex: none;
        width: 100%;
    }
    .feature-detail-info .feature-detail-desc,
    .feature-detail-info .feature-detail-link {
        display: none;
    }
    .feature-detail-info {
        padding: 20px 24px 12px;
        gap: 0;
    }
    .feature-detail-bottom {
        display: flex; flex-direction: column; gap: 16px;
        padding: 16px 24px 24px;
    }
    .feature-detail-header h3 { font-size: 1.1rem; }
    .feature-detail-desc { font-size: 0.9rem; }
    .review-card { flex: 0 0 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-carousel-track .pricing-card { min-width: calc((100% - 18px) / 2); max-width: calc((100% - 18px) / 2); }
    /* 모바일 히어로: 1단 타이틀, 2단 버튼(중앙), 3단 이미지 */
    .hero {
        background-image: none;
        min-height: auto;
        padding: 100px 0 0;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .hero-text {
        width: 100%;
    }
    .hero-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-side .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0;
    }
    .hero-side .hero-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    .hero-side .meta-divider { display: inline; }
    .hero-mobile-img {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        border-radius: 12px 12px 0 0;
    }
    .extract-step { grid-template-columns: 44px 1fr; gap: 16px; margin-bottom: 32px; }
    .extract-step-img { grid-column: 1 / -1; margin-top: 12px; }
    .extract-step:not(:last-child)::after { left: 21px; bottom: -32px; }
    .extract-step-num { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* 모바일 메뉴 패널 내부: 데스크톱에서는 패널 자체가 숨겨짐 */
.mobile-top-menu { display: none; }

@media (max-width: 1080px) {
    .nav-links { display: none; }

    button.nav-hamburger {
        display: flex;
        margin-left: auto;
        margin-right: 6px;
    }
    .nav-cta,
    .nav-user {
        flex-shrink: 0;
    }
    .nav-user { gap: 8px; }
    .nav-user .nav-user-name { display: none; }

    .top-nav.nav-mobile-open .nav-mobile-panel .mobile-top-menu {
        display: flex;
    }

    .nav-mobile-panel .mobile-top-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 0 20px;
    }

    .nav-mobile-panel .mobile-nav-group {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding-bottom: 4px;
        margin-bottom: 4px;
    }
    .nav-mobile-panel .mobile-nav-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .nav-mobile-panel .mobile-nav-title {
        margin: 0;
        padding: 12px 20px 6px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #888;
    }
    .nav-mobile-panel .mobile-nav-sub {
        list-style: none;
        margin: 0;
        padding: 0 0 8px;
        background: #f8f9fc;
        border-radius: 0;
    }
    .nav-mobile-panel .mobile-nav-sub li a {
        display: block;
        padding: 12px 20px 12px 24px;
        font-size: 1rem;
        font-weight: 500;
        color: #333;
        white-space: normal;
        transition: color 0.2s, background 0.2s;
    }
    .nav-mobile-panel .mobile-nav-sub li a:hover {
        color: #667eea;
        background: rgba(102,126,234,0.08);
    }
}

@media (max-width: 768px) {
    .feature-detail-modal {
        flex-direction: column; width: 94vw; max-width: none;
        border-radius: 12px; max-height: 92vh; overflow-y: auto;
    }
    .feature-detail-info {
        padding: 16px 20px 10px; gap: 0;
    }
    .feature-detail-header h3 { font-size: 1rem; }
    .feature-detail-image {
        flex: none;
        max-height: none;
    }
    .feature-detail-bottom {
        padding: 14px 20px 20px; gap: 12px;
    }
    .feature-detail-bottom .feature-detail-desc { font-size: 0.88rem; }
    .feature-detail-close { top: 12px; right: 12px; font-size: 2rem; }
    .lightbox-img { max-width: 100vw; border-radius: 0; box-shadow: none; }
    .lightbox-close { top: 8px; right: 8px; }
    .hero { padding: 90px 0 0; }
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }

    .section-header h2 { font-size: 1.8rem; }
    .section-header { margin-bottom: 40px; }

    .reviews-carousel { gap: 8px; }
    .reviews-btn { width: 36px; height: 36px; }
    .reviews { padding: 60px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .control-row-card {
        align-items: flex-start;
        padding: 16px 14px;
        gap: 12px;
    }
    .control-row-content h4 { font-size: 1rem; }
    .control-row-content p { font-size: 0.9rem; }
    .export-row-card {
        gap: 20px;
        padding: 24px 20px;
    }
    .vector-gallery-grid { columns: 1; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .pricing-pr-grid { grid-template-columns: 1fr; max-width: 400px; }
    .req-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-links { flex-direction: column; gap: 30px; }

    .pricing-carousel-track .pricing-card { min-width: 100%; max-width: 100%; }
    .pricing-carousel-wrapper { max-width: 400px; }
    .pricing-card { padding: 32px 24px 24px 24px; }
    .pricing-card-popular { transform: none; }
    .pricing-card-popular:hover { transform: translateY(-4px); }
    .price { font-size: 2.2rem; }
    .pricing-unit-info { padding: 10px; }
    .unit-price { font-size: 0.75rem; }
    .discount-badge { font-size: 0.7rem; padding: 3px 8px; }

    .detail-carousel { gap: 8px; }
    .detail-carousel-btn { width: 36px; height: 36px; }

    .monthly-modal-header { padding: 14px 20px 24px; }
    .monthly-modal-body { padding: 10px 20px 24px; }
    .monthly-modal-benefits { gap: 6px; }
    .monthly-benefit-item { font-size: 0.72rem; padding: 4px 10px; }
    .monthly-modal-permanent-banner { font-size: 0.76rem; padding: 7px 14px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-content { gap: 16px; }
    .hero-side .hero-actions .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
    .hero-side .hero-meta { flex-direction: column; gap: 4px; }
    .hero-side .meta-divider { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .extract-step { grid-template-columns: 36px 1fr; gap: 12px; margin-bottom: 28px; }
    .extract-step-num { width: 36px; height: 36px; font-size: 1rem; }
    .extract-step:not(:last-child)::after { left: 17px; bottom: -28px; }
    .extract-step-content h4 { font-size: 1rem; }
    .extract-step-content p { font-size: 0.85rem; }

    .subscribe-modal { padding: 32px 20px; width: 95%; }
    .result-actions { flex-direction: column; }

    .monthly-modal-header { padding: 14px 16px 22px; }
    .monthly-modal-header h3 { font-size: 1.15rem; }
    .monthly-modal-benefits { gap: 5px; }
    .monthly-benefit-item { font-size: 0.68rem; padding: 3px 8px; }
    .monthly-modal-permanent-banner { font-size: 0.72rem; padding: 6px 12px; }
    .monthly-modal-body { padding: 8px 16px 20px; }
    .plan-option { padding: 14px 14px; }
    .plan-option-name { font-size: 0.88rem; }
    .plan-option-price { font-size: 0.95rem; }

    .detail-carousel { gap: 6px; }
    .detail-carousel-btn { width: 32px; height: 32px; }
    .detail-slide-title { font-size: 0.9rem; }
}
