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

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc; /* brand-50 instead of #fafafa */
    color: #0f172a; /* brand-900 / slate-900 */
}

/* Micro animations */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.06), 0 4px 12px -4px rgba(15, 23, 42, 0.03);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }

    to { opacity: 1; transform: translateY(0); }
}
/* On dark hero — white text */
.navbar.transparent .logo-text { color: #ffffff; }
.navbar.transparent .nav-logo-tagline { color: #ffffff; }
.navbar.transparent #nav-logo-icon { background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.15) !important; }

/* After scroll — dark text */
.navbar.scrolled .logo-text { color: #1a1a2e; }
.navbar.scrolled .nav-logo-tagline { color: #888; }
.navbar.scrolled #nav-logo-icon { background: #1a1a2e !important; border-color: rgba(0,0,0,0.08) !important; }

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Gradients & Glows (Vercel/Linear inspired) */
.mesh-bg {
    background-color: #f8fafc;
    /* Clean subtle slate/indigo mesh */
    background-image: 
        radial-gradient(at 40% 20%, hsla(230, 60%, 85%, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(210, 60%, 85%, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(220, 60%, 85%, 0.15) 0px, transparent 50%);
}

.shadow-subtle {
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 2px 4px -1px rgba(15, 23, 42, 0.02);
}

.shadow-premium {
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

/* Inputs & Focus Rings */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], select, textarea {
    transition: all 0.2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); /* accent-500/15 */
    border-color: #4f46e5 !important;
}

/* 1. NAVBAR (Override defaults) */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar.transparent {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar.transparent .nav-link,
.navbar.transparent .logo-text {
  color: #ffffff !important;
}

.navbar.transparent .nav-logo img,
.navbar.transparent .nav-logo i {
  filter: brightness(0) invert(1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08) !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .logo-text {
  color: #1a1a2e !important;
}

.navbar.scrolled .nav-logo img,
.navbar.scrolled .nav-logo i {
  filter: none;
}
/* ============================================
   FEATURES BAR
============================================ */
.features-bar {
    background: #ffffff;
    box-shadow: 0 4px 40px rgba(83, 74, 183, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   EXPERTISE / SERVICES SECTION
============================================ */
.expertise-section {
    background: linear-gradient(180deg, #f5f4ff 0%, #ffffff 100%);
}

.section-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #534AB7, #7c72e0);
    border-radius: 2px;
    margin: 0 auto 16px;
}

/* ============================================
   SERVICE CARDS
============================================ */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(83, 74, 183, 0.15);
}

/* Card 1 — purple */
.service-card:nth-child(1) {
    border-top: 3px solid #534AB7;
}
.service-card:nth-child(1) .card-icon {
    background: #eeedfe;
    color: #534AB7;
}

/* Card 2 — indigo */
.service-card:nth-child(2) {
    border-top: 3px solid #4f46e5;
}
.service-card:nth-child(2) .card-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

/* Card 3 — amber */
.service-card:nth-child(3) {
    border-top: 3px solid #f59e0b;
}
.service-card:nth-child(3) .card-icon {
    background: #fef3c7;
    color: #d97706;
}
/* 2. PAGE VISUAL DESIGN */
.stats-section {
    background: linear-gradient(135deg, #0d0d2b 0%, #1a1040 100%);
}

.stat-number {
    color: #ffffff !important;
}

.stat-label {
    color: rgba(255, 255, 255, 0.55) !important;
}

.stats-section .divide-slate-200\/60 > * + * {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.features-bar {
  background: #ffffff;
  box-shadow: 0 4px 40px rgba(83, 74, 183, 0.08);
}

.expertise-section {
  background: linear-gradient(180deg, #f5f4ff 0%, #ffffff 100%);
}

.how-it-works-section {
  background: #ffffff;
}

.employers-section {
  background: linear-gradient(135deg, #0d0d2b 0%, #1e1060 100%);
}
.employers-section .section-subtitle,
.employers-section .section-title {
  color: #ffffff;
}
.employers-section .logo-pill {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}

.testimonials-section {
  background: linear-gradient(180deg, #f8f7ff 0%, #f0eeff 100%);
}

.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.faq-item {
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 4px 20px -5px rgba(79, 70, 229, 0.1);
}

/* 3. SERVICE CARDS */
.service-card {
  border-top: 3px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(83, 74, 183, 0.15);
}

.service-card:nth-child(1) { border-top-color: #534AB7; }
.service-card:nth-child(1) .card-icon { background: #eeedfe; color: #534AB7; }

.service-card:nth-child(2) { border-top-color: #10b981; }
.service-card:nth-child(2) .card-icon { background: #d1fae5; color: #059669; }

.service-card:nth-child(3) { border-top-color: #f59e0b; }
.service-card:nth-child(3) .card-icon { background: #fef3c7; color: #d97706; }

/* 4. HOW IT WORKS STEP ICONS */
.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step:nth-child(2) .step-icon-wrap { background: linear-gradient(135deg, #534AB7, #7c72e0); }
.step:nth-child(3) .step-icon-wrap { background: linear-gradient(135deg, #059669, #10b981); }
.step:nth-child(4) .step-icon-wrap { background: linear-gradient(135deg, #d97706, #f59e0b); }

.step-icon-wrap svg,
.step-icon-wrap i {
  color: white;
  font-size: 28px;
}

.step-number {
  background: #1a1a2e !important;
  color: white;
}

/* 5. TESTIMONIAL CARDS */
.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px -10px rgba(83,74,183,0.1);
  border: 1px solid rgba(83,74,183,0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(83,74,183,0.15);
}

.testimonial-card::before {
  content: '"';
  font-size: 100px;
  line-height: 1;
  background: linear-gradient(135deg, #534AB7, #7c72e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

/* 7. STANDARDIZE SECTION SPACING */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 48px 0;
  }
}

/* 8. SECTION DIVIDER */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #534AB7, #7c72e0);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* 9. HERO SEARCH BAR POLISH */
.hero-search-input:focus {
  outline: 2px solid #6B63D9;
  outline-offset: 2px;
}

@keyframes custom-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.hero-search-input.shake {
  animation: custom-shake 0.4s ease;
}

/* 10. NAVBAR RIGHT ACTIONS DYNAMIC STATE */
.navbar.transparent .nav-login-btn,
.navbar.transparent .nav-mobile-btn {
  color: #ffffff !important;
}

.navbar.scrolled .nav-login-btn,
.navbar.scrolled .nav-mobile-btn {
  color: #1e293b !important;
}

.navbar.scrolled .nav-login-btn:hover {
  color: #4f46e5 !important;
}

.navbar.transparent .nav-login-btn:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Language Switcher */
.navbar .nav-lang-switcher {
  transition: all 0.3s ease;
}
.navbar.transparent .nav-lang-switcher {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar.transparent .nav-lang-btn {
  color: rgba(255, 255, 255, 0.7);
}
.navbar.transparent .nav-lang-btn.nav-lang-active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.navbar.scrolled .nav-lang-switcher {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(226, 232, 240, 0.6);
}
.navbar.scrolled .nav-lang-btn {
  color: #64748b;
}
.navbar.scrolled .nav-lang-btn.nav-lang-active {
  background: #ffffff;
  color: #0f172a;
}

/* Profile Button */
.navbar .nav-profile-btn {
  transition: all 0.3s ease;
}
.navbar.transparent .nav-profile-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar.transparent .nav-profile-btn i.fa-chevron-down {
  color: rgba(255, 255, 255, 0.7);
}
.navbar.transparent .nav-profile-btn span {
  color: #ffffff;
}
.navbar.transparent .nav-profile-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-profile-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.navbar.scrolled .nav-profile-btn i.fa-chevron-down {
  color: #94a3b8;
}
.navbar.scrolled .nav-profile-btn span {
  color: #0f172a;
}
.navbar.scrolled .nav-profile-btn:hover {
  background: #f1f5f9;
}

/* Register Button */
.navbar .nav-register-btn {
  transition: all 0.3s ease;
}
.navbar.transparent .nav-register-btn {
  background: #ffffff;
  color: #0f172a;
}
.navbar.transparent .nav-register-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}
.navbar.scrolled .nav-register-btn {
  background: #0f172a;
  color: #ffffff;
}
.navbar.scrolled .nav-register-btn:hover {
  background: #1e293b;
}
