/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --accent: #ffffff;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--transition);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--transition);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  object-fit: cover;
  object-position: center 30%;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-300);
}

.mobile-menu a:hover {
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s var(--transition) both;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--transition) 0.1s both;
}

.hero-title-line {
  display: block;
  color: var(--white);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--transition) 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--transition) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  border: none;
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 64px;
  animation: fadeInUp 0.8s var(--transition) 0.5s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== SECTIONS COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto;
}

.text-accent {
  background: linear-gradient(135deg, #fff 0%, #999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ABOUT / TRUST ===== */
.about {
  padding: 120px 0;
  background: var(--gray-900);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  margin-top: 16px;
}

.about-paragraph {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-paragraph strong {
  color: var(--white);
}

.about-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.8;
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-right: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 12px 12px 0;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-logo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  transition: all 0.4s var(--transition);
}

.about-logo-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.about-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: #ffffff;
  padding: 8px;
  object-fit: cover;
  object-position: center 30%;
  margin-bottom: 24px;
}

.about-logo-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-parent {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-300);
}

.about-arrow {
  font-size: 1.3rem;
  color: var(--gray-500);
}

.about-child {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.about-logo-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  background: var(--black);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  transform: translate(50%, -50%);
  transition: all 0.4s var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: translate(30%, -30%);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--black);
  position: relative;
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.4s var(--transition);
  position: relative;
}

.step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.05em;
  min-width: 80px;
  text-align: center;
  transition: color 0.4s var(--transition);
}

.step:hover .step-number {
  color: rgba(255, 255, 255, 0.12);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.step-icon {
  color: var(--gray-600);
  transition: color 0.4s var(--transition);
}

.step:hover .step-icon {
  color: var(--white);
}

.step-connector {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 auto;
}

/* ===== TECHNICIANS CTA ===== */
.technicians {
  padding: 120px 0;
  background: var(--black);
  position: relative;
}

.technicians::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.tech-content {
  max-width: 700px;
  margin: 0 auto;
}

.tech-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 16px;
}

.tech-desc {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 32px;
}

.tech-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.tech-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--gray-300);
  font-weight: 500;
}

.tech-perk svg {
  color: #4ade80;
  flex-shrink: 0;
}

/* ===== JOIN / ENTRY POINTS ===== */
.join {
  padding: 120px 0;
  background: var(--gray-900);
  position: relative;
}

.join::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.join-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.join-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  transition: all 0.5s var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.join-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}

.join-card:hover::before {
  opacity: 1;
}

.join-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.join-card-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  margin: 0 auto 24px;
  color: var(--white);
  transition: all 0.4s var(--transition);
}

.join-card:hover .join-card-icon {
  background: var(--white);
  color: var(--black);
  transform: scale(1.1);
}

.join-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.join-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

.join-card-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  margin: 0 auto;
  color: var(--gray-500);
  transition: all 0.4s var(--transition);
}

.join-card:hover .join-card-arrow {
  background: var(--white);
  color: var(--black);
  transform: translateX(-8px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 32px;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  padding: 4px;
  object-fit: cover;
  object-position: center 30%;
}

.footer-name {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-300);
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-500);
  padding: 4px 0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Scroll reveal */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .tech-perks {
    grid-template-columns: 1fr;
  }

  .join-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .feature-card {
    padding: 28px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .step-number {
    font-size: 3rem;
    min-width: auto;
  }

  .join-cards {
    grid-template-columns: 1fr;
  }

  .join-card:last-child {
    max-width: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}
