:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #E0E7FF;
    --accent: #10B981;
    --accent-dark: #059669;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --danger: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Ad Banner */
.ad-banner { background: #FEF3C7; color: #92400E; text-align: center; padding: 0.5rem; font-size: 0.85rem; font-weight: 500; }

/* Navbar */
.navbar { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; padding: 1rem 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.nav-left-group { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; }
.logo svg { width: 28px; height: 28px; color: var(--primary); }
.logo span { color: var(--primary); }
.nav-links { 
    display: flex; 
    gap: 2rem; 
    list-style: none; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} 
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: white; padding: 0.5rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hero */
.hero { text-align: center; padding: 5rem 1.5rem 3rem; position: relative; }
.hero::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(255,255,255,0) 70%); z-index: -1; pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary-light); color: var(--primary-dark); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; }

/* Tool Wrapper */
.tool-wrapper { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; max-width: 900px; margin: 0 auto; }
.settings-panel { padding: 1.5rem 2rem; background: #FAFAFA; border-bottom: 1px solid var(--border-color); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; align-items: center; }
.setting-group { display: flex; flex-direction: column; gap: 0.5rem; }
.setting-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.custom-select, .custom-input { background: white; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 0.6rem 1rem; font-family: inherit; font-size: 0.95rem; color: var(--text-main); transition: var(--transition); width: 100%; }
.custom-select:focus, .custom-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.quality-slider-container { display: flex; align-items: center; gap: 1rem; }
.quality-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; background: var(--border-color); border-radius: 999px; outline: none; }
.quality-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: var(--primary); border-radius: 50%; cursor: pointer; border: 2px solid white; box-shadow: var(--shadow-md); transition: transform 0.2s; }
.quality-slider::-moz-range-thumb { width: 18px; height: 18px; background: var(--primary); border-radius: 50%; cursor: pointer; border: 2px solid white; box-shadow: var(--shadow-md); transition: transform 0.2s; }
.quality-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.quality-value { font-weight: 700; color: var(--primary); min-width: 35px; text-align: center; }

/* Dropzone */
.drop-zone { padding: 4rem 2rem; text-align: center; cursor: pointer; transition: var(--transition); position: relative; }
.drop-zone.dragover { background: var(--primary-light); }
.drop-zone-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: float 3s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.drop-zone h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.drop-zone p { color: var(--text-muted); font-size: 0.95rem; }
.drop-zone-btn { margin-top: 1.5rem; display: inline-block; background: var(--primary); color: white; padding: 0.8rem 2rem; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }
.drop-zone:hover .drop-zone-btn { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Results */
.results-area { padding: 2rem; display: none; }
.results-area.active { display: block; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.results-title { font-size: 1.2rem; font-weight: 700; }
.results-summary { font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.result-item { background: #FAFAFA; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 1.5rem; transition: var(--transition); }
.result-item:hover { box-shadow: var(--shadow-md); }
.result-thumbnail { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: #e2e8f0; }
.result-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.result-info { flex: 1; min-width: 0; }
.result-name { font-weight: 600; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-stats { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.stat-original { text-decoration: line-through; opacity: 0.7; }
.stat-new { color: var(--accent); font-weight: 700; }
.download-btn { background: var(--accent); color: white; padding: 0.6rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.download-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Features */
.features { padding: 6rem 0; }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.1rem; margin-bottom: 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: white; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); }

/* FAQ */
.faq-section { padding: 4rem 0 6rem; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; font-family: inherit; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--text-main); text-align: left; }
.faq-question:hover { color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease-out; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 200px; padding-top: 1rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

/* Footer */
.footer { background: #1E293B; color: #94A3B8; padding: 3rem 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-logo { color: white; font-size: 1.2rem; font-weight: 800; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: #94A3B8; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: white; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .nav-links { display: none; }
    .settings-panel { grid-template-columns: 1fr; }
    .result-item { flex-direction: column; align-items: flex-start; }
    .result-actions { width: 100%; justify-content: flex-end; }
}


/* Live Visitors Badge */
.live-visitors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ECFDF5;
    color: #047857;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 1rem;
    border: 1px solid #A7F3D0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* התאמה למובייל - מחביא את המונה במסך קטן כדי שלא יהיה צפוף */
@media (max-width: 768px) {
    .live-visitors { display: none; }
}


/* Feedback Section */
.feedback-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}
.feedback-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.feedback-input {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    margin-bottom: 1rem;
    box-sizing: border-box;
}
.feedback-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
textarea.feedback-input {
    min-height: 120px;
    resize: vertical;
}




/* PSYCHO SECURITY FIX 2: Hide honeypot completely from users */
.hidden-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Premium Feedback Button */
.feedback-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
    margin-top: 1rem;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(99, 102, 241, 0.6);
}

.feedback-btn:active {
    transform: translateY(0);
}

.feedback-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}