/* ═══════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════ */
:root {
  --bg: #050509;
  --bg-grad-1: #1e1040;
  --bg-grad-2: #0d0820;
  --orange: #ff8a00;
  --pink: #f6416c;
  --cyan: #08f7fe;
  --yellow: #ffcd3c;
  --purple: #b366ff;
  --text: #f5f5f5;
  --text-dim: #c8c8d4;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 18px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 70px;
  --font: 'Tajawal', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--bg-grad-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, var(--bg-grad-2) 0%, transparent 50%);
  background-attachment: fixed;
}

body.menu-open { overflow: hidden; }

a { color: var(--orange); text-decoration: none; transition: color .25s; }
a:hover { color: var(--yellow); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ═══════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════ */
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { padding: 100px 0; position: relative; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 138, 0, .12);
  border-color: rgba(255, 138, 0, .18);
}

/* ═══════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════ */
#progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple));
  z-index: 10000;
  transition: width .1s linear;
}

/* ═══════════════════════════════════════
   BACKGROUND ORBS
   ═══════════════════════════════════════ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.orb-1 {
  width: 500px; height: 500px;
  background: rgba(255, 138, 0, .12);
  top: -10%; right: -8%;
}

.orb-2 {
  width: 400px; height: 400px;
  background: rgba(8, 247, 254, .08);
  bottom: 20%; left: -10%;
}

.orb-3 {
  width: 350px; height: 350px;
  background: rgba(246, 65, 108, .08);
  top: 50%; right: 60%;
}

/* ═══════════════════════════════════════
   STARFIELD
   ═══════════════════════════════════════ */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -2;
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(5, 5, 9, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: background .3s;
}

.header-inner {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo img { border-radius: 8px; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* زر الصفحات */
.pages-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 138, 0, .28);
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease, border-color .25s ease;
  will-change: transform;
}

.pages-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 138, 0, .36);
  filter: saturate(1.1);
}

.pages-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 247, 254, .35), 0 10px 28px rgba(255, 138, 0, .36);
}

.pages-btn:active {
  transform: translateY(0) scale(.985);
}

.pages-btn-icon {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.pages-btn.open .pages-btn-icon {
  transform: rotate(180deg);
}

.pages-btn.open {
  border-color: rgba(255, 205, 60, .6);
  box-shadow: 0 10px 30px rgba(255, 138, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 230px;
  width: max-content;
  max-width: calc(100vw - 24px);
  background: #111522;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
  z-index: 1002;
  overflow: hidden;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  isolation: isolate;
  pointer-events: none;
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
  z-index: 1;
}

.nav-dropdown .nav-links {
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
  position: relative;
  z-index: 2;
}

.nav-dropdown .nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateX(8px);
  transition: transform .22s ease, opacity .22s ease;
}

.nav-dropdown .nav-links li:last-child {
  border-bottom: none;
}

.nav-dropdown.open .nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown.open .nav-links li:nth-child(1) { transition-delay: .02s; }
.nav-dropdown.open .nav-links li:nth-child(2) { transition-delay: .05s; }
.nav-dropdown.open .nav-links li:nth-child(3) { transition-delay: .08s; }
.nav-dropdown.open .nav-links li:nth-child(4) { transition-delay: .11s; }
.nav-dropdown.open .nav-links li:nth-child(5) { transition-delay: .14s; }

.nav-dropdown .nav-links a {
  display: block;
  padding: 13px 18px;
  padding-right: 30px;
  font-size: .98rem;
  font-weight: 600;
  color: #f2f4ff;
  white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, padding-right .22s ease;
}

.nav-dropdown .nav-links a::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%) scale(.6);
  background: rgba(255, 205, 60, .8);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.nav-dropdown .nav-links a:hover {
  background: rgba(255, 138, 0, .16);
  color: #ffd39a;
  padding-right: 34px;
}

.nav-dropdown .nav-links a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.nav-dropdown .nav-links a.active-nav-link {
  background: rgba(255, 138, 0, .2);
  color: #ffd39a;
  padding-right: 34px;
}

.nav-dropdown .nav-links a.active-nav-link::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.nav-dropdown::-webkit-scrollbar {
  width: 8px;
}

.nav-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
}

.nav-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 0, .45);
  border-radius: 999px;
}

.nav-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 138, 0, .62);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 138, 0, .1);
  border: 1px solid rgba(255, 138, 0, .25);
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--orange);
}

.hero-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--text-dim);
  transition: border-color .25s, color .25s;
}

.pill:hover { border-color: var(--purple); color: var(--purple); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 138, 0, .3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 138, 0, .45);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-sm { padding: 10px 22px; font-size: .9rem; }

/* Hero 3D Card */
.hero-card-wrapper {
  display: flex;
  justify-content: center;
  perspective: 800px;
}

.hero-card-3d {
  will-change: transform;
  transition: transform .15s ease-out;
}

.hero-card-inner {
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card-spark {
  font-size: 3rem;
  margin-bottom: 14px;
}

.hero-card-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-card-inner p {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: 16px;
}

.hero-card-tag {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}

.hero-card-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 138, 0, .18), transparent 70%);
  top: -60px; left: -60px;
  border-radius: 50%;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card { overflow: hidden; }

.product-img-wrap {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s;
}

.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-dim);
  font-size: .93rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   CATALOG
   ═══════════════════════════════════════ */
.catalog-category { margin-bottom: 50px; }

.catalog-category-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-right: 3px solid var(--orange);
  padding-right: 14px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.catalog-item {
  padding: 28px;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.catalog-card-media {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.catalog-item:hover {
  transform: translateY(-4px);
}

.catalog-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.catalog-item p {
  color: var(--text-dim);
  font-size: .85rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.pill-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  transition: transform .25s, box-shadow .25s;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 138, 0, .35);
  color: #fff;
}

/* ═══════════════════════════════════════
   TRUST
   ═══════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-card {
  padding: 36px 28px;
  text-align: center;
}

.trust-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.trust-card p {
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about-content {
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 0;
}

.about-features li {
  padding: 12px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--text-dim);
  transition: border-color .25s;
}

.about-features li:hover { border-color: rgba(255, 138, 0, .25); }

/* Cities Slider */
.cities-slider {
  overflow: hidden;
  margin-bottom: 30px;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.cities-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollCities 30s linear infinite;
}

.city-chip {
  flex-shrink: 0;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: .85rem;
  color: var(--text-dim);
  white-space: nowrap;
}

@keyframes scrollCities {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SEO Keywords */
.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.seo-keywords span {
  padding: 5px 14px;
  background: rgba(179, 102, 255, .06);
  border: 1px solid rgba(179, 102, 255, .12);
  border-radius: 50px;
  font-size: .78rem;
  color: var(--purple);
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  color: var(--text);
  transition: color .25s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  transition: transform .3s;
  flex-shrink: 0;
  margin-right: 14px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover { color: var(--orange); }

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-dim);
  font-size: .93rem;
  line-height: 1.8;
}

.faq-answer a { color: var(--orange); text-decoration: underline; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 5, 9, .6);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-logo img { border-radius: 6px; }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .25s, box-shadow .25s;
}

.footer-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(37, 211, 102, .35);
  color: #fff;
}

.footer-keywords {
  text-align: center;
  font-size: .78rem;
  color: rgba(200, 200, 212, .4);
  margin-bottom: 20px;
  line-height: 2;
}

.footer-nav {
  text-align: center;
  font-size: .8rem;
  margin-bottom: 18px;
  line-height: 2.2;
}

.footer-nav a {
  color: var(--text-dim);
  transition: color .25s;
}

.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  text-align: center;
  font-size: .82rem;
  color: var(--text-dim);
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.footer-seo-text {
  font-size: .72rem;
  color: rgba(200, 200, 212, .3);
  margin-top: 8px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  z-index: 800;
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, .4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, .65); }
}

/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, visibility .3s, transform .3s, background .25s;
  z-index: 800;
  font-family: var(--font);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 138, 0, .15);
  border-color: var(--orange);
}

/* ═══════════════════════════════════════
   SCROLL SPARKS
   ═══════════════════════════════════════ */
.spark {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: sparkFade .6s ease-out forwards;
}

@keyframes sparkFade {
  0% { opacity: 1; transform: scale(1) translate(0, 0); }
  100% { opacity: 0; transform: scale(0) translate(var(--sx), var(--sy)); }
}

/* ═══════════════════════════════════════
   RESPONSIVE: 900px - زر الصفحات + قائمة منسدلة
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .pages-btn {
    padding: 10px 14px;
    font-size: .9rem;
  }

  .nav-dropdown {
    min-width: 210px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badges, .hero-occasions, .hero-cta {
    justify-content: center;
  }

  .hero-card-wrapper { margin-top: 30px; }

  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RESPONSIVE: 768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-title { margin-bottom: 40px; }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 50px;
    min-height: auto;
  }

  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-item { max-width: 100%; }
  .catalog-card-media { max-width: 100%; aspect-ratio: 4 / 3; }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE: 640px
   ═══════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-dropdown {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    max-width: none;
    transform-origin: top center;
  }

  .hero-title { font-size: 1.8rem; }

  .product-img-wrap img { height: 200px; }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE: 480px
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { width: 94%; }

  .hero-title { font-size: 1.55rem; }
  .hero-subtitle { font-size: .92rem; }

  .btn { padding: 11px 22px; font-size: .9rem; }

  .hero-card-inner { padding: 28px 22px; }

  .catalog-grid { grid-template-columns: 1fr; gap: 14px; }

  .catalog-item { padding: 18px 14px; max-width: 260px; }
  .catalog-card-media { max-width: 200px; height: auto; aspect-ratio: 4 / 3; margin-bottom: 12px; }
  .catalog-item h4 { font-size: .95rem; }
  .catalog-item p { font-size: .8rem; }

  .faq-item summary { padding: 16px 20px; font-size: .93rem; }
  .faq-answer { padding: 0 20px 18px; font-size: .88rem; }

  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; left: 20px; }
  .back-to-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE: 360px
   ═══════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-title { font-size: 1.35rem; }

  .badge { font-size: .78rem; padding: 5px 12px; }
  .pill { font-size: .76rem; padding: 4px 11px; }

  .catalog-grid { grid-template-columns: 1fr; }

  .trust-card { padding: 24px 18px; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
