/* ============================================================================
   DOGAR TRADING CORPORATION — Premium SaaS Recruitment Website
   Light theme · Blue/Teal gradients · Stripe / Linear / Deel inspired
   ============================================================================ */

:root {
  --radius-sm: 0.375rem;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Theme tokens (HSL channels for hsl(var(--x))) */
  --bg: 0 0% 100%;
  --bg-soft: 220 33% 99%;
  --bg-muted: 220 20% 97%;
  --fg: 222 47% 11%;
  --fg-muted: 220 14% 46%;
  --fg-subtle: 220 13% 64%;
  --border: 220 16% 92%;
  --border-strong: 220 14% 86%;

  /* Brand: blue → teal SaaS gradient (Stripe/Linear vibe) */
  --brand-50:  214 100% 97%;
  --brand-100: 214 95%  93%;
  --brand-200: 213 97%  87%;
  --brand-300: 212 96%  78%;
  --brand-400: 213 94%  68%;
  --brand-500: 217 91%  60%;   /* primary blue */
  --brand-600: 221 83%  53%;
  --brand-700: 224 76%  48%;
  --brand-800: 226 71%  40%;
  --brand-900: 224 64%  33%;
  --brand-950: 226 57%  21%;

  --teal-400: 172 66% 50%;
  --teal-500: 173 80% 40%;
  --teal-600: 175 84% 32%;

  --emerald-500: 160 84% 39%;
  --amber-500: 38 92% 50%;
  --rose-500: 350 89% 60%;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  font-family: var(--font-sans);
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--fg));
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

::-webkit-scrollbar { width: 0.5rem; height: 0.5rem; }
::-webkit-scrollbar-track { background: hsl(var(--bg-muted)); }
::-webkit-scrollbar-thumb { background: hsl(var(--brand-300)); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--brand-500)); }

::selection { background: hsl(var(--brand-500) / 0.2); color: hsl(var(--brand-900)); }

/* ============================================================================
   LAYOUT PRIMITIVES
   ============================================================================ */
.container-x {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px)  { .container-x { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container-x { padding-inline: 2.5rem; max-width: 80rem; } }
@media (min-width: 1920px) { .container-x { max-width: 88rem; } }
@media (min-width: 2560px) { .container-x { max-width: 96rem; } }

.section { padding-block: 4.5rem; }
@media (min-width: 768px) { .section { padding-block: 6.5rem; } }
@media (min-width: 1280px){ .section { padding-block: 7.5rem; } }

/* ============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================ */
.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: hsl(var(--fg));
}
.h-section {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: hsl(var(--fg));
}
.h-sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--fg));
}
.t-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: hsl(var(--fg-muted));
}
.t-muted { color: hsl(var(--fg-muted)); }
.t-subtle { color: hsl(var(--fg-subtle)); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--brand-700));
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: hsl(var(--brand-200)); }
.eyebrow.light::before {
  background: linear-gradient(90deg, hsl(var(--brand-300)), hsl(var(--teal-400)));
}
.eyebrow.no-rule::before { display: none; }

/* Gradient text */
.gradient-text {
  background-image: linear-gradient(135deg, hsl(var(--brand-600)) 0%, hsl(var(--teal-500)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.gradient-text-bright {
  background-image: linear-gradient(135deg, hsl(var(--brand-300)) 0%, hsl(var(--teal-400)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Trust badge pill */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: hsl(var(--brand-50));
  color: hsl(var(--brand-700));
  border: 1px solid hsl(var(--brand-200));
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.trust-pill .dot {
  width: 0.5rem; height: 0.5rem; border-radius: 9999px;
  background: hsl(var(--emerald-500));
  box-shadow: 0 0 0 3px hsl(var(--emerald-500) / 0.2);
}

/* ============================================================================
   BACKGROUNDS
   ============================================================================ */
.bg-soft { background: hsl(var(--bg-soft)); }
.bg-muted-bg { background: hsl(var(--bg-muted)); }

.hero-bg {
  position: relative;
  background:
    radial-gradient(1100px 600px at 88% -10%, hsl(var(--teal-400) / 0.18), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, hsl(var(--brand-400) / 0.20), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, hsl(var(--bg-soft)) 100%);
  isolation: isolate;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--border)) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 40%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.dark-bg {
  background:
    radial-gradient(900px 500px at 90% -10%, hsl(var(--brand-500) / 0.25), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, hsl(var(--teal-500) / 0.18), transparent 60%),
    linear-gradient(135deg, hsl(var(--brand-950)) 0%, hsl(222 47% 8%) 100%);
  color: #fff;
}

.gradient-bg {
  background: linear-gradient(135deg, hsl(var(--brand-600)) 0%, hsl(var(--teal-500)) 100%);
  color: #fff;
}

.gradient-bg-soft {
  background:
    radial-gradient(800px 400px at 100% 0%, hsl(var(--brand-100)), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, hsl(var(--teal-400) / 0.15), transparent 60%),
    linear-gradient(180deg, #fff, hsl(var(--brand-50)));
}

.grid-pattern {
  background-image:
    linear-gradient(to right, hsl(var(--border)) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--border)) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  border-color: hsl(var(--brand-300));
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 14px 36px -16px hsl(var(--brand-600) / 0.18);
  transform: translateY(-2px);
}

.card-feat {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.card-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, hsl(var(--brand-400)), hsl(var(--teal-400)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card-feat:hover::before { opacity: 1; }
.card-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 44px -16px hsl(var(--brand-600) / 0.22);
}

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.card-stat {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.card-stat::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 0.9rem 1.4rem; font-size: 0.98rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--brand-600)), hsl(var(--brand-700)));
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 6px 16px -6px hsl(var(--brand-600) / 0.5);
}
.btn-primary:hover {
  background: linear-gradient(135deg, hsl(var(--brand-700)), hsl(var(--brand-800)));
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 12px 24px -8px hsl(var(--brand-600) / 0.55);
}

.btn-secondary {
  background: #fff;
  color: hsl(var(--fg));
  border-color: hsl(var(--border-strong));
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
  border-color: hsl(var(--brand-400));
  color: hsl(var(--brand-700));
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--fg));
}
.btn-ghost:hover { background: hsl(var(--bg-muted)); }

.btn-dark {
  background: hsl(var(--fg));
  color: #fff;
}
.btn-dark:hover { background: hsl(var(--brand-950)); transform: translateY(-1px); }

.btn-gradient {
  background: linear-gradient(135deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  color: #fff;
  box-shadow: 0 6px 18px -8px hsl(var(--teal-500) / 0.6);
}
.btn-gradient:hover {
  background: linear-gradient(135deg, hsl(var(--brand-600)), hsl(var(--teal-600)));
  transform: translateY(-1px);
}

.btn-ghost-dark {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
}

/* ============================================================================
   ICON TILES
   ============================================================================ */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--brand-50)), hsl(var(--brand-100)));
  color: hsl(var(--brand-700));
  font-size: 1.15rem;
  border: 1px solid hsl(var(--brand-200));
}
.icon-tile-lg { width: 3.5rem; height: 3.5rem; font-size: 1.4rem; }
.icon-tile-gradient {
  background: linear-gradient(135deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  color: #fff;
  border: 0;
  box-shadow: 0 6px 18px -8px hsl(var(--brand-500) / 0.6);
}
.icon-tile-dark {
  background: hsl(var(--fg));
  color: #fff;
  border: 0;
}

/* ============================================================================
   HEADER / NAV
   ============================================================================ */
.site-header {
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: hsl(var(--border));
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.05);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--fg-muted));
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: hsl(var(--fg)); background: hsl(var(--bg-muted)); }
.nav-link.is-active { color: hsl(var(--brand-700)); background: hsl(var(--brand-50)); }
.nav-link i.fa-chevron-down { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s ease; }
.nav-link:hover i.fa-chevron-down { transform: rotate(180deg); }

/* Mega menu */
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 36rem;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 60;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.mega-item:hover { background: hsl(var(--bg-muted)); }
.mega-item .mi-ico {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, hsl(var(--brand-100)), hsl(var(--brand-50)));
  color: hsl(var(--brand-700));
  font-size: 0.8rem;
}
.mega-item .mi-title { font-size: 0.88rem; font-weight: 600; color: hsl(var(--fg)); line-height: 1.2; }
.mega-item .mi-sub { font-size: 0.74rem; color: hsl(var(--fg-muted)); margin-top: 0.15rem; line-height: 1.3; }

.mega-foot {
  margin-top: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(135deg, hsl(var(--brand-50)), hsl(var(--teal-400) / 0.08));
  border: 1px solid hsl(var(--brand-100));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem;
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: hsl(var(--fg));
  margin-bottom: 0.4rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: hsl(var(--fg));
  background: #fff;
  border: 1px solid hsl(var(--border-strong));
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: hsl(var(--brand-500));
  box-shadow: 0 0 0 4px hsl(var(--brand-500) / 0.15);
}
.form-hint { font-size: 0.75rem; color: hsl(var(--fg-subtle)); margin-top: 0.35rem; }

/* ============================================================================
   REVEAL ANIMATIONS
   ============================================================================ */
.reveal,
.reveal-up,
.auto-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.in, .reveal.is-visible,
.reveal-up.is-visible,
.auto-fade.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.06s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.18s; }
.delay-4 { transition-delay: 0.24s; }
.delay-5 { transition-delay: 0.30s; }
.delay-6 { transition-delay: 0.36s; }

/* Floating animation */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }

/* Pulse */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 hsl(var(--brand-500) / 0.35); }
  100% { box-shadow: 0 0 0 14px hsl(var(--brand-500) / 0); }
}
.pulse-ring { animation: pulse-ring 2s ease-out infinite; }

/* Blob */
@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-25px) scale(1.05); }
  66%      { transform: translate(-15px,15px) scale(0.97); }
}
.blob { animation: blob 16s ease-in-out infinite; }

/* ============================================================================
   SPLASH / WELCOME SCREEN (first open only)
   ============================================================================ */
#welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 500px at 90% -10%, hsl(var(--brand-400) / 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, hsl(var(--teal-400) / 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, hsl(var(--bg-soft)) 100%);
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#welcome-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#welcome-screen.is-skipped,
html.skip-welcome #welcome-screen { display: none !important; }
body.welcome-active { overflow: hidden; }

.splash-inner {
  text-align: center;
  padding: 0 1.5rem;
  animation: splash-fade-in 0.7s ease both;
  position: relative;
  z-index: 2;
}
.splash-logo {
  width: clamp(90px, 12vw, 130px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 24px hsl(var(--brand-500) / 0.25));
}
.splash-rule {
  height: 2px;
  width: 6rem;
  margin: 1rem auto 1.5rem;
  background: linear-gradient(90deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  border-radius: 9999px;
  transform-origin: left center;
  animation: splash-rule 0.8s ease 0.2s both;
}
.splash-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
  background-image: linear-gradient(135deg, hsl(var(--brand-700)) 0%, hsl(var(--teal-500)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.splash-tag {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--fg-muted));
  font-weight: 600;
}
.splash-loader {
  margin: 2rem auto 0;
  width: 7rem;
  height: 3px;
  background: hsl(var(--brand-100));
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.splash-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  border-radius: 9999px;
  animation: splash-loader-slide 1.4s ease-in-out infinite;
}

.splash-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  z-index: 0;
}
.splash-blob-1 { width: 380px; height: 380px; top: 10%; left: 10%; background: hsl(var(--brand-300) / 0.5); animation: blob 14s ease-in-out infinite; }
.splash-blob-2 { width: 380px; height: 380px; bottom: 10%; right: 10%; background: hsl(var(--teal-400) / 0.45); animation: blob 18s ease-in-out infinite reverse; }

@keyframes splash-fade-in {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes splash-rule {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes splash-loader-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================================================
   IMAGE FRAME
   ============================================================================ */
.image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 44px -22px rgba(15,23,42,0.18);
  background: #fff;
}
.image-frame img { display: block; width: 100%; height: auto; }
.image-frame-tilt {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.image-frame-tilt:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }

/* ============================================================================
   TIMELINE / PROCESS
   ============================================================================ */
.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: -1.25rem;
  width: 2px;
  background: linear-gradient(180deg, hsl(var(--brand-300)), transparent);
}
.timeline-item:last-child::before { display: none; }

.timeline-num {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: 0 6px 16px -6px hsl(var(--brand-500) / 0.5);
}

/* ============================================================================
   ACCORDION (FAQ + Manpower)
   ============================================================================ */
.accordion-item {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accordion-item:hover { border-color: hsl(var(--brand-200)); }
.accordion-toggle {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  background: transparent;
  border: 0;
  color: hsl(var(--fg));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.accordion-toggle .acc-icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: hsl(var(--brand-50));
  color: hsl(var(--brand-700));
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 0.75rem;
}
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.accordion-body.is-open { grid-template-rows: 1fr; }
.accordion-body > div { overflow: hidden; }
.accordion-body > div > div { padding: 0 1.25rem 1.25rem; color: hsl(var(--fg-muted)); line-height: 1.65; font-size: 0.95rem; }
.accordion-toggle[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, hsl(var(--brand-500)), hsl(var(--teal-500)));
  color: #fff;
}

/* Manpower (keep legacy support) */
.manpower-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}
.manpower-body.is-open { grid-template-rows: 1fr; }
.manpower-body > div { overflow: hidden; }
.manpower-card .manpower-toggle[aria-expanded="true"] .manpower-icon { transform: rotate(45deg); }

/* ============================================================================
   MARQUEE (airline / clients)
   ============================================================================ */
.marquee-pause { position: relative; }
.marquee-track {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding-inline: 1.5rem;
}
.marquee-pause:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================================
   TESTIMONIAL SLIDER
   ============================================================================ */
.testimonial-slide {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.testimonial-dot {
  transition: width 0.3s ease, background 0.3s ease;
}

/* ============================================================================
   COUNTER
   ============================================================================ */
.counter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  background-image: linear-gradient(135deg, hsl(var(--brand-700)) 0%, hsl(var(--teal-500)) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, hsl(var(--bg-soft)) 100%);
  border-top: 1px solid hsl(var(--border));
}

/* ============================================================================
   FLOATING BUTTONS (FAB)
   ============================================================================ */
.fab {
  position: fixed;
  width: 3.25rem; height: 3.25rem;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 40;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.fab:hover { transform: scale(1.08); }
.fab-up {
  bottom: 1.5rem; right: 1.5rem;
  background: #fff;
  color: hsl(var(--brand-700));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.18);
}
.fab-up:hover { background: hsl(var(--brand-50)); border-color: hsl(var(--brand-300)); }
.fab-wa {
  bottom: 1.5rem; left: 1.5rem;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,0.5);
}

/* ============================================================================
   COUNTRY FLAG / CARD BITS
   ============================================================================ */
.flag-emoji {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* ============================================================================
   HIGH-RES / DESKTOP-FIRST AUTO-ADAPT
   ============================================================================ */
@media (min-width: 1920px) { html { font-size: 17px; } }
@media (min-width: 2560px) { html { font-size: 18px; } }

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #welcome-screen { animation: none !important; }
  .reveal, .reveal-up, .auto-fade { opacity: 1; transform: none; }
}

/* ============================================================================
   PRINT
   ============================================================================ */
@media print {
  #welcome-screen, .fab, header, footer { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ============================================================================
   POLISH PASS — Pure white, larger brand identity, dynamic micro-interactions
   ============================================================================ */

/* Force pure white background across the site */
html, body { background: #ffffff !important; }
main { background: #ffffff; }
.section { background: #ffffff; }
.bg-white { background-color: #ffffff !important; }

/* Override soft bg-soft to pure white where used as page background */
.hero-bg {
  background:
    radial-gradient(60% 50% at 50% 0%, hsl(var(--brand-50) / 0.55) 0%, transparent 65%),
    radial-gradient(40% 30% at 90% 10%, hsl(var(--teal-400) / 0.10) 0%, transparent 60%),
    #ffffff !important;
}

/* ---- LARGE BOLD BRAND LOCKUP in header ---- */
.brand-lockup { gap: 1rem; }
.brand-logo {
  height: 3.5rem;          /* 56px mobile */
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.08));
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 1024px) {
  .brand-logo { height: 4rem; }   /* 64px desktop */
}
@media (min-width: 1536px) {
  .brand-logo { height: 4.5rem; } /* 72px on large screens */
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;           /* 20px mobile */
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: hsl(var(--fg));
}
@media (min-width: 640px)  { .brand-name { font-size: 1.5rem; } }   /* 24px */
@media (min-width: 1024px) { .brand-name { font-size: 1.875rem; } } /* 30px */
@media (min-width: 1280px) { .brand-name { font-size: 2.125rem; } } /* 34px */
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-top: 0.25rem;
  color: hsl(var(--fg-muted));
}
@media (min-width: 1024px) {
  .brand-sub { font-size: 0.75rem; }
}

/* Sticky header — taller + glassier */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: hsl(var(--border));
  box-shadow: 0 6px 22px -16px rgba(15, 23, 42, 0.12);
}

/* ---- FASTER, snappier transitions across the board ---- */
.card, .card-feat, .btn, .nav-link, .mega-item, .trust-pill {
  transition-duration: 0.18s !important;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1) !important;
}

/* Snappier hover lift on cards */
.card:hover, .card-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.18);
}

/* ---- Reveal animations: shorter delays, faster entry ---- */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(.4,0,.2,1), transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.reveal.in, .reveal.is-visible,
.reveal-up.in, .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ACCORDION (FAQ) ---- */
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(.4, 0, .2, 1);
}
.accordion-body > * { overflow: hidden; min-height: 0; }
.accordion-body.is-open { grid-template-rows: 1fr; }
.accordion-toggle[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  color: hsl(var(--brand-700));
}

/* ---- COUNTER number — gradient text by default ---- */
.counter {
  background: linear-gradient(135deg, hsl(var(--brand-700)) 0%, hsl(var(--teal-500)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---- LAZY IMAGE FADE-IN ---- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.35s ease;
}
img[loading="lazy"].is-loaded,
img[loading="lazy"]:not([data-pending]) {
  opacity: 1;
}

/* Splash logo — bigger and crisp */
.splash-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 18px rgba(29, 78, 216, 0.25));
}

/* Welcome splash faster fade-out */
#welcome-screen {
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

/* Mobile menu — smoother slide */
#mobile-menu {
  transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.25s ease;
}

/* Nav link hover micro-lift */
.nav-link {
  position: relative;
  transition: all 0.18s cubic-bezier(.4, 0, .2, 1) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0.875rem; right: 0.875rem; bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--brand-600)), hsl(var(--teal-500)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Pure-white card on white surfaces — keep subtle border instead of bg shift */
.card {
  background: #ffffff;
  border-color: hsl(var(--border));
}
.card:hover { border-color: hsl(var(--brand-200)); }

/* Section padding tightened slightly on mobile for snappier feel */
@media (max-width: 767px) {
  .section { padding-block: 3.5rem; }
}

/* CTA button micro-pulse on hover */
.btn-primary, .btn-gradient {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-gradient::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.55s ease;
}
.btn-primary:hover::before, .btn-gradient:hover::before { left: 100%; }

/* Better focus ring for accessibility + polish */
:focus-visible {
  outline: 2px solid hsl(var(--brand-500));
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduce paint cost on big sections */
.section, .card, .card-feat {
  contain: layout style;
}
