/* לוגואים עליונים */
.top-logos {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    transition: all 0.3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.top-logos.scrolled {
    top: 10px;
    padding: 10px;
    gap: 8px;
}

.top-logos.scrolled .logo {
    height: 40px;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 0;
    background: transparent;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: none;
    opacity: 0.8;
}

.logo-sjda {
    max-width: 120px;
}

.logo-agma {
    max-width: 100px;
}

.logo-link {
    display: block;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-link::after {
    content: attr(title);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.logo-link::before {
    content: '';
    position: absolute;
    left: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.logo-link:hover::after,
.logo-link:hover::before {
    opacity: 1;
    visibility: visible;
}

/* עיצוב מעודכן - כחול כהה + לבן + פונט Heebo/Assistant */
:root {
    /* משתני צבע מקוריים */
    --primary-color: #1e3a8a; /* כחול כהה לכותרות וכפתורים */
    --secondary-color: #3b82f6; /* כחול בינוני לכפתורים ואלמנטים אקטיביים */
    --accent-color: #60a5fa; /* כחול בהיר להדגשות */
    --text-color: #1f2937; /* שחור/אפור כהה לטקסט גוף */
    --text-light: #6b7280; /* אפור בינוני לטקסט משני */
    --bg-light: #f5f5f5; /* אפור בהיר מאוד לחלוקות רקע */
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #60a5fa;
    --warning-color: #f59e0b;
    --danger-color: #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);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* חסימת הודעות פופ-אפ מיותרות */
[style*="position: fixed"][style*="top: 0"][style*="left: 0"],
[style*="position: absolute"][style*="top: 0"][style*="width: 100%"],
.genpark-notification,
.hosting-notification,
iframe[src*="gensparkspace"],
div[class*="notification"]:not(.notification) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -9999 !important;
}

/* הנפשות עדינות */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.slide-in {
    animation: slideIn 0.5s ease-out;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-weight: 400; /* משקל רגיל לטקסט גוף */
}

/* Container */
main.container {
    margin-top: 0;
    padding-top: 0;
}

/* אייקונים עדינים - סכמטיים בקווים דקים */
.icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 12px;
    position: relative;
    vertical-align: middle;
}

/* אייקון גדול יותר בכותרת הראשית */
.hero-title .icon {
    width: 48px;
    height: 48px;
    margin-left: 16px;
}

.icon-water::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 6px;
    left: 6px;
}

.hero-title .icon-water::before {
    width: 30px;
    height: 30px;
    border-width: 3px;
    top: 9px;
    left: 9px;
}

.icon-nature::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50% 50% 0 0;
    top: 6px;
    left: 8px;
}

.icon-nature::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 10px;
    background: var(--primary-color);
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.icon-community::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 1px;
    left: 3px;
}

.icon-community::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 8px;
    border: 2px solid var(--primary-color);
    border-radius: 0 0 50px 50px;
    border-top: none;
    bottom: 0;
    left: 1px;
}

.icon-tool::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    top: 8px;
    left: 2px;
    border-radius: 1px;
}

.icon-tool::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--primary-color);
    border-radius: 2px;
    top: 6px;
    left: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Page Management */
.page {
    display: none;
    min-height: 100vh;
    padding: 2.5rem 0;
    scroll-behavior: smooth;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    top: 0;
    scroll-margin-top: 0;
    scroll-padding-top: 0;
}

/* Hero Section */
.hero-section {
    background: var(--white);
    color: var(--text-color);
    padding: 4rem 0 0 0;
    text-align: center;
    margin-bottom: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Image Section */
.hero-image-section {
    margin: 0 0 0.75rem 0;
    padding: 0;
}

.hero-image-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse 120% 100% at center, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.6) 20%, 
        rgba(255, 255, 255, 0.3) 40%, 
        rgba(255, 255, 255, 0.1) 60%, 
        rgba(248, 250, 252, 0.05) 80%,
        transparent 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.7;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    filter: contrast(1.05) saturate(0.95);
    opacity: 0.92;
    mask: radial-gradient(ellipse 80% 70% at center, black 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.3) 90%, transparent 100%);
    -webkit-mask: radial-gradient(ellipse 80% 70% at center, black 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.3) 90%, transparent 100%);
}

.hero-image:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    opacity: 0.98;
    mask: radial-gradient(ellipse 85% 75% at center, black 60%, rgba(0,0,0,0.9) 75%, rgba(0,0,0,0.4) 92%, transparent 100%);
    -webkit-mask: radial-gradient(ellipse 85% 75% at center, black 60%, rgba(0,0,0,0.9) 75%, rgba(0,0,0,0.4) 92%, transparent 100%);
}

/* Intro Section */
.intro-section {
    margin-bottom: 2rem;
    padding: 0.25rem 0 1rem 0;
    background: transparent;
}

.intro-content {
    background: transparent;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-purpose-highlight {
    margin: 1.5rem 0 0.5rem 0;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border-right: 4px solid var(--accent-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tool-purpose-highlight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
}

.tool-purpose-highlight strong {
    font-size: 1.2rem;
    color: var(--primary-color);
    display: inline;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--secondary-color); /* כחול בינוני */
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color); /* מעבר לכחול כהה */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0e7490;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-back {
    background-color: var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-back:hover {
    background-color: #d1d5db;
}

/* Action Buttons Section */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.75rem 0 1.5rem 0;
}

.action-section {
    text-align: center;
    margin: 2rem 0;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tool-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tool-instructions {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: right;
}

.tool-instructions p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.progress-indicator {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: inline-block;
    font-weight: 500;
    color: var(--text-color);
}

/* About Page Styles */
.about-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.about-section {
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
}

.when-to-use {
    margin-bottom: 2rem;
}

.when-to-use h2 {
    margin-top: 0;
}

.stakeholders {
    margin-bottom: 2rem;
}

.meeting-format {
    margin-bottom: 2rem;
}

.work-stages {
    margin-bottom: 2rem;
}

.expected-outputs {
    margin-bottom: 2rem;
}

.when-to-use ul, .stakeholders ul, .expected-outputs ul {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.when-to-use li, .stakeholders li, .expected-outputs li {
    margin-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.highlight-box {
    background: #eff6ff; /* הדגשה בכחול בהיר */
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.format-details {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.format-item {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    border-right: 3px solid var(--accent-color);
}

.work-stages ol {
    margin-right: 1.5rem;
}

.work-stages li {
    margin-bottom: 0.75rem;
    padding-right: 0.5rem;
}

/* Tool Page Styles */
.tool-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tension-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tension-card.expanded {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.tension-card.completed {
    border-color: var(--success-color);
    background: linear-gradient(135deg, var(--white), #f0fdf4);
}

.tension-card.completed .tension-header {
    background: linear-gradient(135deg, var(--success-color), #3b82f6);
    color: var(--white);
}

.tension-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light), #f8fafc);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tension-header:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
}

.tension-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.tension-number {
    background: var(--primary-color);
    color: var(--white);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.tension-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.tension-header:hover .tension-title {
    color: var(--white);
}

.tension-status-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tension-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.tension-toggle:hover {
    background: var(--primary-color);
    transform: rotate(180deg);
}

.tension-details {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.tension-details .tension-summary {
    display: block;
    visibility: visible;
}

.tension-details.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

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

.tension-description {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: none;
}

.tension-description p {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    text-align: right;
}

.discussion-questions {
    margin-bottom: 2rem;
}

.discussion-questions h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.discussion-questions ul {
    margin-right: 1.5rem;
}

.discussion-questions li {
    margin-bottom: 0.75rem;
    padding-right: 0.5rem;
}

/* Slider Styles - משופר */
.tension-slider {
    margin: 2rem 0;
}

.slider-container {
    position: relative;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.slider-track-container {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 0;
    /* הגנת גלישה */
    overflow: visible;
    min-width: 200px;
}

.slider-track {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
}

.slider-input {
    width: 100%;
    height: 12px;
    background: transparent;
    outline: none;
    border: none;
    position: absolute;
    top: 0;
    cursor: pointer;
    -webkit-appearance: none;
    z-index: 2;
    /* שיפור נגישות במובייל */
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: grab;
    border: 4px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    z-index: 3;
}

.slider-input:hover::-webkit-slider-thumb {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(30, 58, 138, 0.1);
}

.slider-input:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-input:focus::-webkit-slider-thumb {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.slider-input::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: grab;
    border: 4px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider-input:active::-moz-range-thumb {
    cursor: grabbing;
    transform: scale(1.1);
}

/* נקודות סימון על הסרגל */
.slider-marks {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none; /* כברירת מחדל */
}

.slider-mark {
    position: absolute;
    width: 4px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 3;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.slider-mark:hover {
    background: var(--white);
    width: 6px;
    height: 22px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* מיקום נכון של הנקודות - מתואם עם הסרגל */
.slider-mark:nth-child(1) { left: 0%; }
.slider-mark:nth-child(2) { left: 25%; }
.slider-mark:nth-child(3) { left: 50%; }
.slider-mark:nth-child(4) { left: 75%; }
.slider-mark:nth-child(5) { left: 100%; }

/* כרטיסי אופציות מעוצבים */
.options-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.option-card {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.option-card::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 ease;
}

.option-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option-card:hover::before {
    left: 100%;
}

.option-card.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    animation: pulseActive 0.6s ease;
}

@keyframes pulseActive {
    0% {
        transform: translateY(-3px) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        transform: translateY(-3px) scale(1);
    }
}

.option-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.option-card.active .option-number {
    background: var(--white);
    color: var(--primary-color);
}

.option-text {
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

.option-card.active .option-text {
    font-weight: 500;
}

/* תצוגה קומפקטית למובייל */
.slider-values {
    display: none; /* נסתיר את התצוגה הישנה */
}

.current-selection {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.current-selection .selection-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.current-selection .selection-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* סימני מספרים מתחת לסרגל */
.slider-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.slider-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.slider-numbers span:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-numbers span.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.current-selection {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}

/* Tool Navigation */
.tool-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 280px;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

.moderator-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.completion-status {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    text-align: center;
}

.completion-status span {
    color: var(--primary-color);
}

/* סרגל סיכום בתוך החלון הפנימי */
.tension-details .tension-summary {
    padding: 1.5rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--bg-light), #f1f5f9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.summary-slider {
    margin-bottom: 1rem;
}

.summary-labels {
    /* Fallback for older browsers */
    display: flex;
    justify-content: space-between;
    
    /* Grid for modern browsers */
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    direction: ltr;
}

.summary-labels .label-left {
    justify-self: start;
}

.summary-labels .label-right {
    justify-self: end;
}

.summary-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin: 1rem 0;
    cursor: pointer;
    transition: height 0.2s ease;
    direction: ltr !important; /* מבטל את ה-RTL לפוזיציה נכונה */
}

.summary-track:hover {
    height: 10px;
}

.summary-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
}

.summary-marks {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none;
}

.summary-mark {
    position: absolute;
    width: 2px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
    pointer-events: auto;
}

.summary-mark:hover {
    width: 4px;
    height: 16px;
    background: var(--white);
}

.summary-mark:nth-child(1) { left: 0%; }
.summary-mark:nth-child(2) { left: 25%; }
.summary-mark:nth-child(3) { left: 50%; }
.summary-mark:nth-child(4) { left: 75%; }
.summary-mark:nth-child(5) { left: 100%; }

.summary-indicator {
    width: 24px;
    height: 24px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 50%;
    transform: translate(50%, -50%);
    transition: right 0.3s ease;
    z-index: 2;
}

.summary-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    gap: 0;
}

.summary-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: all 0.2s ease;
    cursor: pointer;
}



.summary-numbers span:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.summary-numbers span.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.summary-numbers span.active:hover {
    background: var(--primary-color);
    transform: scale(1.15);
}

.summary-selection {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.summary-selection strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* Summary Page Styles */
.summary-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.results-table-section {
    margin-bottom: 3rem;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    /* הגנה מפני גלישה אופקית */
    table-layout: fixed;
    overflow-wrap: break-word;
}

.results-table th,
.results-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
    /* מניעת שבירת עיצוב */
    word-wrap: break-word;
    vertical-align: top;
    min-width: 0;
}

.results-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.results-table tr:nth-child(even) {
    background: var(--bg-light);
}

.results-table tr:hover {
    background: #e0f2fe;
}

.reflection-questions {
    margin-bottom: 2rem;
}

.reflection-questions ul {
    margin-right: 1.5rem;
}

.reflection-questions li {
    margin-bottom: 0.75rem;
    padding-right: 0.5rem;
}

.additional-notes {
    margin-bottom: 2rem;
}

.additional-notes textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    direction: rtl;
    text-align: right;
}

.additional-notes textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.export-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design */
/* מסכי מחשב גדולים */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .intro-content {
        padding: 3rem;
        max-width: 1200px;
    }
    
    .tool-purpose-highlight {
        padding: 2.5rem;
        max-width: 1000px;
    }
    
    .action-buttons {
        gap: 2rem;
        margin: 1rem 0 2rem 0;
    }
    
    .hero-image-section {
        margin: 0 0 1rem 0;
    }
    
    .hero-image-container {
        max-width: 700px;
    }
    
    .hero-image {
        max-width: 600px;
        border-radius: 16px;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .options-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
    }
    
    .option-card {
        padding: 0.8rem;
        min-height: 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
        /* מניעת גלישה אופקית */
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .top-logos {
        top: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .intro-content {
        padding: 0.5rem;
    }
    
    .tool-purpose-highlight {
        margin: 1rem 0 0.25rem 0;
        padding: 1rem;
    }
    
    .hero-image-section {
        margin: 0 0 0.5rem 0;
    }
    
    .hero-image-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-image {
        max-width: 400px;
        border-radius: 8px;
        mask: radial-gradient(ellipse 85% 75% at center, black 55%, rgba(0,0,0,0.7) 75%, rgba(0,0,0,0.2) 95%, transparent 100%);
        -webkit-mask: radial-gradient(ellipse 85% 75% at center, black 55%, rgba(0,0,0,0.7) 75%, rgba(0,0,0,0.2) 95%, transparent 100%);
    }
    
    .hero-image-container::before {
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
        border-radius: 18px;
        background: radial-gradient(ellipse 110% 95% at center, 
            rgba(255, 255, 255, 0.8) 0%, 
            rgba(255, 255, 255, 0.5) 25%, 
            rgba(255, 255, 255, 0.2) 50%, 
            rgba(248, 250, 252, 0.05) 75%,
            transparent 100%);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .intro-content,
    .about-content,
    .tool-content,
    .summary-content {
        padding: 1.5rem;
    }
    
    .action-buttons,
    .tool-navigation,
    .export-section {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        /* מניעת קריסת הכפתורים */
        min-height: 50px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-image-section {
        margin: 0 0 0.5rem 0;
    }
    
    .hero-image {
        max-width: 300px;
        border-radius: 6px;
        mask: radial-gradient(ellipse 90% 80% at center, black 60%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0.1) 97%, transparent 100%);
        -webkit-mask: radial-gradient(ellipse 90% 80% at center, black 60%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0.1) 97%, transparent 100%);
    }
    
    .hero-image-container::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 14px;
        opacity: 0.5;
        background: radial-gradient(ellipse 105% 90% at center, 
            rgba(255, 255, 255, 0.7) 0%, 
            rgba(255, 255, 255, 0.4) 30%, 
            rgba(255, 255, 255, 0.1) 60%, 
            transparent 100%);
    }
    
    .format-details {
        grid-template-columns: 1fr;
    }
    
    .results-table {
        font-size: 0.9rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0 0 0;
    }
    
    .top-logos {
        top: 20px;
        gap: 10px;
    }
    
    .logo {
        height: 45px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-content,
    .about-content,
    .tool-content,
    .summary-content {
        padding: 1rem;
    }
    
    .slider-labels {
        font-size: 0.9rem;
        /* שמירה על סידור אופקי גם במובייל */
        flex-direction: row;
        justify-content: space-between;
        gap: 0.25rem;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .options-grid {
        /* שמירה על 2 עמודות במובייל קטן במקום 1 */
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .option-card {
        min-height: 100px;
        padding: 0.75rem;
    }
    
    .slider-container {
        padding: 0.75rem;
    }
    
    .slider-track-container {
        margin: 1.5rem 0;
    }
    
    .tension-summary {
        padding: 0.75rem;
    }
    
    .summary-labels {
        font-size: 0.8rem;
    }
    
    .summary-selection {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* אופטימיזציות ביצועים */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* מניעת layout shifts */
img {
    height: auto;
    max-width: 100%;
}

/* שיפור ביצועי scroll */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* אופטימיזציה לאנימציות */
.will-change {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* מטמון לתמונות */
img[data-src] {
    background: var(--bg-light);
    min-height: 200px;
}

/* אינדיקטור טעינה */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    background-color: inherit;
    transform: none !important;
}