/* ========================================
   SAFOOD - Partner Page
   Uses SAME Header/Footer/CTA as Solutions.css
   ======================================== */

/* ===== IMPORT BASE VARIABLES FROM SOLUTIONS.CSS ===== */
:root {
  --dark-brown: #2C2416;
  --gold: #B8954A;
  --light-gold: #D4B575;
  --cream: #FBF8F0;
  --beige: #F6EEDB;
  --text-dark: #2C2416;
  --text-medium: #6B5D4F;
  --text-light: #D4C7B5;
  --text-gray: #968778;
  --white: #FFFFFF;
  --border-light: #EAE3D5;
  --font-inter: 'Inter', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --max-width: 1512px;
  --container-padding: 104px;
}

/* ===== BASE RESET - Same as Solutions.css ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-inter);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* ===== CONTAINER - Same as Solutions.css ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  /*padding-bottom: 100px;*/
}
.text-center { text-align: center; }

/* ===== BADGE & SECTION HEADERS - Same as Solutions.css ===== */
.badge {
  display: inline-block;
  background: #FFF8E7;
  border: 1px solid rgba(184, 149, 74, 0.30);
  border-radius: 100px;
  padding: 9px 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.35px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-dark { color: var(--text-dark); }
.title-gold { color: var(--gold); }
.section-subtitle {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 768px;
  margin: 0 auto;
}
.section-header { margin-bottom: 80px; }

/* ===== BUTTONS - Same as Solutions.css ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #B5911C 0%, #B7931A 50%, #9D7A26 100%);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(184, 149, 74, 0.3);
}
.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid #FAF5E8;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-white-outline {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.30);
}
.btn-link {
  color: var(--white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== NAVIGATION - EXACT COPY FROM SOLUTIONS.CSS ===== */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.01);
  padding: 20px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.logo-gold { color: var(--gold); letter-spacing: 0.07px; }
.logo-white { color: var(--white); }
.logo-dark { color: var(--text-dark); }
.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-menu a {
  color: var(--white);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-menu a.active,
.nav-menu a:hover {
  color: var(--gold);
  font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-selector {
  color: var(--white);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
}
.language-selector span{
    display: flex;
    align-items: center;
    gap: 5px; /* icon aur EN ke darmiyan space */
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}
/* change 1 - mobile menu ma actions hide karne ke liye */
.mobile-only-actions {
  display: none;
}
/* ===== HERO SECTION - PARTNER SPECIFIC ===== */
.hero {
  min-height: 879px;
  position: relative;
  padding-top: 151px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../Assets/Image/hero-partner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, #2C2416 0%, rgba(44, 36, 22, 0.80) 50%, rgb(0 0 0) 100%);
  opacity: 0.6;
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 176px;
}
.hero-content {
  width: 100%;
  max-width: 808px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 39px;
}
.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 90px;
  letter-spacing: 0.12px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 32.5px;
  color: var(--text-light);
  width: 100%;
  max-width: 498px;
}

/* ===== PARTNER FEATURES SECTION ===== */
.partner-features {
  padding: 100px 0;
  background: var(--white);
}
.features-grid-partner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card-partner {
  padding: 33px;
  background: #FDFBF6;
  border-radius: 24px;
  border: 1px solid #FAF5E8;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.3s ease;
}
.feature-card-partner:hover {
  transform: translateY(-4px);
}
.feature-icon-partner {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #C4A563 0%, #B8954A 100%);
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon-partner::before {
  /*content: '';*/
  width: 28px;
  height: 28px;
  border: 2.92px solid var(--white);
  outline-offset: -1.46px;
  display: block;
}
.feature-icon-partner.icon-expand::before {
  width: 18.67px;
  height: 23.34px;
}
.feature-icon-partner.icon-local::before {
  width: 21.01px;
  height: 23.34px;
}
.feature-icon-partner.icon-market::before {
  width: 18.67px;
  height: 18.67px;
  border-radius: 4px;
}
.feature-icon-partner.icon-growth::before {
  width: 21px;
  height: 21px;
}
.feature-icon-partner.icon-tech::before {
  width: 21px;
  height: 10.50px;
}
.feature-icon-partner.icon-support::before {
  width: 25.25px;
  height: 10.10px;
}
.feature-card-partner h3 {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.feature-card-partner p {
  color: var(--text-gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

/* ===== PLATFORM SECTION ===== */
.partner-platform {
  padding: 30px var(--container-padding);
  background: var(--cream);
}
.platform-wrapper {
  background: linear-gradient(90deg, #2C2416 0%, rgba(44, 36, 22, 0.90) 30%, rgba(44, 36, 22, 0.60) 100%);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  padding: 49px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}
.platform-content {
  width: 579px;
}
.platform-content h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.40px;
  color: var(--white);
  margin-bottom: 12px;
}
.platform-content > p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 28px;
  margin-bottom: 32px;
}
.platform-features-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.platform-features-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
}
.platform-preview {
  width: 440px;
}
.preview-card-partner {
  position: relative;
  background: var(--white);
  border-radius: 16.82px;
  border: 2px solid #E0DBD4;
  box-shadow: 0px 5.6px 7px -4.2px rgba(0,0,0,0.10), 0px 14px 17.5px -3.5px rgba(0,0,0,0.10);
  overflow: hidden;
}
.preview-card-partner img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: linear-gradient(0deg, rgba(47, 39, 26, 0.25), rgba(47, 39, 26, 0.25));
}
.play-button {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 119px;
  height: 119px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid #C4A563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.play-button:hover {
  transform: scale(1.05);
}

/* ===== HOW IT WORKS - PARTNER ===== */
.partner-how-it-works {
  padding: 100px 48px;
  background: var(--white);
}
.partner-how-it-works .section-title {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.steps-wrapper-partner {
  position: relative;
  padding: 96px 0;
}
.steps-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 954px;
  height: 4px;
  background: #ECE9E3;
  border-radius: 100px;
}
.steps-grid-partner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px;
}
.step-card-partner {
  padding: 33px;
  background: #FDFBF6;
  border-radius: 24px;
  border: 1px solid rgba(250, 245, 232, 0.50);
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.3s ease;
}
.step-card-partner:hover {
  transform: translateY(-4px);
}
.step-icon-partner {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #B8954A 0%, #D4B575 100%);
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon-partner.icon-apply::before,
.step-icon-partner.icon-align::before,
.step-icon-partner.icon-launch::before {
  /*content: '';*/
  background: var(--white);
  display: block;
}
.step-icon-partner.icon-apply::before {
  width: 23.33px;
  height: 20.05px;
}
.step-icon-partner.icon-align::before {
  width: 23.19px;
  height: 24.50px;
}
.step-icon-partner.icon-launch::before {
  width: 22.75px;
  height: 22.75px;
  border: 1.75px solid var(--white);
  border-radius: 4px;
}
.step-card-partner h3 {
  color: #101828;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.step-card-partner p {
  color: var(--text-medium);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

/* ===== CTA SECTION - Same as Solutions.css ===== */
.cta-section {
  min-height: 999px;
  background: linear-gradient(135deg, #B8954A 0%, #C4A563 50%, #D4B575 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #2C2416 0%, rgba(44, 36, 22, 0.90) 30%, rgba(44, 36, 22, 0.60) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1176px;
  margin: 0 auto;
  padding: 130px 0;
}
.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 100px;
  padding: 11px 21px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 32px;
}
.cta-badge span {
    display: flex;
    align-items: center;
    gap: 5px; /* icon aur EN ke darmiyan space */
}
.cta-content h2 {
  font-size: 72px;
  font-weight: 700;
  line-height: 90px;
  color: var(--white);
  margin-bottom: 24px;
}
.cta-content > p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 39px;
  letter-spacing: 0.07px;
  margin-bottom: 70px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form {
  display: flex;
  gap: 16px;
  max-width: 672px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 8px;
}
.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 24px;
}
.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.60);
  font-size: 18px;
  font-family: var(--font-inter);
  outline: none;
}
.input-wrapper input::placeholder { color: rgba(255, 255, 255, 0.60); }
.cta-form .btn-white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.10), 0px 20px 25px -5px rgba(0, 0, 0, 0.10);
}
.cta-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  margin-bottom: 48px;
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 16px;
}
.check-icon-white {
  width: 20px;
  height: 20px;
  border: 1.67px solid rgba(255, 255, 255, 0.90);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon-white::after {
  /*content: '';*/
  width: 5px;
  height: 3.33px;
  border: 1.67px solid rgba(255, 255, 255, 0.90);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* ===== FOOTER - EXACT COPY FROM SOLUTIONS.CSS ===== */
.footer {
  padding: 80px 0 0;
  background: var(--cream);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand { width: 402.66px; }
.footer-brand p {
  color: var(--text-medium);
  font-size: 16px;
  line-height: 26px;
  margin: 16px 0 24px;
}
.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #B8954A 0%, #D4B575 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-links { display: flex; gap: 60px; }
.footer-column h4 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  margin-bottom: 16px;
}
.footer-column ul { display: flex; flex-direction: column; gap: 12px; }
.footer-column a,
.footer-column li {
  color: var(--text-medium);
  font-size: 14px;
  line-height: 20px;
}
.footer-column a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid rgba(223.07, 212.32, 196.69, 0.40);
}
.footer-bottom p {
  color: var(--text-medium);
  font-size: 14px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: var(--text-medium);
  font-size: 14px;
}

/* ===== RESPONSIVE BREAKPOINTS - Same as Solutions.css ===== */
@media (max-width: 1400px) {
  :root { --container-padding: 60px; }
  .hero-container { gap: 100px; }
  .features-grid-partner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1199px) {
  :root { --container-padding: 40px; }
  .hero-title { font-size: 56px; line-height: 70px; }
  .hero-subtitle { font-size: 18px; width: 100%; }
  .section-title { font-size: 40px; }
  .features-grid-partner { grid-template-columns: 1fr; }
  .platform-wrapper { flex-direction: column; gap: 40px; }
  .platform-content, .platform-preview { width: 100%; }
  .steps-grid-partner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { flex-direction: column; }
  .footer-brand { width: 100%; }
  .footer-links { justify-content: space-between; }
}

@media (max-width: 767px) {
  :root { --container-padding: 24px; }
  
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--dark-brown);
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .nav-menu.active { transform: translateX(0); }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  /* change 2 - desktop nav-actions hide, mobile-only-actions show */
  .nav-actions {
    display: none !important;
  }
  
  .mobile-only-actions {
    display: none;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
  }
  
  .nav-menu.active .mobile-only-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  /* change 3 - mobile language selector styling */
  .mobile-lang-selector {
    color: var(--white);
    font-family: var(--font-montserrat);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-lang-selector .lang-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .mobile-lang-selector.active .lang-options {
    display: block;
  }
  
  .mobile-lang-selector .lang-options li {
    padding: 10px 16px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    text-align: center;
  }
  
  .mobile-lang-selector .lang-options li:hover {
    background: rgba(255,255,255,0.1);
  }
  
  .mobile-lang-selector .lang-options li.active {
    color: #d4af37;
  }
  
  /* change 4 - mobile button styling */
  .mobile-get-started {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  /* RTL support for mobile lang dropdown */
  html[dir="rtl"] .mobile-lang-selector .lang-options {
    left: 50%;
    right: auto;
  }
  
  /* Hero */
  .hero { padding-top: 120px; min-height: auto;  padding-bottom: 120px; }
  .hero-container { flex-direction: column; gap: 60px; }
  .hero-content { width: 100%; }
  .hero-title { font-size: 40px; line-height: 50px; }
  .hero-subtitle { font-size: 16px; line-height: 26px; }
   
  /* Sections */
  .section-title { font-size: 32px; line-height: 40px; }
  .section-subtitle { font-size: 16px; }
  .steps-grid-partner { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .partner-platform { padding: 30px var(--container-padding); }
  .partner-platform .container { padding: 0px; }
  .platform-wrapper { padding: 25px; }
  
  .partner-how-it-works { padding: 60px 4px; }
  
  .cta-content h2 { font-size: 48px; line-height: 60px; }
  .cta-features { flex-direction: column; gap: 16px; }
  
  .footer-links { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 479px) {
  .hero-title { font-size: 32px; line-height: 42px; }
  .section-title { font-size: 28px; }
  .cta-content h2 { font-size: 36px; line-height: 46px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .feature-card-partner { padding: 24px; }
  .feature-icon-partner { width: 56px; height: 56px; }
  .play-button { width: 80px; height: 80px; bottom: -15px; right: -15px; font-size: 18px; }
}

/* ===== ACCESSIBILITY ===== */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   ADVANCED ANIMATIONS - PARTNER PAGE
   ======================================== */

/* ===== KEYFRAME ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px currentColor;
  }
  50% {
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes rubberBand {
  0% {
    transform: scaleX(1) scaleY(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scaleX(1) scaleY(1);
  }
}

@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes wobble {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-25%) rotate(-5deg);
  }
  30% {
    transform: translateX(20%) rotate(3deg);
  }
  45% {
    transform: translateX(-15%) rotate(-3deg);
  }
  60% {
    transform: translateX(10%) rotate(2deg);
  }
  75% {
    transform: translateX(-5%) rotate(-1deg);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes jello {
  0%, 11.1%, 100% {
    transform: none;
  }
  22.2% {
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }
  33.3% {
    transform: skewX(6.25deg) skewY(6.25deg);
  }
  44.4% {
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }
  55.5% {
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }
  66.6% {
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }
  77.7% {
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }
  88.8% {
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

/* ===== ANIMATION CLASSES ===== */

.animate {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-700 { animation-delay: 0.7s; }
.animate-delay-800 { animation-delay: 0.8s; }
.animate-delay-900 { animation-delay: 0.9s; }
.animate-delay-1000 { animation-delay: 1s; }

.fade-in-up { animation-name: fadeInUp; }
.fade-in-down { animation-name: fadeInDown; }
.fade-in-left { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }
.scale-in { animation-name: scaleIn; }
.bounce-in { animation-name: bounceIn; }
.float { animation-name: float; animation-duration: 3s; animation-iteration-count: infinite; }
.pulse { animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; }
.rotate { animation-name: rotate; animation-duration: 2s; animation-iteration-count: infinite; }
.shimmer { animation-name: shimmer; animation-duration: 2s; animation-iteration-count: infinite; }
.glow { animation-name: glow; animation-duration: 2s; animation-iteration-count: infinite; }
.morph { animation-name: morph; animation-duration: 8s; animation-iteration-count: infinite; }
.gradient-shift { animation-name: gradientShift; animation-duration: 3s; animation-iteration-count: infinite; }
.heart-beat { animation-name: heartBeat; animation-duration: 1.3s; animation-iteration-count: infinite; }
.rubber-band { animation-name: rubberBand; }
.swing { animation-name: swing; transform-origin: top center; }
.tada { animation-name: tada; }
.wobble { animation-name: wobble; }
.jello { animation-name: jello; }

/* ===== HOVER ANIMATIONS ===== */

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
}

.hover-rotate {
  transition: transform 0.3s ease;
}
.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 20px currentColor;
}

.hover-shake:hover {
  animation: shake 0.5s ease-in-out;
}

.hover-pulse:hover {
  animation: pulse 0.5s ease-in-out;
}

.hover-bounce:hover {
  animation: bounceIn 0.5s ease-in-out;
}

.hover-swing:hover {
  animation: swing 0.5s ease-in-out;
  transform-origin: top center;
}

.hover-tada:hover {
  animation: tada 0.5s ease-in-out;
}

.hover-wobble:hover {
  animation: wobble 0.5s ease-in-out;
}

.hover-jello:hover {
  animation: jello 0.5s ease-in-out;
}

.hover-rubber-band:hover {
  animation: rubberBand 0.5s ease-in-out;
}

.hover-heart-beat:hover {
  animation: heartBeat 0.5s ease-in-out;
}

/* ===== SCROLL TRIGGERED ANIMATIONS ===== */

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1s; }

/* ===== ENHANCED ELEMENT ANIMATIONS ===== */

/* Navigation Animations */
.navbar {
  animation: fadeInDown 0.8s ease-out;
}

.nav-menu a {
  position: relative;
  overflow: hidden;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section Animations */
.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Badge Animations */
.badge {
  animation: fadeInDown 0.6s ease-out;
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
}

/* Section Title Animations */
.section-title {
  animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Button Animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

/* Feature Card Partner Animations */
.feature-card-partner {
  animation: fadeInUp 0.8s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-partner:nth-child(1) { animation-delay: 0.1s; }
.feature-card-partner:nth-child(2) { animation-delay: 0.2s; }
.feature-card-partner:nth-child(3) { animation-delay: 0.3s; }
.feature-card-partner:nth-child(4) { animation-delay: 0.4s; }
.feature-card-partner:nth-child(5) { animation-delay: 0.5s; }
.feature-card-partner:nth-child(6) { animation-delay: 0.6s; }

.feature-card-partner:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-partner {
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.feature-card-partner:hover .feature-icon-partner {
  animation: none;
  transform: scale(1.2) rotate(10deg);
}

/* Platform Section Animations */
.platform-wrapper {
  animation: fadeInUp 1s ease-out;
  transition: transform 0.5s ease;
}

.platform-wrapper:hover {
  transform: scale(1.01);
}

.platform-content {
  animation: fadeInLeft 1s ease-out 0.2s both;
}

.platform-content h2 {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.platform-content > p {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.platform-features-list li {
  animation: fadeInLeft 0.6s ease-out both;
  transition: transform 0.3s ease;
}

.platform-features-list li:nth-child(1) { animation-delay: 0.5s; }
.platform-features-list li:nth-child(2) { animation-delay: 0.6s; }
.platform-features-list li:nth-child(3) { animation-delay: 0.7s; }

.platform-features-list li:hover {
  transform: translateX(10px);
}

.platform-preview {
  animation: fadeInRight 1s ease-out 0.3s both;
}

.preview-card-partner {
  animation: scaleIn 1s ease-out 0.5s both;
  transition: transform 0.5s ease;
}

.preview-card-partner:hover {
  transform: scale(1.02);
}

.play-button {
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.play-button:hover {
  animation: none;
  transform: scale(1.1);
}

/* Step Card Partner Animations */
.step-card-partner {
  animation: fadeInUp 0.8s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card-partner:nth-child(1) { animation-delay: 0.1s; }
.step-card-partner:nth-child(2) { animation-delay: 0.2s; }
.step-card-partner:nth-child(3) { animation-delay: 0.3s; }

.step-card-partner:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-icon-partner {
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.step-card-partner:hover .step-icon-partner {
  animation: none;
  transform: scale(1.2) rotate(10deg);
}

/* CTA Section Animations */
.cta-content {
  animation: fadeInUp 1s ease-out;
}

.cta-badge {
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.cta-content h2 {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-content > p {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-form {
  animation: fadeInUp 1s ease-out 0.5s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-feature {
  animation: fadeInUp 0.6s ease-out both;
  transition: transform 0.3s ease;
}

.cta-feature:nth-child(1) { animation-delay: 0.6s; }
.cta-feature:nth-child(2) { animation-delay: 0.7s; }
.cta-feature:nth-child(3) { animation-delay: 0.8s; }

.cta-feature:hover {
  transform: translateY(-3px);
}

.cta-buttons .btn {
  animation: fadeInUp 0.6s ease-out both;
}

.cta-buttons .btn:nth-child(1) { animation-delay: 0.9s; }
.cta-buttons .btn:nth-child(2) { animation-delay: 1s; }

/* Footer Animations */
.footer-brand {
  animation: fadeInLeft 0.8s ease-out;
}

.footer-column {
  animation: fadeInUp 0.8s ease-out both;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.footer-column a {
  position: relative;
  overflow: hidden;
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-column a:hover::after {
  width: 100%;
}

.social-icon {
  animation: bounceIn 0.6s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }

.social-icon:hover {
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.footer-legal a {
  position: relative;
  overflow: hidden;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-legal a:hover::after {
  width: 100%;
}

/* Logo Animation */
.logo {
  animation: fadeInDown 0.8s ease-out;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Language Selector Animation */
.language-selector {
  transition: transform 0.3s ease;
}

.language-selector:hover {
  transform: scale(1.05);
}

/* Input Focus Animation */
.input-wrapper input {
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  transform: scale(1.02);
}

/* Hamburger Animation */
.hamburger span {
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  animation: rotate 0.3s ease forwards;
}

.hamburger.active span:nth-child(2) {
  animation: fadeOut 0.3s ease forwards;
}

.hamburger.active span:nth-child(3) {
  animation: rotate 0.3s ease reverse forwards;
}

/* Check Icon Animation */
.check-icon-white {
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.cta-feature:hover .check-icon-white {
  animation: none;
  transform: scale(1.2);
}

/* Steps Line Animation */
.steps-line {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE ANIMATION ADJUSTMENTS ===== */

@media (max-width: 767px) {
  .animate {
    animation-duration: 0.6s;
  }
  
  .hero-content,
  .hero-title,
  .hero-subtitle {
    animation-duration: 0.8s;
  }
  
  .feature-card-partner,
  .step-card-partner,
  .platform-wrapper,
  .preview-card-partner {
    animation-duration: 0.6s;
  }
}

/* Language Selector Dropdown */
.language-selector {
  color: var(--white);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
}
.language-selector .lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
}
.language-selector .lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.language-selector.active .lang-options {
    display: block;
}
.language-selector .lang-options li {
    padding: 10px 16px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}
.language-selector .lang-options li:hover {
    background: rgba(255,255,255,0.1);
}
.language-selector .lang-options li.active {
    color: #d4af37;
}

/* RTL Support */
html[dir="rtl"] {
  text-align: right;
}
html[dir="rtl"] .nav-menu {
  text-align: right;
}
html[dir="rtl"] .nav-menu li {
  text-align: right;
}
html[dir="rtl"] .nav-menu li a {
  text-align: right;
  display: block;
}
html[dir="rtl"] .language-selector .lang-options {
  right: auto;
  left: 0;
}
html[dir="rtl"] .platform-wrapper {
  flex-direction: row-reverse;
}
html[dir="rtl"] .platform-content {
  text-align: right;
}
html[dir="rtl"] .footer-grid {
  flex-direction: row-reverse;
}
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-links {
  text-align: right;
}