/* ====================================
   CSS Variables & Base Styles
   ==================================== */
:root {
  /* Primary Colors */
  --primary: #87b5b5;
  --primary-dark: #43766c;
  --primary-light: #9dd5d5;
  --primary-lighter: #b5d8d8;

  /* Secondary Colors */
  --teal-1: #5fbfbf;
  --teal-2: #6ba8a8;

  /* Background */
  --bg-base: #f5fafa;
  --bg-cyan: #e0f7fa;
  --bg-indigo: #e8eaf6;

  /* Text */
  --text-primary: #152949;
  --text-secondary: #6e7591;
  --text-light: #a2a0a8;

  /* Alerts */
  --success: #1ab759;
  --warning: #e89806;
  --error: #e93c3c;

  /* White & Glass */
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.35);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(135, 181, 181, 0.15);
  --shadow-card: 0 20px 60px rgba(135, 181, 181, 0.12);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Navbar Height */
  --navbar-height: 70px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  cursor: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ====================================
   Custom Cursor
   ==================================== */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease,
    background 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease,
    border-color 0.3s ease;
  opacity: 0.5;
}

.cursor.active {
  width: 20px;
  height: 20px;
  background: var(--primary-dark);
}

.cursor-follower.active {
  width: 60px;
  height: 60px;
  border-color: var(--primary-dark);
}

@media (max-width: 768px) {
  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ====================================
   Navigation Bar
   ==================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(135, 181, 181, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 30px rgba(135, 181, 181, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: transform var(--transition-normal);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(135, 181, 181, 0.25));
  background: rgba(135, 181, 181, 0.1);
  border-radius: 50%;
  padding: 5px;
  border: 1px solid rgba(135, 181, 181, 0.2);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-10deg) scale(1.1);
  background: rgba(135, 181, 181, 0.2);
  border-color: var(--primary);
  filter: drop-shadow(0 6px 16px rgba(135, 181, 181, 0.35));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-sm);
}

.nav-menu .lang-switcher {
  display: none !important;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Mobile Drawer Overlay */
  .nav-overlay {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Dropdown Menu - Drops from header */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(240, 250, 250, 0.98)
    );
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    padding: 0 var(--spacing-md);
    gap: 0;
    opacity: 1;
    pointer-events: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid rgba(135, 181, 181, 0.2);
    border-bottom: 1px solid rgba(135, 181, 181, 0.2);
  }

  .nav-menu::before {
    display: none;
  }

  .nav-menu::after {
    display: none;
  }

  .nav-menu.active {
    max-height: 500px;
    padding: var(--spacing-md) var(--spacing-md);
    pointer-events: all;
  }

  .nav-link {
    padding: var(--spacing-md) var(--spacing-md);
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .nav-link:hover {
    background: rgba(135, 181, 181, 0.1);
    border-color: rgba(135, 181, 181, 0.2);
    transform: translateX(-5px);
  }

  .nav-link.active {
    background: rgba(135, 181, 181, 0.15);
    border-color: var(--primary);
  }

  .nav-link::after {
    display: none;
  }

  /* Menu items animation */
  .nav-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-menu.active li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-menu.active li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .nav-menu.active li:nth-child(6) {
    transition-delay: 0.3s;
  }
}

/* ====================================
   Background Watermark Logo
   ==================================== */
.watermark-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  animation: watermarkFloat 20s ease-in-out infinite;
}

.watermark-logo img {
  width: 60vmin;
  height: 60vmin;
  max-width: 600px;
  max-height: 600px;
  filter: grayscale(30%);
}

@keyframes watermarkFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(-52%, -48%) scale(1.02) rotate(2deg);
  }

  50% {
    transform: translate(-48%, -52%) scale(0.98) rotate(-2deg);
  }

  75% {
    transform: translate(-50%, -50%) scale(1.01) rotate(1deg);
  }
}

/* ====================================
   Animated Background - Enhanced
   ==================================== */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--bg-base),
    var(--bg-cyan),
    var(--bg-indigo)
  );
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -150px;
  right: -100px;
  animation: floatGlow1 15s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  bottom: -150px;
  left: -100px;
  animation: floatGlow2 18s ease-in-out infinite;
}

.glow-3 {
  width: 500px;
  height: 500px;
  background: var(--teal-1);
  top: 15%;
  left: -200px;
  animation: floatGlow3 20s ease-in-out infinite;
}

.glow-4 {
  width: 450px;
  height: 450px;
  background: var(--primary-light);
  bottom: 15%;
  right: -180px;
  animation: floatGlow4 17s ease-in-out infinite;
}

.glow-5 {
  width: 350px;
  height: 350px;
  background: var(--teal-2);
  top: 45%;
  left: 40%;
  transform: translate(-50%, -50%);
  animation: floatGlow5 12s ease-in-out infinite;
}

.glow-6 {
  width: 380px;
  height: 380px;
  background: var(--primary-lighter);
  top: 25%;
  right: 15%;
  animation: floatGlow6 14s ease-in-out infinite;
}

.glow-7 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  bottom: 30%;
  left: 20%;
  animation: floatGlow7 16s ease-in-out infinite;
}

.glow-8 {
  width: 320px;
  height: 320px;
  background: var(--teal-1);
  top: 60%;
  right: 30%;
  animation: floatGlow8 19s ease-in-out infinite;
}

@keyframes floatGlow1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(50px, 80px) scale(1.1);
  }

  50% {
    transform: translate(-30px, 120px) scale(0.95);
  }

  75% {
    transform: translate(80px, 40px) scale(1.05);
  }
}

@keyframes floatGlow2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-60px, -70px) scale(1.1);
  }

  50% {
    transform: translate(40px, -100px) scale(0.9);
  }

  75% {
    transform: translate(-80px, -50px) scale(1.05);
  }
}

@keyframes floatGlow3 {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(100px) rotate(180deg);
  }
}

@keyframes floatGlow4 {
  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-80px, 60px);
  }

  66% {
    transform: translate(40px, -80px);
  }
}

@keyframes floatGlow5 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.3;
  }
}

@keyframes floatGlow6 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-60px, 80px) scale(1.15);
  }
}

@keyframes floatGlow7 {
  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(40px, -30px);
  }

  50% {
    transform: translate(-50px, -60px);
  }

  75% {
    transform: translate(30px, 40px);
  }
}

@keyframes floatGlow8 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-40px, 50px) scale(1.1);
  }

  66% {
    transform: translate(60px, -40px) scale(0.95);
  }
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid rgba(135, 181, 181, 0.3);
  opacity: 0.4;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 8s ease-in-out infinite,
    floatShape 6s ease-in-out infinite;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 70%;
  right: 15%;
  border-radius: 50%;
  animation: floatShape 7s ease-in-out infinite reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 20%;
  border-radius: 20% 80% 30% 70% / 60% 40% 60% 40%;
  animation: morphShape 10s ease-in-out infinite reverse,
    floatShape 8s ease-in-out infinite;
}

.shape-4 {
  width: 50px;
  height: 50px;
  top: 40%;
  right: 25%;
  border-radius: 50%;
  background: rgba(135, 181, 181, 0.1);
  animation: floatShape 5s ease-in-out infinite;
}

.shape-5 {
  width: 70px;
  height: 70px;
  bottom: 40%;
  right: 8%;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  animation: morphShape 12s ease-in-out infinite,
    floatShape 9s ease-in-out infinite reverse;
}

@keyframes morphShape {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Floating particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0.6;
  }
}

/* ====================================
   Hero Section - Premium World-Class
   ==================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) 0;
  padding-top: calc(var(--navbar-height) + var(--spacing-xl));
  position: relative;
  overflow: hidden;
}

/* Hero Decorative Elements */
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(135, 181, 181, 0.15);
  border-radius: 50%;
  animation: heroRingPulse 8s ease-in-out infinite;
}

.hero-ring-1 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.hero-ring-2 {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.5s;
  opacity: 0.7;
}

.hero-ring-3 {
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
  opacity: 0.4;
}

@keyframes heroRingPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(135, 181, 181, 0.4),
    rgba(67, 118, 108, 0.2)
  );
  top: 20%;
  right: 10%;
  animation: heroOrbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(67, 118, 108, 0.3),
    rgba(135, 181, 181, 0.2)
  );
  bottom: 20%;
  left: 10%;
  animation: heroOrbFloat 10s ease-in-out infinite reverse;
}

@keyframes heroOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Premium Badge */
/* Premium Badge Enhancement - Fixed Animation */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 10px var(--spacing-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(250, 255, 255, 0.9)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(135, 181, 181, 0.25);
  border-radius: 100px;
  margin-bottom: var(--spacing-xl);
  box-shadow: 0 8px 32px rgba(135, 181, 181, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Entrance + Floating combined via wrapper or multiple animation names */
  animation: slideUp 0.8s ease forwards, badgeFloat 3s ease-in-out infinite 0.8s;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(135, 181, 181, 0.25);
  border-color: var(--primary);
}

.badge-icon {
  font-size: 1rem;
  animation: badgeIconPulse 2s ease-in-out infinite;
}

@keyframes badgeIconPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.badge-arrow {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.hero-badge:hover .badge-arrow {
  transform: translateX(-5px);
}

/* Logo Container - Enhanced */
.logo-container {
  margin-bottom: var(--spacing-lg);
  perspective: 1000px;
  position: relative;
  display: inline-block;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(135, 181, 181, 0.4) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: logoGlowPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes logoGlowPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

.logo {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 15px 40px rgba(135, 181, 181, 0.4));
  transition: transform 0.3s ease;
  will-change: transform;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }

  50% {
    transform: translateY(-10px) rotateY(5deg);
  }
}

.logo:hover {
  transform: rotateY(15deg) rotateX(-10deg) scale(1.1);
  animation-play-state: paused;
}

/* Logo Particles - Enhanced */
.logo-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: -1;
}

.logo-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--primary), var(--primary-dark));
  border-radius: 50%;
  opacity: 0;
  filter: blur(1px);
  box-shadow: 0 0 10px var(--primary);
}

.logo-particles span:nth-child(1) {
  top: 10%;
  left: 10%;
  --tx: -40px;
  --ty: -40px;
  animation: logoParticle 3s infinite;
}

.logo-particles span:nth-child(2) {
  top: 10%;
  right: 10%;
  --tx: 40px;
  --ty: -40px;
  animation: logoParticle 3s infinite 0.75s;
}

.logo-particles span:nth-child(3) {
  bottom: 10%;
  left: 10%;
  --tx: -40px;
  --ty: 40px;
  animation: logoParticle 3s infinite 1.5s;
}

.logo-particles span:nth-child(4) {
  bottom: 10%;
  right: 10%;
  --tx: 40px;
  --ty: 40px;
  animation: logoParticle 3s infinite 2.25s;
}

@keyframes logoParticle {
  0% {
    transform: scale(0) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2) translate(calc(var(--tx) / 2), calc(var(--ty) / 2));
  }

  100% {
    transform: scale(0) translate(var(--tx), var(--ty));
    opacity: 0;
  }
}

/* App Name - Gradient */
.app-name {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.app-name-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary),
    var(--primary-dark)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(67, 118, 108, 0.2));
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Tagline - Enhanced */
.tagline {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.tagline-highlight {
  color: var(--primary);
  position: relative;
}

.tagline-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

/* Description - Enhanced */
.description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.9;
}

.description strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(135, 181, 181, 0.2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(135, 181, 181, 0.2);
  border-color: var(--primary);
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.hero-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-icon svg {
  stroke: var(--primary-dark);
  transform: scale(1.1);
}

.hero-feature span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(135, 181, 181, 0.3),
    transparent
  );
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  color: var(--text-light);
  font-size: 0.9rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.5s ease-in-out infinite;
}

@keyframes wheelScroll {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ====================================
   Download Buttons
   ==================================== */
.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 12px 28px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--white);
  background: rgba(23, 23, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 180px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ios-btn {
  background: linear-gradient(145deg, #1c1c1e, #000000);
}

.android-btn {
  background: linear-gradient(145deg, #0d1f18, #050b08);
  border-color: rgba(52, 168, 83, 0.2);
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}

.ios-btn:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.android-btn:hover {
  box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(52, 168, 83, 0.4);
}

.store-icon {
  width: 28px;
  height: 28px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.btn-label {
  font-size: 0.65rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-store {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, #e0e0e0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Platform-specific highlight */
.download-btn.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.05);
}

.download-btn.highlight:hover {
  transform: scale(1.08) translateY(-3px);
}

/* Magnetic button effect */
.magnetic-btn {
  will-change: transform;
}

/* Mobile download buttons - same size */
@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .download-btn.highlight {
    transform: none;
  }

  .download-btn.highlight:hover {
    transform: translateY(-3px);
  }

  .store-icon {
    width: 24px;
    height: 24px;
  }

  .btn-store {
    font-size: 1rem;
  }
}

/* ====================================
   Sections Common Styles
   ==================================== */
section {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: calc(var(--spacing-xl) * -1 + var(--spacing-sm));
  margin-bottom: var(--spacing-xl);
}

/* ====================================
   Tilt Card Effect
   ==================================== */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(var(--rotateX, 0deg))
    rotateY(var(--rotateY, 0deg)) scale(1.02);
}

/* ====================================
   How It Works Section
   ==================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.step-card:hover {
  box-shadow: 0 25px 70px rgba(135, 181, 181, 0.25);
}

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 5px 20px rgba(135, 181, 181, 0.4);
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--bg-cyan), var(--bg-indigo));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary-dark);
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ====================================
   Screenshots Section - 3D Carousel
   ==================================== */
.screenshots-section {
  padding: var(--spacing-2xl) 0;
  padding-bottom: calc(var(--spacing-2xl) + 30px);
  /* Extra padding for shadow */
  overflow: visible;
}

.carousel-container {
  position: relative;
  height: 620px;
  perspective: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  width: 260px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

/* Active center item */
.carousel-item.active {
  transform: translate(-50%, -50%) scale(1) translateZ(0);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

/* Items to the left */
.carousel-item.prev {
  transform: translate(-130%, -50%) scale(0.8) rotateY(25deg) translateZ(-150px);
  opacity: 0.6;
  z-index: 5;
  pointer-events: auto;
}

.carousel-item.prev-2 {
  transform: translate(-200%, -50%) scale(0.6) rotateY(35deg) translateZ(-300px);
  opacity: 0.3;
  z-index: 2;
}

/* Items to the right */
.carousel-item.next {
  transform: translate(30%, -50%) scale(0.8) rotateY(-25deg) translateZ(-150px);
  opacity: 0.6;
  z-index: 5;
  pointer-events: auto;
}

.carousel-item.next-2 {
  transform: translate(100%, -50%) scale(0.6) rotateY(-35deg) translateZ(-300px);
  opacity: 0.3;
  z-index: 2;
}

/* Phone mockup styling */
.phone-mockup {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dynamic Island / Notch */
.phone-mockup::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Side buttons */
.phone-mockup::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 100px;
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover effect on active item */
.carousel-item.active .phone-mockup:hover {
  transform: translateY(-10px);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6), 0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glow effect for active item */
.carousel-item.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(135, 181, 181, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Navigation buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(135, 181, 181, 0.3);
}

.carousel-nav-btn:hover svg {
  color: var(--white);
}

.carousel-nav-btn svg {
  width: 24px;
  height: 24px;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator:hover {
  opacity: 0.8;
}

.carousel-indicator.active {
  width: 32px;
  border-radius: 6px;
  background: var(--primary-dark);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .carousel-container {
    height: 550px;
  }

  .carousel-item {
    width: 220px;
    height: 440px;
  }

  .carousel-item.prev {
    transform: translate(-120%, -50%) scale(0.75) rotateY(20deg)
      translateZ(-100px);
  }

  .carousel-item.next {
    transform: translate(20%, -50%) scale(0.75) rotateY(-20deg)
      translateZ(-100px);
  }

  .carousel-item.prev-2,
  .carousel-item.next-2 {
    opacity: 0;
  }

  .carousel-nav-btn {
    width: 48px;
    height: 48px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .carousel-container {
    height: 500px;
  }

  .carousel-item {
    width: 200px;
    height: 400px;
  }

  .phone-mockup {
    border-radius: 36px;
    padding: 8px;
  }

  .phone-mockup::before {
    width: 70px;
    height: 22px;
    top: 12px;
  }

  .phone-screen {
    border-radius: 28px;
  }

  .carousel-item.prev,
  .carousel-item.next {
    opacity: 0.4;
  }

  .carousel-nav-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ====================================
   Features Section
   ==================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-soft);
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(135, 181, 181, 0.3);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.feature-icon.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ====================================
   Target Audience Section - Premium
   ==================================== */
.target-audience {
  position: relative;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(135, 181, 181, 0.03) 50%,
    transparent 100%
  );
  overflow: hidden;
  padding: var(--spacing-2xl) 0;
}

/* Decorative Background Elements */
.audience-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.audience-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: audienceBlobFloat 15s ease-in-out infinite;
}

.audience-blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(135, 181, 181, 0.3),
    rgba(100, 150, 150, 0.2)
  );
  top: -100px;
  right: -150px;
}

.audience-blob-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(100, 150, 150, 0.25),
    rgba(135, 181, 181, 0.15)
  );
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

@keyframes audienceBlobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(135, 181, 181, 0.15),
    rgba(135, 181, 181, 0.05)
  );
  border: 1px solid rgba(135, 181, 181, 0.2);
  border-radius: 100px;
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1100px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* Audience Card */
.audience-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(135, 181, 181, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.audience-card:hover::before {
  transform: scaleX(1);
}

.audience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(135, 181, 181, 0.3);
  box-shadow: 0 20px 40px rgba(135, 181, 181, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Card Glow Effect */
.audience-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(135, 181, 181, 0.1) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.audience-card:hover .audience-card-glow {
  opacity: 1;
}

/* Icon Wrapper */
.audience-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
}

.audience-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(135, 181, 181, 0.12);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(135, 181, 181, 0.15);
  border: 1px solid rgba(135, 181, 181, 0.2);
}

.audience-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-dark);
  transition: transform 0.3s ease;
}

.audience-card:hover .audience-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(135, 181, 181, 0.2);
  box-shadow: 0 8px 25px rgba(135, 181, 181, 0.25);
  border-color: rgba(135, 181, 181, 0.35);
}

.audience-card:hover .audience-icon svg {
  transform: scale(1.1);
  stroke: var(--primary);
}

/* Icon Ring Animation */
.audience-icon-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed rgba(135, 181, 181, 0.3);
  border-radius: 24px;
  animation: audienceRingSpin 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audience-card:hover .audience-icon-ring {
  opacity: 1;
}

@keyframes audienceRingSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Different Icon Colors */
/* All audience icons now use consistent Iconly styling */

/* Content */
.audience-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.audience-card:hover .audience-content h3 {
  color: var(--primary-dark);
}

.audience-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Arrow Indicator */
.audience-card-arrow {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(135, 181, 181, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: all 0.3s ease;
}

.audience-card-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
}

.audience-card:hover .audience-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .audience-blob-1 {
    width: 250px;
    height: 250px;
  }

  .audience-blob-2 {
    width: 200px;
    height: 200px;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 var(--spacing-md);
  }

  .audience-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .audience-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .audience-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ====================================
   Download CTA Section
   ==================================== */
.download-cta {
  padding: var(--spacing-2xl) 0;
}

.cta-card {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-logo {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-md);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

/* ====================================
   Developer Section
   ==================================== */
.developer-section {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, rgba(135, 181, 181, 0.05), transparent);
}

.developer-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-card);
}

.developer-image-container {
  flex-shrink: 0;
}

.developer-image-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.developer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal);
  position: relative;
  z-index: 2;
}

.developer-image:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(135, 181, 181, 0.3);
}

.developer-image-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  z-index: 0;
  opacity: 0.3;
  filter: blur(25px);
  animation: glowPulse 3s ease-in-out infinite;
}

.developer-image-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  z-index: 1;
  animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.08);
  }
}

.developer-info {
  flex: 1;
}

.developer-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-xs);
}

.developer-title {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.developer-social {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.social-link {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 50%;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.social-link.facebook::before {
  background: linear-gradient(135deg, #1877f2, #0d5abd);
}

.social-link.whatsapp::before {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link.phone::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.social-link:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 35px rgba(135, 181, 181, 0.3);
}

@media (max-width: 768px) {
  .developer-card {
    flex-direction: column;
    text-align: center;
  }

  .developer-image-wrapper {
    width: 180px;
    height: 180px;
  }

  .developer-social {
    justify-content: center;
  }
}

/* ====================================
   Footer
   ==================================== */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: var(--spacing-xl) 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   Animations
   ==================================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.1s;
}

.reveal.delay-2 {
  transition-delay: 0.2s;
}

.reveal.delay-3 {
  transition-delay: 0.3s;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
  .app-name {
    font-size: 2.8rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .logo {
    width: 110px;
    height: 110px;
  }

  .logo-glow {
    width: 150px;
    height: 150px;
  }

  /* Premium Hero Elements - Mobile */
  .hero-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .hero-features {
    gap: var(--spacing-sm);
  }

  .hero-feature {
    padding: 6px var(--spacing-sm);
  }

  .hero-feature-icon {
    font-size: 1.1rem;
  }

  .hero-feature span {
    font-size: 0.85rem;
  }

  .hero-trust {
    gap: var(--spacing-md);
  }

  .trust-number {
    font-size: 1.3rem;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  .trust-divider {
    height: 30px;
  }

  .hero-ring-1 {
    width: 280px;
    height: 280px;
  }

  .hero-ring-2 {
    width: 400px;
    height: 400px;
  }

  .hero-ring-3 {
    display: none;
  }

  .hero-orb-1,
  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    top: -10px;
    right: -10px;
  }

  .glow {
    opacity: 0.35;
  }

  .glow-1,
  .glow-2 {
    width: 280px;
    height: 280px;
  }

  .glow-3,
  .glow-4,
  .glow-5,
  .glow-6,
  .glow-7,
  .glow-8 {
    width: 220px;
    height: 220px;
  }

  .scroll-indicator {
    display: none;
  }

  .screenshot-item {
    width: 240px;
  }

  .phone-frame {
    border-radius: 32px;
    padding: 10px;
  }

  .phone-frame::before {
    width: 80px;
    height: 22px;
    top: 10px;
  }

  .phone-frame img {
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .app-name {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .step-card,
  .feature-card,
  .audience-card,
  .cta-card,
  .developer-card {
    padding: var(--spacing-md);
  }

  section {
    padding: var(--spacing-xl) 0;
  }

  .developer-name {
    font-size: 1.5rem;
  }

  .screenshot-item {
    width: 200px;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .glow {
    animation: none;
  }

  .shape {
    animation: none;
  }

  .logo,
  .cta-logo {
    animation: none;
  }

  .fade-in,
  .slide-up,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }

  .particle {
    animation: none;
  }

  .developer-image-ring {
    animation: none;
  }
}

/* ====================================
   Language Switcher
   ==================================== */
.lang-switcher {
  position: relative;
  z-index: 1000;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(135, 181, 181, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.lang-current:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(135, 181, 181, 0.2);
}

.lang-flag {
  font-size: 1.1rem;
}

.lang-code {
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.lang-dropdown.open + .lang-current .lang-arrow,
.lang-current:focus + .lang-dropdown.open ~ .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(135, 181, 181, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

[dir="ltr"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-align: right;
  transition: all 0.2s ease;
}

[dir="ltr"] .lang-option {
  text-align: left;
}

.lang-option:hover {
  background: rgba(135, 181, 181, 0.1);
}

.lang-option.active {
  background: rgba(135, 181, 181, 0.15);
  color: var(--primary-dark);
}

.lang-option .lang-flag {
  font-size: 1.2rem;
}

.lang-option .lang-name {
  flex: 1;
  font-weight: 500;
}

/* LTR Layout Adjustments */
[dir="ltr"] .nav-menu {
  flex-direction: row;
}

[dir="ltr"] .nav-logo {
  order: 0;
}

[dir="ltr"] .nav-toggle {
  order: 2;
}

[dir="ltr"] .hero-features {
  flex-direction: row;
}

[dir="ltr"] .steps-grid,
[dir="ltr"] .features-grid,
[dir="ltr"] .audience-grid {
  direction: ltr;
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    right: auto;
    margin: 0;
    z-index: 1001;
  }

  [dir="ltr"] .lang-switcher {
    left: auto;
    right: var(--spacing-sm);
  }

  .lang-current {
    padding: 6px 10px;
  }

  .lang-code {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
  }

  .lang-name {
    display: block !important;
    color: var(--primary-dark);
    font-size: 0.9rem;
  }

  /* Dropdown menu alignment for LTR/RTL consistency on mobile */
  .nav-menu {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }

  [dir="ltr"] .nav-menu {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }

  .nav-menu.active {
    transform: none !important;
  }
}

/* ====================================
   Definitive Mobile Overrides
   ==================================== */
@media (max-width: 480px) {
  * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  body,
  html {
    overflow-x: hidden !important;
    width: 100vw !important;
    position: relative !important;
  }

  .container,
  .hero,
  .hero-content,
  .logo-container,
  .hero-logo-wrapper,
  .hero-badge,
  .hero-slogan-badge {
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overflow: visible !important;
    height: auto !important;
  }

  .navbar {
    height: 70px !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .nav-container {
    width: 100% !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 var(--spacing-md) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .nav-logo {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-logo-img {
    height: 32px !important;
    width: 32px !important;
    margin: 0 !important;
  }

  .nav-logo span {
    line-height: 1 !important;
    margin: 0 !important;
  }

  .nav-logo {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-slogan-badge {
    max-width: 90vw !important;
    white-space: normal !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    padding: 8px 12px !important;
    height: auto !important;
  }

  .app-name {
    font-size: 2rem !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .hero-features {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .hero-feature {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .hero-trust {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .trust-divider {
    display: none !important;
  }

  .trust-item {
    width: 100% !important;
    max-width: 250px !important;
    text-align: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.5) !important;
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .glow,
  .shape,
  .watermark-logo,
  .hero-glow-orb {
    display: none !important;
  }

  .logo {
    max-width: 120px !important;
    height: auto !important;
    margin: 0 auto 20px !important;
  }

  .lang-switcher {
    position: relative !important;
    margin: 0 !important;
    z-index: 1002 !important;
  }

  [dir="ltr"] .lang-switcher {
    margin: 0 !important;
  }

  .nav-toggle {
    position: relative !important;
    display: flex !important;
    z-index: 1002 !important;
    margin: 0 !important;
  }

  .logo-container {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }
}

/* ====================================
   Professional Mobile Polish
   ==================================== */
@media (max-width: 480px) {
  /* 1. Cleaner Background */
  .animated-background {
    background: linear-gradient(180deg, #f8fafc 0%, #d8e5e5 100%) !important;
    opacity: 1 !important;
  }

  .glow {
    opacity: 0.2 !important;
    /* Tone down the blobs */
  }

  /* 2. Headline Pill Optimization */
  .hero-slogan-badge {
    max-width: 90% !important;
    margin: 0 auto 20px auto !important;
    padding: 10px 18px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 8px 16px rgba(135, 181, 181, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
  }

  /* 3. Hero Features - Vertical Stacking & Glassmorphism */
  .hero-features {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 10px !important;
    margin-top: 30px !important;
  }

  .hero-feature {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 16px 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(135, 181, 181, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    justify-content: flex-start !important;
    /* Align left/right depending on RTL */
    width: 100% !important;
    transition: transform 0.2s ease !important;
  }

  .hero-feature:active {
    transform: scale(0.98) !important;
  }

  /* 4. Trust Indicators - Visibility & Stacking */
  .hero-trust {
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 40px !important;
    width: 100% !important;
  }

  .trust-item {
    background: rgba(255, 255, 255, 0.7) !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    box-shadow: 0 2px 10px rgba(135, 181, 181, 0.1) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .trust-divider {
    display: none !important;
  }

  .trust-number {
    font-weight: 800 !important;
    color: var(--primary-dark) !important;
    font-size: 1.2rem !important;
  }

  .trust-label {
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
  }

  .nav-link {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
  }

  .nav-menu .nav-link.active {
    color: var(--primary-dark) !important;
    background-color: rgba(135, 181, 181, 0.15) !important;
    border-right: 4px solid var(--primary) !important;
    border-radius: 0 12px 12px 0 !important;
  }

  [dir="rtl"] .nav-menu .nav-link.active {
    border-right: none !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 12px 0 0 12px !important;
  }

  /* 5. Navigation & Global Tweaks */
  .nav-toggle {
    background: rgba(255, 255, 255, 0.5) !important;
    padding: 8px !important;
    border-radius: 8px !important;
    height: auto !important;
    width: auto !important;
    gap: 5px !important;
  }

  .nav-toggle span {
    width: 24px !important;
    /* Standardize width */
  }

  /* Ensure content doesn't touch edges */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ====================================
   Professional Mobile Polish - Phase 2
   ==================================== */
@media (max-width: 480px) {
  /* 6. How It Works - Step Cards */
  .steps-grid {
    gap: 24px !important;
  }

  .step-card {
    margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 24px !important;
    padding: 30px 20px !important;
    box-shadow: 0 4px 20px rgba(135, 181, 181, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    position: relative !important;
    overflow: visible !important;
    /* Allow glow to show */
  }

  .step-number {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    transform: none !important;
    font-size: 1.5rem !important;
    opacity: 0.15 !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .step-icon {
    margin-bottom: 15px !important;
  }

  /* 7. Features & Audience Grids */
  .features-grid,
  .audience-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .feature-card,
  .audience-card {
    margin-bottom: 0 !important;
    /* Handled by gap */
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 24px !important;
    padding: 30px 25px !important;
    box-shadow: 0 4px 15px rgba(135, 181, 181, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    transform: none !important;
    /* Disable tilt on mobile for performance */
  }

  .feature-card:hover,
  .audience-card:hover {
    transform: none !important;
  }

  /* 8. Carousel Navigation Fixes */
  .carousel-nav-btn {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    top: auto !important;
    bottom: -50px !important;
    /* Move below the phone */
    transform: none !important;
    z-index: 10 !important;
  }

  .carousel-prev {
    left: 30% !important;
  }

  .carousel-next {
    right: 30% !important;
  }

  .carousel-container {
    margin-bottom: 60px !important;
    /* spacing for buttons */
  }

  /* 9. Section Spacing */
  .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px !important;
  }

  section {
    padding: 40px 0 !important;
  }
}

/* ====================================
   Phase 3: Client Feedback (Mobile Refinements)
   ==================================== */
@media (max-width: 900px) {
  /* 1. Reset Logo Layout */
  .nav-logo {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .nav-logo-img {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  .nav-logo span {
    display: block !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
  }

  /* 2. Language Switcher in Drawer */
  /* Hide default switcher in container */
  .nav-container > .lang-switcher {
    display: none !important;
  }

  /* Show switcher in drawer (will be injected by JS) */
  .nav-menu .lang-switcher {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: auto !important;
    /* Push to bottom if needed, or just regular flow */
    padding: 20px 0 !important;
    border-top: 1px solid rgba(135, 181, 181, 0.2);
  }

  /* Adjust switcher style for drawer */
  .nav-menu .lang-switcher .lang-current {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
  }

  .nav-menu .lang-dropdown {
    position: static !important;
    /* Inline for drawer */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px !important;
    display: none;
    /* Hidden by default, toggled by click */
  }

  .nav-menu .lang-dropdown.open {
    display: block !important;
    animation: none !important;
  }

  .nav-menu .lang-option {
    background: transparent !important;
    padding: 10px 20px !important;
  }

  /* 3. Download Buttons Sizing */
  .download-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 5px !important;
    justify-content: space-between !important;
  }

  .download-btn {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
    justify-content: center !important;
    height: 56px !important;
    /* Fixed height for equality */
    border-radius: 16px !important;
  }

  /* 4. Enlarge Store Icons */
  .store-icon {
    width: 28px !important;
    height: 28px !important;
    margin-left: 8px !important;
  }

  .btn-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1.1 !important;
  }

  .btn-label {
    font-size: 0.65rem !important;
    opacity: 0.9 !important;
  }

  .btn-store {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
  }
}

/* ====================================
   Phase 4: Critical Layout Fixes (Dropdown & Scroll)
   ==================================== */
@media (max-width: 900px) {
  /* 1. Header & Logo Fix */
  .navbar {
    height: var(--navbar-height) !important;
    min-height: 70px !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .nav-container {
    position: relative !important;
  }

  /* 2. Dropdown Switcher Overlap Fix */
  .nav-menu .lang-dropdown {
    position: static !important;
    transform: none !important;
    margin-top: 10px !important;
    background: rgba(135, 181, 181, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .nav-menu .lang-switcher {
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
  }

  /* 3. Global Scroll Fixes */
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Ensure sections don't trap scroll */
  section,
  .container {
    overflow: visible !important;
    height: auto !important;
  }
}

/* ====================================
   Phase 5: Critical Mobile Menu Fixes
   ==================================== */
@media (max-width: 900px) {
  /* 1. Force Column Layout for Dropdown Menu */
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 5px !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    background-image: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    height: auto !important;
    min-height: auto !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .nav-menu.active {
    padding: var(--spacing-md) !important;
  }

  .nav-item {
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  [dir="rtl"] .nav-item {
    text-align: right !important;
  }

  .nav-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 15px 20px !important;
    width: 100% !important;
    display: block !important;
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s ease !important;
  }

  .nav-link.active {
    color: var(--primary-dark) !important;
    font-weight: 800 !important;
    background-color: rgba(135, 181, 181, 0.12) !important;
    border-left: 5px solid var(--primary) !important;
  }

  [dir="rtl"] .nav-link.active {
    border-left: none !important;
    border-right: 5px solid var(--primary) !important;
  }

  /* Ensure no pseudo-elements are creating boxes */
  .nav-link::before,
  .nav-link::after {
    display: none !important;
  }
}
