:root {
    --primary: #1e3a8a;
    /* כחול עמוק ויציב */
    --primary-light: #eff6ff;
    --accent-yellow: #fbbf24;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-main: #ffffff;
    --bg-light: #f3f4f6;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
p {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-en {
    display: none;
}

.lang-btn {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
}

.btn-back {
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 1rem;
}

/* Rich Hero */
.rich-hero {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
    text-align: center;
}

.hero-text-area {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.rich-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background: #152c6b;
    transform: translateY(-3px);
    box-shadow: 0 15px 20px -3px rgba(30, 58, 138, 0.4);
}

.btn-video-play {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-video-play:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 900px;
    background: black;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Quote Section */
.feature-quote {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.premium-quote p {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    font-style: italic;
}

/* Articles Grid */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.rich-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.tag {
    background: var(--accent-yellow);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Facts Grid */
.facts-section {
    background: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.fact-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.fact-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Single Article View */
.single-article-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    min-height: 60vh;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 2rem;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-header .meta {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.article-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #374151;
}

.article-body h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 3rem 0 1.5rem;
}

/* Forms */
.rich-form {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    border-radius: var(--radius);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: 0.3s;
    background: #f9fafb;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
}

.checkbox-group {
    text-align: right;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.25rem;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-mission {
    max-width: 600px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-credit {
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* LTR Support */
[dir="ltr"] .brand-en {
    display: block;
}

[dir="ltr"] .brand-he {
    display: none;
}

[dir="ltr"] .form-row,
[dir="ltr"] .checkbox-group {
    text-align: left;
}

[dir="ltr"] .btn-back {
    margin-left: 0;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .rich-form {
        padding: 2rem;
    }

    .btn {
        width: 100%;
    }
}