@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(8,8,12,.55), rgba(8,8,12,.75)),
    url('../Background_only_2K_202607191055.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Tajawal', sans-serif;
  color: #fff;
  overflow-x: hidden;
  text-align: right;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(80px, 14vw, 170px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -6px;
  color: #ffffff;
  position: relative;
}

.hero-title span {
  display: block;
}

.hero-title .gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 30%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-gold {
  position: absolute;
  width: 600px;
  height: 300px;
  top: 45%;
  left: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.18) 0%, rgba(59, 130, 246, 0.06) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-title small {
  display: block;
  margin-top: 40px;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: 3px;
  color: #64748b;
  line-height: 1.6;
  text-transform: lowercase;
}

.divider-line {
  width: 0;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(90deg, #F59E0B, #3B82F6);
  border-radius: 2px;
  animation: lineGrow 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lineGrow {
  to { width: 80px; }
}

.hero-title .line-1 {
  opacity: 0;
  transform: translateY(60px);
  animation: reveal 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line-2 {
  opacity: 0;
  transform: translateY(60px);
  animation: reveal 1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line-3 {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #F59E0B;
  opacity: 0;
  animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 85%; animation-delay: 1s; background: #3B82F6; }
.particle:nth-child(3) { top: 30%; left: 90%; animation-delay: 2s; width: 2px; height: 2px; }
.particle:nth-child(4) { top: 80%; left: 15%; animation-delay: 3s; background: #3B82F6; width: 2px; height: 2px; }
.particle:nth-child(5) { top: 20%; left: 70%; animation-delay: 1.5s; width: 4px; height: 4px; }
.particle:nth-child(6) { top: 70%; left: 50%; animation-delay: 4s; background: #3B82F6; }

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-30px) scale(1); }
  80% { opacity: 0.5; }
}

.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.15;
  z-index: 1;
}

.corner-tl { top: 20px; left: 20px; border-top: 1px solid #F59E0B; border-left: 1px solid #F59E0B; }
.corner-br { bottom: 20px; right: 20px; border-bottom: 1px solid #3B82F6; border-right: 1px solid #3B82F6; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%,
      rgba(209,162,92,.28) 0%,
      rgba(209,162,92,.12) 20%,
      transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 60%, rgba(255,255,255,.05), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.05), transparent 30%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,.04), transparent 40%);
  filter: blur(90px);
  opacity: .7;
  pointer-events: none;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.glass-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pill-blur {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-money-bg {
  font-size: 28rem;
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.15;
  filter: blur(4px);
}

.text-from {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
}

.text-content {
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
}

.text-blue-custom {
  color: #1d35ac;
}

.bg-blue-custom {
  background-color: #0a24a5;
}

.floating-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: rotate(-10deg);
}

.floating-card-right {
  transform: rotate(10deg);
}

.animate-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-fade {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.animate-fade.visible {
  opacity: 1;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.animate-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-brand-blue {
  color: #1A36A0;
}

.bg-card-surface {
  background-color: #F6F8FD;
}

.feature-card {
  min-height: 240px;
  padding: 3rem 2.5rem;
}

.funnel-text {
  font-weight: 400;
  letter-spacing: -0.05em;
}

.money-text {
  font-weight: 800;
  color: #00259e;
  letter-spacing: -0.05em;
}

.floating-card-1 {
  transform: rotate(-15deg);
  z-index: 10;
}

.floating-card-2 {
  transform: rotate(10deg);
  z-index: 20;
}

.follower-card-old {
  transform: rotate(-10deg);
}

.follower-card-new {
  transform: rotate(10deg);
}

.money-bundle {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.bottom-fade {
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  height: 150px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-bg {
  background: radial-gradient(circle at center top, #333333 0%, #000000 70%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  position: relative;
}

.text-glow-blur {
  filter: blur(4px);
  opacity: 0.6;
  display: inline-block;
}

.main-heading {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.glass-card-challenge {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  padding: 3rem 2rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card-afnan {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.image-frame {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 24px;
}

.glass-card-system {
  background: rgba(42, 47, 91, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-system:hover {
  transform: translateY(-8px);
  background: rgba(42, 47, 91, 0.6);
  border-color: #bac3ff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(186, 195, 255, 0.1);
}

.system-icon-wrapper {
  background: linear-gradient(135deg, #0033cc 0%, #2c4de1 100%);
  box-shadow: 0 8px 16px rgba(0, 51, 204, 0.3);
}

#pricing ul li {
  color: #e5e7eb !important;
}

@media (max-width: 768px) {
  #story .md\:col-span-5 > div[class*="-top-"] {
    top: 20px !important;
  }
  #story .md\:col-span-5 > div[class*="-bottom-"] {
    bottom: 20px !important;
  }
  #story .md\:col-span-5 > div[class*="-right-"] {
    right: 20px !important;
  }
  #story .md\:col-span-5 > div[class*="-left-"] {
    left: 20px !important;
  }
  #story .md\:col-span-5 > div[class*="rotate-"] {
    width: 70px !important;
    height: 70px !important;
  }
  #story .image-frame {
    padding: 4px !important;
    transform: scale(1.08) !important;
  }
}
