* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:root {
  --gradient: linear-gradient(310deg, rgba(121,40,202,0.93), rgba(255,0,128,0.92));
  --control-height: 48px;
  --purple-500: #a855f7;
      --pink-500: #ec4899;
      --purple-600: #9333ea;
      --fuchsia-500: #d946ef;
}
.main-nav {
  position: fixed;
  top:0; left:0; width:100%;
  height: 92px;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    border 0.35s ease;
}
.main-nav.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-60px);
}
.nav-logo.ready {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s ease-out 0.2s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
@media (min-width:768px) {
  .nav-logo { padding-left: 45px; }
}
.nav-logo img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  display: block;
}
.nav-logo span {
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.2px;
}
.nav-right { display: flex; align-items: center; gap: 32px; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
}
.main-nav ul li a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  color: #1f2937;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  letter-spacing: -0.15px;
  transition: color 0.25s ease;
}
.main-nav ul li a:hover {
  color: #6d28d9;
  background: none;
}
.main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%; height: 3px;
  border-radius: 10px;
  background: var(--gradient);
  transition: width 0.3s ease;
}
.main-nav ul li a:hover::after { width: 100%; }
.search-icon-btn {
  background: none;
  border: none;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.search-icon-btn svg {
  width: 24px;
  height: 24px;
  stroke: #111827;
  stroke-width: 2.3;
  transition: all 0.25s ease;
}
.search-icon-btn:hover svg,
.search-icon-btn:focus svg,
.search-icon-btn:focus-visible svg {
  stroke: #a855f7;
  filter: brightness(1.08) saturate(1.15);
}
.search-icon-btn:active svg { transform: scale(0.94); }
.auth-btns a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--control-height);
  padding: 0 28px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  background: var(--gradient);
  transition: all 0.3s ease;
}
.auth-btns a:hover { transform: translateY(-3px) scale(1.03); }
.auth-btns svg { width: 14px; height: 14px; stroke: #fff; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: var(--gradient);
  transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle.active { background: var(--gradient); }
.menu-toggle.active span { background: #fff; }
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 19px;
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 19px;
}
@media (min-width:1025px) {
  .menu-toggle { display: none !important; }
  .nav-right { display: flex !important; }
}
@media (max-width:1024px) {
  .menu-toggle { display: flex; }
  .nav-right { display: none; }
  .main-nav { padding: 0 20px; height: 88px; }
  .nav-right.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(229,231,235,0.8);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    gap: 20px;
    padding: 32px 20px;
    align-items: center;
    text-align: center;
  }
  .nav-right.active ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .nav-right.active .auth-btns { margin-top: 16px; }
}
#ai-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#ai-search-overlay.active { display: flex; opacity: 1; }
#ai-search-modal {
  width: 90%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 9999px;
  padding: 10px 24px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0,0,0,0.18);
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--gradient) border-box;
  transform: scale(0.94);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
#ai-search-overlay.active #ai-search-modal {
  transform: scale(1);
  opacity: 1;
}
.ai-search-input-wrapper { position: relative; display: flex; align-items: center; }
.ai-search-input {
  width: 100%;
  height: 72px;
  padding: 0 24px 0 56px;
  border: none;
  border-radius: 9999px;
  background: #ffffff;
  font-size: 1.15rem;
  color: #1f2937;
  outline: none;
  font-weight: 400;
  text-align: left;
}
.ai-search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
  font-size: 1.1rem;
  text-align: left;
}
.ai-search-icon-left {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
  stroke: #a855f7;
  pointer-events: none;
  z-index: 1;
}
.close-search-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.25s ease;
  font-size: 1.1rem;
  font-weight: bold;
}
.close-search-btn:hover,
.close-search-btn:active {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.close-search-btn svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2.8;
}
.hero-section {
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
  padding-top: 110px;
  padding-bottom: 60px;
  min-height: auto;
}
/* }
.hero-section {
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
  padding-top: 110px;
  padding-bottom: 60px;
  min-height: auto;
} */


.hero-gradient-orb,
.hero-orb-white {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
}
.hero-gradient-orb { z-index: 1; }
.hero-orb-white {
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.9), rgba(255,255,255,0.4), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  opacity: 0.25;
}
.orb-center-top { width:900px; height:900px; background:radial-gradient(circle at 50% 50%, rgba(255,255,255,0.85), rgba(255,255,255,0.35), transparent 65%); top:-320px; left:50%; transform:translateX(-50%); filter:blur(160px); opacity:0.6; }
.orb-center-bottom { width:880px; height:880px; background:radial-gradient(circle at 50% 50%, rgba(255,255,255,0.80), rgba(255,255,255,0.30), transparent 68%); bottom:-300px; left:50%; transform:translateX(-50%); filter:blur(155px); opacity:0.55; }
.orb-top-left { width:620px; height:620px; background:linear-gradient(45deg, #c4b5fd88, #f472b688, transparent 70%); top:-220px; left:-220px; filter:blur(130px); opacity:0.24; }
.orb-top-right { width:620px; height:620px; background:linear-gradient(135deg, #a855f788, #f472b688, transparent 70%); top:-220px; right:-220px; filter:blur(130px); }
.orb-bottom-left { width:660px; height:660px; background:linear-gradient(135deg, #a855f788, #f472b688, transparent 70%); bottom:-240px; left:-200px; filter:blur(140px); opacity:0.26; }
.orb-bottom-right { width:660px; height:660px; background:linear-gradient(225deg, #a855f788, #f472b688, transparent 70%); bottom:-240px; right:-200px; filter:blur(140px); }
.orb-bottom-center-glow { width:900px; height:900px; background:radial-gradient(circle at 50% 70%, rgba(168,85,247,0.28), rgba(244,114,182,0.22), transparent 70%); bottom:-520px; left:50%; transform:translateX(-50%); filter:blur(220px); opacity:0.10; z-index:1; }
.hero-grid {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  z-index: 2;

}

@media (max-width:640px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero-left {
  text-align: center;
  margin-top: 10px;
  position: relative;
 
  z-index: 3;
  /* padding-left: 10px; */
}
@media (min-width:768px) {
  .hero-left {
    text-align: left;
    margin-top: 70px;
  }
}
.hero-left-gradient {
  position: absolute;
  inset: -10% 0 0 -30%;
  background: linear-gradient(135deg, rgba(168,85,247,0.09) 0%, rgba(244,114,182,0.07) 50%, transparent 80%);
  border-radius: 40% 60% 70% 30% / 60% 40% 70% 50%;
  filter: blur(60px);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}
.hero-right-gradient {
  position: absolute;
  inset: -15% -35% 0 -5%;
  background: linear-gradient(45deg, rgba(121,40,202,0.11) 0%, rgba(255,0,128,0.09) 45%, transparent 75%);
  border-radius: 55% 45% 60% 40% / 65% 55% 45% 60%;
  filter: blur(55px);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}
@media (max-width:767px) {
  .hero-left-gradient { inset: -25% -15% 0 -45%; filter:blur(48px); opacity:0.6; }
  .hero-right-gradient { inset: -25% -45% 0 -15%; filter:blur(48px); opacity:0.75; }
}
.badge-gradient-border {
  padding: 2px;
  border-radius: 9999px;
}
.badge-gradient-border > * {
  background: #FFF4E6;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #c2410c;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.text-content-wrapper {
  position: relative;
  min-height: 240px;
  margin-top: 0;
}
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.hero-title {
  font-size: clamp(36px,7.2vw,56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0;
}
.hero-title .emphasis { font-weight: 700; color: #0f172a; }
.hero-title .gradient-keyword {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width:767px) {
  .hero-title {
    font-size: clamp(32px,9.5vw,40px);
    line-height: 1.14;
    letter-spacing: -0.025em;
  }
}
.hero-subtitle {
  font-size: clamp(17px,2.1vw,18.5px);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.01em;
  color: #475569;
  max-width: 540px;
  margin-top: 1.125rem;
  opacity: 0.92;
}
@media (max-width:767px) {
  .hero-subtitle {
    font-size: clamp(15.5px,3.8vw,16px);
    line-height: 1.65;
    max-width: 100%;
    margin-top: 1rem;
  }
}
.toggle-container {
  margin-top: 1.5rem;
  display: flex;
  background: var(--gradient);
  border-radius: 9999px;
  padding: 0.25rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 60px;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.toggle-container.visible {
  opacity: 1;
  transform: scale(1);
}
@media (min-width:768px) {
  .toggle-container {
    margin-left: 0;
    height: 64px;
    padding: 0.3rem;
  }
  .toggle-btn {
    padding: 0 2rem;
    font-size: 1.05rem;
    height: 56px;
  }
}
.toggle-btn {
  flex: 1;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  color: white;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  height: 52px;
}
.toggle-btn.active {
  background: white;
  color: #0f172a;
}
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 580px;
  margin-left: auto;
  z-index: 5;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
}
.img-hidden {
  display: none;
}
.img-show {
  display: block;
}
.hero-animate{
  opacity:0;
  transform: translateY(80px);
}
.hero-animate.show{
  opacity:1;
  transform: translateY(0);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22,1,.36,1);
}
#value-section {
  position: relative;
  padding: 5rem 1rem 6rem;
  overflow: hidden;
  background: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#value-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253,231,243,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.value-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid #e9d5ff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.4s ease;
}
.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(168,85,247,0.18);
  border-color: #c084fc;
}
.value-animate {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.75s cubic-bezier(0.22,1,0.36,1);
}
.value-animate.visible {
  opacity: 1;
  transform: none;
}
#falayn-carousel-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #fdf4ff 0%, white 50%, #fdf4ff 100%);
  position: relative;
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
#falayn-carousel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 105, 180, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}
.carousel-heading {
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.falayn-carousel-track {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.22,1,0.36,1);
  width: 200%;
}
.falayn-carousel-card {
  min-width: 100%;
  background: white;
  border-radius: 2.75rem;
  border: 4px solid #e9d5ff;
  box-shadow: 0 30px 70px -15px rgba(168,85,247,0.14);
  overflow: hidden;
}
.falayn-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 0.35s;
  cursor: pointer;
}
.falayn-carousel-dot.active {
  background: #a855f7;
  width: 32px;
  border-radius: 999px;
}
.falayn-carousel-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.22,1,0.36,1);
}
.falayn-carousel-animate.visible {
  opacity:1;
  transform:translateY(0);
}
#candidateSection {
  position: relative;
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 50%, #9c27b0 100%);
  color: white;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#candidateSection * { color: white; }
#candidateSection .bg-purple-100 {
  background: white;
  color: #d81b60 !important;
}
#candidateSection button {
  background: white;
  color: #d81b60 !important;
  padding: 16px 40px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
#candidateSection button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.28);
}
.wave-depth {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.16), transparent 65%);
  opacity: .78;
  pointer-events: none;
}
.outer-border {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 16px;
  border-radius: 0;
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.18);
}
.inner-border {
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), transparent);
}
.candidate-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.22,1,0.36,1);
}
#candidateSection.visible .candidate-animate {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  #candidateSection .grid { grid-template-columns: 1fr; gap: 3rem; }
  #candidateSection h3 { font-size: 2.5rem; }
  #candidateSection p { font-size: 1.125rem; }
  .outer-border { padding: 12px; }
}
@media (max-width: 768px) {
  #value-section { padding: 4rem 1rem 5rem; }
  #falayn-carousel-section { padding: 4rem 1rem; }
  #candidateSection { padding: 2rem 1rem; }
  #value-section h1 { font-size: 2.25rem; }
  .carousel-heading { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .value-card { padding: 1.25rem; }
  #candidateSection h3 { font-size: 2rem; }
  #candidateSection p { font-size: 1rem; }
  #candidateSection button { padding: 14px 32px; }
  .outer-border { max-width: 100%; }
}
@media (max-width: 480px) {
  #value-section, #falayn-carousel-section, #candidateSection {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .value-card { border-radius: 1.25rem; }
  .falayn-carousel-card { border-radius: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

    /* ── General Section Fade ── */
    .section-fade-in {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .section-fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .key-feature-animate {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    .key-feature-animate.visible {
      opacity: 1;
      transform: translateY(0);
    }
 /* ── Features Section ── */
.feature-tab {
  background: #f3f4f6;
  color: #374151;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  min-width: 150px;
  height: 86px;
  flex-shrink: 0;
}

.feature-tab:hover:not(.active-tab),
.feature-tab.active-tab {
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  color: white;
  border-color: transparent;
}

.feature-tab .icon { color: #374151; transition: color 0.25s ease; }
.feature-tab:hover:not(.active-tab) .icon,
.feature-tab.active-tab .icon { color: white; }

.icon-box {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.card-content-area {
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
}

.card-content-area::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  background: linear-gradient(180deg, #fbbf24, #ec4899, #fbbf24);
  height: 0;
}

.card-content-area.active-animation::before {
  animation: gradientLineSlide 14s linear infinite;
}

@keyframes gradientLineSlide {
  0% { height: 0%; }
  100% { height: 100%; }
}

.main-title {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  font-size: 1.25rem;
}

.main-title .black-part { color: #0f172a; }

.main-title .gradient-part {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) { 
  .main-title { font-size: 1.6rem; } 
}

@media (min-width: 1024px) { 
  .main-title { font-size: 2.25rem; white-space: nowrap; } 
}

@media (max-width: 640px) {
  .main-title { white-space: normal; text-align: left; max-width: 95%; }
}


@media (max-width: 1023px) {

  .feature-tab {
    height: 68px;
    padding: 8px 12px;
    min-width: 130px;
    font-size: 0.875rem;
    gap: 8px;
  }

  .card-content-area {
    height: auto;
    padding: 20px 16px;
  }
}


#mobileButtonCarousel {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 4px;
}
#mobileButtonCarousel::-webkit-scrollbar { display: none; }
#mobileButtonCarousel .flex {
  gap: 10px;
  width: max-content;
}

/* ================= MOBILE (<768) ================= */
@media (max-width:767px){

  #mobileButtonCarousel{ display:block !important; }

  #mobileScrollLeftBtn,
  #mobileScrollRightBtn{
    display:flex !important;
  }
}
@media (min-width:768px){

  #mobileButtonCarousel{
    display:none !important;
  }

 
  #mobileScrollLeftBtn,
  #mobileScrollRightBtn{
    display:flex !important;
  }
}

/* ================= DESKTOP (unchanged layout) ================= */
@media (min-width:1024px){

  .feature-sync { height: 420px; }
  .feature-sync > div { height: 100%; }

  .feature-sync .card-content-area {
    height: 100%;
    padding: 32px 26px;
  }

  .feature-sync .feature-tab { height: 74px; }


  #mobileScrollLeftBtn,
  #mobileScrollRightBtn{
    display:none !important;
  }
}

.falayn-jobseeker-flow{
  position:relative;
  overflow:hidden;
  background:#fff;
  padding-top:40px;
  padding-bottom:80px;
  margin-top:80px;
  margin-bottom:60px;
}
@media(max-width:768px){
  .falayn-jobseeker-flow{
    margin-top:50px;
    margin-bottom:40px;
  }
}

.jobseeker-flow-section,
.jobseeker-flow-section *{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif!important;
}

/* ================= HEADING ================= */

.heading-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:100%;
}

.workflow-title{
  font-size:48px;
  font-weight:700;
  letter-spacing:-.5px;
  line-height:1.1;
  color:#0f172a;
}

.workflow-title span{
  background:linear-gradient(135deg,#ec4899,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.workflow-subtitle{
  font-size:22px;
  max-width:820px;
  margin:20px 0 60px;
  color:#475569;
  line-height:1.7;
}

/* ================= MAIN LAYOUT ================= */

.steps-container{
  display:flex;
  max-width:1600px;
  margin:60px auto;
  padding:0 20px;
  gap:80px;
  align-items:flex-start;
  justify-content:center;
  position:relative;
  z-index:10;
}

/* ================= LEFT STEPS ================= */

.steps-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  position:relative;
  padding-top:20px;
  flex-shrink:0;
  height:420px;
  justify-content:space-between;
  min-height:420px;
}

/* connector */
.connector{
  position:absolute;
  left:50%;
  top:70px;
  bottom:70px;
  width:4px;
  background:repeating-linear-gradient(
    to bottom,
    #c4b5fd 0,
    #c4b5fd 10px,
    transparent 10px,
    transparent 22px
  );
  transform:translateX(-50%);
  z-index:1;
}

.connector-active{
  position:absolute;
  left:50%;
  top:70px;
  width:4px;
  background:repeating-linear-gradient(
    to bottom,
    #a855f7 0,
    #a855f7 10px,
    transparent 10px,
    transparent 20px
  );
  transform:translateX(-50%);
  z-index:2;
  height:0;
  transition:height 1.2s ease-in-out;
}

/* step */
.step{
  position:relative;
  z-index:3;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  width:120px;
}

.step-circle{
  width:74px;
  height:74px;
  border-radius:50%;
  background:conic-gradient(#ec4899,#8b5cf6,#22d3ee,#ec4899);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:box-shadow .5s ease;
}

.step.active .step-circle{
  animation:outerBorderGrow 1.2s ease-out forwards;
}

@keyframes outerBorderGrow{
  0%{box-shadow:0 0 0 0 rgba(168,85,247,0)}
  100%{box-shadow:0 0 0 8px rgba(168,85,247,.5)}
}

.step-inner{
  width:62px;
  height:62px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.step-inner svg{
  width:32px;
  height:32px;
  fill:#1a1a1a;
}

/* ================= INFO CARD ================= */

.info-card{
  flex:1;
  max-width:950px;
  border:1px solid rgba(139,92,246,.4);
  border-radius:50px;
  overflow:hidden;
  height:420px;
  box-shadow:0 25px 60px rgba(139,92,246,.2);
  background:rgba(255,255,255,.5);
}

.info-inner{
  background:linear-gradient(135deg,#fce7f3 0%,#f3e8ff 40%,#e9d5ff 70%,#d1c4e9 100%);
  border-radius:50px;
  padding:50px 70px;
  display:flex;
  gap:50px;
  align-items:stretch;
  min-height:420px;
}

.info-left{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.info-right{
  flex:1.1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card-heading{
  font-size:30px;
  font-weight:700;
}

.feature-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  overflow-y:auto;
  flex:1;
}

.feature-item{
  display:flex;
  font-size:18px!important;
  gap:16px;
  padding:12px 16px;
  align-items:center;
  background:rgba(255,255,255,.85);
  border-radius:16px;
  border:1px solid rgba(180,130,255,.15);
}

.feature-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  background:linear-gradient(135deg,#ec4899,#8b5cf6);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.feature-icon svg{
  width:26px;
  height:26px;
  fill:#fff;
}

.feature-text{
  font-size:17px;
  color:#444;
  line-height:1.5;
  font-weight:500;
}

#visualDemo{
  max-width:95%;
  max-height:95%;
  object-fit:contain;
  border-radius:12px;
  margin-top:-20px;
}

/* ================================================= */
/* ============ HEIGHT FIX FOR SHORT SCREENS ======= */
/* ================================================= */

@media(max-height:750px){

  .steps-left{
    height:auto;
    min-height:auto;
    gap:40px;
  }

  .info-card{
    height:auto;
  }

  .info-inner{
    min-height:auto;
  }
}

/* ================================================= */
/* ============== SMALL MOBILE ONLY ================ */
/* ================================================= */

@media(max-width:640px){

  .steps-container{
    flex-direction:column;
    gap:50px;
    align-items:center;
  }

  .steps-left{
    width:100%;
    height:auto;
    min-height:auto;
    align-items:flex-start;
    padding-left:50px;
    gap:50px;
  }

  .connector,
  .connector-active{
    left: 79px;
    transform:none;
  }

  .connector{
    top:60px;
    bottom:60px;
  }

  .connector-active{
    top:60px;
  }

  .step{
    flex-direction:row;
    align-items:center;
    width:100%;
    gap:18px;
  }

  .step-circle{
    width:64px;
    height:64px;
    flex-shrink:0;
  }

  .step-inner{
    width:52px;
    height:52px;
  }

  .info-card{
    width:100%;
    height:auto;
    border-radius:22px;
  }

  .info-inner{
    flex-direction:column;
    padding:30px 20px;
    gap:30px;
    border-radius:22px;
  }

  .workflow-title{
    font-size:30px;
  }

  .workflow-subtitle{
    font-size:17px;
  }

}
    /* ── Beyond ATS Section ── */
    .beyond-ats-glow {
      filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.3));
    }
    @media (max-width: 1024px) {
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .center-visual {
        order: -1;
        margin-bottom: 2rem;
      }
    }
    @media (max-width: 640px) {
      .stats-grid div p:first-child {
        font-size: 2.5rem;
      }
      .center-visual svg {
        width: 220px !important;
        height: 220px !important;
      }
    }
    /* ── Footer ── */
    footer {
      background: #f9fafb;          
      border-top: 1px solid #e5e7eb;
    }