        /* ── Upload Zone ── */
        .upload-zone-wrap {
            display: grid;
            place-items: center;
            margin-top: 30px;
        }

        .upload-zone {
            width: min(700px, 100%);
            height: 280px;
            background: var(--header-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--box-shadow);
            border: 2px dashed var(--border);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            cursor: pointer;
            transition: .3s;
            position: relative;
            overflow: hidden;
        }

        .upload-zone:hover,
        .upload-zone.drag-over {
            border-color: var(--primary-color);
            background: var(--cardhover);
        }

        .upload-zone .upload-icons {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: var(--menu-hover);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--primary-color);
        }

        .upload-zone span {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-text);
        }

        .upload-zone p {
            font-size: 12px;
            color: var(--gray-text);
            text-align: center;
            line-height: 1.6;
        }

        .upload-zone input {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            width: 100%;
            height: 100%;
        }

        .upload-btn {
            padding: 10px 24px;
            background: var(--primary-color);
            color: #fff;
            border: 0;
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 10px 30px rgba(99, 102, 241, .25);
            transition: .2s;
            position: relative;
            z-index: 1;
        }

        .upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 40px rgba(99, 102, 241, .35);
        }

        /* ── Tool Area ── */
        #toolArea {
            display: none;
            margin-top: 30px;
            padding-bottom: 80px;
        }

        #toolArea.visible {
            display: block;
        }

        .tool-layout {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 20px;
            align-items: start;
        }

        @media(max-width:900px) {
            .tool-layout {
                grid-template-columns: 1fr;
            }

            /* #mobileFab{
                display: flex !important;
            } */
        }

        /* ── Sidebar Panel ── */
        .crop_image .sidebar {
            background: var(--header-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            position: sticky;
            top: 80px;
        }

        .crop_image .tab-bar {
            display: flex;
            border-bottom: 1px solid var(--border);
        }

        .crop_image .tab-btn {
            flex: 1;
            padding: 12px;
            font-size: 13px;
            font-weight: 500;
            border: 0;
            background: transparent;
            cursor: pointer;
            color: var(--gray-text);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: .2s;
        }

        .crop_image .tab-btn.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        .tab-content {
            display: none;
            padding: 18px;
        }

        .tab-content.active {
            display: block;
        }

        /* ── Form Controls ── */
        .field-group {
            margin-bottom: 14px;
        }

        .field-group label {
            display: block;
            font-size: 11px;
            font-weight: 600;
            color: var(--label-color);
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: 6px;
        }

        .field-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .field-input {
            width: 100%;
            padding: 9px 12px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--primary-text);
            font-size: 13px;
            outline: none;
            transition: .2s;
        }

        .field-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
        }

        .field-select {
            width: 100%;
            padding: 9px 12px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--primary-text);
            font-size: 13px;
            outline: none;
            cursor: pointer;
            transition: .2s;
        }

        .field-select:focus {
            border-color: var(--primary-color);
        }

        /* Aspect ratio presets */
        .aspect-presets {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }

        .preset-chip {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            transition: .2s;
        }

        .preset-chip:hover,
        .preset-chip.active {
            background: var(--menu-hover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Mode toggle */
        .mode-toggle {
            display: flex;
            gap: 8px;
        }

        .mode-btn {
            flex: 1;
            padding: 9px;
            border-radius: var(--radius-sm);
            font-size: 12px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            transition: .2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .mode-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #fff;
        }

        /* Slider */
        .slider-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .range-slider {
            flex: 1;
            accent-color: var(--primary-color);
            cursor: pointer;
        }

        .slider-val {
            min-width: 38px;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            color: var(--primary-color);
            background: var(--menu-hover);
            padding: 3px 6px;
            border-radius: 6px;
        }

        /* Action Buttons */
        .action-btns {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 18px;
            border-top: 1px solid var(--divider);
        }

        .btn-primary {
            padding: 11px 20px;
            background: var(--primary-color);
            color: #fff;
            border: 0;
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 10px 30px rgba(99, 102, 241, .25);
            transition: .2s;
            width: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 40px rgba(99, 102, 241, .35);
        }

        .btn-secondary {
            padding: 11px 20px;
            background: transparent;
            color: var(--primary-text);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: .2s;
            width: 100%;
        }

        .btn-secondary:hover {
            background: var(--cardhover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-danger {
            padding: 11px 20px;
            background: transparent;
            color: #ef4444;
            border: 1px solid #fecaca;
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: .2s;
            width: 100%;
        }

        .btn-danger:hover {
            background: #fef2f2;
        }

        /* ── Canvas/Cropper Area ── */
        .canvas-wrap {
            background: var(--header-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--box-shadow);
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .canvas-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
        }

        .canvas-toolbar .tool-chips {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .tool-chip {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            transition: .2s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .tool-chip:hover,
        .tool-chip.active {
            background: var(--menu-hover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .canvas-info {
            font-size: 11px;
            color: var(--gray-text);
        }

        /* Cropper container */
        #cropperContainer {
            background: #1a1a2e;
            border-radius: var(--radius-md);
            overflow: hidden;
            background-image:
                linear-gradient(45deg, #2a2a3e 25%, transparent 25%),
                linear-gradient(-45deg, #2a2a3e 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #2a2a3e 75%),
                linear-gradient(-45deg, transparent 75%, #2a2a3e 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0;
            max-height: 70vh;
            min-height: 300px;
        }

        #cropperContainer img {
            max-width: 100%;
            display: block;
        }

        /* ── Live filter target: cropper's internal canvas wrapper ── */
        #cropperContainer .cropper-canvas {
            transition: filter 0.15s ease;
        }

        /* Cropper.js dark mode overrides */
        [data-theme="dark"] .cropper-view-box,
        [data-theme="dark"] .cropper-face {
            outline-color: #818cf8;
        }

        /* Bigger touch handles on mobile */
        /* @media(max-width:768px) {
            .cropper-point {
                width: 18px !important;
                height: 18px !important;
                opacity: 1 !important;
            }

            .cropper-point.point-se {
                width: 22px !important;
                height: 22px !important;
            }

            #cropperContainer {
                min-height: 240px;
                max-height: 52vw;
            }
        }

        @media(max-width:480px) {
            #cropperContainer {
                max-height: 58vw;
                min-height: 200px;
            }
        } */





/* Scroll lock only for desktop when crop tool is active */
/* @media (min-width: 769px) {
    html:has(#toolArea.visible) body {
        overflow: hidden;
    }
} */



/* ===== FULLSCREEN CROP VIEW - MOBILE ===== */
@media (max-width: 900px) {

    html:has(#toolArea.visible) body {
        overflow: hidden;
    }

    section.hero_section:has(#toolArea.visible) .header__heading {
        display: none;
    }

    #toolArea.visible {
        margin-top: 0;
        padding-bottom: 0;
    }

    #toolArea.visible .tool-layout {
        display: block;
        height: 100dvh;
    }

    /* #toolArea.visible .canvas-wrap {
        position: fixed;
        top: 60px;
        left: 8px;
        right: 8px;
        bottom: 12px;
        z-index: 500;
        border-radius: var(--radius-md);
        margin: 0;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        gap: 8px;
    } */



        #toolArea.visible .canvas-wrap {
        position: fixed;
        top: 90px;
        left: 16px;
        right: 16px;
        bottom: 40px;
        z-index: 500;
        border-radius: var(--radius-md);
        margin: 0;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #toolArea.visible #cropperContainer {
        flex: 1;
        min-height: 0;
        max-height: none;
    }
}









        .zoom-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--input-bg);
            border-radius: 20px;
            padding: 4px 10px;
            border: 1px solid var(--border);
        }

        .zoom-btn {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 0;
            background: transparent;
            cursor: pointer;
            color: var(--primary-text);
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: .2s;
        }

        .zoom-btn:hover {
            background: var(--menu-hover);
            color: var(--primary-color);
        }

        .zoom-level {
            font-size: 11px;
            font-weight: 600;
            color: var(--gray-text);
            min-width: 36px;
            text-align: center;
        }

        /* Format buttons */
        .format-btns {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .format-btn {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            transition: .2s;
            text-transform: uppercase;
        }

        .format-btn:hover,
        .format-btn.active {
            background: var(--menu-hover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Flip & Rotate buttons */
        .icon-btn-row {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .icon-btn {
            flex: 1;
            min-width: 60px;
            padding: 9px 6px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            font-size: 11px;
            font-weight: 500;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            transition: .2s;
        }

        .icon-btn i {
            font-size: 18px;
        }

        .icon-btn:hover {
            background: var(--menu-hover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .icon-btn.active-flip {
            background: var(--menu-hover);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Quality preview */
        .quality-preview {
            display: flex;
            gap: 8px;
            font-size: 11px;
            color: var(--gray-text);
            margin-top: 6px;
        }

        .quality-preview span {
            padding: 3px 8px;
            background: var(--input-bg);
            border: 1px solid var(--border);
            border-radius: 6px;
        }

        /* Preview modal */
        #previewModal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(0, 0, 0, .7);
            backdrop-filter: blur(6px);
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        #previewModal.open {
            display: flex;
        }

        .preview-box {
            background: var(--header-bg);
            border-radius: var(--radius-lg);
            padding: 20px;
            max-width: 90vw;
            max-height: 90vh;
            box-shadow: var(--box-shadow);
            display: flex;
            flex-direction: column;
            gap: 14px;
            overflow-y: auto;
        }

        .preview-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .preview-box-header h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--primary-text);
        }

        .close-modal {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-text);
            font-size: 16px;
            transition: .2s;
        }

        .close-modal:hover {
            background: var(--cardhover);
        }

        #previewImg {
            max-width: 100%;
            max-height: 55vh;
            border-radius: var(--radius-md);
            object-fit: contain;
        }

        .preview-meta {
            font-size: 12px;
            color: var(--gray-text);
        }

        .preview-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        /* ── MOBILE BOTTOM SHEET ── */
        .mobile-fab {
            display: none;
            position: fixed;
            bottom: 24px;
            right: 20px;
            z-index: 999;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--primary-color);
            color: #fff;
            border: 0;
            font-size: 22px;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(99, 102, 241, .45);
            align-items: center;
            justify-content: center;
            transition: .2s;
        }

        .mobile-fab:hover {
            transform: scale(1.08);
        }

        .bottom-sheet-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .5);
            backdrop-filter: blur(4px);
            z-index: 1000;
        }

        .bottom-sheet-overlay.open {
            display: block;
        }

        .bottom-sheet {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1001;
            background: var(--header-bg);
            border-radius: 24px 24px 0 0;
            max-height: 88vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform .35s cubic-bezier(.32, 0, .67, 0);
            padding-bottom: env(safe-area-inset-bottom, 20px);
        }

        .bottom-sheet.open {
            transform: translateY(0);
            transition: transform .35s cubic-bezier(.33, 1, .68, 1);
        }

        .bottom-sheet::-webkit-scrollbar {
            display: none;
        }

        .sheet-handle {
            width: 40px;
            height: 4px;
            background: var(--border);
            border-radius: 4px;
            margin: 12px auto 0;
        }

        .sheet-inner {
            padding: 16px 20px 20px;
        }

        .sheet-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--primary-text);
        }

        /* Mobile tab bar */
        .sheet-tab-bar {
            display: flex;
            gap: 6px;
            margin-bottom: 16px;
            overflow-x: auto;
        }

        .sheet-tab-bar::-webkit-scrollbar {
            display: none;
        }

        .sheet-tab {
            padding: 7px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--gray-text);
            cursor: pointer;
            white-space: nowrap;
            transition: .2s;
            flex-shrink: 0;
        }

        .sheet-tab.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #fff;
        }

        .sheet-panel {
            display: none;
        }

        .sheet-panel.active {
            display: block;
        }

        /* Sheet sticky actions */
        .sheet-actions {
            display: flex;
            gap: 8px;
            padding: 14px 20px;
            border-top: 1px solid var(--divider);
            position: sticky;
            bottom: 0;
            background: var(--header-bg);
            z-index: 2;
        }

        .sheet-actions .btn-primary,
        .sheet-actions .btn-secondary {
            flex: 1;
            padding: 13px;
            font-size: 13px;
        }

        /* ── Responsive ── */
        @media(max-width:768px) {
            .tool-layout {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: none;
            }

            .mobile-fab {
                display: flex;
            }

            .canvas-toolbar .tool-chips {
                display: none;
            }

            #toolArea {
                padding-bottom: 100px;
            }
        }

        /* Loading overlay */
        #loadingOverlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .6);
            align-items: center;
            justify-content: center;
            z-index: 20000;
        }

        #loadingOverlay.show {
            display: flex;
        }

        .spinner {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 3px solid rgba(255, 255, 255, .2);
            border-top-color: #fff;
            animation: spin .8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Toast */
        #toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: #1e293b;
            color: #fff;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            opacity: 0;
            transition: .3s;
            z-index: 99999;
            display: flex;
            align-items: center;
            gap: 8px;
            pointer-events: none;
            white-space: nowrap;
        }

        #toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* Crop info badge */
        .crop-info-bar {
            font-size: 11px;
            color: var(--gray-text);
            text-align: center;
            padding: 4px 0;
        }

        /* Mobile: canvas height adjustment */
        @media(max-width:480px) {
            #cropperContainer {
                max-height: 55vw;
                min-height: 220px;
            }
        }



           .crop-how-section {
            margin-top: 80px;
        padding: 80px 0;
        background:
            radial-gradient(circle at 12% 18%, rgba(99, 102, 241, .12), transparent 32%),
            radial-gradient(circle at 88% 22%, rgba(168, 85, 247, .10), transparent 28%),
            var(--section-bg);
    }

    .crop-how-header {
        max-width: 760px;
        margin: 0 auto 38px;
        text-align: center;
    }

    .crop-how-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .crop-how-header h2 {
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.15;
        color: var(--primary-text);
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .crop-how-header h2 span {
        color: var(--primary-color);
    }

    .crop-how-header p {
        color: var(--gray-text);
        font-size: 15px;
        line-height: 1.8;
    }

    .crop-how-grid {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        gap: 24px;
        align-items: stretch;
    }

    .crop-how-steps {
        display: grid;
        gap: 16px;
    }

    .crop-step-card {
        position: relative;
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 16px;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--header-bg);
        box-shadow: var(--card-shadow);
        transition: .25s ease;
        overflow: hidden;
    }

    .crop-step-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(99, 102, 241, .10), transparent 45%);
        opacity: 0;
        transition: .25s ease;
        pointer-events: none;
    }

    .crop-step-card:hover {
        transform: translateY(-4px);
        border-color: rgba(99, 102, 241, .38);
        box-shadow: 0 18px 45px rgba(99, 102, 241, .14);
    }

    .crop-step-card:hover::before {
        opacity: 1;
    }

    .crop-step-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        position: relative;
        z-index: 1;
    }

    .crop-step-content {
        position: relative;
        z-index: 1;
    }

    .crop-step-content small {
        display: inline-flex;
        color: var(--primary-color);
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .6px;
        margin-bottom: 6px;
    }

    .crop-step-content h3 {
        color: var(--primary-text);
        font-size: 17px;
        margin-bottom: 7px;
        text-transform: capitalize;
    }

    .crop-step-content p {
        color: var(--gray-text);
        font-size: 13px;
        line-height: 1.7;
    }

    .crop-how-preview {
        position: relative;
        min-height: 100%;
        padding: 22px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--header-bg);
        box-shadow: var(--box-shadow);
        overflow: hidden;
    }

    .crop-how-preview::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -80px;
        top: -80px;
        border-radius: 50%;
        background: rgba(99, 102, 241, .16);
    }

    .crop-preview-top {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        z-index: 1;
    }

    .crop-preview-title {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--primary-text);
        font-size: 14px;
        font-weight: 700;
    }

    .crop-preview-title i {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 18px;
    }

    .crop-preview-pill {
        padding: 7px 10px;
        border-radius: 999px;
        background: var(--success-bg);
        color: var(--success-color);
        font-size: 11px;
        font-weight: 800;
    }

    .crop-preview-canvas {
        position: relative;
        height: 260px;
        border-radius: var(--radius-md);
        background:
            linear-gradient(45deg, rgba(99, 102, 241, .13) 25%, transparent 25%),
            linear-gradient(-45deg, rgba(99, 102, 241, .13) 25%, transparent 25%),
            linear-gradient(45deg, transparent 75%, rgba(99, 102, 241, .13) 75%),
            linear-gradient(-45deg, transparent 75%, rgba(99, 102, 241, .13) 75%),
            var(--input-bg);
        background-size: 22px 22px;
        background-position: 0 0, 0 11px, 11px -11px, -11px 0;
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .crop-preview-image {
        position: absolute;
        inset: 34px 48px;
        border-radius: 14px;
        background: linear-gradient(135deg, #dbeafe, #c7d2fe 45%, #ede9fe);
        box-shadow: 0 18px 35px rgba(15, 23, 42, .12);
    }

    .crop-preview-image::before {
        content: "";
        position: absolute;
        left: 26px;
        top: 28px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #facc15;
        opacity: .9;
    }

    .crop-preview-image::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 48%;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        clip-path: polygon(0 58%, 28% 20%, 48% 48%, 70% 12%, 100% 54%, 100% 100%, 0 100%);
    }

    .crop-preview-box {
        position: absolute;
        left: 82px;
        top: 62px;
        width: 170px;
        height: 124px;
        border: 2px solid #fff;
        outline: 999px solid rgba(15, 23, 42, .34);
        box-shadow: 0 0 0 1px var(--primary-color);
        z-index: 2;
    }

    .crop-preview-box span {
        position: absolute;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid var(--primary-color);
    }

    .crop-preview-box span:nth-child(1) {
        left: -7px;
        top: -7px;
    }

    .crop-preview-box span:nth-child(2) {
        right: -7px;
        top: -7px;
    }

    .crop-preview-box span:nth-child(3) {
        left: -7px;
        bottom: -7px;
    }

    .crop-preview-box span:nth-child(4) {
        right: -7px;
        bottom: -7px;
    }

    .crop-preview-actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 16px;
    }

    .crop-preview-action {
        padding: 12px 10px;
        border-radius: var(--radius-sm);
        background: var(--input-bg);
        border: 1px solid var(--border);
        color: var(--gray-text);
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }

    .crop-preview-action i {
        display: block;
        color: var(--primary-color);
        font-size: 18px;
        margin-bottom: 5px;
    }

    @media (max-width: 900px) {
        /* .crop-how-section {
            padding: 58px 0;
        } */

        .crop-how-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 560px) {
        .crop-step-card {
            grid-template-columns: 1fr;
        }

        .crop-preview-canvas {
            height: 220px;
        }

        .crop-preview-image {
            inset: 30px 26px;
        }

        .crop-preview-box {
            left: 58px;
            top: 58px;
            width: 145px;
            height: 112px;
        }

        .crop-preview-actions {
            grid-template-columns: 1fr;
        }
    }



    /* Better Crop Image Upload Area */
.upload-zone-wrap {
    display: grid;
    place-items: center;
    margin-top: 34px;
}

.crop-upload-zone {
    width: min(760px, 100%);
    min-height: 330px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 28px;
    border: 2px dashed rgba(99, 102, 241, .35);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72)),
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, .16), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(168, 85, 247, .13), transparent 30%),
        var(--header-bg);
    box-shadow: 0 24px 70px rgba(99, 102, 241, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 34px 22px;
    cursor: pointer;
    transition: .3s ease;
}

.crop-upload-zone::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(99, 102, 241, .12);
    pointer-events: none;
}

.crop-upload-zone::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(99, 102, 241, .16);
    filter: blur(2px);
    z-index: -1;
}

.crop-upload-zone:hover,
.crop-upload-zone.drag-over {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 30px 85px rgba(99, 102, 241, .24);
}

.crop-upload-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, .07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
    opacity: .8;
    z-index: -1;
}

.crop-upload-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 18px 42px rgba(99, 102, 241, .34);
    transition: .3s ease;
}

@media screen and (max-width: 500px) {
    .crop-upload-icon {
        display: none !important;
    }
}

.crop-upload-zone:hover .crop-upload-icon,
.crop-upload-zone.drag-over .crop-upload-icon {
    transform: scale(1.06) rotate(-3deg);
}

.crop-upload-zone h3 {
    color: var(--primary-text);
    font-size: 25px;
    font-weight: 800;
    text-transform: capitalize;
    margin-top: 4px;
}

.crop-upload-zone p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    max-width: 420px;
}

.crop-upload-btn {
    margin-top: 6px;
    padding: 13px 26px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), #818cf8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 16px 40px rgba(99, 102, 241, .32);
    transition: .25s ease;
    position: relative;
    z-index: 2;
}

.crop-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(99, 102, 241, .42);
}

.crop-upload-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.crop-upload-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
}

.crop-upload-zone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.crop-upload-btn {
    z-index: 3;
}

[data-theme="dark"] .crop-upload-zone {
    background:
        linear-gradient(180deg, rgba(22, 27, 38, .92), rgba(22, 27, 38, .76)),
        radial-gradient(circle at 20% 20%, rgba(129, 140, 248, .18), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(168, 85, 247, .14), transparent 30%),
        var(--header-bg);
    border-color: rgba(129, 140, 248, .32);
}

@media (max-width: 560px) {
    .crop-upload-zone {
        min-height: 300px;
        border-radius: 22px;
        padding: 28px 16px;
    }

    .crop-upload-zone h3 {
        font-size: 21px;
    }

    .crop-upload-icon {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }

    .crop-upload-info span {
        font-size: 10px;
        padding: 6px 9px;
    }
}





.crop-features-section {
        padding: 80px 0;
        background: var(--body-background);
    }

    .crop-features-header {
        max-width: 760px;
        margin: 0 auto 38px;
        text-align: center;
    }

    .crop-features-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .crop-features-header h2 {
        color: var(--primary-text);
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.15;
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .crop-features-header h2 span {
        color: var(--primary-color);
    }

    .crop-features-header p {
        color: var(--gray-text);
        font-size: 15px;
        line-height: 1.8;
    }

    .crop-features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .crop-feature-card {
        position: relative;
        overflow: hidden;
        padding: 24px;
        border-radius: var(--radius-md);
        background: var(--header-bg);
        border: 1px solid var(--border);
        box-shadow: var(--card-shadow);
        transition: .25s ease;
    }

    .crop-feature-card::before {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        right: -55px;
        top: -55px;
        border-radius: 50%;
        background: rgba(99, 102, 241, .12);
        transition: .25s ease;
    }

    .crop-feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(99, 102, 241, .38);
        box-shadow: 0 20px 48px rgba(99, 102, 241, .15);
    }

    .crop-feature-card:hover::before {
        transform: scale(1.25);
        background: rgba(99, 102, 241, .18);
    }

    .crop-feature-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 18px;
        position: relative;
        z-index: 1;
    }

    .crop-feature-card h3 {
        color: var(--primary-text);
        font-size: 17px;
        margin-bottom: 9px;
        text-transform: capitalize;
        position: relative;
        z-index: 1;
    }

    .crop-feature-card p {
        color: var(--gray-text);
        font-size: 13px;
        line-height: 1.75;
        position: relative;
        z-index: 1;
    }

    .crop-feature-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 16px;
        padding: 7px 10px;
        border-radius: 999px;
        background: var(--input-bg);
        border: 1px solid var(--border);
        color: var(--primary-color);
        font-size: 11px;
        font-weight: 800;
        position: relative;
        z-index: 1;
    }

    @media (max-width: 900px) {
        .crop-features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 560px) {
        .crop-features-section {
            padding: 58px 0;
        }

        .crop-features-grid {
            grid-template-columns: 1fr;
        }

        .crop-feature-card {
            padding: 22px;
        }
    }


        .crop-content-section {
        padding: 80px 0;
        background: linear-gradient(180deg, var(--section-bg), var(--body-background));
    }

    .crop-content-layout {
        display: grid;
        grid-template-columns: 1fr .9fr;
        gap: 26px;
        align-items: center;
    }

    .crop-content-left {
        padding: 30px;
        border-radius: var(--radius-lg);
        background: var(--header-bg);
        border: 1px solid var(--border);
        box-shadow: var(--card-shadow);
    }

    .crop-content-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .crop-content-left h2 {
        color: var(--primary-text);
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.15;
        margin-bottom: 16px;
        text-transform: capitalize;
    }

    .crop-content-left h2 span {
        color: var(--primary-color);
    }

    .crop-content-left p {
        color: var(--gray-text);
        font-size: 14px;
        line-height: 1.85;
        margin-bottom: 14px;
    }

    .crop-content-points {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 22px;
    }

    .crop-content-point {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 13px;
        border-radius: var(--radius-sm);
        background: var(--input-bg);
        border: 1px solid var(--border);
    }

    .crop-content-point i {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 9px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .crop-content-point span {
        color: var(--primary-text);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.5;
    }

    .crop-content-right {
        display: grid;
        gap: 16px;
    }

    .crop-use-card {
        position: relative;
        overflow: hidden;
        padding: 22px;
        border-radius: var(--radius-md);
        background: var(--header-bg);
        border: 1px solid var(--border);
        box-shadow: var(--card-shadow);
        transition: .25s ease;
    }

    .crop-use-card::before {
        content: "";
        position: absolute;
        right: -45px;
        top: -45px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(99, 102, 241, .12);
    }

    .crop-use-card:hover {
        transform: translateY(-4px);
        border-color: rgba(99, 102, 241, .38);
        box-shadow: 0 18px 45px rgba(99, 102, 241, .14);
    }

    .crop-use-card-top {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .crop-use-card-top i {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }

    .crop-use-card h3 {
        color: var(--primary-text);
        font-size: 17px;
        text-transform: capitalize;
    }

    .crop-use-card p {
        position: relative;
        z-index: 1;
        color: var(--gray-text);
        font-size: 13px;
        line-height: 1.75;
    }

    @media (max-width: 900px) {
        .crop-content-layout {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 560px) {
        .crop-content-section {
            padding: 58px 0;
        }

        .crop-content-left {
            padding: 22px;
        }

        .crop-content-points {
            grid-template-columns: 1fr;
        }

        .crop-use-card {
            padding: 20px;
        }
    }




     .crop-example-section {
        padding: 80px 0;
        background: var(--body-background);
    }

    .crop-example-header {
        max-width: 760px;
        margin: 0 auto 38px;
        text-align: center;
    }

    .crop-example-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .crop-example-header h2 {
        color: var(--primary-text);
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.15;
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .crop-example-header h2 span {
        color: var(--primary-color);
    }

    .crop-example-header p {
        color: var(--gray-text);
        font-size: 15px;
        line-height: 1.8;
    }

    .crop-example-card {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-lg);
        background:
            radial-gradient(circle at 12% 12%, rgba(99, 102, 241, .14), transparent 30%),
            radial-gradient(circle at 90% 18%, rgba(168, 85, 247, .12), transparent 28%),
            var(--header-bg);
        border: 1px solid var(--border);
        box-shadow: var(--box-shadow);
        padding: 28px;
    }

    .crop-example-grid {
        display: grid;
        grid-template-columns: 1fr 90px 1fr;
        gap: 22px;
        align-items: center;
    }

    .crop-example-box {
        position: relative;
        z-index: 1;
    }

    .crop-example-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .crop-example-label h3 {
        color: var(--primary-text);
        font-size: 18px;
        text-transform: capitalize;
    }

    .crop-example-label span {
        padding: 7px 11px;
        border-radius: 999px;
        background: var(--input-bg);
        border: 1px solid var(--border);
        color: var(--gray-text);
        font-size: 11px;
        font-weight: 800;
    }

    .crop-example-frame {
        position: relative;
        min-height: 310px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
        background:
            linear-gradient(45deg, rgba(99, 102, 241, .08) 25%, transparent 25%),
            linear-gradient(-45deg, rgba(99, 102, 241, .08) 25%, transparent 25%),
            linear-gradient(45deg, transparent 75%, rgba(99, 102, 241, .08) 75%),
            linear-gradient(-45deg, transparent 75%, rgba(99, 102, 241, .08) 75%),
            var(--input-bg);
        background-size: 24px 24px;
        background-position: 0 0, 0 12px, 12px -12px, -12px 0;
        overflow: hidden;
    }

    .crop-demo-image {
        position: absolute;
        inset: 34px;
        border-radius: 18px;
        background: linear-gradient(135deg, #bfdbfe, #c7d2fe 45%, #ede9fe);
        box-shadow: 0 18px 40px rgba(15, 23, 42, .13);
        overflow: hidden;
    }

    .crop-demo-image::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 30px;
        width: 62px;
        height: 62px;
        border-radius: 50%;
        background: #facc15;
    }

    .crop-demo-image::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 52%;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        clip-path: polygon(0 62%, 24% 24%, 45% 52%, 67% 14%, 100% 58%, 100% 100%, 0 100%);
    }

    .crop-selection-box {
        position: absolute;
        width: 170px;
        height: 170px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid #fff;
        outline: 999px solid rgba(15, 23, 42, .38);
        box-shadow: 0 0 0 1px var(--primary-color);
        z-index: 2;
    }

    .crop-selection-box::before,
    .crop-selection-box::after {
        content: "";
        position: absolute;
        inset: 33.33% 0 auto 0;
        border-top: 1px solid rgba(255, 255, 255, .75);
    }

    .crop-selection-box::after {
        inset: 66.66% 0 auto 0;
    }

    .crop-selection-line {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255, 255, 255, .75);
    }

    .crop-selection-line.line-one {
        left: 33.33%;
    }

    .crop-selection-line.line-two {
        left: 66.66%;
    }

    .crop-result-frame {
        display: grid;
        place-items: center;
    }

    .crop-result-image {
        width: min(250px, 78%);
        aspect-ratio: 1 / 1;
        border-radius: 26px;
        background: linear-gradient(135deg, #bfdbfe, #c7d2fe 45%, #ede9fe);
        box-shadow: 0 22px 50px rgba(99, 102, 241, .22);
        position: relative;
        overflow: hidden;
        border: 6px solid var(--header-bg);
    }

    .crop-result-image::before {
        content: "";
        position: absolute;
        top: 30px;
        left: 34px;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #facc15;
    }

    .crop-result-image::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 58%;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        clip-path: polygon(0 60%, 28% 22%, 50% 50%, 72% 12%, 100% 56%, 100% 100%, 0 100%);
    }

    .crop-example-arrow {
        width: 70px;
        height: 70px;
        border-radius: 22px;
        background: linear-gradient(135deg, var(--primary-color), #818cf8);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        box-shadow: 0 18px 42px rgba(99, 102, 241, .34);
        justify-self: center;
    }

    .crop-example-details {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 22px;
    }

    .crop-example-detail {
        padding: 14px;
        border-radius: var(--radius-sm);
        background: var(--input-bg);
        border: 1px solid var(--border);
        text-align: center;
    }

    .crop-example-detail strong {
        display: block;
        color: var(--primary-text);
        font-size: 15px;
        margin-bottom: 4px;
    }

    .crop-example-detail span {
        color: var(--gray-text);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    @media (max-width: 900px) {
        .crop-example-grid {
            grid-template-columns: 1fr;
        }

        .crop-example-arrow {
            transform: rotate(90deg);
        }

        .crop-example-details {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 560px) {
        .crop-example-section {
            padding: 58px 0;
        }

        .crop-example-card {
            padding: 18px;
        }

        .crop-example-frame {
            min-height: 250px;
        }

        .crop-demo-image {
            inset: 24px;
        }

        .crop-selection-box {
            width: 135px;
            height: 135px;
        }

        .crop-example-details {
            grid-template-columns: 1fr;
        }
    }



        .crop-faq-section {
        padding: 80px 0;
        background:
            radial-gradient(circle at 10% 15%, rgba(99, 102, 241, .10), transparent 30%),
            radial-gradient(circle at 88% 18%, rgba(168, 85, 247, .10), transparent 28%),
            var(--section-bg);
    }

    .crop-faq-header {
        max-width: 760px;
        margin: 0 auto 36px;
        text-align: center;
    }

    .crop-faq-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .crop-faq-header h2 {
        color: var(--primary-text);
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.15;
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .crop-faq-header h2 span {
        color: var(--primary-color);
    }

    .crop-faq-header p {
        color: var(--gray-text);
        font-size: 15px;
        line-height: 1.8;
    }

    .crop-faq-wrapper {
        max-width: 900px;
        margin: 0 auto;
        display: grid;
        gap: 14px;
    }

    .crop-faq-item {
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--header-bg);
        box-shadow: var(--card-shadow);
        overflow: hidden;
        transition: .25s ease;
    }

    .crop-faq-item.active {
        border-color: rgba(99, 102, 241, .42);
        box-shadow: 0 18px 45px rgba(99, 102, 241, .14);
    }

    .crop-faq-question {
        width: 100%;
        border: 0;
        background: transparent;
        color: var(--primary-text);
        padding: 20px 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        cursor: pointer;
        text-align: left;
        font-size: 15px;
        font-weight: 800;
    }

    .crop-faq-question span {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .crop-faq-question span i {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .crop-faq-arrow {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 50%;
        background: var(--input-bg);
        border: 1px solid var(--border);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s ease;
    }

    .crop-faq-item.active .crop-faq-arrow {
        transform: rotate(180deg);
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    .crop-faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }

    .crop-faq-answer-inner {
        padding: 0 22px 20px 72px;
        color: var(--gray-text);
        font-size: 14px;
        line-height: 1.8;
    }

    @media (max-width: 560px) {
        .crop-faq-section {
            padding: 58px 0;
        }

        .crop-faq-question {
            padding: 17px;
            font-size: 14px;
        }

        .crop-faq-question span {
            gap: 10px;
        }

        .crop-faq-question span i {
            width: 34px;
            height: 34px;
            min-width: 34px;
        }

        .crop-faq-answer-inner {
            padding: 0 17px 18px 17px;
        }
    }



      .crop-related-section {
        padding: 80px 0;
        background:
            linear-gradient(180deg, var(--body-background), var(--section-bg));
    }

    .crop-related-header {
        max-width: 760px;
        margin: 0 auto 38px;
        text-align: center;
    }

    .crop-related-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--primary-light);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .crop-related-header h2 {
        color: var(--primary-text);
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.15;
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .crop-related-header h2 span {
        color: var(--primary-color);
    }

    .crop-related-header p {
        color: var(--gray-text);
        font-size: 15px;
        line-height: 1.8;
    }

    .crop-related-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .crop-related-card {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 22px;
        border-radius: var(--radius-md);
        background: var(--header-bg);
        border: 1px solid var(--border);
        box-shadow: var(--card-shadow);
        text-decoration: none;
        transition: .25s ease;
    }

    .crop-related-card::before {
        content: "";
        position: absolute;
        right: -52px;
        top: -52px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(99, 102, 241, .12);
        transition: .25s ease;
    }

    .crop-related-card:hover {
        transform: translateY(-5px);
        border-color: rgba(99, 102, 241, .42);
        box-shadow: 0 20px 50px rgba(99, 102, 241, .16);
    }

    .crop-related-card:hover::before {
        transform: scale(1.25);
        background: rgba(99, 102, 241, .18);
    }

    .crop-related-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        border-radius: 17px;
        background: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        position: relative;
        z-index: 1;
        transition: .25s ease;
    }

    .crop-related-card:hover .crop-related-icon {
        background: linear-gradient(135deg, var(--primary-color), #818cf8);
        color: #fff;
        transform: rotate(-4deg) scale(1.05);
    }

    .crop-related-content {
        position: relative;
        z-index: 1;
        flex: 1;
    }

    .crop-related-content h3 {
        color: var(--primary-text);
        font-size: 17px;
        margin-bottom: 7px;
        text-transform: capitalize;
    }

    .crop-related-content p {
        color: var(--gray-text);
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .crop-related-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 800;
    }

    .crop-related-link i {
        transition: .25s ease;
    }

    .crop-related-card:hover .crop-related-link i {
        transform: translateX(4px);
    }

    @media (max-width: 900px) {
        .crop-related-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 560px) {
        .crop-related-section {
            padding: 58px 0;
        }

        .crop-related-grid {
            grid-template-columns: 1fr;
        }

        .crop-related-card {
            padding: 20px;
        }
    }