:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --text: #1e293b;
    --background: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --3d-depth: 6px;
}

.itpc-pro-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--background);
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 15px -3px rgba(0,0,0,0.1),
        0 4px 6px -4px rgba(0,0,0,0.1);
    font-family: 'Inter', system-ui, sans-serif;
    border: 1px solid rgba(0,0,0,0.05);
    transform: perspective(1000px);
}

/* 3D बटन स्टाइल */
.itpc-pro-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.itpc-pro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    transform: translateZ(calc(-1 * var(--3d-depth)));
    transition: all 0.2s ease;
}

/* प्राइमरी बटन (Browse Files) */
.itpc-pro-btn.primary {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    box-shadow: var(--shadow);
}

.itpc-pro-btn.primary::before {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
}

.itpc-pro-btn.primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 16px -4px rgba(99, 102, 241, 0.3),
        0 4px 6px -4px rgba(0,0,0,0.1);
}

.itpc-pro-btn.primary:active {
    transform: translateY(1px);
    box-shadow: 
        0 3px 4px -1px rgba(0,0,0,0.1);
}

/* सक्सेस बटन (Convert to PDF) */
.itpc-pro-btn.success {
    background: linear-gradient(145deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

.itpc-pro-btn.success::before {
    background: linear-gradient(145deg, var(--secondary-dark), var(--secondary));
    border-radius: 1rem;
}

.itpc-pro-btn.success:hover {
    transform: translateY(-3px) scale(1.03);
    filter: brightness(1.1);
    box-shadow: 
        0 15px 20px -5px rgba(16, 185, 129, 0.3),
        0 4px 6px -4px rgba(0,0,0,0.1);
}

/* रिमूव बटन */
.remove-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255,255,255,0.95);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    transform-style: preserve-3d;
}

.remove-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    transform: translateZ(-2px);
}

.remove-btn:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 
        0 4px 6px -1px rgba(0,0,0,0.1),
        0 2px 4px -2px rgba(0,0,0,0.1);
    background: #fff;
}

/* ड्रॉप ज़ोन 3D इफेक्ट */
.itpc-pro-dropzone {
    border: 2px dashed #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.itpc-pro-dropzone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 2px solid rgba(99, 102, 241, 0.1);
    transform: translateZ(-4px);
    pointer-events: none;
}

.itpc-pro-dropzone.active {
    border-color: transparent;
    background: rgba(99, 102, 241, 0.03);
    transform: translateY(-2px);
}

/* लोडिंग स्पिनर 3D */
.loading-spinner {
    width: 64px;
    height: 64px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    transform-style: preserve-3d;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    filter: blur(8px);
    opacity: 0.3;
    transform: translateZ(-2px);
}

/* प्रीव्यू कार्ड 3D इफेक्ट */
.preview-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0,0,0,0.1),
        0 2px 4px -2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.preview-item:hover {
    transform: 
        translateY(-4px)
        rotateX(2deg)
        rotateY(2deg);
    box-shadow: 
        0 20px 25px -5px rgba(0,0,0,0.1),
        0 8px 10px -6px rgba(0,0,0,0.1);
}

.preview-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 8px 12px -2px rgba(0,0,0,0.05);
    transform: translateZ(-4px);
    pointer-events: none;
}

@keyframes spin {
    to { 
        transform: rotate(360deg) translateZ(0);
    }
}