/* --- 1. משתנים וצבעים --- */
:root {
    --primary: #ef5e72;      /* Salmon Red */
    --primary-light: #ff8a9b;
    --secondary: #b6e2d3;    /* Mint */
    --secondary-light: #e0f2ec;
    --accent: #e6c2bf;       /* Pale Pink */
    --dark: #2d3436;
    --gray: #636e72;
    --white: #ffffff;
    --bg-page: #fffdfc;

    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-nav: 0 5px 20px rgba(0,0,0,0.05);
    
    --f-head: 'Fredoka', sans-serif;
    --f-body: 'Heebo', sans-serif;
}

/* --- 2. איפוס בסיסי --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--f-body);
    color: var(--dark);
    background-color: var(--bg-page);
    direction: rtl;
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.7;
}

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 3. אנימציות רקע --- */
.animated-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden;
}
.shape { position: absolute; opacity: 0.15; animation: floatShape 15s infinite linear; }

.shape-triangle {
    width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent;
    border-bottom: 100px solid var(--primary); top: 10%; left: 10%; animation-duration: 25s;
}
.shape-circle {
    width: 150px; height: 150px; background: var(--secondary); border-radius: 50%;
    top: 60%; right: 15%; animation-duration: 20s; animation-direction: reverse;
}
.shape-square {
    width: 80px; height: 80px; background: var(--accent); transform: rotate(45deg);
    top: 30%; right: 40%; animation-duration: 18s; border-radius: 10px;
}
.shape-tri-small {
    width: 0; height: 0; border-left: 30px solid transparent; border-right: 30px solid transparent;
    border-bottom: 60px solid var(--primary); bottom: 10%; left: 20%; animation-duration: 22s; opacity: 0.1;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -50px) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* --- 4. תפריט ניווט --- */
.navbar-wrapper {
    position: fixed; top: 20px; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: center; padding: 0 20px;
}
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 30px; border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1100px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; font-family: var(--f-head); }
.logo img { height: 40px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--dark); color: white !important; padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- 5. HERO --- */
.hero { padding-top: 180px; padding-bottom: 80px; min-height: 90vh; display: flex; align-items: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

.hero-badge {
    background: white; color: var(--primary); padding: 8px 20px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: inline-block; margin-bottom: 20px; border: 1px solid var(--accent);
}
.hero h1 { font-size: 4rem; margin-bottom: 20px; }
.hero-highlight { color: var(--primary); position: relative; display: inline-block; }
.hero-highlight::after {
    content: ''; position: absolute; width: 100%; height: 15px; bottom: 5px; right: 0;
    background: var(--secondary); z-index: -1; opacity: 0.5; border-radius: 10px;
}

.btn { padding: 15px 40px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; font-size: 1.1rem; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px rgba(239, 94, 114, 0.3); transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); background: #d6455b; }
.btn-secondary { background: white; border: 2px solid var(--dark); color: var(--dark); }

/* --- 6. ABOUT --- */
#about { padding: 100px 0; }
.about-header { text-align: center; margin-bottom: 60px; }
.about-header h2 { font-size: 3rem; margin-bottom: 15px; }

.about-cards-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.about-card {
    background: white; padding: 40px; border-radius: 30px;
    box-shadow: var(--shadow-card); border: 1px solid #fff;
    transition: 0.3s; text-align: center; position: relative; overflow: hidden;
}
.about-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--secondary); }

.card-icon-large {
    width: 80px; height: 80px; margin: 0 auto 20px; background: var(--secondary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; color: white;
}
.ac-1 .card-icon-large { background: #b6e2d3; }
.ac-2 .card-icon-large { background: #e6c2bf; }
.ac-3 .card-icon-large { background: #ef5e72; }

.about-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.about-card p { font-size: 1.05rem; color: var(--gray); }

/* --- 7. TRACKS --- */
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 50px; }
.track-card {
    background: white; padding: 30px; border-radius: 25px;
    box-shadow: var(--shadow-card); transition: 0.3s; border: 1px solid transparent;
}
.track-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.track-icon { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.track-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.track-btn { margin-top: 20px; display: block; text-align: center; border: 2px solid #eee; padding: 10px; border-radius: 10px; font-weight: 700; }
.track-btn:hover { background: var(--dark); color: white; border-color: var(--dark); }

/* --- 8. REVIEWS --- */
.marquee-wrapper {
    background: var(--secondary); padding: 80px 0; margin: 80px 0;
    transform: skewY(-3deg); overflow: hidden;
}
.marquee-content { transform: skewY(3deg); }
.marquee-track {
    display: flex; gap: 40px; width: max-content;
    animation: scroll 60s linear infinite;
}
.review-card {
    background: white; width: 400px; padding: 30px; border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); flex-shrink: 0;
}
.stars { color: #f1c40f; margin-bottom: 15px; }
.review-text { font-size: 1.1rem; margin-bottom: 15px; font-style: italic; }
.reviewer { font-weight: 700; color: var(--primary); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 9. FAQ --- */
.faq-section { max-width: 900px; margin: 0 auto; padding: 50px 20px; }
.faq-item {
    background: white; border-radius: 20px; margin-bottom: 20px;
    box-shadow: var(--shadow-card); overflow: hidden; transition: 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow-hover); }
.faq-item summary {
    padding: 30px; font-weight: 700; font-size: 1.3rem; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 2rem; font-weight: 300; }
.faq-item[open] summary::after { content: '-'; }
.faq-content { padding: 0 30px 30px 30px; font-size: 1.15rem; color: var(--gray); line-height: 1.8; }

/* --- 10. CONTACT --- */
.contact-box {
    background: white; max-width: 800px; margin: 0 auto; padding: 50px;
    border-radius: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); text-align: center;
    border-top: 10px solid var(--primary);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, select, textarea {
    width: 100%; padding: 18px; border-radius: 15px; border: 2px solid #eee;
    font-family: inherit; font-size: 1rem; transition: 0.3s;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; }
.submit-btn { width: 100%; padding: 18px; background: var(--dark); color: white; border: none; border-radius: 50px; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.submit-btn:hover { background: black; }

/* --- FOOTER & WHATSAPP --- */
footer { text-align: center; padding: 50px 0; color: #888; font-size: 0.9rem; }
.wa-float {
    position: fixed; bottom: 30px; left: 30px; width: 70px; height: 70px;
    background: #25D366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 35px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 5000;
    transition: 0.3s; animation: pulseWA 3s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulseWA { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* --- כפתור צף לשיטה (התיקון החדש) --- */
.floating-method-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: white;
    padding: 12px 15px 12px 25px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4000;
    border: 2px solid var(--primary);
    border-right: none;
    text-decoration: none;
    transition: 0.3s;
}
.floating-method-btn .f-icon {
    font-size: 20px; color: var(--primary); background: #fff0f3;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.floating-method-btn .f-text { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.floating-method-btn .title { font-weight: 800; color: var(--dark); font-size: 0.9rem; font-family: var(--f-head); }
.floating-method-btn .subtitle { font-size: 0.75rem; color: var(--gray); font-family: var(--f-body); }
.floating-method-btn:hover { padding-right: 35px; background: #fff0f3; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; padding: 20px; text-align: center; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .about-cards-container { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    
    .floating-method-btn { padding: 10px; top: 80%; }
    .floating-method-btn .f-text { display: none; }
}