* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --brand-primary: #fc7f03;
  --brand-secondary: #008198;
  --brand-dark: #10141e;
  --brand-light: #ffffff;
  --brand-muted: rgba(255, 255, 255, 0.75);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-alt: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --page-bg: radial-gradient(circle at top, rgba(0, 129, 152, 0.65), rgba(11, 35, 53, 0.95) 55%);
  scroll-behavior: smooth;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
  background: var(--page-bg);
  color: var(--brand-light);
  min-height: 100vh;
}

body {
  direction: rtl;
}

.page {
  min-height: 100vh;
  background: var(--page-bg);
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(252, 127, 3, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(0, 129, 152, 0.15), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding-block: 1rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(32, 57, 79, 0.4));
  backdrop-filter: blur(16px);
  z-index: 10;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 15, 24, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--brand-light);
  text-decoration: none;
  font-size: 1.25rem;
}

.logo-image {
  width: 52px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  justify-content: center;
  width: 80%;
}

.main-nav a {
  color: var(--brand-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-light);
}

.cart-button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--brand-light);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-button svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}

.cart-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.cart-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-primary);
  display: inline-block;
}

.hero-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
}

.hero-section::before {
  width: 420px;
  height: 420px;
  top: -60px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(252, 127, 3, 0.6), transparent 65%);
}

.hero-section::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  inset-inline-start: -60px;
  background: radial-gradient(circle, rgba(0, 129, 152, 0.7), transparent 60%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-content h1 span {
  color: var(--brand-primary);
}

.hero-subtitle {
  color: var(--brand-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: var(--brand-light);
  color: var(--brand-dark);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(255, 255, 255, 0.3);
}

.cta.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--brand-light);
  background: transparent;
}

.cta.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
}

.hero-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(10, 15, 24, 0.6));
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-badge {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  background: rgba(10, 15, 24, 0.8);
  border-radius: 18px;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.section {
  padding-block: 2rem;
}

.section-alt {
  background: transparent;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--brand-muted);
  line-height: 1.7;
}

.eyebrow {
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 1.75rem;
  background: var(--brand-light);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--brand-dark);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(0, 129, 152, 0.08);
  border: 1px solid rgba(0, 129, 152, 0.2);
}

.category-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand-primary);
  fill: none;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background:  var(--brand-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-light);
  fill: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 4px solid var(--brand-primary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.85));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.product-card h3 {
  color: #1b1f2a;
  margin-bottom: 0.35rem;
}

.product-card .rating span:last-child {
  color: rgba(27, 31, 42, 0.6);
}

.rating {
  display: flex;
  gap: 0.2rem;
  color: #ffce56;
}

.rating span {
  font-size: 1.2rem;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff, #f5f8fb);
  border: 1px solid rgba(16, 20, 30, 0.08);
  color: var(--brand-dark);
  box-shadow: 0 30px 60px rgba(11, 35, 53, 0.15);
  backdrop-filter: blur(0px);
}

.feature-card h3 {
  color: var(--brand-dark);
}

.feature-card p {
  color: rgba(16, 20, 30, 0.7);
  line-height: 1.7;
}

.gallery-section {
  background: transparent;
}

.gallery-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 32px;
  border: 1px solid rgba(16, 20, 30, 0.08);
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
  box-shadow: 0 35px 80px rgba(11, 35, 53, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 260px;
  box-shadow: 0 30px 60px rgba(11, 35, 53, 0.15);
}

.gallery-card.tall img {
  height: 340px;
}

.gallery-card.wide img {
  height: 300px;
}

.gallery-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--brand-dark);
}

.gallery-content h3 {
  margin: 0;
}

.gallery-content p {
  margin: 0;
  color: rgba(16, 20, 30, 0.7);
  line-height: 1.7;
}

.gallery-badge {
  align-self: flex-start;
  background: rgba(0, 129, 152, 0.12);
  color: var(--brand-secondary);
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gallery-cta {
  margin-top: 0.5rem;
  background: var(--brand-dark);
  color: var(--brand-light);
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.community-section {
  background: transparent;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.community-content h2 {
  margin-top: 0.5rem;
}

.community-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.community-list li {
  position: relative;
  padding-right: 1.5rem;
}

.community-list li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(252, 127, 3, 0.5);
}

.community-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Countries strip */
.countries {
  margin-top: 1rem;
}

.countries-title {
  margin: 0 0 0.6rem 0;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.countries-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--brand-light);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.country-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.country-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.community-card {
  background: linear-gradient(175deg, #ffffff, #f2f5f9);
  border-radius: 32px;
  padding: 2.2rem;
  border: 1px solid rgba(16, 20, 30, 0.08);
  box-shadow: 0 35px 80px rgba(11, 35, 53, 0.2);
  color: var(--brand-dark);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.community-card h3 {
  margin-bottom: 0.4rem;
}

.community-card p {
  margin: 0;
  font-weight: 600;
}

.community-card span {
  color: rgba(16, 20, 30, 0.6);
  font-size: 0.95rem;
}

.community-card hr {
  border: none;
  border-top: 1px solid rgba(16, 20, 30, 0.08);
  margin: 1.2rem 0;
}

.community-badge {
  align-self: flex-start;
  background: rgba(252, 127, 3, 0.15);
  color: var(--brand-primary);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-slider {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  padding: 2rem;
  background: var(--brand-light);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--brand-dark);
  min-height: 220px;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.plans {
  padding-bottom: 6rem;
}

.plans-grid {
  gap: 2.5rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 2.75rem 2.3rem;
  border-radius: 32px;
  border: 1px solid rgba(16, 20, 30, 0.08);
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  box-shadow: 0 35px 80px rgba(11, 35, 53, 0.18);
  color: var(--brand-dark);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  min-height: 440px;
  text-align: right;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 129, 152, 0.08), transparent 55%);
  pointer-events: none;
}

.plan-card * {
  position: relative;
  z-index: 1;
}

.plan-card.popular {
  border-color: rgba(252, 127, 3, 0.6);
  box-shadow: 0 45px 100px rgba(252, 127, 3, 0.2);
}

.plan-pill {
  position: absolute;
  top: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: var(--brand-light);
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.plan-label {
  color: rgba(16, 20, 30, 0.6);
  font-weight: 600;
  letter-spacing: 1px;
}

.plan-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.plan-price strong {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.plan-price span {
  font-size: 0.95rem;
  color: rgba(16, 20, 30, 0.6);
}

.plan-desc {
  color: rgba(16, 20, 30, 0.7);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(16, 20, 30, 0.85);
  font-weight: 600;
}

.plan-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #ffd190);
  box-shadow: 0 8px 20px rgba(252, 127, 3, 0.35);
  flex-shrink: 0;
}

.cta.whatsapp {
  width: 100%;
  background: var(--brand-primary);
  color: #f2f5f9;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cta.whatsapp:hover {
  box-shadow: 0 18px 40px rgba(50, 224, 122, 0.45);
  transform: translateY(-3px);
}

.site-footer {
  background: rgba(0, 0, 0, 0.8);
  padding-block: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-grid h3 {
  margin-bottom: 0.8rem;
}

.footer-grid a {
  display: inline-flex;
  color: var(--brand-muted);
  margin-bottom: 0.4rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--brand-light);
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--brand-light);
}

.footer-note {
  text-align: center;
  color: var(--brand-muted);
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    gap: 1rem;
  }

  .testimonial-wrapper {
    flex-direction: column;
  }

  .testimonial-slider {
    width: 100%;
  }
}

