/* ==================== STAAFIN SHARED STYLES ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --purple:     #5B47E0;
  --purple-d:   #4936CC;
  --purple-xl:  #EEF0FF;
  --indigo:     #4338CA;
  --cyan:       #06B6D4;
  --green:      #22C55E;
  --green-d:    #16A34A;
  --text:       #0F172A;
  --text-2:     #1E293B;
  --muted:      #64748B;
  --muted-2:    #94A3B8;
  --border:     #E2E8F0;
  --bg:         #FFFFFF;
  --bg-2:       #F8FAFC;
  --nav-bg:     #000000;
  --footer-bg:  #0A0A0A;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --grad-hero:  linear-gradient(90deg, #6366F1 0%, #06B6D4 100%);
  --grad-cta:   linear-gradient(135deg, #5B47E0 0%, #4338CA 50%, #3B82F6 100%);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
  transition: box-shadow .3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 20px; color: #fff;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65);
  padding: 7px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav-login {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
  padding: 8px 16px; border-radius: 8px;
  transition: color .2s, background .2s;
  border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.btn-nav-login:hover { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  color: rgba(255,255,255,0.8);
}
.mobile-nav {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; z-index: 199;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px 20px; flex-direction: column; gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.75);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav .mob-cta {
  margin-top: 10px; background: var(--purple);
  text-align: center; border-radius: 8px; padding: 12px;
  font-weight: 600; color: #fff; border-bottom: none;
  transition: background .2s;
}
.mobile-nav .mob-cta:hover { background: var(--purple-d); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--purple); padding: 13px 28px;
  border-radius: 10px; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(91,71,224,0.35);
}
.btn-primary:hover { background: var(--purple-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,71,224,0.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text-2);
  background: #fff; padding: 12px 28px;
  border-radius: 10px; border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-xl); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: transparent; padding: 12px 28px;
  border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-green-solid {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--green); padding: 13px 28px;
  border-radius: 10px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-green-solid:hover { background: var(--green-d); transform: translateY(-2px); }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple);
  background: var(--purple-xl); padding: 5px 14px; border-radius: 100px;
  margin-bottom: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  padding: 72px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 14px; }
.footer-brand .nav-logo img { height: 36px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 270px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color .2s; font-size: 13px; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .10s; } .d2 { transition-delay: .20s; }
.d3 { transition-delay: .30s; } .d4 { transition-delay: .40s; }
.d5 { transition-delay: .50s; }

/* ===== COUNTER ANIMATION ===== */
.counter-num { transition: all .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav-login { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
