/* ==========================================================================
   Image Crop Intro Styles (Scoped)
   ========================================================================== */
.image-crop-wrapper {
    --primary: #5B58D8;
    --primary-dark: #413ebd;
    --primary-light: #A78BFA;
    --dark: #111111;
    --dark-gray: #1C1C1C;
    --light-gray: #F5F5F7;
    --white: #ffffff;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --content-width: 1080px;

    font-family: 'Pretendard', sans-serif;
    background-color: var(--white);
    color: #333;
    overflow-x: clip;
    overflow-y: visible;
    line-height: 1.5;
    text-align: left;
}

.image-crop-wrapper * {
    box-sizing: border-box;
}

.image-crop-wrapper ul { list-style: none; margin: 0; padding: 0; }
.image-crop-wrapper button { border: none; background: none; cursor: pointer; font-family: inherit; }
.image-crop-wrapper input { font-family: inherit; }
.image-crop-wrapper a { text-decoration: none; }

/* ==========================================================================
   2. Typography & Utility Classes
   ========================================================================== */
.image-crop-wrapper .text-primary { color: var(--primary); }
.image-crop-wrapper .text-dark { color: var(--dark); }
.image-crop-wrapper .text-white { color: var(--white); }
.image-crop-wrapper .text-gray-400 { color: var(--gray-400); }
.image-crop-wrapper .text-gray-500 { color: var(--gray-500); }
.image-crop-wrapper .text-gray-600 { color: var(--gray-600); }

.image-crop-wrapper .text-center { text-align: center; }
.image-crop-wrapper .text-left { text-align: left; }
.image-crop-wrapper .font-bold { font-weight: 700; }
.image-crop-wrapper .font-medium { font-weight: 500; }

.image-crop-wrapper .image-crop-container {
    max-width: var(--content-width);
    margin: 0 auto !important;
    padding: 0 24px;
    width: 100%;
}

.image-crop-wrapper .text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-crop-wrapper .icon { width: 20px; height: 20px; flex-shrink: 0; }
.image-crop-wrapper .icon-sm { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   3. Layout & Sections
   ========================================================================== */
.image-crop-wrapper .section-padding { padding: 128px 0; }
.image-crop-wrapper .bg-light-gray { background-color: var(--light-gray); }
.image-crop-wrapper .bg-dark-section { background-color: var(--dark); color: var(--white); position: relative; }
.image-crop-wrapper .bg-white { background-color: var(--white); }

/* 1. Hero Section */
.image-crop-wrapper .hero-section {
    background: radial-gradient(circle at 50% 50%, #2a286c 0%, #111111 60%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 128px;
    position: relative;
    overflow: hidden;
}
.image-crop-wrapper .hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" stroke-dasharray="2 2" /></svg>');
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}
.image-crop-wrapper .hero-content { position: relative; z-index: 10; text-align: center; width: 100%; }

.image-crop-wrapper .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(91, 88, 216, 0.3);
    background-color: rgba(91, 88, 216, 0.1);
    color: #d8b4fe;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.image-crop-wrapper .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}
@media (min-width: 768px) { .image-crop-wrapper .hero-title { font-size: 72px; } }

.image-crop-wrapper .hero-desc {
    font-size: 20px;
    color: var(--gray-400);
    font-weight: 300;
    margin: 0 auto 48px;
    max-width: 672px;
    word-break: keep-all;
}
@media (min-width: 768px) { .image-crop-wrapper .hero-desc { font-size: 24px; } }

.image-crop-wrapper .btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary);
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(91, 88, 216, 0.4);
    text-decoration: none;
}
.image-crop-wrapper .btn-primary-large:hover { background-color: var(--primary-dark); }
.image-crop-wrapper .btn-primary-large svg { margin-left: 8px; }

/* 2. Pain Points Section */
.image-crop-wrapper .pain-point-section {
    background-color: var(--gray-50);
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    text-align: center;
}
.image-crop-wrapper .pain-bg-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse at top, rgba(91, 88, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.image-crop-wrapper .pain-points-title { font-size: 40px; line-height: 1.4; margin-bottom: 24px; color: var(--dark); font-weight: 800; letter-spacing: -0.02em; position: relative; z-index: 10; }
@media (min-width: 768px) { .image-crop-wrapper .pain-points-title { font-size: 52px; } }

.image-crop-wrapper .text-highlight-red {
    color: #ef4444;
    position: relative;
    display: inline-block;
    z-index: 1;
}
.image-crop-wrapper .text-highlight-red::after {
    content: '';
    position: absolute;
    bottom: 4px; left: -2px; right: -4px;
    height: 14px;
    background-color: rgba(239, 68, 68, 0.15);
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 2px;
}

.image-crop-wrapper .pain-points-desc { font-size: 18px; color: var(--gray-500); margin-bottom: 72px; word-break: keep-all; font-weight: 400; line-height: 1.7; position: relative; z-index: 10; }
@media (min-width: 768px) { .image-crop-wrapper .pain-points-desc { font-size: 22px; } }

.image-crop-wrapper .grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; z-index: 10; }
@media (min-width: 768px) { .image-crop-wrapper .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .image-crop-wrapper .grid-3 { gap: 32px; } }

.image-crop-wrapper .pain-card { 
    background-color: var(--white); 
    padding: 48px 32px; 
    border-radius: 24px; 
    text-align: left;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}
.image-crop-wrapper .pain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.image-crop-wrapper .pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(91, 88, 216, 0.15);
    border-color: rgba(91, 88, 216, 0.1);
}
.image-crop-wrapper .pain-card:hover::before { opacity: 1; }

.image-crop-wrapper .pain-icon-wrapper {
    position: relative;
    width: 64px; height: 64px;
    margin-bottom: 32px;
}
.image-crop-wrapper .pain-icon-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(91, 88, 216, 0.05);
    border-radius: 16px;
    transform: rotate(-10deg);
    transition: transform 0.4s ease, background-color 0.4s ease;
}
.image-crop-wrapper .pain-card:hover .pain-icon-bg {
    transform: rotate(0deg);
    background-color: rgba(91, 88, 216, 0.1);
}
.image-crop-wrapper .pain-icon-inner {
    position: relative;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    z-index: 2;
}
.image-crop-wrapper .pain-icon-inner svg {
    width: 32px; height: 32px;
    transition: transform 0.4s ease;
}
.image-crop-wrapper .pain-card:hover .pain-icon-inner svg { transform: scale(1.1); }

.image-crop-wrapper .pain-card h3 { font-size: 22px; margin-bottom: 16px; color: var(--dark); font-weight: 700; letter-spacing: -0.01em; }
.image-crop-wrapper .pain-card p { color: var(--gray-500); line-height: 1.6; font-size: 16px; }

/* 3. Features Section */
.image-crop-wrapper .feature-layout { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.image-crop-wrapper .feature-layout-reverse { display: flex; flex-direction: column; align-items: center; gap: 64px; }
@media (min-width: 1024px) {
    .image-crop-wrapper .feature-layout { flex-direction: row; }
    .image-crop-wrapper .feature-layout-reverse { flex-direction: row-reverse; }
    .image-crop-wrapper .feature-text, .image-crop-wrapper .feature-visual { width: 50%; }
}

.image-crop-wrapper .feature-text { width: 100%; }
.image-crop-wrapper .feature-visual { width: 100%; position: relative; }

.image-crop-wrapper .feature-label { color: var(--primary); font-weight: 700; letter-spacing: 0.05em; font-size: 14px; margin-bottom: 16px; display: inline-block; }
.image-crop-wrapper .feature-title { font-size: 36px; font-weight: 700; color: var(--dark); margin-bottom: 24px; line-height: 1.3; }
.image-crop-wrapper .bg-dark-section .feature-title { color: var(--white); }
.image-crop-wrapper .feature-desc { font-size: 18px; color: var(--gray-600); line-height: 1.6; margin-bottom: 32px; word-break: keep-all; }
.image-crop-wrapper .bg-dark-section .feature-desc { color: var(--gray-400); }

.image-crop-wrapper .feature-list li { display: flex; align-items: center; color: var(--dark); font-weight: 500; margin-bottom: 16px; }
.image-crop-wrapper .feature-list li svg { color: var(--primary); margin-right: 12px; }

.image-crop-wrapper .feature-bg-shape {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(91, 88, 216, 0.05);
    transform: skewY(-6deg);
    border-radius: 24px;
    z-index: -1;
}

/* 4. CTA Section */
.image-crop-wrapper .cta-section {
    padding: 96px 0;
    background: linear-gradient(to bottom right, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
    text-align: center;
}
.image-crop-wrapper .cta-title { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 24px; line-height: 1.3; }
.image-crop-wrapper .cta-desc { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-weight: 300; }
@media (min-width: 768px) { .image-crop-wrapper .cta-title { font-size: 48px; } }

.image-crop-wrapper .btn-white-large {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 20px 40px; font-size: 18px; font-weight: 700;
    color: var(--primary); background-color: var(--white);
    border-radius: 12px; transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    text-decoration: none;
}
.image-crop-wrapper .btn-white-large:hover { background-color: var(--gray-100); transform: scale(1.05); }

/* 4.5. Free Tier Section - High-end Redesign */
.image-crop-wrapper .free-tier-section {
    background-color: var(--dark); /* 이전 다크 섹션과 자연스럽게 연결 */
    padding: 0 0 140px 0;
    position: relative;
    z-index: 20;
}
.image-crop-wrapper .free-tier-banner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    padding: 1px; /* 그라데이션 보더 트릭 */
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5) 0%, rgba(91, 88, 216, 0.1) 40%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}
.image-crop-wrapper .free-tier-inner {
    background-color: #131315; /* 고급스러운 차콜 블랙 */
    border-radius: 23px;
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.image-crop-wrapper .free-tier-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 100%; height: 200%;
    background: radial-gradient(circle at center, rgba(91,88,216,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.image-crop-wrapper .free-tier-content { position: relative; z-index: 2; flex: 1; text-align: left; }
.image-crop-wrapper .free-tier-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #d8b4fe;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.image-crop-wrapper .free-tier-title {
    font-size: 36px; font-weight: 700; color: var(--white);
    margin-bottom: 12px; line-height: 1.35; letter-spacing: -0.02em;
}
.image-crop-wrapper .free-tier-desc {
    font-size: 18px; color: var(--gray-400); font-weight: 300; line-height: 1.6; word-break: keep-all; max-width: 500px;
}
.image-crop-wrapper .free-tier-visual {
    position: relative; z-index: 2;
    display: flex; justify-content: flex-end; padding-left: 40px;
}
.image-crop-wrapper .free-tier-icon-circle {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(91, 88, 216, 0.05));
    border: 1px solid rgba(167, 139, 250, 0.4);
    display: flex; align-items: center; justify-content: center;
    color: #d8b4fe;
    box-shadow: 0 0 40px rgba(91, 88, 216, 0.4), inset 0 0 20px rgba(167, 139, 250, 0.15);
    animation: diad-float 3.5s ease-in-out infinite;
}
.image-crop-wrapper .free-tier-icon-circle svg { width: 56px; height: 56px; }

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

@media (max-width: 768px) {
    .image-crop-wrapper .free-tier-inner { flex-direction: column; text-align: center; padding: 48px 32px; }
    .image-crop-wrapper .free-tier-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .image-crop-wrapper .free-tier-visual { padding-left: 0; margin-bottom: 32px; justify-content: center; order: -1; }
    .image-crop-wrapper .free-tier-title { font-size: 28px; }
    .image-crop-wrapper .free-tier-desc { font-size: 16px; }
}

.image-crop-wrapper .cta-decor-1 { position: absolute; top: -80px; right: -80px; width: 384px; height: 384px; border-radius: 50%; background-color: rgba(255,255,255,0.05); }
.image-crop-wrapper .cta-decor-2 { position: absolute; bottom: -80px; left: -80px; width: 288px; height: 288px; border-radius: 50%; background-color: rgba(255,255,255,0.05); }

/* ==========================================================================
   4. UI Mockups (HTML Components)
   ========================================================================== */
.image-crop-wrapper .ui-mockup {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background-color: var(--white);
}

/* UI Mockup - Disable interactivity */
.image-crop-wrapper .ui-mockup,
.image-crop-wrapper .ui-mockup * {
    cursor: default !important;
    transition: none !important;
}

/* 4-1. Hero Mockup (Main Upload UI) */
.image-crop-wrapper .hero-mockup-wrapper {
    margin-top: 80px; max-width: 896px; margin-left: auto; margin-right: auto;
    position: relative; perspective: 1000px;
}
.image-crop-wrapper .hero-mockup-inner {
    transform: rotateX(5deg) scale(0.95);
    border-color: var(--gray-800); background-color: var(--gray-900);
    display: flex; flex-direction: column;
}
@media (min-width: 768px) { .image-crop-wrapper .hero-mockup-inner { flex-direction: row; } }

.image-crop-wrapper .mockup-app-layout {
    background-color: var(--light-gray); width: 100%;
    display: flex; flex-direction: column; gap: 16px; padding: 16px;
    opacity: 0.95; transition: opacity 0.5s; text-align: left;
}
.image-crop-wrapper .hero-mockup-wrapper:hover .mockup-app-layout { opacity: 1; }
@media (min-width: 768px) { .image-crop-wrapper .mockup-app-layout { flex-direction: row; gap: 24px; padding: 32px; } }

.image-crop-wrapper .mockup-panel-left {
    flex: 1; background-color: var(--white); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding: 20px; border: 1px solid var(--gray-200);
    display: flex; flex-direction: column;
}
@media (min-width: 768px) { .image-crop-wrapper .mockup-panel-left { padding: 32px; } }

.image-crop-wrapper .mockup-panel-right {
    width: 256px; background-color: var(--white); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); border: 1px solid var(--gray-200);
    display: none; flex-direction: column;
}
@media (min-width: 768px) { .image-crop-wrapper .mockup-panel-right { display: flex; } }

.image-crop-wrapper .mockup-tabs { display: inline-flex; gap: 8px; margin-bottom: 24px; background-color: var(--gray-50); padding: 6px; border-radius: 8px; width: max-content; }
.image-crop-wrapper .mockup-tab { padding: 8px 16px; font-size: 12px; border-radius: 4px; }
.image-crop-wrapper .mockup-tab:not(.active) { color: var(--gray-500); font-weight: 500; }
.image-crop-wrapper .mockup-tab.active { font-weight: 700; color: var(--dark); background-color: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,0.05); border: 1px solid var(--gray-200); }

.image-crop-wrapper .mockup-input-area { border: 1px dashed var(--gray-300); border-radius: 8px; padding: 20px; margin-bottom: 24px; background-color: rgba(249, 250, 251, 0.5); }
.image-crop-wrapper .mockup-input-group { display: flex; gap: 8px; }
.image-crop-wrapper .mockup-input { flex: 1; border: 1px solid var(--gray-300); border-radius: 6px; padding: 8px 12px; font-size: 14px; background-color: var(--white); color: var(--gray-400); outline: none; }
.image-crop-wrapper .mockup-btn-add { background-color: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 6px; display: flex; align-items: center; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

.image-crop-wrapper .mockup-list-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.image-crop-wrapper .mockup-list-title { font-weight: 700; color: var(--dark); font-size: 14px; margin: 0; }
.image-crop-wrapper .mockup-count-badge { background-color: #eef2ff; color: var(--primary); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 9999px; }

.image-crop-wrapper .mockup-thumb { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--gray-200); }
.image-crop-wrapper .mockup-thumb-status { position: absolute; top: 0; left: 0; width: 100%; background-color: rgba(0,0,0,0.6); color: var(--white); font-size: 10px; padding: 2px 0; text-align: center; z-index: 10; font-weight: 500; }
.image-crop-wrapper .mockup-thumb img { width: 100%; height: 100%; object-fit: cover; }

.image-crop-wrapper .mockup-btn-start { width: 100%; background-color: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; padding: 16px; border-radius: 8px; margin-top: 32px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }

.image-crop-wrapper .mockup-panel-header { padding: 20px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.image-crop-wrapper .mockup-indicator { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary); }
.image-crop-wrapper .mockup-panel-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.image-crop-wrapper .mockup-soon-badge { background-color: #e0e7ff; color: var(--primary); font-size: 10px; font-weight: 900; padding: 6px 12px; border-radius: 9999px; letter-spacing: 0.05em; margin-top: 20px; }

/* Floating Ornaments */
.image-crop-wrapper .decor-blob-1 { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background-color: #9333ea; border-radius: 50%; mix-blend-mode: multiply; filter: blur(40px); opacity: 0.5; animation: diad-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.image-crop-wrapper .decor-blob-2 { position: absolute; bottom: -40px; left: -40px; width: 160px; height: 160px; background-color: #2563eb; border-radius: 50%; mix-blend-mode: multiply; filter: blur(40px); opacity: 0.5; animation: diad-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; animation-delay: 0.7s; }

/* 4-2. Feature 1 Mockup (Mini UI) */
.image-crop-wrapper .mini-ui { background-color: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.image-crop-wrapper .mini-ui-header { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--gray-100); padding-bottom: 16px; }
.image-crop-wrapper .mini-ui-icon-wrap { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(91, 88, 216, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.image-crop-wrapper .mini-ui-step { font-size: 12px; color: var(--gray-500); font-weight: 700; margin-bottom: 2px; }
.image-crop-wrapper .mini-ui-title { font-size: 14px; font-weight: 700; color: var(--dark); margin: 0; }
.image-crop-wrapper .mini-ui-url { flex: 1; background-color: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 4px; padding: 10px; font-size: 12px; color: var(--gray-400); font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.image-crop-wrapper .mini-ui-btn { background-color: var(--primary); color: var(--white); border-radius: 4px; padding: 10px 12px; font-size: 12px; font-weight: 700; display: flex; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05); white-space: nowrap; }
.image-crop-wrapper .mini-ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.image-crop-wrapper .mini-ui-grid-item { aspect-ratio: 1; background-color: var(--gray-100); border-radius: 4px; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray-400); }
.image-crop-wrapper .mini-ui-grid-loading { aspect-ratio: 1; background-color: rgba(91, 88, 216, 0.1); border-radius: 4px; border: 1px dashed var(--primary); display: flex; align-items: center; justify-content: center; }
.image-crop-wrapper .mini-ui-grid-loading svg { color: var(--primary); animation: diad-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* 4-3. Feature 2 Mockup (Stacking UI) */
.image-crop-wrapper .stack-ui-container { position: relative; width: 100%; aspect-ratio: 4/3; }
.image-crop-wrapper .stack-ui-bg, .image-crop-wrapper .stack-ui-fg { position: absolute; width: 85%; padding: 16px; background-color: var(--light-gray); transition: transform 0.3s; }
@media (min-width: 768px) { .image-crop-wrapper .stack-ui-bg, .image-crop-wrapper .stack-ui-fg { padding: 24px; } }
.image-crop-wrapper .stack-ui-bg { top: 0; left: 0; z-index: 10; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.image-crop-wrapper .stack-ui-fg { bottom: 0; right: 0; z-index: 20; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 1px solid rgba(91, 88, 216, 0.2); }
.image-crop-wrapper .stack-ui-container:hover .stack-ui-bg, .image-crop-wrapper .stack-ui-container:hover .stack-ui-fg { transform: translateY(-8px); }

.image-crop-wrapper .stack-card { background-color: var(--white); border-radius: 12px; padding: 20px; border: 1px solid var(--gray-100); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.image-crop-wrapper .stack-card.active { border-color: rgba(91, 88, 216, 0.3); }
.image-crop-wrapper .stack-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.image-crop-wrapper .stack-title { font-size: 14px; font-weight: 700; color: var(--dark); margin: 0; }
.image-crop-wrapper .stack-link { font-size: 12px; color: var(--gray-400); }

.image-crop-wrapper .stack-info { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.image-crop-wrapper .stack-checkbox-active { width: 16px; height: 16px; background-color: var(--primary); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--white); }

.image-crop-wrapper .stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.image-crop-wrapper .stack-item { border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-100); position: relative; }
.image-crop-wrapper .stack-item.active { border: 2px solid var(--primary); }
.image-crop-wrapper .stack-item-img-wrap { aspect-ratio: 1; position: relative; background-color: var(--gray-100); }
.image-crop-wrapper .stack-item-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-crop-wrapper .stack-item-check { position: absolute; top: 8px; left: 8px; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.8); background-color: rgba(0,0,0,0.2); border-radius: 4px; }
.image-crop-wrapper .stack-item-check.active { border: none; background-color: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); }

.image-crop-wrapper .stack-download-btn { margin-top: 24px; display: flex; justify-content: center; }
.image-crop-wrapper .stack-download-inner { background-color: var(--dark); color: var(--white); font-size: 12px; font-weight: 700; padding: 12px 24px; border-radius: 9999px; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

/* 4-4. Feature 3 Mockup (Zoom Modal UI) */
.image-crop-wrapper .zoom-modal-ui { background-color: var(--white); border: 1px solid #374151; box-shadow: 0 0 50px rgba(0,0,0,0.5); display: flex; flex-direction: column; overflow: hidden; }
.image-crop-wrapper .zoom-header { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--gray-200); }
.image-crop-wrapper .zoom-header-space { width: 48px; }
.image-crop-wrapper .zoom-controls { display: flex; align-items: center; gap: 8px; background-color: var(--gray-100); border-radius: 6px; padding: 4px; }
.image-crop-wrapper .zoom-btn-small { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--gray-500); font-weight: 700; transition: background-color 0.2s; }
.image-crop-wrapper .zoom-text { font-size: 12px; font-weight: 700; color: var(--dark); padding: 0 8px; }
.image-crop-wrapper .zoom-text-primary { font-size: 12px; font-weight: 700; color: var(--primary); padding: 0 8px; }
.image-crop-wrapper .zoom-divider { width: 1px; height: 12px; background-color: var(--gray-300); margin: 0 4px; }
.image-crop-wrapper .zoom-close-wrap { width: 48px; display: flex; justify-content: flex-end; }
.image-crop-wrapper .zoom-close { width: 24px; height: 24px; border-radius: 50%; background-color: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 12px; transition: background-color 0.2s; }

.image-crop-wrapper .zoom-body { background-color: var(--gray-50); padding: 40px; display: flex; justify-content: center; border-bottom: 1px solid var(--gray-200); }
.image-crop-wrapper .zoom-img { width: 100%; max-width: 448px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); background-color: var(--white); }

.image-crop-wrapper .zoom-footer { padding: 16px; display: flex; justify-content: center; background-color: var(--white); }
.image-crop-wrapper .zoom-btn-download { background-color: var(--primary); color: var(--white); font-size: 14px; font-weight: 700; padding: 12px 40px; border-radius: 9999px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: background-color 0.2s; }

/* 배경 패턴 */
.image-crop-wrapper .pattern-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(var(--white) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ==========================================================================
   5. Animations
   ========================================================================== */
.image-crop-wrapper .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.image-crop-wrapper .reveal.active { opacity: 1; transform: translateY(0); }

.image-crop-wrapper .reveal-left { transform: translateX(-50px); }
.image-crop-wrapper .reveal-right { transform: translateX(50px); }
.image-crop-wrapper .reveal-left.active, .image-crop-wrapper .reveal-right.active { transform: translateX(0); }

.image-crop-wrapper .delay-100 { transition-delay: 0.1s; }
.image-crop-wrapper .delay-200 { transition-delay: 0.2s; }
.image-crop-wrapper .delay-300 { transition-delay: 0.3s; }

@keyframes diad-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Force full-page scroll by overriding container constraints (similar to SmartMD) */
#container, 
.image-crop-tab-content {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}

.image-crop-sticky-header {
    position: sticky;
    top: -1px;
    z-index: 1999;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding-top: 70px;
}
