/* ══════════════════════════════════════════
   JESTO Recruitment — Final Landing Page
   Clean. Professional. No emojis.
   Scoped under main.
   ══════════════════════════════════════════ */

html { scroll-behavior: smooth; }

:root {
  --blue: #0066FF;
  --blue-l: #3385FF;
  --blue-xl: #E8F0FF;
  --dark: #0A0F1E;
  --dark-2: #111832;
  --text: #1A1F36;
  --muted: #6B7399;
  --border: #E2E6F3;
  --white: #FFFFFF;
  --off: #F7F9FF;
  --r: 14px;
  --ease: cubic-bezier(.4,0,.2,1);
}

main {
  font-family: 'Ubuntu', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.wrap.center { text-align: center; }

.label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--blue); margin-bottom: .75rem;
}
.label.light { color: #7EB3FF; }

main h2 {
  font-size: clamp(2rem, 3.8vw, 2.85rem) !important;
  font-weight: 700; line-height: 1.12; letter-spacing: -.5px; color: var(--text);
}
main h2 em { font-style: normal; color: var(--blue); }

.subtitle {
  margin-top: .75rem; font-size: 1.05rem; color: var(--muted);
  line-height: 1.75; max-width: 560px;
}
.subtitle.light { color: rgba(255,255,255,.45); }
.wrap.center .subtitle { margin-left: auto; margin-right: auto; }


/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

main .hero {
  padding: 72px 5% 0;
  background: linear-gradient(170deg, #F0F5FF 0%, #FFF 40%, var(--off) 100%);
  text-align: center; position: relative; overflow: hidden;
}
main .hero::before {
  content: ''; position: absolute;
  top: -300px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.1rem; border-radius: 999px;
  background: var(--white); border: 1px solid rgba(0,102,255,.12);
  font-size: .78rem; font-weight: 600; color: var(--blue);
  margin-bottom: 1.75rem; box-shadow: 0 1px 4px rgba(0,20,80,.04);
  animation: fadeUp .5s var(--ease) both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,.12);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(0,102,255,.12); }
  50% { box-shadow: 0 0 0 7px rgba(0,102,255,.04); }
}

main h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem) !important;
  font-weight: 700; line-height: 1.08; letter-spacing: -1.5px;
  color: var(--text); max-width: 740px;
  animation: fadeUp .55s .08s var(--ease) both;
}
main h1 em { font-style: normal; color: var(--blue); }

.hero-sub {
  margin-top: 1.25rem; font-size: 1.08rem; color: var(--muted);
  line-height: 1.75; max-width: 560px;
  animation: fadeUp .55s .16s var(--ease) both;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  margin-top: 2.25rem; display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .55s .24s var(--ease) both;
}
.hero-note {
  margin-top: 1rem; font-size: .8rem; color: var(--muted);
  animation: fadeUp .55s .3s var(--ease) both;
}

/* Buttons */
.btn-hero {
  padding: .8rem 2rem; border-radius: 10px; font-size: .95rem; font-weight: 600;
  font-family: 'Ubuntu', sans-serif; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: all .25s var(--ease);
}
.btn-hero svg { transition: transform .2s; }
.btn-hero:hover svg { transform: translateX(3px); }
.btn-hero.primary {
  background: var(--blue); color: #fff; border: none;
  box-shadow: 0 4px 18px rgba(0,102,255,.3);
}
.btn-hero.primary:hover { background: var(--blue-l); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,102,255,.4); }
.btn-hero.signup { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-hero.signup:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,102,255,.3); }
.btn-hero.ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-hero.ghost:hover { color: var(--blue); border-color: var(--blue); }

/* Hero Showcase */
.hero-showcase {
  max-width: 1100px; margin: 3.5rem auto 0; padding: 0 5%;
  position: relative;
  animation: fadeUp .6s .35s var(--ease) both;
}
.showcase-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,20,80,.1); overflow: hidden;
}
.sc-bar {
  background: var(--dark); padding: .7rem 1.1rem;
  display: flex; align-items: center; gap: .45rem;
}
.sc-dot { width: 9px; height: 9px; border-radius: 50%; }
.sc-dot.red { background: #FF5F57; }
.sc-dot.yellow { background: #FEBC2E; }
.sc-dot.green { background: #28C840; }
.sc-bar-title { margin-left: auto; color: rgba(255,255,255,.3); font-size: .72rem; }
.sc-tabs { display: flex; background: #F2F5FF; border-bottom: 1px solid var(--border); }
.sc-tab {
  padding: .6rem 1.1rem; font-size: .75rem; font-weight: 500;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all .2s;
}
.sc-tab.active { color: var(--blue); border-color: var(--blue); background: #fff; }
.sc-body { padding: 1.25rem; }
.sc-cols { display: flex; gap: .6rem; }
.sc-col { flex: 1; background: var(--off); border-radius: 10px; padding: .75rem .65rem; border: 1px solid var(--border); }
.sc-col-head {
  display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem;
}
.sc-col-head span { background: var(--blue); color: #fff; border-radius: 20px; padding: .1rem .4rem; font-size: .62rem; }
.sc-chip {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: .5rem .6rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem;
}
.sc-av {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sc-info { flex: 1; min-width: 0; }
.sc-info strong { font-size: .7rem; font-weight: 600; color: var(--text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-info small { font-size: .62rem; color: var(--muted); }
.sc-score { font-size: .62rem; font-weight: 700; padding: .12rem .35rem; border-radius: 5px; }
.sc-score.hi { background: #E7F9EF; color: #16A34A; }
.sc-score.md { background: #FFF7E6; color: #D97706; }

/* Float cards */
.float-card {
  position: absolute; background: #fff; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: 0 6px 24px rgba(0,20,80,.08);
  padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem;
  animation: floatY 3s ease-in-out infinite; z-index: 2;
}
.fc-left { top: 30px; left: 0; }
.fc-right { bottom: 30px; right: 0; animation-delay: 1.5s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fc-num { font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.fc-label { font-size: .72rem; color: var(--muted); }


/* ══════════════════════════════════════════
   METRICS
   ══════════════════════════════════════════ */

.metrics { background: var(--dark); }
.metrics-row {
  max-width: 1200px; margin: 0 auto; padding: 2.5rem 5%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.m-val { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.m-label { font-size: .8rem; color: rgba(255,255,255,.35); margin-top: .25rem; }


/* ══════════════════════════════════════════
   PILLARS
   ══════════════════════════════════════════ */

.pillars { background: var(--off); padding: 6rem 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; text-align: left; }

.p-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.25rem 2rem; transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.p-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,20,80,.08); }
.p-card:hover::after { transform: scaleX(1); }

.p-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-xl);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: all .3s var(--ease);
}
.p-card:hover .p-icon { background: var(--blue); color: #fff; }
.p-card:hover .p-icon svg { stroke: #fff; }
.p-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.p-card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }


/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */

.features { padding: 6rem 0; }
.f-list { margin-top: 4rem; display: flex; flex-direction: column; gap: 5.5rem; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; text-align: left; }
.f-row.flip { direction: rtl; }
.f-row.flip > * { direction: ltr; }

.f-num {
  display: inline-block; font-size: .78rem; font-weight: 700; color: var(--blue);
  letter-spacing: .08em; margin-bottom: .75rem;
}
.f-text h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: -.3px; }
.f-text p { font-size: .92rem; color: var(--muted); line-height: 1.75; }

.f-checks {
  margin-top: 1.25rem; list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.f-checks li {
  font-size: .85rem; color: var(--text); font-weight: 500;
  display: flex; align-items: center; gap: .6rem;
}
.f-checks li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue-xl);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='%230066FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Feature visual mock */
.f-visual {
  background: linear-gradient(135deg, #EEF3FF, var(--off));
  border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.f-visual:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,20,80,.06); }
.f-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.05), transparent);
}

.mock {
  width: 100%; background: #fff; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,20,80,.04); overflow: hidden;
}
.mock-bar {
  background: var(--dark); padding: .5rem .8rem;
  display: flex; gap: .35rem; align-items: center;
}
.mock-title { color: rgba(255,255,255,.25); font-size: .65rem; margin-left: auto; }
.mock-body { padding: .85rem; }

.mock-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .55rem; border-radius: 8px; margin-bottom: .3rem;
  background: var(--off); border: 1px solid var(--border);
}
.mock-icon { color: var(--muted); display: flex; align-items: center; }
.mock-label { font-size: .72rem; font-weight: 600; color: var(--text); flex: 1; }
.mock-tag { font-size: .62rem; padding: .15rem .45rem; border-radius: 20px; font-weight: 600; }
.mock-tag.blue { background: var(--blue-xl); color: var(--blue); }
.mock-tag.green { background: #E7F9EF; color: #16A34A; }
.mock-tag.orange { background: #FFF4E6; color: #D97706; }
.mock-tags { margin-top: .6rem; display: flex; gap: .4rem; flex-wrap: wrap; }

.bar-group { display: flex; flex-direction: column; gap: .4rem; }
.bar-item { display: flex; align-items: center; gap: .5rem; }
.bar-label { font-size: .66rem; color: var(--muted); width: 60px; text-align: right; white-space: nowrap; }
.bar-track { flex: 1; height: 7px; background: var(--border); border-radius: 20px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--blue), var(--blue-l)); }
.bar-pct { font-size: .62rem; color: var(--muted); width: 28px; }

.stat-row { display: flex; gap: .45rem; margin-bottom: .6rem; }
.stat-box {
  flex: 1; background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem; text-align: center;
}
.stat-val { font-size: .95rem; font-weight: 700; }
.stat-val.blue { color: var(--blue); }
.stat-val.green { color: #16A34A; }
.stat-lbl { font-size: .6rem; color: var(--muted); margin-top: .1rem; }


/* ══════════════════════════════════════════
   PROCESS (HOW IT WORKS)
   ══════════════════════════════════════════ */

.process { background: var(--dark); padding: 6rem 0; }
.process h2 { color: #fff !important; }

.process-grid {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  text-align: left;
}

.proc-item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: all .3s var(--ease);
  position: relative;
}
.proc-item:last-child { border-right: none; }
.proc-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.proc-item:hover { background: rgba(0,102,255,.06); }
.proc-item:hover::before { transform: scaleX(1); }

.proc-num {
  font-size: .72rem; font-weight: 700; color: var(--blue-l);
  letter-spacing: .1em; margin-bottom: .75rem;
}
.proc-item h4 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.proc-item:hover h4 { color: var(--blue-l); }
.proc-item p { font-size: .82rem; color: rgba(255,255,255,.38); line-height: 1.65; }
.proc-item:hover p { color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════ */

.reviews { padding: 6rem 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; text-align: left; }

.r-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 2rem; display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.r-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,20,80,.08); }
.r-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.r-text { font-size: .9rem; color: var(--muted); line-height: 1.75; font-style: italic; flex: 1; margin-bottom: 1.25rem; }
.r-author { display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.r-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #fff;
}
.r-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.r-role { font-size: .76rem; color: var(--muted); }


/* ══════════════════════════════════════════
   CTA
   ══════════════════════════════════════════ */

.cta-section { padding: 0 5% 5rem; }
.cta-box {
  max-width: 1200px; margin: 0 auto;
  background: linear-gradient(145deg, var(--dark), var(--dark-2), #0D1B4B);
  border-radius: 20px; padding: 5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.15), transparent 65%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(2rem,4vw,2.8rem) !important; color: #fff; letter-spacing: -.5px;
  position: relative; z-index: 1;
}
.cta-box p {
  font-size: 1rem; color: rgba(255,255,255,.5); max-width: 500px;
  margin: 1rem auto 2.25rem; line-height: 1.75; position: relative; z-index: 1;
}
.cta-box p strong { color: rgba(255,255,255,.8); }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.cta-btn {
  padding: .85rem 2.2rem; border-radius: 10px; font-size: .95rem; font-weight: 600;
  font-family: 'Ubuntu', sans-serif; cursor: pointer; text-decoration: none;
  display: inline-block; transition: all .25s var(--ease);
}
.cta-btn.white {
  background: #fff; color: var(--blue); border: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.cta-btn.white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.cta-btn.outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.2);
}
.cta-btn.outline:hover { border-color: #fff; background: rgba(255,255,255,.05); }


/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .pillars-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-item { border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 768px) {
  main .hero { padding: 48px 5% 0; }
  .hero-showcase { margin-top: 2rem; }
  .float-card { display: none; }
  .metrics-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pillars, .features, .reviews { padding: 4rem 0; }
  .process { padding: 4rem 0; }
  .pillars-grid, .reviews-grid { grid-template-columns: 1fr; }
  .f-row, .f-row.flip { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .process-grid { grid-template-columns: 1fr; }
  .proc-item { border-right: none; }
  .cta-box { padding: 3.5rem 1.5rem; }
  .cta-section { padding: 0 4% 3rem; }
}

@media (max-width: 480px) {
  .sc-cols { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero { justify-content: center; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
}
