/* ============================================
           BACKGROUND REMOVER TOOL - PROFESSIONAL STYLES
           ============================================ */
        
        :root {
            --bgr-primary: #fd7c06;
            --bgr-primary-dark: #e06b00;
            --bgr-secondary: #000000;
            --bgr-accent: #f0ccc1;
            --bgr-bg-light: #f2f3f7;
            --bgr-white: #ffffff;
            --bgr-text: #1a1a2e;
            --bgr-text-light: #6b7280;
            --bgr-success: #10b981;
            --bgr-error: #ef4444;
            --bgr-warning: #f59e0b;
            --bgr-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            --bgr-shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);
            --bgr-radius: 16px;
            --bgr-radius-lg: 24px;
            --bgr-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Base Styles */
        .bgr-tool-wrapper {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bgr-bg-light);
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        .bgr-tool-wrapper * {
            box-sizing: border-box;
        }
        
        /* Hero Section */
        .bgr-hero-section {
            background: var(--bgr-white);
            padding: 60px 0 40px;
            position: relative;
            overflow: hidden;
        }
        
        .bgr-hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: var(--bgr-accent);
            border-radius: 50%;
            opacity: 0.3;
            z-index: 0;
        }
        
        .bgr-hero-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: var(--bgr-primary);
            border-radius: 50%;
            opacity: 0.1;
            z-index: 0;
        }
        
        .bgr-hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .bgr-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--bgr-accent);
            color: var(--bgr-primary-dark);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 20px;
        }
        
        .bgr-badge i {
            font-size: 1rem;
        }
        
        .bgr-hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--bgr-text);
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .bgr-hero-title span {
            color: var(--bgr-primary);
        }
        
        .bgr-hero-subtitle {
            font-size: 1.25rem;
            color: var(--bgr-text-light);
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        /* Rating Component */
        .bgr-rating-inline {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            background: var(--bgr-bg-light);
            padding: 12px 25px;
            border-radius: 50px;
            margin-bottom: 20px;
        }
        
        .bgr-rating-stars {
            display: flex;
            gap: 3px;
        }
        
        .bgr-rating-stars i {
            color: #fbbf24;
            font-size: 1.1rem;
        }
        
        .bgr-rating-text {
            font-size: 0.95rem;
            color: var(--bgr-text);
        }
        
        .bgr-rating-text strong {
            font-weight: 700;
        }
        
        /* Main Tool Container */
        .bgr-main-section {
            padding: 50px 0;
        }
        
        .bgr-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Ad Spaces */
        .bgr-ad-sidebar {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius);
            padding: 20px;
            min-height: 600px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: var(--bgr-shadow);
            position: sticky;
            top: 20px;
        }
        
        .bgr-ad-placeholder {
            text-align: center;
            color: var(--bgr-text-light);
        }
        
        .bgr-ad-placeholder i {
            font-size: 2rem;
            margin-bottom: 10px;
            opacity: 0.5;
        }
        
        .bgr-ad-placeholder p {
            margin: 0;
            font-size: 0.85rem;
        }
        
        .bgr-ad-horizontal {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius);
            padding: 30px;
            margin: 40px 0;
            min-height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--bgr-shadow);
        }
        
        /* Upload Card */
        .bgr-upload-card {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius-lg);
            box-shadow: var(--bgr-shadow-lg);
            overflow: hidden;
        }
        
        .bgr-upload-zone {
            padding: 60px 40px;
            text-align: center;
            cursor: pointer;
            position: relative;
            transition: var(--bgr-transition);
            border: 3px dashed transparent;
            margin: 20px;
            border-radius: var(--bgr-radius);
            background: var(--bgr-bg-light);
        }
        
        .bgr-upload-zone:hover {
            border-color: var(--bgr-primary);
            background: rgba(253, 124, 6, 0.05);
        }
        
        .bgr-upload-zone.dragging {
            border-color: var(--bgr-primary);
            background: rgba(253, 124, 6, 0.1);
            transform: scale(1.02);
        }
        
        .bgr-upload-zone.has-image {
            display: none;
        }
        
        .bgr-upload-icon-wrapper {
            width: 120px;
            height: 120px;
            background: var(--bgr-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            box-shadow: 0 10px 30px rgba(253, 124, 6, 0.2);
            position: relative;
        }
        
        .bgr-upload-icon-wrapper::before {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            border: 2px dashed var(--bgr-primary);
            opacity: 0.5;
            animation: bgr-rotate 20s linear infinite;
        }
        
        @keyframes bgr-rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .bgr-upload-icon {
            font-size: 3rem;
            color: var(--bgr-primary);
        }
        
        .bgr-upload-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 10px;
        }
        
        .bgr-upload-desc {
            font-size: 1rem;
            color: var(--bgr-text-light);
            margin-bottom: 25px;
        }
        
        .bgr-upload-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--bgr-primary);
            color: var(--bgr-white);
            padding: 16px 40px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--bgr-transition);
            box-shadow: 0 10px 30px rgba(253, 124, 6, 0.3);
        }
        
        .bgr-upload-btn:hover {
            background: var(--bgr-primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(253, 124, 6, 0.4);
        }
        
        .bgr-upload-options {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .bgr-upload-option {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--bgr-text-light);
            font-size: 0.95rem;
            cursor: pointer;
            padding: 12px 20px;
            border-radius: 10px;
            transition: var(--bgr-transition);
            background: var(--bgr-white);
        }
        
        .bgr-upload-option:hover {
            background: var(--bgr-accent);
            color: var(--bgr-text);
        }
        
        .bgr-upload-option i {
            font-size: 1.3rem;
            color: var(--bgr-primary);
        }
        
        .bgr-file-info {
            font-size: 0.85rem;
            color: var(--bgr-text-light);
            margin-top: 20px;
        }
        
        .bgr-file-input {
            display: none;
        }
        
        /* Editor Section */
        .bgr-editor-section {
            display: none;
            padding: 30px;
        }
        
        .bgr-editor-section.active {
            display: block;
        }
        
        .bgr-editor-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 25px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .bgr-editor-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--bgr-text);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bgr-editor-title i {
            color: var(--bgr-primary);
        }
        
        .bgr-editor-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .bgr-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--bgr-transition);
        }
        
        .bgr-btn-primary {
            background: var(--bgr-primary);
            color: var(--bgr-white);
        }
        
        .bgr-btn-primary:hover {
            background: var(--bgr-primary-dark);
            transform: translateY(-2px);
        }
        
        .bgr-btn-secondary {
            background: var(--bgr-secondary);
            color: var(--bgr-white);
        }
        
        .bgr-btn-secondary:hover {
            background: #333;
            transform: translateY(-2px);
        }
        
        .bgr-btn-outline {
            background: transparent;
            color: var(--bgr-text);
            border: 2px solid var(--bgr-bg-light);
        }
        
        .bgr-btn-outline:hover {
            border-color: var(--bgr-primary);
            color: var(--bgr-primary);
        }
        
        .bgr-btn-success {
            background: var(--bgr-success);
            color: var(--bgr-white);
        }
        
        .bgr-btn-success:hover {
            background: #059669;
        }
        
        .bgr-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }
        
        /* Image Preview Area */
        .bgr-preview-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin-bottom: 25px;
        }
        
        @media (max-width: 768px) {
            .bgr-preview-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .bgr-preview-box {
            background: var(--bgr-bg-light);
            border-radius: var(--bgr-radius);
            overflow: hidden;
            position: relative;
        }
        
        .bgr-preview-label {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--bgr-white);
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--bgr-text);
            z-index: 10;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .bgr-preview-image-container {
            width: 100%;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
        }
        
        .bgr-preview-image-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
        }
        
        .bgr-transparent-checker {
            background-image: 
                linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
                linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
                linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
            background-color: #f5f5f5;
        }
        
        .bgr-result-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: var(--bgr-text-light);
        }
        
        .bgr-result-placeholder i {
            font-size: 3rem;
            margin-bottom: 15px;
            opacity: 0.5;
        }
        
        .bgr-result-placeholder p {
            font-size: 0.95rem;
        }
        
        /* Processing Overlay */
        .bgr-processing-overlay {
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.95);
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 20;
            border-radius: var(--bgr-radius);
        }
        
        .bgr-processing-overlay.active {
            display: flex;
        }
        
        .bgr-processing-spinner {
            width: 60px;
            height: 60px;
            position: relative;
            margin-bottom: 20px;
        }
        
        .bgr-processing-spinner::before,
        .bgr-processing-spinner::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 4px solid transparent;
        }
        
        .bgr-processing-spinner::before {
            border-top-color: var(--bgr-primary);
            animation: bgr-spin 1s linear infinite;
        }
        
        .bgr-processing-spinner::after {
            border-bottom-color: var(--bgr-accent);
            animation: bgr-spin 1s linear infinite reverse;
            inset: 8px;
        }
        
        @keyframes bgr-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .bgr-processing-text {
            font-size: 1rem;
            font-weight: 600;
            color: var(--bgr-text);
            margin-bottom: 5px;
        }
        
        .bgr-processing-subtext {
            font-size: 0.85rem;
            color: var(--bgr-text-light);
        }
        
        /* Progress Bar */
        .bgr-progress-wrapper {
            width: 200px;
            margin-top: 15px;
        }
        
        .bgr-progress-bar {
            height: 6px;
            background: var(--bgr-bg-light);
            border-radius: 3px;
            overflow: hidden;
        }
        
        .bgr-progress-fill {
            height: 100%;
            background: var(--bgr-primary);
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 3px;
        }
        
        .bgr-progress-percent {
            text-align: center;
            font-size: 0.8rem;
            color: var(--bgr-text-light);
            margin-top: 8px;
        }
        
        /* Settings Panel */
        .bgr-settings-panel {
            background: var(--bgr-bg-light);
            border-radius: var(--bgr-radius);
            padding: 25px;
            margin-bottom: 25px;
        }
        
        .bgr-settings-row {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .bgr-settings-group {
            flex: 1;
            min-width: 250px;
        }
        
        .bgr-settings-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--bgr-text);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .bgr-settings-label i {
            color: var(--bgr-primary);
        }
        
        /* Background Colors */
        .bgr-colors-grid {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .bgr-color-option {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--bgr-transition);
            border: 3px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .bgr-color-option:hover {
            transform: scale(1.1);
        }
        
        .bgr-color-option.active {
            border-color: var(--bgr-primary);
            box-shadow: 0 0 0 3px rgba(253, 124, 6, 0.2);
        }
        
        .bgr-color-option.active::after {
            content: '\f26b';
            font-family: 'bootstrap-icons';
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.3);
            color: white;
            font-size: 1rem;
        }
        
        .bgr-color-transparent {
            background-image: 
                linear-gradient(45deg, #ccc 25%, transparent 25%),
                linear-gradient(-45deg, #ccc 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #ccc 75%),
                linear-gradient(-45deg, transparent 75%, #ccc 75%);
            background-size: 12px 12px;
            background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
        }
        
        .bgr-color-picker-wrapper {
            position: relative;
            width: 42px;
            height: 42px;
        }
        
        .bgr-color-picker-btn {
            width: 100%;
            height: 100%;
            border-radius: 10px;
            border: 3px solid transparent;
            cursor: pointer;
            background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
            transition: var(--bgr-transition);
        }
        
        .bgr-color-picker-btn:hover {
            transform: scale(1.1);
        }
        
        .bgr-color-picker-input {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
        }
        
        /* Image Background */
        .bgr-bg-images-grid {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .bgr-bg-image-option {
            width: 60px;
            height: 42px;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--bgr-transition);
            border: 3px solid transparent;
            background-size: cover;
            background-position: center;
        }
        
        .bgr-bg-image-option:hover {
            transform: scale(1.05);
        }
        
        .bgr-bg-image-option.active {
            border-color: var(--bgr-primary);
        }
        
        .bgr-bg-upload-btn {
            width: 60px;
            height: 42px;
            border-radius: 8px;
            border: 2px dashed var(--bgr-text-light);
            background: var(--bgr-white);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--bgr-transition);
            color: var(--bgr-text-light);
        }
        
        .bgr-bg-upload-btn:hover {
            border-color: var(--bgr-primary);
            color: var(--bgr-primary);
        }
        
        /* Before/After Comparison */
        .bgr-comparison-wrapper {
            display: none;
            margin-top: 25px;
        }
        
        .bgr-comparison-wrapper.active {
            display: block;
        }
        
        .bgr-comparison-container {
            position: relative;
            width: 100%;
            height: 450px;
            border-radius: var(--bgr-radius);
            overflow: hidden;
            background: var(--bgr-bg-light);
            cursor: ew-resize;
        }
        
        .bgr-comparison-before,
        .bgr-comparison-after {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .bgr-comparison-before img,
        .bgr-comparison-after img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .bgr-comparison-after {
            clip-path: inset(0 50% 0 0);
        }
        
        .bgr-comparison-slider {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: var(--bgr-white);
            cursor: ew-resize;
            z-index: 10;
        }
        
        .bgr-comparison-handle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: var(--bgr-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .bgr-comparison-handle i {
            color: var(--bgr-text);
            font-size: 1.3rem;
        }
        
        .bgr-comparison-tags {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 5;
        }
        
        .bgr-comparison-tag {
            background: rgba(0, 0, 0, 0.7);
            color: var(--bgr-white);
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        /* Image Info Bar */
        .bgr-image-info-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bgr-bg-light);
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .bgr-image-info-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bgr-image-info-icon {
            width: 36px;
            height: 36px;
            background: var(--bgr-white);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bgr-primary);
        }
        
        .bgr-image-info-text {
            font-size: 0.85rem;
        }
        
        .bgr-image-info-label {
            color: var(--bgr-text-light);
            display: block;
        }
        
        .bgr-image-info-value {
            color: var(--bgr-text);
            font-weight: 600;
        }
        
        /* Download Options */
        .bgr-download-options {
            display: none;
            background: var(--bgr-bg-light);
            border-radius: var(--bgr-radius);
            padding: 25px;
            margin-top: 20px;
        }
        
        .bgr-download-options.active {
            display: block;
        }
        
        .bgr-download-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .bgr-download-title i {
            color: var(--bgr-primary);
        }
        
        .bgr-download-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .bgr-download-card {
            background: var(--bgr-white);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: var(--bgr-transition);
            border: 2px solid transparent;
        }
        
        .bgr-download-card:hover {
            border-color: var(--bgr-primary);
            transform: translateY(-3px);
        }
        
        .bgr-download-card-icon {
            width: 50px;
            height: 50px;
            background: var(--bgr-accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: var(--bgr-primary);
            font-size: 1.5rem;
        }
        
        .bgr-download-card-title {
            font-weight: 600;
            color: var(--bgr-text);
            margin-bottom: 5px;
        }
        
        .bgr-download-card-desc {
            font-size: 0.8rem;
            color: var(--bgr-text-light);
        }
        
        /* Toast Notifications */
        .bgr-toast-wrapper {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .bgr-toast {
            background: var(--bgr-white);
            border-radius: 12px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: var(--bgr-shadow-lg);
            min-width: 320px;
            max-width: 400px;
            transform: translateX(120%);
            transition: transform 0.3s ease;
        }
        
        .bgr-toast.show {
            transform: translateX(0);
        }
        
        .bgr-toast-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        
        .bgr-toast-icon.success {
            background: #d1fae5;
            color: var(--bgr-success);
        }
        
        .bgr-toast-icon.error {
            background: #fee2e2;
            color: var(--bgr-error);
        }
        
        .bgr-toast-icon.warning {
            background: #fef3c7;
            color: var(--bgr-warning);
        }
        
        .bgr-toast-icon.info {
            background: #dbeafe;
            color: #3b82f6;
        }
        
        .bgr-toast-content {
            flex: 1;
        }
        
        .bgr-toast-title {
            font-weight: 600;
            color: var(--bgr-text);
            margin-bottom: 2px;
        }
        
        .bgr-toast-message {
            font-size: 0.85rem;
            color: var(--bgr-text-light);
        }
        
        .bgr-toast-close {
            background: none;
            border: none;
            color: var(--bgr-text-light);
            cursor: pointer;
            padding: 5px;
            font-size: 1.2rem;
            opacity: 0.7;
            transition: opacity 0.2s;
        }
        
        .bgr-toast-close:hover {
            opacity: 1;
        }
        
        /* Modal */
        .bgr-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            padding: 20px;
            backdrop-filter: blur(5px);
        }
        
        .bgr-modal-overlay.active {
            display: flex;
        }
        
        .bgr-modal {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius-lg);
            padding: 40px;
            max-width: 450px;
            width: 100%;
            text-align: center;
            animation: bgr-modal-in 0.3s ease;
        }
        
        @keyframes bgr-modal-in {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        
        .bgr-modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
        }
        
        .bgr-modal-icon.success {
            background: #d1fae5;
            color: var(--bgr-success);
        }
        
        .bgr-modal-icon.error {
            background: #fee2e2;
            color: var(--bgr-error);
        }
        
        .bgr-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 15px;
        }
        
        .bgr-modal-text {
            color: var(--bgr-text-light);
            margin-bottom: 25px;
            line-height: 1.6;
        }
        
        .bgr-modal-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
        }
        
        /* Features Section */
        .bgr-features-section {
            padding: 60px 0;
        }
        
        .bgr-section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .bgr-section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--bgr-text);
            margin-bottom: 15px;
        }
        
        .bgr-section-subtitle {
            font-size: 1.1rem;
            color: var(--bgr-text-light);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .bgr-features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .bgr-feature-card {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius);
            padding: 30px;
            transition: var(--bgr-transition);
            box-shadow: var(--bgr-shadow);
        }
        
        .bgr-feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--bgr-shadow-lg);
        }
        
        .bgr-feature-icon {
            width: 60px;
            height: 60px;
            background: var(--bgr-accent);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
            color: var(--bgr-primary);
        }
        
        .bgr-feature-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 10px;
        }
        
        .bgr-feature-text {
            font-size: 0.95rem;
            color: var(--bgr-text-light);
            line-height: 1.6;
        }
        
        /* How It Works */
        .bgr-steps-section {
            padding: 60px 0;
            background: var(--bgr-white);
        }
        
        .bgr-steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            position: relative;
        }
        
        @media (max-width: 768px) {
            .bgr-steps-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .bgr-steps-grid::before {
            content: '';
            position: absolute;
            top: 50px;
            left: 15%;
            right: 15%;
            height: 3px;
            background: var(--bgr-bg-light);
            z-index: 0;
        }
        
        @media (max-width: 768px) {
            .bgr-steps-grid::before {
                display: none;
            }
        }
        
        .bgr-step-card {
            text-align: center;
            position: relative;
            z-index: 1;
        }
        
        .bgr-step-number {
            width: 80px;
            height: 80px;
            background: var(--bgr-primary);
            color: var(--bgr-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 800;
            margin: 0 auto 25px;
            box-shadow: 0 10px 30px rgba(253, 124, 6, 0.3);
        }
        
        .bgr-step-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 10px;
        }
        
        .bgr-step-text {
            font-size: 0.95rem;
            color: var(--bgr-text-light);
            line-height: 1.6;
        }
        
        /* Use Cases */
        .bgr-usecases-section {
            padding: 60px 0;
        }
        
        .bgr-usecases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .bgr-usecase-card {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius);
            padding: 25px;
            text-align: center;
            transition: var(--bgr-transition);
            box-shadow: var(--bgr-shadow);
        }
        
        .bgr-usecase-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--bgr-shadow-lg);
        }
        
        .bgr-usecase-icon {
            font-size: 2.5rem;
            color: var(--bgr-primary);
            margin-bottom: 15px;
        }
        
        .bgr-usecase-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 8px;
        }
        
        .bgr-usecase-text {
            font-size: 0.85rem;
            color: var(--bgr-text-light);
        }
        
        /* FAQ Section */
        .bgr-faq-section {
            padding: 60px 0;
            background: var(--bgr-white);
        }
        
        .bgr-faq-list {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .bgr-faq-item {
            background: var(--bgr-bg-light);
            border-radius: var(--bgr-radius);
            margin-bottom: 15px;
            overflow: hidden;
        }
        
        .bgr-faq-question {
            width: 100%;
            padding: 20px 25px;
            background: none;
            border: none;
            text-align: left;
            font-size: 1rem;
            font-weight: 600;
            color: var(--bgr-text);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            transition: var(--bgr-transition);
        }
        
        .bgr-faq-question:hover {
            color: var(--bgr-primary);
        }
        
        .bgr-faq-question i {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }
        
        .bgr-faq-item.active .bgr-faq-question i {
            transform: rotate(180deg);
        }
        
        .bgr-faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .bgr-faq-item.active .bgr-faq-answer {
            max-height: 500px;
        }
        
        .bgr-faq-answer-inner {
            padding: 0 25px 20px;
            color: var(--bgr-text-light);
            line-height: 1.7;
        }
        
        /* Content Section */
        .bgr-content-section {
            padding: 60px 0;
        }
        
        .bgr-content-card {
            background: var(--bgr-white);
            border-radius: var(--bgr-radius-lg);
            padding: 50px;
            box-shadow: var(--bgr-shadow);
        }
        
        .bgr-content-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--bgr-text);
            margin-bottom: 25px;
        }
        
        .bgr-content-text {
            color: var(--bgr-text-light);
            line-height: 1.8;
            font-size: 1rem;
        }
        
        .bgr-content-text h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin: 30px 0 15px;
        }
        
        .bgr-content-text ul {
            padding-left: 25px;
            margin: 15px 0;
        }
        
        .bgr-content-text li {
            margin-bottom: 10px;
        }
        
        .bgr-content-text strong {
            color: var(--bgr-text);
        }
        
        /* Full Screen Loading */
        .bgr-fullscreen-loader {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.98);
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10001;
        }
        
        .bgr-fullscreen-loader.active {
            display: flex;
        }
        
        .bgr-loader-animation {
            width: 100px;
            height: 100px;
            position: relative;
            margin-bottom: 30px;
        }
        
        .bgr-loader-circle {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 4px solid var(--bgr-bg-light);
            border-top-color: var(--bgr-primary);
            animation: bgr-spin 1s linear infinite;
        }
        
        .bgr-loader-circle:nth-child(2) {
            inset: 10px;
            border-top-color: var(--bgr-accent);
            animation-duration: 1.5s;
            animation-direction: reverse;
        }
        
        .bgr-loader-circle:nth-child(3) {
            inset: 20px;
            border-top-color: var(--bgr-secondary);
            animation-duration: 2s;
        }
        
        .bgr-loader-text {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--bgr-text);
            margin-bottom: 10px;
        }
        
        .bgr-loader-subtext {
            font-size: 1rem;
            color: var(--bgr-text-light);
        }
        
        /* Responsive */
        @media (max-width: 991px) {
            .bgr-hero-title {
                font-size: 2.5rem;
            }
            
            .bgr-ad-sidebar {
                display: none;
            }
        }
        
        @media (max-width: 767px) {
            .bgr-hero-title {
                font-size: 2rem;
            }
            
            .bgr-hero-subtitle {
                font-size: 1rem;
            }
            
            .bgr-upload-zone {
                padding: 40px 20px;
            }
            
            .bgr-section-title {
                font-size: 1.8rem;
            }
            
            .bgr-content-card {
                padding: 30px;
            }
            
            .bgr-preview-image-container {
                height: 280px;
            }
        }
        
        /* URL Input Modal */
        .bgr-url-modal-content {
            padding: 30px;
        }
        
        .bgr-url-input-wrapper {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .bgr-url-input {
            flex: 1;
            padding: 14px 18px;
            border: 2px solid var(--bgr-bg-light);
            border-radius: 10px;
            font-size: 1rem;
            transition: var(--bgr-transition);
        }
        
        .bgr-url-input:focus {
            outline: none;
            border-color: var(--bgr-primary);
        }
        
        /* Zoom Controls */
        .bgr-zoom-controls {
            position: absolute;
            bottom: 15px;
            right: 15px;
            display: flex;
            gap: 5px;
            z-index: 15;
        }
        
        .bgr-zoom-btn {
            width: 36px;
            height: 36px;
            background: var(--bgr-white);
            border: none;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--bgr-transition);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .bgr-zoom-btn:hover {
            background: var(--bgr-primary);
            color: var(--bgr-white);
        }
        
        /* Erase Mode */
        .bgr-erase-toolbar {
            display: none;
            background: var(--bgr-white);
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 20px;
            box-shadow: var(--bgr-shadow);
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .bgr-erase-toolbar.active {
            display: flex;
        }
        
        .bgr-brush-size-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .bgr-brush-size-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--bgr-text);
        }
        
        .bgr-brush-size-slider {
            width: 120px;
            -webkit-appearance: none;
            height: 6px;
            background: var(--bgr-bg-light);
            border-radius: 3px;
            outline: none;
        }
        
        .bgr-brush-size-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: var(--bgr-primary);
            border-radius: 50%;
            cursor: pointer;
        }
        
        .bgr-brush-preview {
            width: 30px;
            height: 30px;
            border: 2px solid var(--bgr-text-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .bgr-brush-preview-inner {
            background: var(--bgr-primary);
            border-radius: 50%;
        }
        
        .bgr-erase-mode-btns {
            display: flex;
            gap: 8px;
        }
        
        .bgr-erase-mode-btn {
            padding: 8px 16px;
            border-radius: 8px;
            border: 2px solid var(--bgr-bg-light);
            background: var(--bgr-white);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--bgr-transition);
        }
        
        .bgr-erase-mode-btn.active {
            border-color: var(--bgr-primary);
            background: var(--bgr-accent);
            color: var(--bgr-primary);
        }