/* ===== Label Cropper Page Styles ===== */

/* Hero Banner */
.cropper-hero {
    background: linear-gradient(135deg, #00ABE4, #008BB9);
    padding: 4rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cropper-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05), transparent 50%);
    pointer-events: none;
}
.cropper-hero h1 {
    font-size: 2.5rem; font-weight: 800; color: #fff;
    margin-bottom: 0.75rem; position: relative; z-index: 1;
    letter-spacing: -1px;
}
.cropper-hero p {
    font-size: 1.1rem; color: rgba(255,255,255,0.9);
    max-width: 650px; margin: 0 auto; line-height: 1.7;
    position: relative; z-index: 1;
}

/* Ad Banner Placeholder */
.top-ad-banner {
    max-width: 970px;
    margin: 1.5rem auto 0;
    height: 90px;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

/* Tool Card */
.tool-section {
    max-width: 680px; margin: 2rem auto;
    padding: 0 1.5rem; position: relative; z-index: 10;
}
.tool-section.full-width {
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
}
.tool-card {
    background: #ffffff;
    border: 1px solid rgba(0, 171, 228, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 171, 228, 0.08), 0 4px 12px rgba(0, 171, 228, 0.04);
    overflow: hidden;
}
.tool-card-header {
    padding: 1.5rem 2rem 0.75rem;
    border-bottom: 1px solid rgba(0, 171, 228, 0.06);
}
.tool-card-header h2 {
    font-size: 1.25rem; font-weight: 700; color: #111827;
    display: flex; align-items: center; gap: 0.5rem;
}
.tool-card-header p {
    font-size: 0.9rem; color: #6B7280; margin-top: 0.3rem; line-height: 1.5;
}
.tool-card-body {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}
@media (max-width: 968px) {
    .tool-card-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Upload Area */
.upload-area {
    position: relative;
    border: 2px dashed #e5e7eb;
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.upload-area:hover {
    border-color: #00ABE4;
    background: rgba(0, 171, 228, 0.02);
}
.upload-area.has-file {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
}
.upload-icon {
    font-size: 3rem; margin-bottom: 1rem;
    display: block;
}
.upload-area h3 {
    font-size: 1.1rem; font-weight: 700; color: #111827;
    margin-bottom: 0.5rem;
}
.upload-area p {
    font-size: 0.9rem; color: #6B7280;
}
.upload-area input[type="file"] {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.file-name {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; font-weight: 600; color: #059669;
    margin-top: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

/* Options */
.options-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.option-group > span {
    font-weight: 700;
    color: #111827;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.radio-pills, .mode-pills {
    display: flex;
    gap: 1rem;
}
.radio-pill, .mode-pill {
    flex: 1;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    min-width: 160px;
}
.radio-pill input[type="radio"], .mode-pill input[type="radio"] {
    position: absolute;
    width: 0; height: 0;
    opacity: 0;
}
.radio-pill:hover, .mode-pill:hover {
    border-color: #00ABE4;
    background: rgba(0, 171, 228, 0.02);
}
.radio-pill.active, .radio-pill:has(input:checked),
.mode-pill.active, .mode-pill:has(input:checked) {
    border-color: #00ABE4;
    background: rgba(0, 171, 228, 0.05);
    color: #00ABE4;
    box-shadow: 0 4px 12px rgba(0, 171, 228, 0.1);
}

/* Action Buttons Container */
.action-buttons {
    margin-top: 2rem;
}

/* Download Button */
.btn-download {
    display: block; width: 100%;
    padding: 1.15rem;
    background: linear-gradient(135deg, #00ABE4, #008BB9);
    color: #fff; font-size: 1rem; font-weight: 700;
    border: none; border-radius: 16px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 171, 228, 0.2);
}
.btn-download:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(0, 171, 228, 0.35);
    transform: translateY(-2px);
}
.btn-download:disabled {
    background: #e5e7eb;
    color: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Progress Bar */
.progress-bar {
    width: 100%; height: 6px;
    background: #f3f4f6;
    border-radius: 10px;
    margin-top: 1.5rem;
    overflow: hidden;
    display: none;
}
.progress-bar.active { display: block; }
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ABE4, #10B981);
    width: 0%;
    transition: width 0.4s ease;
}

/* Status Message */
.status-msg {
    font-size: 0.9rem; color: #6B7280;
    text-align: center; margin-top: 1rem;
    font-weight: 500;
}
.status-msg.error { color: #EF4444; }
.status-msg.success { color: #10B981; }

/* ===== Content Sections ===== */
.content-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Info Section - Two Column */
.info-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    padding: 5rem 0;
}
.info-section.reverse { direction: rtl; }
.info-section.reverse > * { direction: ltr; }
.info-text h2 {
    font-size: 2rem; font-weight: 800; color: #111827;
    margin-bottom: 1.5rem; line-height: 1.2;
    letter-spacing: -0.5px;
}
.info-text p {
    font-size: 1.1rem; color: #4B5563; line-height: 1.7;
    margin-bottom: 1.25rem;
}
.info-text ul {
    list-style: none; padding: 0; margin-top: 1.5rem;
}
.info-text ul li {
    font-size: 1rem; color: #374151;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
}
.info-text ul li::before {
    content: '✓';
    position: absolute; left: 0; color: #00ABE4;
    font-weight: 800; font-size: 1.2rem;
}
.info-image .illustration {
    width: 100%; max-width: 400px;
    border-radius: 32px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 3rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 10rem;
    box-shadow: 0 20px 50px rgba(0, 171, 228, 0.08);
}

/* Feature Cards Grid */
.cropper-features {
    padding: 4rem 0 5rem;
}
.cropper-features h2 {
    font-size: 2rem; font-weight: 800; color: #111827;
    text-align: center; margin-bottom: 3rem;
}
.cropper-features-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.cropper-feature-card {
    display: flex; align-items: flex-start; gap: 1.25rem;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 171, 228, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cropper-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 171, 228, 0.08);
    border-color: #00ABE4;
}
.cf-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.cf-icon.blue { background: rgba(0, 171, 228, 0.1); color: #00ABE4; }
.cf-icon.green { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.cf-icon.orange { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.cf-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.cf-text h4 {
    font-size: 1.1rem; font-weight: 700; color: #111827;
    margin-bottom: 0.4rem;
}
.cf-text p {
    font-size: 0.95rem; color: #6B7280; line-height: 1.5;
}

/* Steps Section */
.steps-section {
    padding: 4rem 0 6rem;
}
.steps-section h2 {
    font-size: 2rem; font-weight: 800; color: #111827;
    text-align: center; margin-bottom: 3.5rem;
}
.steps-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.steps-list {
    list-style: none; padding: 0;
}
.steps-list li {
    display: flex; gap: 1.5rem; align-items: flex-start;
    margin-bottom: 2rem;
}
.step-num {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ABE4, #008BB9);
    color: #fff; font-size: 1rem; font-weight: 800;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 171, 228, 0.2);
}
.step-content h4 {
    font-size: 1.15rem; font-weight: 700; color: #111827;
    margin-bottom: 0.35rem;
}
.step-content p {
    font-size: 1rem; color: #6B7280; line-height: 1.6;
}
.steps-preview {
    background: #ffffff;
    border: 1px solid rgba(0, 171, 228, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.mock-upload {
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: #f9fafb;
}
.mock-upload p { font-size: 0.95rem; color: #9CA3AF; font-weight: 600; }
.mock-btn {
    display: block; width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00ABE4, #008BB9);
    color: #fff; font-size: 0.95rem; font-weight: 700;
    border: none; border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 171, 228, 0.1);
}

/* Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 171, 228, 0.1), transparent);
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .cropper-hero h1 { font-size: 1.8rem; }
    .info-section { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .info-section.reverse { direction: ltr; }
    .info-text ul li { text-align: left; }
    .cropper-features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .steps-preview { display: none; }
}
@media (max-width: 500px) {
    .tool-card-body { padding: 1.5rem; }
    .tool-card-header { padding: 1.5rem 1.5rem 0.75rem; }
    .radio-pills, .mode-pills { flex-direction: column; gap: 0.75rem; }
    .cropper-hero { padding: 3rem 1.25rem 2.5rem; }
}

