@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --bg-primary: #07060e;
  --bg-card: rgba(18, 16, 36, 0.7);
  --bg-card-hover: rgba(28, 24, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(139, 92, 246, 0.3);
  --text-primary: #f0eef6;
  --text-secondary: #9892b0;
  --text-muted: #5e577a;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #6d28d9;
  --accent-glow: rgba(139, 92, 246, 0.25);
  --green: #25d366;
  --green-dark: #128c7e;
  --green-glow: rgba(37, 211, 102, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.bg-gradient::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.12) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}
.bg-gradient::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 211, 102, 0.08) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 6, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 24px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.logo-img:hover {
  transform: scale(1.05);
}
.header-badges {
  display: flex;
  gap: 8px;
}
.header-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-green {
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, 0.15);
}
.badge-wa {
  background: rgba(37, 211, 102, 0.08);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.1);
}

/* Hero */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* Info Alert - Premium */
.info-alert {
  position: relative;
  background: rgba(20, 18, 28, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin: 0 auto 40px;
  max-width: 650px;
  display: flex;
  gap: 20px;
  text-align: right;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-alert:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.5);
}
.alert-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.alert-icon {
  font-size: 2rem;
  line-height: 1;
  background: rgba(139, 92, 246, 0.1);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  z-index: 1;
  box-shadow: inset 0 0 15px rgba(139, 92, 246, 0.05);
}
.alert-content {
  flex: 1;
  z-index: 1;
}
.alert-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alert-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.alert-list .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green);
}
.alert-list strong {
  color: var(--text-primary);
  font-weight: 600;
}
.text-paypal { color: #00a8ff; font-weight: 700; text-shadow: 0 0 10px rgba(0, 168, 255, 0.3); }
.text-wa { color: #25d366; font-weight: 700; text-shadow: 0 0 10px rgba(37, 211, 102, 0.3); }

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}
.trust-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
  background: rgba(15, 12, 22, 0.95); border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px; padding: 32px; max-width: 400px; width: 90%;
  text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.95); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.1); border: none;
  color: white; width: 32px; height: 32px; border-radius: 50%; font-size: 20px;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.modal-icon { font-size: 3.5rem; margin-bottom: 16px; text-shadow: 0 0 20px rgba(139,92,246,0.5); }
.modal-content h2 { font-size: 1.3rem; margin-bottom: 12px; color: var(--text-primary); }
.modal-content p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.modal-content input {
  width: 100%; padding: 16px; background: rgba(0,0,0,0.3);
  border: 1px solid rgba(139,92,246,0.3); border-radius: var(--radius-sm);
  color: white; font-family: 'JetBrains Mono', monospace; font-size: 16px; text-align: center;
  margin-bottom: 20px; outline: none; transition: var(--transition);
}
.modal-content input:focus { border-color: var(--accent-light); box-shadow: 0 0 15px rgba(139,92,246,0.2); }
.btn-confirm {
  width: 100%; padding: 16px; background: linear-gradient(135deg, #0079C1, #00457C);
  border: none; border-radius: var(--radius-sm); color: white; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(0,121,193,0.3);
}
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,121,193,0.5); }

/* Product Grid */
.products-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product Card */
.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
  position: relative;
  z-index: 1;
}

/* Featured Card (Wide) */
.product-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  min-height: 260px;
}
.product-card.featured .product-img-wrapper {
  width: 42%;
  height: auto;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(139, 92, 246, 0.1);
}
.product-card.featured .product-content-wrapper {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card.featured .product-info {
  padding: 0;
}
.product-card.featured .product-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.product-card.featured .product-desc {
  font-size: 14px;
}
.product-card.featured .product-footer {
  margin-top: 16px;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: rgba(139, 92, 246, 0.05);
  border-bottom: 1px solid var(--border-glass);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover .product-image {
  transform: scale(1.05);
}
.product-info {
  flex: 1;
  position: relative;
  z-index: 1;
}
.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}
.product-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}
.product-price .currency {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-right: 4px;
  font-weight: 500;
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:active {
  transform: scale(0.97);
}
.btn-whatsapp svg {
  flex-shrink: 0;
}

/* PayPal Button */
.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0079c1, #00457c);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 121, 193, 0.3);
}
.btn-paypal:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 24px rgba(0, 121, 193, 0.45);
}
.btn-paypal:active {
  transform: scale(0.97);
}
.btn-paypal svg {
  flex-shrink: 0;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* Footer */
.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border-glass);
}
.footer p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 4px;
}
.footer-sub {
  color: var(--text-muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }
  .header-badges {
    gap: 4px;
  }
  .header-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
  .hero {
    padding: 40px 16px 16px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .products-grid {
    padding: 20px 16px 60px;
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .product-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .product-card.featured .product-img-wrapper {
    width: 100%;
    height: 200px;
    border-left: none;
    border-bottom: 1px solid var(--border-glass);
  }
  .trust-bar {
    gap: 8px;
  }
  .trust-item {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .product-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .btn-whatsapp {
    justify-content: center;
  }
}
