:root {
  --brand: #1a3a6b;
  --brand-light: #4a90d9;
  --brand-dark: #0a1e3d;
  --accent-warm: #e8567f;
  --accent-gold: #f0a030;
  --accent-teal: #2dd4bf;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  overflow-x: hidden;
  line-height: 1.6;
  background: var(--gray-900);
}

[dir="rtl"] body {
  font-family: var(--font-ar);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 30, 61, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 0.8rem 2rem;
}

.nav__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s ease;
}

.nav--scrolled .nav__logo img {
  height: 30px;
}

.nav__lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.nav__lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-option {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.lang-option.active {
  opacity: 1;
}

.lang-divider {
  opacity: 0.3;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--brand-dark) 0%,
    var(--brand) 30%,
    #1e4a8a 50%,
    var(--brand-dark) 70%,
    #0d1b2a 100%
  );
  background-size: 300% 300%;
  animation: heroGradient 18s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(232, 86, 127, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(74, 144, 217, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 60% 70%, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: var(--accent-warm);
  opacity: 0.12;
  animation: glowFloat1 20s ease-in-out infinite;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: var(--accent-teal);
  opacity: 0.1;
  animation: glowFloat2 25s ease-in-out infinite;
}

.hero__glow--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 50%;
  background: var(--brand-light);
  opacity: 0.08;
  animation: glowFloat3 22s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 40px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.15); }
}

@keyframes glowFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -40px) scale(1.2); }
}

/* Particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100vh) scale(0.3);
    opacity: 0;
  }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0.75rem;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(255,255,255,0.3)); }
}

.hero__brand-text {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.75;
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Category icons */
.hero__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-4px);
}

.category__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.category:hover .category__icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[data-category="salon"] .category__icon-wrap { border-color: rgba(232, 86, 127, 0.4); }
[data-category="salon"]:hover .category__icon-wrap { background: rgba(232, 86, 127, 0.15); box-shadow: 0 8px 24px rgba(232, 86, 127, 0.2); }

[data-category="barber"] .category__icon-wrap { border-color: rgba(74, 144, 217, 0.4); }
[data-category="barber"]:hover .category__icon-wrap { background: rgba(74, 144, 217, 0.15); box-shadow: 0 8px 24px rgba(74, 144, 217, 0.2); }

[data-category="gym"] .category__icon-wrap { border-color: rgba(240, 160, 48, 0.4); }
[data-category="gym"]:hover .category__icon-wrap { background: rgba(240, 160, 48, 0.15); box-shadow: 0 8px 24px rgba(240, 160, 48, 0.2); }

[data-category="spa"] .category__icon-wrap { border-color: rgba(45, 212, 191, 0.4); }
[data-category="spa"]:hover .category__icon-wrap { background: rgba(45, 212, 191, 0.15); box-shadow: 0 8px 24px rgba(45, 212, 191, 0.2); }

[data-category="yoga"] .category__icon-wrap { border-color: rgba(167, 139, 250, 0.4); }
[data-category="yoga"]:hover .category__icon-wrap { background: rgba(167, 139, 250, 0.15); box-shadow: 0 8px 24px rgba(167, 139, 250, 0.2); }

[data-category="nails"] .category__icon-wrap { border-color: rgba(251, 113, 133, 0.4); }
[data-category="nails"]:hover .category__icon-wrap { background: rgba(251, 113, 133, 0.15); box-shadow: 0 8px 24px rgba(251, 113, 133, 0.2); }

.category__icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.category__label {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero CTA */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-warm), #d94068);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 86, 127, 0.3);
}

.hero__cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(232, 86, 127, 0.5);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ===== FEATURES ===== */
.features {
  padding: 8rem 2rem;
  background: var(--white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--gray-50), transparent);
  pointer-events: none;
}

.features__container {
  max-width: 1100px;
  margin: 0 auto;
}

.features__heading {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 4rem;
  color: var(--brand-dark);
  letter-spacing: -0.5px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(26, 58, 107, 0.1);
  transform: translateY(-8px);
}

.feature-card__number {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  pointer-events: none;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  color: var(--brand);
  padding: 12px;
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.06), rgba(74, 144, 217, 0.08));
  border-radius: var(--radius-md);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.6rem;
}

.feature-card__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== COMING SOON ===== */
.coming-soon {
  padding: 6rem 2rem;
  background: var(--gray-50);
  text-align: center;
}

.coming-soon__content {
  max-width: 500px;
  margin: 0 auto;
}

.coming-soon__badge-icon {
  margin-bottom: 1.5rem;
}

.coming-soon__badge-icon img {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(26, 58, 107, 0.15);
}

.coming-soon__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.coming-soon__subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

/* Badges */
.coming-soon__badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.badge:hover {
  transform: scale(1.03);
}

.badge__inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: var(--gray-900);
  border-radius: var(--radius-sm);
  color: var(--white);
  filter: grayscale(0.8);
  opacity: 0.5;
}

.badge__apple, .badge__play {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.badge__text {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.badge__small {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.badge__large {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  border-radius: var(--radius-sm);
}

.badge__overlay span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  background: var(--brand-dark);
  text-align: center;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer__logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer__email {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__email:hover {
  color: var(--white);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== LANGUAGE TRANSITION ===== */
[data-i18n] {
  transition: opacity 0.2s ease;
}

.lang-fade {
  opacity: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.2rem;
  }

  .nav__logo img {
    height: 28px;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .hero__icon {
    width: 56px;
    height: 56px;
  }

  .hero__brand-text {
    font-size: 2.2rem;
  }

  .hero__categories {
    gap: 0.8rem;
  }

  .category__icon-wrap {
    width: 48px;
    height: 48px;
  }

  .category__icon {
    width: 22px;
    height: 22px;
  }

  .category__label {
    font-size: 0.65rem;
  }

  .features {
    padding: 5rem 1.5rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .coming-soon {
    padding: 4rem 1.5rem;
  }

  .coming-soon__badges {
    flex-direction: column;
    align-items: center;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__categories {
    gap: 0.6rem;
  }

  .category__icon-wrap {
    width: 42px;
    height: 42px;
  }

  .hero__cta {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}
