@import url("https://fonts.googleapis.com/css2?family=Bungee+Spice&family=DM+Serif+Text:ital@0;1&family=Instrument+Serif:ital@0;1&family=Mirza:wght@400;500;600;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rammetto+One&family=Roboto+Slab:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-8);
  /* text-shadow: 0 0 15px #0000002f; */
}

html.rtl {
  font-family: "Rubik", "Inter", "Segoe UI", system-ui, sans-serif;
  direction: rtl;
}

:root {
  --font-1: "DM Serif Text", serif;
  --font-2: "Instrument Serif", serif;
  --font-3: "Mirza", cursive;
  --font-4: "Rammetto One", cursive;
  --font-5: "Roboto Slab", serif;
  --font-6: "Bungee Spice", cursive;
  --font-7: "Poppins", sans-serif;
  --font-8: "Rubik", sans-serif;

  --primary: #1f16a3;
  --black: #000000;
  --primary-dark: #4f46e5;
  --primary-light: #01a6ff;
  --secondary: #125aad;
  --accent: #f59e0b;
  --text: #000000;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --glass: rgba(0, 0, 0, 0.1);
  --glass-dark: rgba(15, 23, 42, 0.8);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
  --radius: 20px;
  --radius-lg: 30px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1;
  /* color: var(--text);
  background: var(--white); */
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#0000003e 1px, transparent 1px);
  background-size: 15px 15px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Modern Header with Glass Morphism */
header {
  padding: 1.5rem 0;
  background: #000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff1a;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--white);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

/* .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
} */

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--white);
  text-decoration: none;
  color: var(--black);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  /* transition: var(--transition); */
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  padding: 8px 0;
  border-radius: 6px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.lang-menu div {
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu div:hover {
  background: #f0f0f0;
}

.lang-dropdown.active .lang-menu {
  display: block;
}



/* small helper to show active lang in dropdown */
      .lang-dropdown {
        position: relative;
        display: inline-block;
      }
      .lang-btn {
        background: transparent;
        border: none;
        color: var(--white);
        cursor: pointer;
        font-size: 1.1rem;
        padding: 8px;
        border-radius: 8px;
      }
      .lang-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        display: none;
        background: #0b1220;
        color: #fff;
        border-radius: 8px;
        overflow: hidden;
        min-width: 130px;
        box-shadow: var(--shadow-lg);
      }
      .lang-menu div {
        padding: 10px 12px;
        cursor: pointer;
        font-size: 0.95rem;
      }
      .lang-menu div:hover {
        background: rgba(255, 255, 255, 0.04);
      }
      .lang-dropdown.active .lang-menu {
        display: block;
      }
      /* mobile nav active */
      .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
      }
      /* small RTL helpers (your main css already handles most) */
      html[dir="rtl"] .nav-links {
        direction: rtl;
      }
/* ---------------------- */
/* MOBILE RESPONSIVE NAV  */
/* ---------------------- */

/* Hide toggle button on desktop */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
}

/* .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 214, 160, 0.3);
} */

/* Hero Section with Modern Layout */
.hero {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  /* background: radial-gradient(#6a3cff47, #3f00ff87); */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* animation: gradientShift 8s ease-in-out infinite; */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-family: var(--font-1);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--black);
}

.hero p {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 3rem;
  font-weight: 600;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: var(--black);
  color: var(--white);
}

.cta-secondary {
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--black);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button::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: var(--transition);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Features Grid with Glass Morphism */
.features {
  padding: 5rem 0;
  /* background: var(--bg-light); */
  position: sticky;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--black);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--black);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section with Modern Design */
.stats {
  padding: 6rem 0;
  background: var(--black);
  color: var(--white);
  position: static;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* How It Works - Modern Steps */
.how-it-works {
  padding: 8rem 0;
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--black);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 auto 2rem;
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.step p {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--white);
}

/* CTA Section */
.final-cta {
  padding: 8rem 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
}

/* Loading Animation */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  z-index: 9999;
  transition: width 0.3s ease;
}

/* FREAM */
.btn {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

/* TEST HTML */
.step h2 {
  color: var(--white);
}

button,
input,
select,
textarea {
  outline: none;
  border: none;
}

#countryList {
  display: flex;
  flex-direction: column;

  .country-item {
    cursor: pointer;
    padding: 10px;
    cursor: pointer;
    color: white;
    background: rgb(255 255 255 / 25%);
    border-radius: 50px;
  }

  .country-item.active-country {
    background: white;
    color: black;
  }
}


.options-btns {
  display: flex;
  gap: 10px;
  button{
    cursor: pointer;
    background: #ffffff;
    color: rgb(0, 0, 0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }
}



.ai-loader {
  width: 26px;
  height: 26px;
  border: 4px solid #ddd;
  border-top-color: #3b82f6;
  border-radius: 50%;
  margin: 0 auto;
  animation: aiSpin 0.8s linear infinite;
}

@keyframes aiSpin {
  to {
    transform: rotate(360deg);
  }
}
