:root {
  --blue: #1a5fff;
  --blue-dark: #0d47d9;
  --black: #0a0a0a;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: #e7eaf1;
  --text: #171923;
  --text-muted: #5b6270;
  --radius: 16px;
  --max-width: 1160px;
  --font-body: 'Poppins', sans-serif;
  --font-logo: 'Baloo 2', sans-serif;
}

html[lang="ar"] {
  --font-body: 'Tajawal', sans-serif;
  --font-logo: 'Tajawal', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.c-blue { color: var(--blue); }
.c-black { color: var(--black); }

.logo-word {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo .logo-word {
  font-size: 1.6rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 95, 255, 0.25);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(26, 95, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--black);
  background: #fafafa;
}

.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-large { padding: 18px 34px; font-size: 1.05rem; }

.order-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.order-price {
  display: flex;
  flex-direction: column;
}

.order-price-amount {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--blue);
}

.order-price-per {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #1fae56;
  color: #fff;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31, 174, 86, 0.3); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--black); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-toggle:hover { background: #eef1f6; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ Hero ============ */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-block;
  background: #eaf0ff;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- product visual ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  perspective: 1400px;
  transform-origin: center;
}

.stand-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,95,255,0.20) 0%, rgba(26,95,255,0.08) 45%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
}


.stand-group {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform: scale(1.2);
  cursor: pointer;
}

.stand-group:hover .stand-card {
  box-shadow:
    0 2px 4px rgba(10,10,10,0.05),
    0 50px 85px -20px rgba(10, 30, 80, 0.4);
}

.stand-group:hover .stand-foot {
  box-shadow: 0 22px 30px -14px rgba(10, 20, 50, 0.42);
}

.stand-foot {
  position: relative;
  z-index: 1;
  width: 250px;
  height: 46px;
  margin: 0 auto;
  background: linear-gradient(180deg, #e9edf5, #d7dce6);
  border: 1px solid var(--border);
  border-top: none;
  clip-path: polygon(16% 0%, 84% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 18px 24px -14px rgba(10, 20, 50, 0.35);
}

.stand-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 3px;
  background: rgba(10, 15, 30, 0.18);
  filter: blur(0.5px);
}

.stand-card {
  position: relative;
  z-index: 2;
  width: 290px;
  margin: 0 auto;
  background: linear-gradient(160deg, #ffffff 0%, #f5f7fb 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow:
    0 2px 4px rgba(10,10,10,0.04),
    0 40px 70px -20px rgba(10, 30, 80, 0.3);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.is-tilting .stand-card {
  box-shadow:
    0 2px 4px rgba(10,10,10,0.05),
    0 55px 90px -20px rgba(10, 30, 80, 0.4);
}

.stand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 180px at var(--gx, 50%) var(--gy, 20%), rgba(255,255,255,0.85), transparent 60%);
  mix-blend-mode: overlay;
  transition: opacity 0.4s ease;
}

.is-tilting .stand-card::after {
  opacity: 1;
}

.stand-review-label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.google-logo {
  width: 126px;
  margin: 0 auto 10px;
}

.stars {
  color: #FBBC05;
  letter-spacing: 4px;
  font-size: 1.35rem;
  margin-bottom: 28px;
}

.nfc-zone {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-icon {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #f2f4f9;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-icon svg {
  width: 32px;
  height: 32px;
}

.phone-tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  max-width: none;
  height: 252px;
  margin-left: -53px;
  margin-top: -103px;
  z-index: 3;
  pointer-events: none;
  will-change: transform, opacity;
  animation: phoneMove 3.4s ease-in-out infinite;
}

.phone-tap-normal {
  animation-name: phoneMove, phoneNormalFade;
  animation-duration: 3.4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.phone-tap-notify {
  animation-name: phoneMove, phoneNotifyFade;
  animation-duration: 3.4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes phoneMove {
  0%, 9%   { transform: translate(164px, -22px) scale(0.86); }
  22%      { transform: translate(0, 0) scale(1); }
  27%      { transform: translate(0, 8px) scale(0.96); }
  32%      { transform: translate(0, 0) scale(1); }
  60%      { transform: translate(0, 0) scale(1); }
  75%, 100% { transform: translate(164px, -22px) scale(0.86); }
}

/* shows the normal lock-screen phone while it slides in and taps */
@keyframes phoneNormalFade {
  0%, 9%   { opacity: 0; }
  20%      { opacity: 1; }
  26%      { opacity: 1; }
  30%      { opacity: 0; }
  75%, 100% { opacity: 0; }
}

/* swaps to the "NFC tag detected" screen right as the tap registers,
   and holds it through the wave pulse and the slide back out */
@keyframes phoneNotifyFade {
  0%, 26%  { opacity: 0; }
  30%      { opacity: 1; }
  70%      { opacity: 1; }
  75%, 100% { opacity: 0; }
}

.ripple {
  position: absolute;
  border-radius: 20px;
  border: 2px solid var(--blue);
  width: 78px;
  height: 78px;
  opacity: 0;
  animation: tapRipple 3.4s ease-out infinite;
}
.ripple.r2 { animation-delay: 0.16s; }

@keyframes tapRipple {
  0%, 24%  { transform: scale(0.55); opacity: 0; }
  30%      { transform: scale(0.7); opacity: 0.55; }
  52%      { transform: scale(1.55); opacity: 0; }
  100%     { opacity: 0; }
}

.tap-here-label {
  margin: 0 0 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.stand-logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.3rem;
}

/* ============ Sections (generic) ============ */
.section {
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-alt);
}
#why {
  padding-top: 30px;
}
.section-divider {
  border-top: 1px solid var(--border);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-title.left { text-align: start; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 50px;
}
.section-sub.left { text-align: start; margin: 0 0 28px; max-width: none; }

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(10, 20, 60, 0.25);
}

.step-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.6rem;
  color: #e7ecf7;
}
html[dir="rtl"] .step-num { right: auto; left: 26px; }

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eaf0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.how-video-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.how-video {
  display: block;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10, 30, 80, 0.35);
  background: #000;
}

.how-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(26, 95, 255, 0.9);
  box-shadow: 0 16px 34px -8px rgba(10, 30, 80, 0.55);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.25s ease;
}
.how-video-play:hover {
  background: var(--blue-dark);
  transform: translate(-50%, -50%) scale(1.06);
}

.how-video-wrap.is-playing .how-video-play {
  opacity: 0;
  pointer-events: none;
}

/* ============ Why / Benefits ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.specs-subheading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 56px 0 22px;
}

.specs-cards {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -18px rgba(10, 20, 60, 0.2);
}
.benefit-icon { font-size: 1.8rem; margin-bottom: 14px; }
.benefit-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.benefit-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 22px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}
html[dir="rtl"] .faq-item summary { padding: 16px 0 16px 28px; }
html[dir="rtl"] .faq-item summary::after { right: auto; left: 0; }

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: -4px 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.order-specs-line {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 0;
}
.order-specs-line span { color: var(--border); margin: 0 4px; font-weight: 400; }

/* ============ Order carousel ============ */
.order-carousel {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 8px 0 20px;
}

.order-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.order-carousel-track::-webkit-scrollbar { display: none; }

.order-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.order-carousel-slide img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(10, 30, 80, 0.22));
}

.order-carousel-slide img.photo-slide {
  border-radius: 14px;
  filter: none;
  box-shadow: 0 18px 30px -12px rgba(10, 30, 80, 0.3);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--black);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(10, 20, 50, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-arrow:hover { background: var(--bg-alt); transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }

.order-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.order-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.order-carousel-dots .dot.active {
  background: var(--blue);
  width: 22px;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.order-form-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.order-form-col {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 8px;
}

@media (min-width: 901px) {
  .order-form-col {
    border-top: none;
    border-left: 1px solid var(--border);
    padding-top: 0;
    padding-left: 40px;
    margin-top: 0;
  }
}

.order-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-row textarea { resize: vertical; }

.form-success {
  display: none;
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #eaf7ee;
  color: #1c7a3c;
  font-size: 0.9rem;
  text-align: center;
}
.form-success.show { display: block; }

/* ============ Footer ============ */
.site-footer {
  background: var(--black);
  color: #d7dae2;
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer .logo-word { color: #fff; }
.site-footer .c-blue { color: var(--blue); }
.site-footer .c-black { color: #fff; }

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #9aa0ac;
  max-width: 280px;
}

.footer-contact h4,
.footer-social h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
}
.footer-contact p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}
.footer-contact a:hover { color: var(--blue); }

.social-icons {
  display: flex;
  gap: 14px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-icons a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #767c88;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .header-actions .btn { display: none; }
  .lang-toggle { padding: 8px 10px; font-size: 0.72rem; }
  .header-actions { gap: 8px; }

  .header-inner.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 20px; }

  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .specs-cards { grid-template-columns: 1fr 1fr; }
  .section-title.left { text-align: center; }
  .section-sub.left { text-align: center; margin-left: auto; margin-right: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 520px) {
  .benefits { grid-template-columns: 1fr; }
  .specs-cards { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }

  .order-price-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
