/* ============================================
   SHOWROOMX ADVANCED TECH STARTUP THEME
   Sleek, clever, clear professional styling
   ============================================ */

/* Import Google Fonts for modern tech aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Root CSS Variables - Modern Gradient Theme */
:root {
    /* Primary theme colors */
    --dark-pink: #C2185B;
    --neon-blue: #00BFFF;
    --electric-purple: #A020F0;
    --aqua: #00FFFF;
    --error-red: #ef4444;

    /* Neutral tones for content areas */
    --charcoal-gray: #1E1E1E;
    --off-white: #F8F8F8;
    --pure-white: #FFFFFF;
    --light-gray: #F5F5F5;

    /* Theme application */
    --bg-primary: linear-gradient(135deg, var(--dark-pink) 0%, var(--neon-blue) 100%);
    --bg-secondary: var(--charcoal-gray);
    --bg-tertiary: var(--off-white);
    --surface-glass: rgba(194, 24, 91, 0.1);
    --surface-elevated: var(--off-white);
    --surface-card: var(--pure-white);

    --text-primary: var(--charcoal-gray);
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-on-dark: var(--pure-white);
    --text-accent: var(--dark-pink);
}

/* Global Dark Theme Override */
* {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    background: var(--bg-primary) !important;
    background-attachment: fixed !important;
    color: var(--text-on-dark) !important;
    font-family: 'Inter', sans-serif !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle overlay pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* High-Contrast Professional Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: var(--text-on-dark) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.025em;
}

/* Main headers with proper contrast */
.text-3xl, .text-4xl, .text-5xl {
    color: var(--text-on-dark) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

/* Subtitle text with good contrast */
.text-lg, .text-xl, .text-gray-600 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Modern Container Styling with Neutral Tones */
.container, .max-w-4xl, .max-w-6xl {
    background: var(--surface-card) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05) !important;
    position: relative;
    overflow: hidden;
}

.container::before {
    display: none;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Primary Button Styles - Dark Pink */
button, .btn, [role="button"] {
    background: var(--dark-pink) !important;
    border: none !important;
    border-radius: 8px !important;
    color: var(--text-on-dark) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.025em !important;
    padding: 9px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3) !important;
    transition: all 0.2s ease-out !important;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: var(--electric-purple) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 8px 20px rgba(160, 32, 240, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

button:active {
    transform: translateY(0) !important;
}

/* Disabled Button State */
button:disabled {
    background: #9CA3AF !important;
    color: var(--text-on-dark) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

/* ============================================
   VIBRANT PRESET BUTTON STYLING
   High-contrast, expressive design
   ============================================ */

/* Enhancement Style Section Container */
.preset-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-radius: 20px !important;
    padding: 17px 32px !important;
    margin: 13px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.preset-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.preset-section > * {
    position: relative;
    z-index: 2;
}

/* Main Preset Button Styling */
.preset-btn {
    background: linear-gradient(145deg, #2a2a3e, #1e1e32) !important;
    border: 2px solid transparent !important;
    color: var(--text-on-dark) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1) !important;
    cursor: pointer !important;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

/* Animated background gradient for each button */
.preset-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.preset-btn:hover::before {
    transform: translateX(100%);
}

/* Individual preset button colors */
.preset-btn[data-preset="studio"] {
    background: linear-gradient(145deg, #ff0080, #7928ca) !important;
    box-shadow: 
        0 8px 32px rgba(255, 0, 128, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.preset-btn[data-preset="driveway"] {
    background: linear-gradient(145deg, #00d4ff, #0099cc) !important;
    box-shadow: 
        0 8px 32px rgba(0, 212, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.preset-btn[data-preset="clean"] {
    background: linear-gradient(145deg, #a855f7, #ec4899) !important;
    box-shadow: 
        0 8px 32px rgba(168, 85, 247, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Hover Effects */
.preset-btn:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.preset-btn[data-preset="studio"]:hover {
    box-shadow: 
        0 20px 40px rgba(255, 0, 128, 0.6),
        0 0 60px rgba(255, 0, 128, 0.3) !important;
}

.preset-btn[data-preset="driveway"]:hover {
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.3) !important;
}

.preset-btn[data-preset="clean"]:hover {
    box-shadow: 
        0 20px 40px rgba(168, 85, 247, 0.6),
        0 0 60px rgba(168, 85, 247, 0.3) !important;
}

/* Selected State */
.preset-btn.selected,
.preset-btn.border-blue-500,
.preset-btn.border-purple-500,
.preset-btn.border-gray-500 {
    transform: translateY(-4px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    animation: pulse-glow 2s ease-in-out infinite alternate !important;
}

.preset-btn[data-preset="studio"].selected {
    box-shadow: 
        0 16px 32px rgba(255, 0, 128, 0.8),
        0 0 80px rgba(255, 0, 128, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

.preset-btn[data-preset="driveway"].selected {
    box-shadow: 
        0 16px 32px rgba(0, 212, 255, 0.8),
        0 0 80px rgba(0, 212, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

.preset-btn[data-preset="clean"].selected {
    box-shadow: 
        0 16px 32px rgba(168, 85, 247, 0.8),
        0 0 80px rgba(168, 85, 247, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
}

/* Preset indicator styling */
.preset-indicator {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.preset-btn.selected .preset-indicator {
    background: #00ff88 !important;
    border-color: #00ff88 !important;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.6) !important;
    animation: indicator-pulse 1.5s ease-in-out infinite !important;
}

/* Animations */
@keyframes pulse-glow {
    0% { 
        box-shadow: 
            0 16px 32px rgba(255, 0, 128, 0.6),
            0 0 60px rgba(255, 0, 128, 0.3);
    }
    100% { 
        box-shadow: 
            0 20px 40px rgba(255, 0, 128, 0.8),
            0 0 80px rgba(255, 0, 128, 0.5);
    }
}

@keyframes indicator-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Enhanced SVG Icons */
.preset-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
}

.preset-btn:hover svg {
    transform: scale(1.1) !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) !important;
}

/* Typography Enhancement */
.preset-btn span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Additional Vibrant Effects */
.preset-section h3 {
    animation: title-glow 3s ease-in-out infinite alternate !important;
}

@keyframes title-glow {
    0% { 
        text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    }
    100% { 
        text-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
    }
}

/* Floating particles effect */
.preset-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(255, 105, 180, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 90%, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 
        50px 50px,
        75px 75px,
        60px 60px,
        80px 80px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-particles {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -10px) rotate(90deg); }
    50% { transform: translate(10px, -20px) rotate(180deg); }
    75% { transform: translate(-20px, -10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Enhanced page-wide styling - matching preset-section exactly */
.dynamic-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
}

/* Additional body styling to ensure the background takes effect */
body.dynamic-bg {
    margin: 0 !important;
    padding: 0 !important;
}

.dynamic-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 150, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 10%, rgba(255, 105, 180, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0, 191, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dynamic-bg::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(255, 105, 180, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 90%, rgba(138, 43, 226, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 150, 0.1) 1px, transparent 1px);
    background-size: 
        60px 60px,
        90px 90px,
        75px 75px,
        100px 100px,
        120px 120px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above background layers */
.container {
    position: relative;
    z-index: 10 !important;
}

/* Fix for the main container to ensure proper layering */
body .container {
    position: relative;
    z-index: 10;
}

/* Enhanced card styling - transparent to show dark gradient */
.enhanced-card {
    background: transparent !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

/* Enhanced navigation styling - EXACTLY like preset section */
.enhanced-nav, .preset-section-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-radius: 20px !important;
    padding: 17px 32px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

/* Gradient overlay for navbar - same as preset section */
.enhanced-nav::before, .preset-section-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating particles animation - same as preset section */
.enhanced-nav::after, .preset-section-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(255, 105, 180, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 90%, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 
        50px 50px,
        75px 75px,
        60px 60px,
        80px 80px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Ensure nav content is above effects */
.enhanced-nav > *, .preset-section-nav > * {
    position: relative;
    z-index: 2;
}

/* Enhanced nav links */
.enhanced-nav a {
    position: relative;
    transition: all 0.3s ease !important;
}

.enhanced-nav a:not(.bg-gradient-to-r)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #00ffff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.enhanced-nav a:not(.bg-gradient-to-r):hover::after {
    width: 100%;
}

/* Enhanced nav text colors with better visibility */
.enhanced-nav a:not(.bg-gradient-to-r) {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.enhanced-nav a:not(.bg-gradient-to-r):hover {
    color: #00bfff !important;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Email text specifically */
.enhanced-nav span.text-gray-700,
.enhanced-nav span.text-sm {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    font-weight: 500 !important;
}

/* Logo styling with better visibility */
.enhanced-nav a:first-child {
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 
        0 2px 10px rgba(255, 0, 128, 0.5),
        0 0 30px rgba(121, 40, 202, 0.4) !important;
    transition: all 0.3s ease !important;
}

.enhanced-nav a:first-child:hover {
    text-shadow: 
        0 2px 20px rgba(255, 0, 128, 0.7),
        0 0 40px rgba(121, 40, 202, 0.6) !important;
    transform: scale(1.05) !important;
}

/* Get Started button enhancement */
.enhanced-nav .bg-gradient-to-r {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(123, 40, 202, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.enhanced-nav .bg-gradient-to-r:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(123, 40, 202, 0.5) !important;
}

/* Credits badge enhancement */
.enhanced-nav .bg-gradient-to-r.from-green-500 {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(16, 185, 129, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* User avatar enhancement */
.enhanced-nav .w-9.h-9 {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Enhanced hero section with preset-section styling */
.enhanced-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-radius: 20px !important;
    padding: 17px 32px !important;
    margin: 13px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.enhanced-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.enhanced-hero > * {
    position: relative;
    z-index: 2;
}

/* Floating particles effect for hero */
.enhanced-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(255, 105, 180, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 90%, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 
        50px 50px,
        75px 75px,
        60px 60px,
        80px 80px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Enhanced text glow for important headings */
.glow-text {
    animation: title-glow 4s ease-in-out infinite alternate !important;
}

/* Enhanced floating animations */
@keyframes enhanced-float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }
    50% { 
        transform: translateY(-15px) scale(1.02); 
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    }
}

.enhanced-float {
    animation: enhanced-float 4s ease-in-out infinite;
}

.enhanced-float-delayed {
    animation: enhanced-float 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.enhanced-float-delayed-2 {
    animation: enhanced-float 4s ease-in-out infinite;
    animation-delay: 3s;
}

/* Enhanced feature boxes */
.feature-box {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Dynamic border animations */
.preset-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 105, 180, 0.4), 
        transparent, 
        rgba(0, 255, 255, 0.4), 
        transparent);
    border-radius: 18px;
    z-index: -1;
    animation: border-flow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preset-btn:hover::after {
    opacity: 1;
}

@keyframes border-flow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced text effects */
.preset-btn span {
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shimmer 2s ease-in-out infinite;
}

/* Purple gradient text utility class */
.text-purple-gradient {
    background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC, #DDD6FE) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: text-shimmer 3s ease-in-out infinite !important;
}

/* Alternative static purple gradient */
.text-purple-gradient-static {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

@keyframes text-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Add subtle vibration on click */
.preset-btn:active {
    animation: vibrate 0.3s linear;
}

@keyframes vibrate {
    0%, 100% { transform: translateY(-8px) scale(1.05) rotate(0deg); }
    25% { transform: translateY(-8px) scale(1.05) rotate(0.5deg); }
    50% { transform: translateY(-8px) scale(1.05) rotate(0deg); }
    75% { transform: translateY(-8px) scale(1.05) rotate(-0.5deg); }
}

/* Processing state styles */
.preset-btn.processing {
    animation: processing-pulse 1.5s ease-in-out infinite !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* Processing Mode Toggle Buttons */
.mode-toggle-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.mode-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mode-toggle-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: white !important;
}

.mode-toggle-btn:not(.active) {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.mode-toggle-btn:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes processing-pulse {
    0%, 100% { 
        box-shadow: 
            0 16px 32px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 20px 40px rgba(255, 215, 0, 0.8),
            0 0 80px rgba(255, 215, 0, 0.5);
    }
}

/* Ready to process state */
.preset-btn.ready-to-process {
    border-color: rgba(0, 255, 136, 0.6) !important;
    animation: ready-glow 2s ease-in-out infinite !important;
}

@keyframes ready-glow {
    0%, 100% { 
        box-shadow: 
            0 16px 32px rgba(0, 255, 136, 0.4),
            0 0 40px rgba(0, 255, 136, 0.2);
    }
    50% { 
        box-shadow: 
            0 20px 40px rgba(0, 255, 136, 0.6),
            0 0 60px rgba(0, 255, 136, 0.4);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body::before {
        background-size: 30px 30px;
    }

    button, .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    h1, h2, h3 {
        letter-spacing: 1px !important;
    }
}

@media (max-width: 640px) {
    .preset-section {
        padding: 15px 20px !important;
        margin: 12px 0 !important;
    }

    .preset-btn {
        padding: 12px 13px !important;
        font-size: 14px !important;
    }

    .preset-btn:hover {
        transform: translateY(-4px) scale(1.02) !important;
    }

    .preset-section::after {
        animation-duration: 30s;
    }
}

/* Modern Form Input Styling with Neutral Background */
input, textarea, select {
    background: var(--surface-card) !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    padding: 9px 16px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-out !important;
}

input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: var(--dark-pink) !important;
    box-shadow: 
        0 0 0 3px rgba(194, 24, 91, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

input::placeholder, textarea::placeholder {
    color: #A0AEC0 !important;
}

/* Modern File Input Styling */
input[type="file"] {
    cursor: pointer !important;
    padding: 20px !important;
    text-align: center !important;
    border-style: dashed !important;
    border-color: var(--dark-pink) !important;
    background: rgba(194, 24, 91, 0.05) !important;
    color: var(--text-primary) !important;
}

input[type="file"]:hover {
    background: rgba(194, 24, 91, 0.1) !important;
    border-color: var(--dark-pink) !important;
}

/* Professional Tab Styling */
.tab-btn, [role="tab"] {
    background: var(--surface-glass) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    color: var(--text-secondary) !important;
    border-radius: 6px 6px 0 0 !important;
    position: relative !important;
}

.tab-btn.active, .tab-btn.bg-blue-50 {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: var(--electric-blue) !important;
    color: var(--text-accent) !important;
    box-shadow: 
        0 -2px 8px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Card and Section Styling with Neutral Tones */
.bg-white, .bg-gray-50, .bg-gray-100 {
    background: var(--surface-card) !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    color: var(--text-primary) !important;
}

/* Modern Progress Bar Styling */
.bg-blue-500, .bg-blue-600, #progressBar {
    background: linear-gradient(90deg, var(--dark-pink), var(--neon-blue)) !important;
    box-shadow: 0 2px 8px rgba(194, 24, 91, 0.3) !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

.bg-blue-500::after, .bg-blue-600::after, #progressBar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s linear infinite;
}

@keyframes progress-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Professional Image Styling */
img {
    border-radius: 8px !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    transition: all 0.2s ease-out !important;
}

img:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Harmonious Success Download Button */
#downloadBtn {
    background: linear-gradient(135deg, var(--mint-green), var(--pastel-peach)) !important;
    color: var(--cool-black) !important;
    animation: subtle-pulse 3s ease-in-out infinite alternate !important;
}

@keyframes subtle-pulse {
    from {
        box-shadow: 
            0 4px 14px rgba(16, 185, 129, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    to {
        box-shadow: 
            0 6px 20px rgba(16, 185, 129, 0.6),
            0 2px 8px rgba(245, 158, 11, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* Professional Alert and Status Styling */
.bg-red-50, .text-red-600, .border-red-300 {
    background: rgba(220, 38, 38, 0.1) !important;
    color: var(--error-red) !important;
    border-color: rgba(220, 38, 38, 0.3) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1) !important;
}

.bg-green-50, .text-green-600, .border-green-300 {
    background: rgba(5, 150, 105, 0.1) !important;
    color: var(--success-green) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1) !important;
}

/* Text Color Overrides for Better Contrast */
.text-gray-600, .text-gray-700, .text-gray-800, .text-gray-900 {
    color: var(--text-secondary) !important;
}

.text-blue-600, .text-blue-700 {
    color: var(--dark-pink) !important;
}

/* Border Color Overrides */
.border-gray-300, .border-gray-200 {
    border-color: #E2E8F0 !important;
}

/* Additional contrast fixes */
.text-white {
    color: var(--text-on-dark) !important;
}

/* Ensure proper text color in cards */
.bg-white .text-gray-600,
.bg-white .text-gray-700,
.bg-white .text-gray-800,
.bg-white .text-gray-900,
.bg-gray-50 .text-gray-600,
.bg-gray-50 .text-gray-700,
.bg-gray-100 .text-gray-600 {
    color: var(--text-primary) !important;
}

/* Special Effects */
.animate-spin {
    animation: neon-spin 1s linear infinite !important;
}

@keyframes neon-spin {
    from {
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    to {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

/* Hover Effects for Interactive Elements */
.hover\:bg-gray-50:hover, .hover\:bg-blue-50:hover {
    background: rgba(0, 212, 255, 0.1) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body::before {
        background-size: 30px 30px;
    }

    button, .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    h1, h2, h3 {
        letter-spacing: 1px !important;
    }
}

/* Enhanced Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--neon-cyan) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5) !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body::before {
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --neon-blue: #00ffff;
        --neon-purple: #ff00ff;
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
    }
}

/* Loading Animation */
.animate-pulse {
    animation: neon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) !important;
}

@keyframes neon-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 40px rgba(157, 78, 221, 0.8);
    }
}

/* Final Enhancement: Glow on all interactive elements */
button:not(:disabled):hover,
input:focus,
.preset-btn:hover,
img:hover {
    position: relative;
    z-index: 1;
}

/* Cyberpunk corner decorations for main container */
.container::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-top: 3px solid var(--neon-cyan);
    border-right: 3px solid var(--neon-cyan);
    opacity: 0.6;
}

.container::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid var(--neon-purple);
    border-left: 3px solid var(--neon-purple);
    opacity: 0.6;
    z-index: 1;
}