/* Reset & Base Variables */
:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --accent-glow: rgba(2, 132, 199, 0.4);
    --bg-dark: #090d16;
    --card-bg: rgba(15, 23, 42, 0.75);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   HERO SECTION & VIDEO BACKGROUND
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

/* Video Background styling (מובהר) */
#bgVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(1) contrast(1.05);
}

/* Light Gradient Overlay over Video (עודכן למראה בהיר) */
/* Light Gradient Overlay over Video (עודכן למעבר חלק ונעלם) */
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%; /* מתוח מעט למטה כדי לעבור את גבול המקטע */
    background: linear-gradient(
        to bottom,
        rgba(9, 13, 22, 0.4) 0%,
        rgba(9, 13, 22, 0.7) 50%,
        rgba(9, 13, 22, 0.3) 80%,
        rgba(9, 13, 22, 0) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 30px 0;
    z-index: 10;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary-color);
}

.logo-tag {
    font-size: 0.8rem;
    background: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Hero Content Box */
.hero-content {
    max-width: 850px;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 2;
    padding-top: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(2, 132, 199, 0.5);
    color: #38bdf8;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: #38bdf8;
}

/* ===================================
   FEATURES SECTION & CARDS
   =================================== */
.features {
    padding: 100px 0;
    background: transparent !important;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: var(--radius);
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.5);
}

/* Card Images */
.card-image {
    width: 100%;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Card Category */
.card-category {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Card Bullet List */
.card-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.card-list li {
    font-size: 0.9rem;
    color: #f8fafc;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-list .bullet {
    color: #38bdf8;
    font-weight: bold;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: 100px 0;
    background: transparent !important;
}

.form-card {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--card-border);
    padding: 44px;
    border-radius: 16px;
    backdrop-filter: blur(10px); !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
}

.form-card p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
    background-color: rgba(15, 23, 42, 0.4) !important;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

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

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===================================
   RESPONSIVE DESIGN (MOBILE)
   =================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-card {
        padding: 24px;
    }
}

.form-card {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(10px);
}