/**
 * CreateYou Designer - Modern Premium Design
 * Glassomorphism, Gradients, Premium Feel
 */

/* ===== BRAND COLORS (CreateYou) ===== */
:root {
    /* Primary Brand */
    --cy-primary: #00AEEF;
    --cy-primary-light: #33C4F5;
    --cy-primary-dark: #0089BE;
    --cy-primary-gradient: linear-gradient(135deg, #00AEEF 0%, #0089BE 100%);
    
    /* Accent Colors */
    --cy-accent-purple: #667eea;
    --cy-accent-pink: #f093fb;
    --cy-accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Neutrals */
    --cy-dark: #0B151A;
    --cy-gray-900: #1a1a1a;
    --cy-gray-800: #2d3748;
    --cy-gray-700: #4a5568;
    --cy-gray-600: #718096;
    --cy-gray-500: #a0aec0;
    --cy-gray-400: #cbd5e0;
    --cy-gray-300: #e2e8f0;
    --cy-gray-200: #edf2f7;
    --cy-gray-100: #f7fafc;
    --cy-white: #ffffff;
    
    /* Semantic */
    --cy-success: #10b981;
    --cy-error: #ef4444;
    --cy-warning: #f59e0b;
    --cy-info: #3b82f6;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL BACKGROUND ===== */
body.cy-designer-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #00AEEF 75%, #0089BE 100%);
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

body.cy-designer-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 174, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== DESIGNER CONTAINER ===== */
#cy-designer {
    position: relative;
    z-index: 1;
}

/* ===== GLASSMORPHISM PANELS ===== */
.cy-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all var(--transition-base);
}

.cy-panel:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    transform: none;
}

/* ===== TOP BAR (HEADER) ===== */
.cy-top-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
}

.cy-top-bar h3 {
    background: var(--cy-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* ===== BUTTONS - MODERN STYLE ===== */
.cf-btn {
    background: var(--cy-primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.cf-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cf-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.6);
}

.cf-btn:active::before {
    width: 300px;
    height: 300px;
}

.cy-info-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--cy-primary);
    transition: all var(--transition-base);
}

.cy-info-btn:hover {
    background: var(--cy-primary);
    color: var(--cy-white);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
}

/* ===== PILLS (Fazon, Méret) ===== */
.cy-pill {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    transition: all var(--transition-base);
    font-weight: 600;
}

.cy-pill:hover {
    transform: none;
    border-color: var(--cy-primary);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2);
}

.cy-pill.active {
    background: var(--cy-primary-gradient);
    border-color: var(--cy-primary);
    color: var(--cy-white);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
    transform: translateY(-2px) scale(1.05);
}

/* ===== COLOR ITEMS ===== */
.cy-color-item {
    transition: all var(--transition-base);
    border: 3px solid var(--cy-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cy-color-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cy-color-item.active {
    border-color: var(--cy-primary);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.3), 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.2);
}

/* ===== MOCKUP WRAPPER - PREMIUM ===== */
.cy-mockup-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--glass-border);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cy-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* ===== CONTROLS BAR - FLOATING ===== */
.cy-controls-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
}

.cy-controls-bar button {
    transition: all var(--transition-fast);
}

.cy-controls-bar button:hover {
    background: var(--cy-primary);
    color: var(--cy-white);
    transform: scale(1.1);
}

/* ===== LABELS - MODERN ===== */
.cy-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cy-gray-700);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cy-label::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--cy-primary-gradient);
    border-radius: 2px;
}

/* ===== SECTIONS - ENHANCED ===== */
.cy-section {
    padding: var(--space-lg);
}

/* ===== LANDING CARDS - PREMIUM ===== */
.cy-landing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.cy-landing-card * {
    pointer-events: none;
}

.cy-landing-card a {
    pointer-events: auto;
}

.cy-landing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cy-primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    pointer-events: none;
}

.cy-landing-card:hover::before {
    transform: scaleX(1);
}

.cy-landing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--cy-primary);
}

/* ===== PROPERTIES PANEL - GLASS ===== */
.cy-properties-compact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

.cy-prop-group {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.cy-prop-group:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--cy-primary);
}

/* ===== LAYERS PANEL - PREMIUM ===== */
.cy-layers-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.cy-layer-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.cy-layer-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--cy-primary);
    transform: none;
}

.cy-layer-item.active {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.2), rgba(102, 126, 234, 0.2));
    border-color: var(--cy-primary);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

/* ===== TEXT EFFECTS PANEL - GRADIENT ===== */
.cy-effects-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.cy-effect-btn {
    background: var(--cy-primary-gradient);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cy-effect-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cy-effect-btn:active::after {
    width: 200px;
    height: 200px;
}

.cy-effect-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.5);
}

.cy-effect-btn.shadow {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.cy-effect-btn.shadow:hover {
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.5);
}

.cy-effect-btn.remove {
    background: rgba(239, 68, 68, 0.1);
    color: var(--cy-error);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.cy-effect-btn.remove:hover {
    background: var(--cy-error);
    color: var(--cy-white);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* ===== EXTRAS BOX - PREMIUM ===== */
.cy-extras-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.cy-checkbox-row {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.cy-checkbox-row:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--cy-primary);
    transform: none;
}

.cy-checkbox-row input[type="checkbox"]:checked + span {
    color: var(--cy-primary);
    font-weight: 600;
}

/* ===== MODALS - MODERN ===== */
.cy-modal {
    background-color: rgba(11, 21, 26, 0.6);
    backdrop-filter: blur(10px);
}

.cy-modal-content {
    background: var(--cy-white);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== TEMPLATES GRID - MODERN ===== */
.cy-tpl-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cy-tpl-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cy-primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cy-tpl-item:hover::before {
    opacity: 0.1;
}

.cy-tpl-item:hover {
    border-color: var(--cy-primary);
    transform: none;
    box-shadow: 0 12px 30px rgba(0, 174, 239, 0.3);
}

/* ===== CATEGORY BUTTONS - ENHANCED ===== */
.cy-cat-btn {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.cy-cat-btn:hover {
    background: rgba(0, 174, 239, 0.1);
    color: var(--cy-primary);
    transform: none;
}

.cy-cat-btn.active {
    background: var(--cy-primary-gradient);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    transform: none;
}

/* ===== TOOL BUTTONS - ENHANCED ===== */
.cy-btn-block {
    transition: all var(--transition-base);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.cy-btn-block:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#cy-upload-btn {
    border: 2px dashed var(--cy-primary);
    color: var(--cy-primary);
    background: rgba(0, 174, 239, 0.05);
}

#cy-upload-btn:hover {
    background: rgba(0, 174, 239, 0.1);
    border-style: solid;
}

#cy-templates-btn {
    background: var(--cy-gray-800);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#cy-templates-btn:hover {
    background: var(--cy-gray-900);
    transform: none;
}

/* ===== INPUT FIELDS - MODERN ===== */
input[type="text"],
input[type="number"],
textarea,
select {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    background: var(--cy-white);
    border-color: var(--cy-primary);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
    outline: none;
}

/* ===== RANGE SLIDERS - MODERN ===== */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--cy-gray-300), var(--cy-primary));
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cy-primary-gradient);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
    transition: all var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.6);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cy-primary-gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
    transition: all var(--transition-fast);
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.6);
}

/* ===== COLOR PICKER - MODERN ===== */
input[type="color"] {
    border: 3px solid var(--cy-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    cursor: pointer;
}

input[type="color"]:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== HISTORY BUTTONS - ENHANCED ===== */
.cy-history-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    transition: all var(--transition-base);
}

.cy-history-btn:hover:not(:disabled) {
    background: var(--cy-primary);
    color: var(--cy-white);
    border-color: var(--cy-primary);
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

/* ===== FONT ITEMS - PREMIUM ===== */
.cy-font-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    transition: all var(--transition-base);
}

.cy-font-item:hover {
    background: rgba(0, 174, 239, 0.1);
    border-color: var(--cy-primary);
    color: var(--cy-primary);
    transform: scale(1.03);
}

/* ===== ICON BUTTONS - ENHANCED ===== */
.cy-icon-btn {
    transition: all var(--transition-base);
    border-radius: var(--radius-sm);
}

.cy-icon-btn:hover {
    background: rgba(0, 174, 239, 0.1);
    color: var(--cy-primary);
    border-color: var(--cy-primary);
    transform: scale(1.1);
}

.cy-icon-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--cy-error);
    border-color: var(--cy-error);
}

/* ===== NUDGE CONTROLS - MODERN ===== */
.cy-nudge-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.cy-nudge-btn {
    background: var(--cy-white);
    border: 2px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.cy-nudge-btn:hover {
    background: var(--cy-primary);
    color: var(--cy-white);
    border-color: var(--cy-primary);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.3);
}

/* ===== CLOSE BUTTONS - PREMIUM ===== */
.cy-close {
    background: rgba(239, 68, 68, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.cy-close:hover {
    background: var(--cy-error);
    color: var(--cy-white);
    transform: rotate(90deg) scale(1.1);
}

/* ===== STROKE SETTINGS - MODERN ===== */
#cy-effects-panel .cy-control-group {
    background: rgba(0, 174, 239, 0.05);
    border: 2px solid rgba(0, 174, 239, 0.2);
}

/* ===== LOADING OVERLAY - PREMIUM ===== */
.cy-loading-overlay {
    background: #ffffff !important;
    backdrop-filter: none !important;
}

.cy-loading-spinner {
    border: 4px solid #f0f0f0;
    border-top-color: #00AEEF;
    width: 60px;
    height: 60px;
}

.cy-loading-text {
    color: #0B151A !important;
    font-size: 18px;
    font-weight: 600;
    text-shadow: none;
}

/* ===== SCROLLBARS - MODERN ===== */
.cy-layers-list::-webkit-scrollbar,
.cy-fonts-list::-webkit-scrollbar,
#cy-tpl-grid-container::-webkit-scrollbar {
    width: 8px;
}

.cy-layers-list::-webkit-scrollbar-track,
.cy-fonts-list::-webkit-scrollbar-track,
#cy-tpl-grid-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.cy-layers-list::-webkit-scrollbar-thumb,
.cy-fonts-list::-webkit-scrollbar-thumb,
#cy-tpl-grid-container::-webkit-scrollbar-thumb {
    background: var(--cy-primary-gradient);
    border-radius: 10px;
}

.cy-layers-list::-webkit-scrollbar-thumb:hover,
.cy-fonts-list::-webkit-scrollbar-thumb:hover,
#cy-tpl-grid-container::-webkit-scrollbar-thumb:hover {
    background: var(--cy-primary);
}

/* ===== HELP ICON - ANIMATED ===== */
.cy-help-icon {
    transition: all var(--transition-base);
    cursor: pointer;
}

.cy-help-icon:hover {
    color: var(--cy-primary);
    transform: scale(1.2) rotate(15deg);
}

/* ===== CHECKBOX - MODERN ===== */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cy-gray-400);
    border-radius: 5px;
    background: var(--cy-white);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

input[type="checkbox"]:hover {
    border-color: var(--cy-primary);
}

input[type="checkbox"]:checked {
    background: var(--cy-primary-gradient);
    border-color: var(--cy-primary);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cy-white);
    font-size: 14px;
    font-weight: bold;
}

/* ===== SECTION TITLES - GRADIENT ===== */
.cy-landing-title {
    background: var(--cy-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TOOL BUTTONS - GRADIENT ===== */
#cy-add-text-btn {
    background: var(--cy-gray-800);
    transition: all var(--transition-base);
}

#cy-add-text-btn:hover {
    background: var(--cy-gray-900);
    transform: scale(1.1);
}

/* ===== SHORTCUTS PANEL - MODERN ===== */
.cy-shortcuts-panel {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(0, 174, 239, 0.05));
}

.cy-shortcut-key {
    background: var(--cy-primary-gradient);
    color: var(--cy-white);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.3);
    font-weight: 700;
}

/* ===== MICRO INTERACTIONS ===== */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.cy-panel:active {
    animation: none;
}

/* ===== PREMIUM SHINE EFFECT ===== */
.cf-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    animation: sheen 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sheen {
    0% {
        transform: rotateZ(60deg) translate(-5em, 7.5em);
    }
    50% {
        transform: rotateZ(60deg) translate(12em, -10em);
    }
    100% {
        transform: rotateZ(60deg) translate(-5em, 7.5em);
    }
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 1099px) {
    .cy-panel {
        backdrop-filter: blur(15px) saturate(180%);
    }
    
    .cy-top-bar h3 {
        font-size: 24px;
    }
}

/* ===== DESIGN AREA - GLOW EFFECT ===== */
.cy-design-area {
    border: 2px dashed rgba(0, 174, 239, 0.3);
    transition: all var(--transition-base);
}

.cy-design-area:hover {
    border-color: var(--cy-primary);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.3) inset;
}

/* ===== PREMIUM BADGE ===== */
.cy-premium-badge {
    background: var(--cy-primary-gradient);
    color: var(--cy-white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 174, 239, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(0, 174, 239, 0.6);
    }
}

/* ===== FLOATING ELEMENTS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* DISABLED: Float animáció - conflict with hover
.cy-landing-card {
    animation: float 6s ease-in-out infinite;
}
*/

/* ===== SUCCESS INDICATOR ===== */
.cy-success-indicator {
    color: var(--cy-success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.5s ease-out;
}

.cy-success-indicator i {
    font-size: 16px;
}

/* ===== PREMIUM QUALITY BADGE ===== */
.cy-quality-badge {
    background: linear-gradient(135deg, var(--cy-success), #059669);
    color: var(--cy-white);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* ===== HIDE PROPERTIES PANEL ON MOBILE ===== */
@media (max-width: 768px) {
    /* Hide properties panel completely on mobile */
    .cy-properties-section,
    #cy-properties-panel,
    .cy-bottom-section.cy-properties-section,
    div[id="cy-properties-panel"],
    .cy-properties-compact,
    .cy-prop-header-compact,
    .cy-prop-row-compact,
    .cy-prop-group-compact,
    .cy-nudge-container-compact {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    
    /* Hide properties section container */
    .cy-bottom-panel-content .cy-properties-section,
    .cy-bottom-panel-content #cy-properties-panel {
        display: none !important;
        visibility: hidden !important;
    }
}

/* ===== TUTORIAL/ONBOARDING STYLES ===== */
.cy-tutorial-container {
    padding: 30px 20px;
    text-align: center;
}

.cy-tutorial-slide {
    animation: tutorialFadeIn 0.3s ease-in;
}

@keyframes tutorialFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cy-tutorial-icon {
    font-size: 64px;
    color: var(--cy-primary);
    margin-bottom: 20px;
    animation: tutorialBounce 1s ease-in-out infinite;
}

@keyframes tutorialBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cy-tutorial-slide h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--cy-gray-900);
    margin-bottom: 16px;
    background: var(--cy-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cy-tutorial-slide p {
    font-size: 16px;
    color: var(--cy-gray-700);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cy-tutorial-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--cy-gray-300);
}

.cy-tutorial-dots {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.cy-tutorial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cy-gray-300);
    cursor: pointer;
    transition: all 0.3s;
}

.cy-tutorial-dot.active {
    background: var(--cy-primary);
    width: 24px;
    border-radius: 4px;
}

.cy-tutorial-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    touch-action: manipulation !important;
    pointer-events: auto !important;
}

.cy-tutorial-btn.cy-tutorial-next,
.cy-tutorial-btn.cy-tutorial-prev {
    background: var(--cy-primary-gradient);
    color: #fff;
}

.cy-tutorial-btn.cy-tutorial-next:hover,
.cy-tutorial-btn.cy-tutorial-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.4);
}

.cy-tutorial-btn.cy-tutorial-skip {
    background: transparent;
    color: var(--cy-gray-600);
    border: 1px solid var(--cy-gray-300);
}

.cy-tutorial-btn.cy-tutorial-skip:hover {
    background: var(--cy-gray-100);
    color: var(--cy-gray-900);
}

@media (max-width: 768px) {
    .cy-tutorial-container {
        padding: 20px 16px;
    }
    
    .cy-tutorial-icon {
        font-size: 48px;
    }
    
    .cy-tutorial-slide h3 {
        font-size: 20px;
    }
    
    .cy-tutorial-slide p {
        font-size: 14px;
    }
    
    .cy-tutorial-navigation {
        flex-wrap: wrap;
    }
    
    .cy-tutorial-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

