:root {
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-hover: rgba(255, 255, 255, 0.55);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 45px rgba(7, 11, 37, 0.35);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  direction: rtl;
  font-family: "Tajawal", "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(127, 86, 217, 0.9), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(73, 174, 255, 0.85), transparent 24%),
    radial-gradient(circle at 75% 78%, rgba(255, 121, 198, 0.8), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(255, 141, 82, 0.8), transparent 25%),
    linear-gradient(135deg, #090b1f 0%, #141836 45%, #1f1242 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 45%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
  z-index: 0;
}

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

button,
a {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.background-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 340px;
  height: 340px;
  top: 6%;
  right: 10%;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.95), rgba(0, 242, 254, 0.45));
}

.orb-2 {
  width: 420px;
  height: 420px;
  top: 48%;
  left: -8%;
  background: linear-gradient(135deg, rgba(255, 106, 136, 0.9), rgba(255, 153, 102, 0.45));
  animation-duration: 21s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  bottom: 8%;
  right: 18%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(236, 72, 153, 0.45));
  animation-duration: 17s;
}

.orb-4 {
  width: 360px;
  height: 360px;
  top: 20%;
  left: 26%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.75), rgba(99, 102, 241, 0.4));
  animation-duration: 19s;
}

.orb-5 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: 50%;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.82), rgba(244, 63, 94, 0.42));
  animation-duration: 16s;
}

.orb-6 {
  width: 220px;
  height: 220px;
  top: 72%;
  right: -4%;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.85), rgba(59, 130, 246, 0.4));
  animation-duration: 22s;
}

.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 35%, transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.nav-card,
.hero,
.product-card,
.about-panel,
.contact-card,
.info-card,
.footer-bar,
.hero-highlight {
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, background 0.35s ease;
}

.nav-card:hover,
.hero:hover,
.product-card:hover,
.about-panel:hover,
.contact-card:hover,
.info-card:hover,
.footer-bar:hover,
.hero-highlight:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-strong);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 24px 60px rgba(3, 8, 30, 0.42);
}

.nav-card {
  margin-top: 24px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand strong,
.brand small,
.nav-links a,
.btn,
.hero-copy,
.hero-highlight,
.product-body,
.about-panel,
.contact-card,
.info-card,
.footer-bar {
  position: relative;
  z-index: 1;
}

.brand strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-bar a {
  color: var(--text);
  text-decoration: none;
}

.nav-links a:hover,
.footer-bar a:hover {
  color: #fff7c2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--text);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12));
}

.btn-soft {
  background: rgba(255, 255, 255, 0.11);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.19);
}

.hero {
  margin-top: 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.hero h1,
.section-head h2,
.about-panel h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  max-width: 10ch;
}

.hero h1 span {
  font-family: "Poppins", sans-serif;
  color: #fff1ae;
}

.hero p,
.section-head p,
.product-body p,
.about-panel p,
.contact-card p,
.info-card li span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats li {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-highlight {
  padding: 18px;
}

.hero-highlight img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  border-radius: 22px;
  margin: 12px 0 16px;
}

.mini-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-family: "Poppins", sans-serif;
}

.highlight-details h2,
.product-body h3 {
  margin: 0 0 10px;
}

.highlight-details p {
  margin: 0 0 16px;
  color: var(--muted);
}

.price-row,
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff3b0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 72px 0 24px;
  position: relative;
  z-index: 2;
}

.section-head p {
  max-width: 420px;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-body p {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.about-panel {
  margin-top: 28px;
  padding: 30px;
}

.about-panel p {
  margin: 14px 0 0;
  font-size: 1.03rem;
}

.contact-grid {
  margin: 28px 0 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.contact-card,
.info-card {
  padding: 28px;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.info-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.info-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-bar {
  margin-bottom: 24px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -18px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-24px, 24px, 0) scale(0.94);
  }
}

@media (max-width: 1080px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .nav-card,
  .section-head,
  .footer-bar,
  .info-card li {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .hero {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .about-panel,
  .contact-card,
  .info-card {
    padding: 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
}
