/* הגדרות בסיס */
:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --card-bg: #ffffff;
    --hover-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Heebo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* כותרת ראשית */
.main-header {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.main-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.main-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* כותרות אזורים */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

section {
    padding: 60px 0;
}

/* עיצוב ה-iframe של האפליקציה החיה */
.iframe-container {
    position: relative;
    width: 100%;
    height: 80vh; /* גובה מסך כמעט מלא */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    background: white;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* גריד הכרטיסיות */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* עיצוב הכרטיס */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* עיצוב אזור התמונה הסטטית */
.static-analysis-section {
    background-color: white;
}

.image-wrapper {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* פוטר */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}