@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Righteous&display=swap');

/* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
  --pink:        #F06292;
  --pink-dark:   #C2185B;
  --pink-light:  #FCE4EC;
  --blue:        #42A5F5;
  --blue-dark:   #1565C0;
  --gold:        #FFB300;
  --gold-dark:   #E65100;
  --hero-bg:     #08001A;
  --warm-bg:     #FFF8F0;
  --card-bg:     #FFFFFF;
  --text-dark:   #2D1B3D;
  --text-mid:    #5D4037;
  --text-light:  #9E9E9E;
  --border:      rgba(240,98,146,0.18);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.14);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.22);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--warm-bg);
  color: var(--text-dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--warm-bg); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 4px; }

/* ============================
   HEADER
   ============================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(8, 0, 26, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(240,98,146,0.18);
}
.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(240,98,146,0.5));
  transition: transform var(--transition);
}
.logo-img:hover { transform: scale(1.06) rotate(-2deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0;
  width: 0; height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover { color: var(--pink); }
.nav-link:hover::after { width: 100%; }

.btn-whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
  transition: all var(--transition);
}
.btn-whatsapp-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}
.btn-whatsapp-nav svg { width: 18px; height: 18px; fill: white; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8,0,26,0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1.1rem; padding: 8px 0; }

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Glowing orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,98,146,0.35), transparent 70%);
  top: -150px; right: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(66,165,245,0.28), transparent 70%);
  bottom: -200px; left: -150px;
  animation-delay: -4s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,179,0,0.22), transparent 70%);
  top: 40%; left: 45%;
  animation-delay: -7s;
}
.orb-4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(206,147,216,0.3), transparent 70%);
  top: 20%; left: 10%;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25%  { transform: translate(25px,-35px) scale(1.08); }
  50%  { transform: translate(-15px,20px) scale(0.94); }
  75%  { transform: translate(30px,15px) scale(1.04); }
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 800px;
}

.hero-logo-wrap {
  margin-bottom: 32px;
  display: inline-block;
  animation: heroLogoFloat 4s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}
.hero-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(240,98,146,0.6))
          drop-shadow(0 0 60px rgba(66,165,245,0.3));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(240,98,146,0.18);
  border: 1px solid rgba(240,98,146,0.4);
  border-radius: 50px;
  color: var(--pink);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease both;
}
.hero-badge span { animation: pulse-dot 1.5s ease infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--pink), var(--gold), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 25px rgba(240,98,146,0.45);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(240,98,146,0.55);
}

.btn-secondary {
  padding: 13px 30px;
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(240,98,146,0.6);
  border-bottom: 2px solid rgba(240,98,146,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50%       { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
  background: linear-gradient(135deg, var(--pink-dark), #880E4F);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  color: white;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  font-family: 'Righteous', sans-serif;
  color: var(--gold);
}
.stat-label {
  font-size: 0.88rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ============================
   PRODUCTS SECTION
   ============================ */
.products-section {
  padding: 90px 24px;
  background: var(--warm-bg);
  position: relative;
}
.products-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--blue), var(--pink));
  background-size: 200% 100%;
  animation: rainbowSlide 4s linear infinite;
}
@keyframes rainbowSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: var(--pink-light);
  color: var(--pink-dark);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-title .accent { color: var(--pink); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Product Card */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(240,98,146,0.18);
  border-color: var(--border);
}

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.07); }

.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.badge-hot  { background: linear-gradient(135deg, #e53935, #e91e63); }
.badge-new  { background: linear-gradient(135deg, #1e88e5, #42a5f5); }
.badge-special { background: linear-gradient(135deg, #7b1fa2, #ce93d8); box-shadow: 0 2px 10px rgba(123,31,162,0.4); }
.badge-gift { background: linear-gradient(135deg, #c2185b, #f06292); }

.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--pink-dark);
}
.product-price .currency {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-right: 3px;
}
.btn-order {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(240,98,146,0.35);
}
.btn-order:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(240,98,146,0.5);
}
.btn-order:active { transform: scale(0.97); }

/* No products state */
.no-products {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ============================
   ORDER MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,0,26,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.order-modal {
  background: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.modal-overlay.active .order-modal {
  transform: translateY(0);
}

.modal-drag-handle {
  width: 44px; height: 5px;
  background: #E0E0E0;
  border-radius: 3px;
  margin: 14px auto 0;
}
.modal-header-section {
  padding: 20px 28px;
  border-bottom: 1px solid #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}
.modal-close-btn {
  width: 36px; height: 36px;
  border: none;
  background: #F5F5F5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close-btn:hover { background: #FFEBEE; color: var(--pink); }

.modal-product-preview {
  margin: 20px 28px;
  padding: 16px;
  background: linear-gradient(135deg, #FFF0F5, #FFF8F0);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
}
.modal-product-img {
  width: 72px; height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.modal-product-img-placeholder {
  width: 72px; height: 72px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}
.modal-product-name-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.modal-product-price-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--pink-dark);
}

.order-form {
  padding: 0 28px 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1.5px solid #E8E8E8;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FAFAFA;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(240,98,146,0.12);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* Quantity control */
.qty-wrap { display: flex; flex-direction: column; gap: 7px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #E8E8E8;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FAFAFA;
}
.qty-btn {
  width: 44px; height: 44px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--pink-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background var(--transition);
  font-family: 'Tajawal', sans-serif;
}
.qty-btn:hover { background: var(--pink-light); }
.qty-input {
  flex: 1;
  border: none;
  background: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Tajawal', sans-serif;
  padding: 0;
  outline: none;
}

.order-total-box {
  margin: 20px 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--hero-bg), #1a0035);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}
.total-label { font-size: 0.95rem; opacity: 0.8; }
.total-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  font-family: 'Righteous', sans-serif;
}
.total-currency { font-size: 0.85rem; font-weight: 400; opacity: 0.7; margin-right: 4px; }

.btn-confirm {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
  transition: all var(--transition);
}
.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(37,211,102,0.5);
}
.btn-confirm:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-confirm svg { width: 24px; height: 24px; fill: white; }

/* ============================
   INVOICE TEMPLATE
   ============================ */
#invoiceTemplate {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 480px;
  background: white;
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}
.invoice-card {
  background: white;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}
.invoice-header {
  background: linear-gradient(135deg, #08001A, #200050);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.invoice-header::after {
  content: '🍪';
  font-size: 2.5rem;
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  opacity: 0.3;
}
.invoice-logo { height: 70px; margin: 0 auto 10px; display: block; }
.invoice-title { color: white; font-size: 0.85rem; opacity: 0.8; font-weight: 400; }
.invoice-body { padding: 24px; }
.invoice-order-id {
  font-size: 0.78rem;
  color: #999;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}
.invoice-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F5;
  gap: 12px;
}
.invoice-row:last-of-type { border-bottom: none; }
.inv-label {
  font-size: 0.82rem;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
  min-width: 120px;
}
.inv-value {
  font-size: 0.92rem;
  color: #2D1B3D;
  font-weight: 700;
  text-align: left;
  direction: rtl;
}
.invoice-total-bar {
  margin: 16px 0 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #F06292, #C2185B);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.inv-total-label { font-size: 0.92rem; font-weight: 600; }
.inv-total-value { font-size: 1.5rem; font-weight: 900; }
.invoice-footer {
  background: #FFF8F0;
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid #F5F5F5;
}
.invoice-footer p { font-size: 0.78rem; color: #999; }
.invoice-footer strong { color: var(--pink-dark); }

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
  padding: 90px 24px;
  background: linear-gradient(135deg, #08001A 0%, #1a0035 50%, #08001A 100%);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(240,98,146,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(66,165,245,0.15) 0%, transparent 50%);
}
.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-text { flex: 1; color: white; }
.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-text h2 .pink { color: var(--pink); }
.about-text p {
  font-size: 1.05rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 30px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.feature-icon { font-size: 1.6rem; }
.feature-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); font-weight: 500; }

.about-visual {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-big {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(240,98,146,0.5)) drop-shadow(0 0 80px rgba(66,165,245,0.25));
  animation: heroLogoFloat 5s ease-in-out infinite;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #04000E;
  padding: 50px 24px 24px;
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; opacity: 0.7; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--pink); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.social-fb { background: #1877F2; color: white; }
.social-wa { background: #25D366; color: white; }
.social-btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================
   TOAST NOTIFICATION
   ============================ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #2D1B3D;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================
   LOADING SPINNER
   ============================ */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================
   LOGO TEXT FALLBACK
   ============================ */
.logo-text-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  cursor: pointer;
}
.ltf-main {
  font-family: 'Righteous', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #F06292, #FFB300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(240,98,146,0.5));
}
.ltf-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-logo-text-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroLogoFloat 4s ease-in-out infinite;
  cursor: default;
}
.hltf-main {
  font-family: 'Righteous', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #F06292, #FFB300, #42A5F5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  filter: drop-shadow(0 0 20px rgba(240,98,146,0.5));
}
.hltf-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ============================
   INVOICE PREVIEW MODAL
   ============================ */
.invoice-preview-modal {
  max-width: 520px;
}
.invoice-preview-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.invoice-preview-img-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #fff;
  max-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.invoice-preview-img {
  width: 100%;
  height: auto;
  display: block;
}
.invoice-preview-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,179,0,0.1);
  border: 1px solid rgba(255,179,0,0.3);
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  width: 100%;
  font-weight: 500;
}
.invoice-preview-note span:first-child { font-size: 1.3rem; flex-shrink: 0; }
.invoice-preview-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}
.btn-download-invoice {
  flex: 1;
  padding: 13px;
  background: rgba(255,179,0,0.15);
  border: 1.5px solid rgba(255,179,0,0.4);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-download-invoice:hover {
  background: rgba(255,179,0,0.25);
  transform: translateY(-2px);
}
.btn-open-whatsapp {
  flex: 1.5;
  padding: 13px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--transition);
}
.btn-open-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-content { gap: 40px; }
  .about-visual { flex: 0 0 260px; }
  .about-logo-big { width: 220px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .about-content { flex-direction: column; text-align: center; }
  .about-visual { display: none; }
  .stats-bar { gap: 30px; }
  .hero-logo { width: 170px; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .order-modal { border-radius: 20px 20px 0 0; }
  .modal-product-preview { flex-direction: column; text-align: center; align-items: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
}

@media (min-width: 769px) {
  .modal-overlay { align-items: center; }
  .order-modal {
    border-radius: var(--radius-lg);
    max-height: 85vh;
  }
  .modal-drag-handle { display: none; }
}
