:root {
    --cyan: #00f2ff;
    --obsidian: #0a0a0a;
    --slate: #1a1a1a;
    --silver: #e2e8f0;
    --bg-color: var(--obsidian);
    --text-color: var(--silver);
    --panel-bg: rgba(255, 255, 255, 0.08);
    /* Increased for dark */
    --panel-border: rgba(255, 255, 255, 0.15);
    --input-bg: rgba(0, 0, 0, 0.6);
}

.light-theme {
    --obsidian: #ffffff;
    --slate: #ffffff;
    --silver: #1e293b;
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --panel-bg: rgba(255, 255, 255, 0.95);
    /* High opacity for light */
    --panel-border: rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
}

* {
    cursor: default;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--obsidian);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* Base resets and fixes */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Logic */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--panel-border);
}

/* Fix for buttons and inputs */
button,
input,
select,
.cursor-pointer {
    cursor: pointer !important;
}

input[readonly] {
    cursor: text !important;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Glow effects */
.glow-cyan {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.glow-cyan-strong {
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.4);
}

/* Result Card Polish */
#result-dashboard .bg-white\/5,
#result-dashboard .bg-white\/10 {
    background: var(--panel-bg) !important;
    border-color: var(--panel-border) !important;
}

#result-dashboard input {
    background: var(--input-bg) !important;
    border-color: rgba(0, 242, 255, 0.2) !important;
    color: var(--text-color) !important;
}

#result-dashboard input:focus {
    border-color: var(--cyan) !important;
    outline: none;
}

/* Hero Section Polish */
h1 {
    letter-spacing: -0.02em;
}

/* Upload Dropzone interaction */
#drop-zone.dragover {
    border-color: var(--cyan);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 60px rgba(0, 242, 255, 0.15);
}

/* Custom transitions */
.transition-luxury {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Cropper Adjustments */
.cropper-view-box,
.cropper-face {
    border-radius: 0;
}

.cropper-line {
    background-color: var(--cyan);
}

.cropper-point {
    background-color: var(--cyan);
    width: 6px;
    height: 6px;
}

.cropper-view-box {
    outline: 1px solid var(--cyan);
}

/* Modal Effects */
#editor-modal {
    animation: modal-blur 0.5s forwards;
}

@keyframes modal-blur {
    from {
        backdrop-filter: blur(0px);
    }

    to {
        backdrop-filter: blur(20px);
    }
}

/* Pricing Section Elite Styles */
.pricing-card {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.pricing-card * {
    position: relative;
    z-index: 1;
}

/* Filter Tabs */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Metallic Shine Effect */
.metallic-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 200%;
    animation: shine-sweep 4s infinite linear;
    pointer-events: none;
}

@keyframes shine-sweep {
    0% {
        background-position: -200% -200%;
    }

    100% {
        background-position: 200% 200%;
    }
}