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

:root {
  --navy: #0a1628;
  --navy2: #0f2044;
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --cream: #faf6ef;
  --white: #ffffff;
  --gray: #8892a4;
  --text: #1a2540;
}

html { scroll-behavior: smooth; }
body { font-family: 'Heebo', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; direction: rtl; }

/* ── Navbar ── */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 60px; display: flex; align-items: center; justify-content: space-between; transition: all 0.4s ease; }
nav.scrolled { background: rgba(10,22,40,0.97); backdrop-filter: blur(20px); padding: 14px 60px; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.logo { font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy); padding: 10px 26px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }

/* ── Hero ── */
#hero { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, #1a3a6e 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 60px 80px; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; background: white; border-radius: 50%; animation: twinkle var(--dur) ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0.2; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }
.moon { position: absolute; top: 12%; left: 8%; width: 130px; height: 130px; background: radial-gradient(circle at 35% 35%, #fffbe6, #f0d060); border-radius: 50%; box-shadow: 0 0 60px rgba(240,208,96,0.35), 0 0 120px rgba(240,208,96,0.15); animation: moonFloat 6s ease-in-out infinite; }
@keyframes moonFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.hero-badge { display: inline-block; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4); color: var(--gold-light); padding: 7px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 28px; letter-spacing: 1px; animation: fadeDown 0.8s ease both; }
.hero-title { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 24px; animation: fadeDown 0.9s ease 0.1s both; }
.hero-title .gold { color: var(--gold); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 600px; margin: 0 auto 44px; font-weight: 300; animation: fadeDown 1s ease 0.2s both; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeDown 1s ease 0.3s both; }
.hero-stats { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; margin-top: 70px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,0.1); animation: fadeUp 1s ease 0.5s both; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); display: block; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-weight: 400; }

/* ── Buttons ── */
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 8px 30px rgba(201,168,76,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,168,76,0.55); }
.btn-secondary { background: transparent; color: var(--white); padding: 16px 40px; border-radius: 50px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s; cursor: pointer; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ── Trust Bar ── */
.trust-bar { background: var(--white); padding: 28px 60px; display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--gray); font-size: 0.9rem; font-weight: 500; }
.trust-icon { font-size: 1.4rem; }

/* ── Sections ── */
section { padding: 100px 60px; }
.section-label { display: inline-block; color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.section-sub { font-size: 1.1rem; color: var(--gray); line-height: 1.8; max-width: 560px; font-weight: 400; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Products ── */
#products { background: var(--cream); }
.products-tabs { display: flex; gap: 12px; justify-content: center; margin: 50px 0 40px; flex-wrap: wrap; }
.tab-btn { padding: 10px 28px; border-radius: 50px; border: 2px solid #ddd; background: white; font-family: 'Heebo', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; color: var(--gray); transition: all 0.3s; }
.tab-btn.active, .tab-btn:hover { background: var(--navy); border-color: var(--navy); color: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1200px; margin: 0 auto; }
.product-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.4s ease; cursor: pointer; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.product-img { height: 220px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-badge-new { position: absolute; top: 16px; right: 16px; background: #e74c3c; color: white; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.product-badge-sale { position: absolute; top: 16px; right: 16px; background: var(--gold); color: var(--navy); padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.product-info { padding: 24px; }
.product-name { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.product-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.product-features { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.feat-tag { background: var(--cream); color: var(--navy); padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.6rem; font-weight: 900; color: var(--navy); }
.price span { font-size: 0.85rem; color: var(--gray); font-weight: 400; text-decoration: line-through; margin-right: 6px; }
.add-btn { background: var(--navy); color: white; padding: 10px 22px; border-radius: 50px; border: none; cursor: pointer; font-family: 'Heebo', sans-serif; font-size: 0.9rem; font-weight: 700; transition: all 0.3s; }
.add-btn:hover { background: var(--gold); color: var(--navy); }

/* ── Quiz ── */
#quiz { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: white; }
.quiz-container { max-width: 720px; margin: 60px auto 0; }
.quiz-progress { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 48px; }
.quiz-progress-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.5s ease; }
.quiz-step { display: none; animation: fadeIn 0.4s ease; }
.quiz-step.active { display: block; }
.quiz-q { font-size: 1.6rem; font-weight: 800; margin-bottom: 32px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quiz-option { background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 22px 20px; cursor: pointer; text-align: right; transition: all 0.3s; font-family: 'Heebo', sans-serif; color: white; font-size: 1rem; font-weight: 500; }
.quiz-option:hover, .quiz-option.selected { border-color: var(--gold); background: rgba(201,168,76,0.15); }
.quiz-opt-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.quiz-result { display: none; text-align: center; animation: fadeIn 0.5s ease; }
.quiz-result.show { display: block; }
.result-badge { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); padding: 10px 30px; border-radius: 50px; font-weight: 800; font-size: 1.1rem; margin-bottom: 24px; }

/* ── Why ── */
#why { background: white; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; max-width: 1200px; margin: 64px auto 0; }
.why-card { padding: 36px 28px; border-radius: 20px; border: 2px solid #f0ece4; transition: all 0.4s ease; }
.why-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(201,168,76,0.15); }
.why-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #1a3a6e); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.why-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.why-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ── Testimonials ── */
#testimonials { background: var(--cream); overflow: hidden; }
.testimonials-track-wrap { overflow: hidden; margin-top: 60px; }
.testimonials-track { display: flex; gap: 24px; animation: scroll 30s linear infinite; width: max-content; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonial-card { background: white; border-radius: 20px; padding: 28px 28px 24px; width: 320px; flex-shrink: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.stars-row { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: #444; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; }
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.author-city { font-size: 0.8rem; color: var(--gray); }

/* ── CTA ── */
#cta { background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #0a1628 100%); text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
#cta .section-title { color: white; }
#cta .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto 44px; }
.contact-form { max-width: 540px; margin: 0 auto; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input { padding: 16px 20px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.07); color: white; font-family: 'Heebo', sans-serif; font-size: 0.95rem; transition: border-color 0.3s; outline: none; }
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { border-color: var(--gold); }
.form-select { padding: 16px 20px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); font-family: 'Heebo', sans-serif; font-size: 0.95rem; outline: none; cursor: pointer; transition: border-color 0.3s; }
.form-select:focus { border-color: var(--gold); }
.form-select option { background: var(--navy); }
.submit-btn { padding: 18px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); border: none; cursor: pointer; font-family: 'Heebo', sans-serif; font-size: 1.05rem; font-weight: 800; transition: all 0.3s; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.4); }
.form-success { display: none; text-align: center; padding: 40px; color: white; animation: fadeIn 0.5s ease; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }

/* ── Footer ── */
footer { background: #060e1c; color: rgba(255,255,255,0.55); padding: 40px 60px; text-align: center; font-size: 0.9rem; }
footer strong { color: var(--gold); }

/* ── Animations ── */
@keyframes fadeDown { from { opacity:0; transform:translateY(-30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Floating CTA ── */
.floating-cta { position: fixed; bottom: 32px; left: 32px; z-index: 999; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 0.95rem; box-shadow: 0 8px 30px rgba(201,168,76,0.5); text-decoration: none; transition: all 0.3s; animation: pulse 2.5s ease-in-out infinite; border: none; cursor: pointer; font-family: 'Heebo', sans-serif; }
.floating-cta:hover { transform: translateY(-3px) scale(1.04); }
@keyframes pulse { 0%,100% { box-shadow: 0 8px 30px rgba(201,168,76,0.5); } 50% { box-shadow: 0 8px 50px rgba(201,168,76,0.8); } }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  #hero { padding: 100px 24px 60px; }
  section { padding: 70px 24px; }
  .trust-bar { padding: 20px 24px; gap: 24px; }
  footer { padding: 30px 24px; }
  .quiz-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
}

/* ── Elementor overrides ── */
.elementor-page #hero,
.elementor-page .trust-bar,
.elementor-page #products,
.elementor-page #quiz,
.elementor-page #why,
.elementor-page #testimonials,
.elementor-page #cta {
  /* Let sections breathe inside Elementor's container */
  width: 100%;
}
