/* Base Styles - Cyberpunk Neon Theme */
:root {
    /* Dark Theme Colors */
    --bg-color: #0f0f1a;
    --darker: #0a0a12;
    --card-bg: rgba(15, 15, 26, 0.7);
    --primary: #05d9e8; /* תכלת זוהר */
    --secondary: #00f2ff; /* תכלת בהיר */
    --tertiary: #ff2a6d; /* ורוד זוהר */
    --highlight: #7b00ff; /* סגול זוהר */
    --success: #00ff88; /* ירוק זוהר */
    --danger: #ff4757; /* אדום זוהר */
    --yellow-glow: #ffc800; /* צהוב זוהר */
    --orange-glow: #ff6b35; /* כתום זוהר */
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-light: rgba(255, 255, 255, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* App Card Background Colors - כל אפליקציה עם רקע שונה */
    --app-bg-1: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(64, 64, 64, 0.2)); /* אפור */
    --app-bg-2: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(192, 50, 65, 0.2)); /* אדום */
    --app-bg-3: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.2)); /* ירוק */
    --app-bg-4: linear-gradient(135deg, rgba(123, 0, 255, 0.2), rgba(100, 0, 200, 0.2)); /* סגול */
    --app-bg-5: linear-gradient(135deg, rgba(255, 200, 0, 0.2), rgba(255, 150, 0, 0.2)); /* צהוב */
    --app-bg-6: linear-gradient(135deg, rgba(123, 0, 255, 0.2), rgba(100, 0, 200, 0.2)); /* סגול */
    --app-bg-7: linear-gradient(135deg, rgba(255, 42, 109, 0.2), rgba(200, 30, 80, 0.2)); /* ורוד */
    --app-bg-8: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(200, 80, 40, 0.2)); /* כתום */
    
    /* Neutrals */
    --white: #ffffff;
    --light-gray: rgba(255, 255, 255, 0.1);
    --medium-gray: rgba(255, 255, 255, 0.2);
    --dark-gray: rgba(255, 255, 255, 0.3);
    --black: #000000;
    
    /* Text */
    --text-primary: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-secondary: linear-gradient(135deg, var(--tertiary), var(--highlight));
    
    /* Shadows with Neon Glow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 12px 24px rgba(123, 0, 255, 0.3);
    --neon-glow-primary: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
    --neon-glow-secondary: 0 0 10px var(--secondary), 0 0 20px var(--secondary), 0 0 30px var(--secondary);
    --neon-glow-success: 0 0 10px var(--success), 0 0 20px var(--success), 0 0 30px var(--success);
    --neon-glow-danger: 0 0 10px var(--danger), 0 0 20px var(--danger), 0 0 30px var(--danger);
    --neon-glow-tertiary: 0 0 10px var(--tertiary), 0 0 20px var(--tertiary), 0 0 30px var(--tertiary);
    --neon-glow-highlight: 0 0 10px var(--highlight), 0 0 20px var(--highlight), 0 0 30px var(--highlight);
    --neon-glow-yellow: 0 0 10px var(--yellow-glow), 0 0 20px var(--yellow-glow), 0 0 30px var(--yellow-glow);
    --neon-glow-orange: 0 0 10px var(--orange-glow), 0 0 20px var(--orange-glow), 0 0 30px var(--orange-glow);
    --cyan: #00d4ff;
    --neon-glow-cyan: 0 0 10px var(--cyan), 0 0 20px var(--cyan), 0 0 30px var(--cyan);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Backward compatibility aliases */
    --pastel-blue: var(--primary);
    --pastel-green: var(--success);
    --pastel-pink: var(--tertiary);
    --pastel-lavender: var(--highlight);
    --pastel-yellow: var(--yellow-glow);
    --pastel-peach: var(--orange-glow);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 13.6px; /* 16px * 0.85 = 13.6px (15% קטן יותר) */
    scroll-behavior: smooth;
}

/* Mobile base font size */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(123, 0, 255, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 75% 65%, rgba(255, 42, 109, 0.15) 0%, transparent 45%);
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

h1 {
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 200, 0, 0.3);
}

h1 { font-size: 2.125rem; } /* 2.5rem * 0.85 = 2.125rem */
h2 { font-size: 1.7rem; } /* 2rem * 0.85 = 1.7rem */
h3 { font-size: 1.4875rem; } /* 1.75rem * 0.85 = 1.4875rem */
h4 { font-size: 1.275rem; } /* 1.5rem * 0.85 = 1.275rem */
h5 { font-size: 1.0625rem; } /* 1.25rem * 0.85 = 1.0625rem */
h6 { font-size: 0.85rem; } /* 1rem * 0.85 = 0.85rem */

p {
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.425rem; /* 0.5rem * 0.85 = 0.425rem */
    padding: 0.6375rem 1.275rem; /* 0.75rem 1.5rem * 0.85 */
    min-height: 37.4px; /* 44px * 0.85 = 37.4px */
    border-radius: var(--radius-full);
    border: none;
    font-family: inherit;
    font-size: 0.85rem; /* 1rem * 0.85 = 0.85rem */
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(90deg, var(--highlight), var(--tertiary));
    color: var(--white);
    box-shadow: 
        0 0 10px var(--highlight),
        0 0 20px rgba(123, 0, 255, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 15px var(--highlight),
        0 0 30px rgba(123, 0, 255, 0.7);
}

.btn-secondary {
    background: var(--pastel-peach);
    color: var(--black);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #ffccaa;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.85rem 1.7rem; /* 1rem 2rem * 0.85 */
    font-size: 0.935rem; /* 1.1rem * 0.85 = 0.935rem */
    min-height: 37.4px; /* 44px * 0.85 = 37.4px */
}

.btn-sm {
    padding: 0.425rem 0.85rem; /* 0.5rem 1rem * 0.85 */
    font-size: 0.765rem; /* 0.9rem * 0.85 = 0.765rem */
    min-height: 37.4px; /* 44px * 0.85 = 37.4px */
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--highlight), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid transparent;
    background: rgba(15, 15, 26, 0.7);
    overflow: hidden;
}

.nav-link::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: all 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* כל nav-link ישיר (לא בתוך dropdown) עם hover בצבע אחר */
.nav-menu > .nav-link:nth-of-type(1):hover,
.nav-menu > .nav-link:nth-of-type(1).active {
    border-color: var(--tertiary);
    color: var(--tertiary);
    box-shadow: var(--neon-glow-tertiary);
    background: rgba(255, 42, 109, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(2):hover,
.nav-menu > .nav-link:nth-of-type(2).active {
    border-color: var(--success);
    color: var(--success);
    box-shadow: var(--neon-glow-success);
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(3):hover,
.nav-menu > .nav-link:nth-of-type(3).active {
    border-color: var(--yellow-glow);
    color: var(--yellow-glow);
    box-shadow: var(--neon-glow-yellow);
    background: rgba(255, 200, 0, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(4):hover,
.nav-menu > .nav-link:nth-of-type(4).active {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--neon-glow-cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(5):hover,
.nav-menu > .nav-link:nth-of-type(5).active {
    border-color: var(--yellow-glow);
    color: var(--yellow-glow);
    box-shadow: var(--neon-glow-yellow);
    background: rgba(255, 200, 0, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(6):hover,
.nav-menu > .nav-link:nth-of-type(6).active {
    border-color: var(--yellow-glow);
    color: var(--yellow-glow);
    box-shadow: var(--neon-glow-yellow);
    background: rgba(255, 200, 0, 0.1);
    transform: translateY(-2px);
}

.nav-menu > .nav-link:nth-of-type(7):hover,
.nav-menu > .nav-link:nth-of-type(7).active {
    border-color: var(--orange-glow);
    color: var(--orange-glow);
    box-shadow: var(--neon-glow-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* לכל nav-link נוסף - חוזר על הצבעים */
.nav-menu > .nav-link:nth-of-type(8):hover,
.nav-menu > .nav-link:nth-of-type(8).active {
    border-color: var(--orange-glow);
    color: var(--orange-glow);
    box-shadow: var(--neon-glow-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.nav-dropdown {
    position: relative;
}

/* קטגוריות - לבן */
.nav-dropdown:first-of-type > .nav-link:hover,
.nav-dropdown:first-of-type > .nav-link.active {
    border-color: var(--white);
    color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* חשבון - סגול בהיר */
.nav-dropdown:last-of-type > .nav-link:hover,
.nav-dropdown:last-of-type > .nav-link.active {
    border-color: var(--highlight);
    color: var(--highlight);
    box-shadow: var(--neon-glow-highlight);
    background: rgba(123, 0, 255, 0.1);
    transform: translateY(-2px);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 200, 0, 0.1);
    color: var(--yellow-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 4.25rem 0; /* 5rem * 0.85 = 4.25rem */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero-content {
    text-align: center;
    max-width: 42.5rem; /* 50rem * 0.85 = 42.5rem */
    margin: 0 auto 2rem; /* קטן יותר */
}

.hero-steps {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: var(--glass-border);
}

.section-subtitle {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 2.125rem; /* 2.5rem * 0.85 = 2.125rem */
    margin-bottom: 1.0625rem; /* 1.25rem * 0.85 = 1.0625rem */
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 200, 0, 0.3),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.highlight {
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 200, 0, 0.3);
}

/* אנימציה שמשנה צבע כל פעם - לבן/ירוק/צהוב זוהר */
.rotating-color {
    animation: colorRotate 4s infinite;
}

@keyframes colorRotate {
    0% {
        color: var(--white);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 200, 0, 0.3),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    33% {
        color: var(--yellow-glow);
        text-shadow: 
            0 0 10px rgba(255, 200, 0, 0.5),
            0 0 20px rgba(255, 200, 0, 0.3),
            0 0 30px rgba(255, 200, 0, 0.2);
    }
    66% {
        color: var(--success);
        text-shadow: 
            0 0 10px rgba(0, 255, 136, 0.5),
            0 0 20px rgba(0, 255, 136, 0.3),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    100% {
        color: var(--white);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 200, 0, 0.3),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats as Steps - using same style as steps */
.stat-step {
    text-align: center;
    padding: 1.875rem;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-step:hover {
    transform: translateY(-10px);
}

/* Hover effects with same colors as numbers */
.stat-step:nth-child(1):hover {
    border-color: var(--orange-glow);
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3);
}

.stat-step:nth-child(2):hover {
    border-color: var(--tertiary);
    box-shadow: 
        0 0 20px rgba(255, 42, 109, 0.5),
        0 0 40px rgba(255, 42, 109, 0.3);
}

.stat-step:nth-child(3):hover {
    border-color: var(--success);
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.5),
        0 0 40px rgba(0, 255, 136, 0.3);
}

.stat-step:nth-child(4):hover {
    border-color: var(--yellow-glow);
    box-shadow: 
        0 0 20px rgba(255, 200, 0, 0.5),
        0 0 40px rgba(255, 200, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

/* כל stat-number עם צבע אחר */
.stat-step:nth-child(1) .stat-number {
    color: var(--orange-glow);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.stat-step:nth-child(2) .stat-number {
    color: var(--tertiary);
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.stat-step:nth-child(3) .stat-number {
    color: var(--success);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.stat-step:nth-child(4) .stat-number {
    color: var(--yellow-glow);
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

/* Sections */
.section {
    padding: 4.25rem 0; /* 5rem * 0.85 = 4.25rem */
}

.section-alt {
    background: transparent;
    border-radius: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    margin-bottom: 0;
    color: var(--white);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--highlight);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.btn-link:hover {
    color: var(--tertiary);
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr)); /* 18.75rem * 0.6 = 11.25rem (40% קטן יותר) */
    gap: 1.125rem; /* 1.875rem * 0.6 = 1.125rem */
    margin-bottom: 1.5rem; /* 2.5rem * 0.6 = 1.5rem */
}

.app-card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    border-radius: var(--radius-lg); /* קטן יותר */
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 0 15px rgba(123, 0, 255, 0.5),
        0 0 30px rgba(123, 0, 255, 0.2);
    background: rgba(15, 15, 26, 0.9);
    border-color: var(--highlight);
}

.app-card:hover::before {
    opacity: 1;
}

.app-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem; /* 4rem * 0.6 = 2.4rem */
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding: 0.75rem; /* 20px * 0.6 / 13.6 = 0.75rem */
    box-sizing: border-box;
    /* רקע שונה לכל אפליקציה - יוגדר ב-JS */
}

.app-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Global image rules */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.app-content {
    padding: 0.9375rem; /* 1.5625rem * 0.6 = 0.9375rem */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-title {
    font-size: 0.84rem; /* 1.4rem * 0.6 = 0.84rem */
    margin-bottom: 0.375rem; /* 10px * 0.6 / 13.6 = 0.375rem */
    color: var(--text);
}

.app-developer {
    display: flex;
    align-items: center;
    gap: 0.375rem; /* 10px * 0.6 / 13.6 = 0.375rem */
    color: var(--text-secondary);
    margin-bottom: 0.5625rem; /* 15px * 0.6 / 13.6 = 0.5625rem */
    font-size: 0.54rem; /* 0.9rem * 0.6 = 0.54rem */
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 0.75rem; /* 20px * 0.6 / 13.6 = 0.75rem */
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* קטן מ-3 ל-2 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.51rem; /* 0.85rem * 0.6 = 0.51rem */
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem; /* 8px * 0.6 / 13.6 = 0.3rem */
    margin-bottom: 0.75rem; /* 20px * 0.6 / 13.6 = 0.75rem */
}

.tag {
    background: rgba(123, 0, 255, 0.2);
    color: var(--white) !important;
    padding: 0.225rem 0.45rem; /* 6px 12px * 0.6 / 13.6 */
    border-radius: var(--radius-full);
    font-size: 12px !important;
    font-weight: 500;
    border: 1px solid rgba(123, 0, 255, 0.3);
}

.app-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem; /* 20px * 0.6 / 13.6 = 0.75rem */
    border-top: var(--glass-border);
    margin-top: auto;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.1875rem; /* 5px * 0.6 / 13.6 = 0.1875rem */
    color: #ffc107;
    font-size: 0.51rem; /* 0.85rem * 0.6 = 0.51rem */
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 2.5rem;
    margin-top: 3.75rem;
}

.step {
    text-align: center;
    padding: 1.875rem;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.step:hover {
    transform: translateY(-10px);
}

/* אפקט מסגרת זוהר לכל שלב בצבע שלו */
.step:nth-child(1):hover {
    border-color: var(--orange-glow);
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3);
}

.step:nth-child(2):hover {
    border-color: var(--tertiary);
    box-shadow: 
        0 0 20px rgba(255, 42, 109, 0.5),
        0 0 40px rgba(255, 42, 109, 0.3);
}

.step:nth-child(3):hover {
    border-color: var(--success);
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.5),
        0 0 40px rgba(0, 255, 136, 0.3);
}

.step:nth-child(4):hover {
    border-color: var(--yellow-glow);
    box-shadow: 
        0 0 20px rgba(255, 200, 0, 0.5),
        0 0 40px rgba(255, 200, 0, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
}

/* כל שלב עם צבע אחר */
.step:nth-child(1) .step-icon {
    background: linear-gradient(90deg, var(--orange-glow), #ff8c42);
    box-shadow: 0 0 10px var(--orange-glow);
}

.step:nth-child(2) .step-icon {
    background: linear-gradient(90deg, var(--tertiary), #ff4d7a);
    box-shadow: 0 0 10px var(--tertiary);
}

.step:nth-child(3) .step-icon {
    background: linear-gradient(90deg, var(--success), #00cc66);
    box-shadow: 0 0 10px var(--success);
}

.step:nth-child(4) .step-icon {
    background: linear-gradient(90deg, var(--yellow-glow), #ffd700);
    box-shadow: 0 0 10px var(--yellow-glow);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sort Options */
.sort-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 8px 16px;
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(5px);
}

.sort-btn.active,
.sort-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Footer */
.footer {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-top: var(--glass-border);
    color: var(--white);
    padding: 60px 0 30px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--black);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.app-btn:hover {
    transform: translateY(-3px);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn div {
    display: flex;
    flex-direction: column;
}

.app-btn span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.app-btn strong {
    font-size: 1rem;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Styles */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    padding: 20px 30px;
    background: linear-gradient(45deg, var(--tertiary), var(--highlight));
    color: var(--white);
    border-bottom: none;
}

.card-header h3 {
    margin: 0;
    color: var(--white);
}

.card-body {
    padding: 30px;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.made-with {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        width: 100%;
        max-width: 300px;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        border-left: var(--glass-border);
        border-bottom: var(--glass-border);
        border-bottom-left-radius: var(--radius-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-step .stat-number {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    
    .hero-actions {
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 18.75rem;
        min-height: 44px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

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

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Forms (for login/register/publish pages) */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--transition-fast);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(123, 0, 255, 0.2);
}

.form-text {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--highlight);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: var(--card-bg);
    backdrop-filter: blur(5px);
}

.upload-area:hover {
    border-color: var(--tertiary);
    background: rgba(255, 42, 109, 0.1);
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.2);
}

.upload-area.dragover {
    border-color: var(--tertiary);
    background: rgba(255, 42, 109, 0.1);
    box-shadow: 
        0 0 20px var(--tertiary),
        0 0 40px rgba(255, 42, 109, 0.3);
}

.upload-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(123, 0, 255, 0.5);
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
    backdrop-filter: blur(5px);
}

.alert-error {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
    backdrop-filter: blur(5px);
}

.alert-info {
    background: rgba(0, 242, 255, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(5px);
}

.alert-warning {
    background: rgba(255, 200, 0, 0.2);
    border: 1px solid #ffc800;
    color: #ffc800;
    backdrop-filter: blur(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: var(--glass-border);
}

.page-link:hover,
.page-link.active {
    background: rgba(123, 0, 255, 0.2);
    color: var(--highlight);
    border-color: rgba(123, 0, 255, 0.3);
    box-shadow: 0 0 10px rgba(123, 0, 255, 0.3);
}