/* ═══════════════════════════════════
   BROUJECT HY300 Pro Landing Page CSS
   Dark Cinematic Theme
═══════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --dark: #0a0a0f;
  --dark-2: #111118;
  --dark-3: #1a1a2e;
  --dark-card: #13131e;
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.3);
  --purple: #8b5cf6;
  --purple-glow: rgba(139,92,246,0.3);
  --cyan: #06b6d4;
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.08);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'DM Sans', sans-serif;
  --transition: all 0.3s ease;
  --radius: 16px;
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  background: var(--dark);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── LANGUAGE ─── */
.hidden { display: none !important; }
.ar-text { font-family: var(--font-ar); }
.en-text-static { font-family: var(--font-en); }

/* English mode */
body.en-mode { direction: ltr; font-family: var(--font-en); }
body.en-mode .ar-text { display: none !important; }

/* Show English spans inline */
body.en-mode span.en-text { display: inline !important; }
/* Show English block elements properly */
body.en-mode p.en-text,
body.en-mode h1.en-text,
body.en-mode h2.en-text,
body.en-mode h3.en-text,
body.en-mode h4.en-text,
body.en-mode div.en-text,
body.en-mode ul.en-text,
body.en-mode li.en-text,
body.en-mode a.en-text { display: block !important; }

/* Fonts in English mode */
body.en-mode p,
body.en-mode h1,
body.en-mode h2,
body.en-mode h3,
body.en-mode label,
body.en-mode input,
body.en-mode select,
body.en-mode button,
body.en-mode .btn-cta,
body.en-mode .faq-question { font-family: var(--font-en); }


/* ─── CTA BUTTON ─── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px var(--blue-glow);
  font-family: var(--font-ar);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--blue-glow);
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Always LTR so toggle never jumps sides */
  direction: ltr;
  flex-direction: row;
  padding: 14px 20px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LANG TOGGLE ─── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.lang-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-en);
}
.toggle-track {
  width: 44px;
  height: 24px;
  background: var(--dark-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.toggle-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  position: absolute;
  top: 2px;
  right: 2px;
  transition: var(--transition);
  box-shadow: 0 2px 8px var(--blue-glow);
}
body.en-mode .toggle-thumb {
  right: auto;
  left: 2px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.3) 0%,
    rgba(10,10,15,0.1) 40%,
    rgba(10,10,15,0.8) 80%,
    rgba(10,10,15,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(42px, 12vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-cta { font-size: 18px; padding: 18px 40px; }
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease infinite;
  margin: 0 auto;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}
.trust-bar::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.trust-item:last-child { border-right: 1px solid var(--border); }
.trust-icon { font-size: 20px; }

/* ─── SECTION COMMON ─── */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  margin-top: 8px;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
}

/* ─── GIF SECTIONS ─── */
.gif-section {
  padding: 80px 24px;
  background: var(--dark);
}
.gif-section-dark {
  background: var(--dark-2);
}
.gif-section-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.gif-reverse {
  direction: ltr;
}
body[dir="rtl"] .gif-reverse {
  direction: rtl;
}
.gif-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.gif-img,
.gif-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gif-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(10,10,15,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.gif-content h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 16px;
}
.gif-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.gif-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gif-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.perk-check {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.spec-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.spec-pill {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
}
.spec-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
}
.spec-pill span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── SHOWCASE (Slider + Form) ─── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  align-items: stretch;
  background: var(--dark-2);
}

/* ─── SLIDER ─── */
.showcase-media {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
}
.slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img, .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); }
.slider-prev { right: 12px; }
.slider-next { left: 12px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 3px;
}

/* ─── SHOWCASE CONTENT ─── */
.showcase-content {
  padding: 50px 40px;
  overflow-y: auto;
  background: var(--dark-2);
}
.showcase-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 8px 0 16px;
  line-height: 1.3;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.stars { color: #f59e0b; font-size: 16px; }
.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.price-main {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-badge {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}
.product-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.perk-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  color: white;
}

/* ─── INLINE ORDER FORM ─── */
.inline-order-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.inline-form-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.inline-trust-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.trust-pill {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-ar);
  transition: var(--transition);
  outline: none;
  direction: rtl;
}
body.en-mode .form-group input,
body.en-mode .form-group select { direction: ltr; font-family: var(--font-en); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group select option { background: var(--dark-card); color: var(--white); }
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.qty-group { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--blue); }
#qtyDisplay {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px 0;
}
.qty-total { font-size: 15px; color: var(--text-muted); }
.qty-total strong { color: var(--blue); }
.form-submit-btn {
  width: 100%;
  font-size: 16px;
  padding: 16px;
  margin-top: 4px;
}
.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ─── FEATURES GRID ─── */
.features-section {
  padding: 100px 24px;
  background: var(--dark);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 8px 30px var(--blue-glow);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  padding: 100px 24px;
  background: var(--dark-2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
}
.t-stars { color: #f59e0b; font-size: 15px; margin-bottom: 14px; }
.testimonial-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.t-name { display: block; font-size: 14px; font-weight: 700; }
.t-city { display: block; font-size: 12px; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq-section {
  padding: 100px 24px;
  background: var(--dark);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  background: var(--dark-card);
  border: none;
  color: var(--white);
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ar);
  text-align: right;
  transition: var(--transition);
}
body.en-mode .faq-question { text-align: left; font-family: var(--font-en); }
.faq-question:hover { background: rgba(59,130,246,0.08); }
.faq-icon { font-size: 22px; color: var(--blue); flex-shrink: 0; transition: var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(255,255,255,0.02);
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; padding-top: 14px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding-bottom: 100px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── STICKY CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-info { display: flex; flex-direction: column; gap: 2px; }
.sticky-info span { font-size: 13px; color: var(--text-muted); }
.sticky-price {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sticky-btn { padding: 12px 24px; font-size: 14px; white-space: nowrap; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-media {
    aspect-ratio: 4/3;
    min-height: auto;
  }
  .showcase-content {
    padding: 32px 20px;
  }
  .gif-section-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gif-reverse {
    direction: rtl;
  }
  .gif-reverse .gif-media {
    order: -1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: clamp(38px, 10vw, 56px); }
  .footer-inner { flex-direction: column; }
  .trust-item { padding: 16px 18px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-cta { padding: 16px 28px; font-size: 16px; }
  .spec-pills { gap: 8px; }
}
