:root{
  --bg:#0b1020;
  --card:#121933;
  --card2:#ffffff;
  --text:#e8ecf7;
  --muted:#9aa3bb;
  --brand:#6d8cff;
  --brand2:#18c2c0;
  --danger:#ef4444;
  --success:#16a34a;
  --border:#263154;
  --ink:#18223f;
  --soft:#f6f9ff;
  --line:#e5ebf5;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  background:#f4f7fb;
  color:#1c2746;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
}

.container{
  width:min(1120px, 92%);
  margin:0 auto;
}

.topbar{
  background:linear-gradient(135deg,var(--bg),#15214b);
  color:#fff;
  padding:18px 0;
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  font-weight:800;
  font-size:1.35rem;
  letter-spacing:.3px;
}

.brand span{
  color:#8ee6e4;
}

.navlinks{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}

.btn,
.btn-outline,
.btn-danger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:600;
  cursor:pointer;
  transition:.2s ease;
}

.btn{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#fff;
  box-shadow:0 10px 24px rgba(74,115,255,.18);
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-outline{
  border-color:#cfd7ea;
  background:#fff;
  color:#1f2a44;
}

.btn-outline:hover{
  background:#f8fbff;
}

.btn-danger{
  background:var(--danger);
  color:#fff;
}

.card{
  background:#fff;
  border:1px solid #e5ebf5;
  border-radius:20px;
  padding:20px;
  box-shadow:0 10px 30px rgba(17,24,39,.06);
}

.card-dark{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  color:#fff;
}

.grid{
  display:grid;
  gap:18px;
}

.grid-3{
  grid-template-columns:repeat(3,1fr);
}

.grid-2{
  grid-template-columns:repeat(2,1fr);
}

.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.section-title h2{
  margin:0;
  font-size:1.9rem;
  color:#16213e;
}

.eyebrow{
  display:inline-block;
  font-size:.86rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#4d6bcc;
  margin-bottom:8px;
}

.muted{
  color:#6b7692;
}

.pill{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background:#eef3ff;
  color:#3553a6;
  font-size:.84rem;
  font-weight:700;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:.93rem;
  color:#6d7691;
}

.stack{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.tag{
  padding:8px 11px;
  border-radius:999px;
  background:#f4f6fb;
  border:1px solid #e2e8f3;
  font-size:.82rem;
}

.forms{
  max-width:560px;
  margin:30px auto 60px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:15px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #d3dbeb;
  border-radius:12px;
  font:inherit;
  background:#fff;
}

.field textarea{
  min-height:120px;
  resize:vertical;
}

.notice{
  padding:12px 14px;
  border-radius:12px;
  margin:14px 0;
}

.notice-success{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #c8f1d7;
}

.notice-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}

.dashboard{
  padding:26px 0 70px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.stat{
  padding:18px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e5ebf5;
}

.stat b{
  display:block;
  font-size:1.65rem;
  margin-top:8px;
}

.table-wrap{
  overflow:auto;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:12px;
  border-bottom:1px solid #ebeff7;
  text-align:left;
  font-size:.94rem;
}

.footer{
  padding:26px 0;
  color:#6b7692;
  border-top:1px solid #e5ebf5;
  background:#fff;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.empty{
  padding:28px;
  border:2px dashed #d7deec;
  border-radius:18px;
  text-align:center;
  color:#6d7691;
  background:#fafcff;
}

.banner{
  margin:20px 0;
}

.split{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:20px;
}

.side a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  margin-bottom:8px;
  background:#fff;
  border:1px solid #e5ebf5;
}

.side a.active,
.side a:hover{
  border-color:#b7c6f7;
  background:#eef3ff;
}

.badge-success{
  color:#166534;
  background:#dcfce7;
  border-radius:999px;
  padding:5px 9px;
}

.badge-warning{
  color:#92400e;
  background:#fef3c7;
  border-radius:999px;
  padding:5px 9px;
}

.badge-danger{
  color:#991b1b;
  background:#fee2e2;
  border-radius:999px;
  padding:5px 9px;
}

.searchbar{
  display:grid;
  grid-template-columns:2fr 1fr auto;
  gap:12px;
  margin-top:18px;
}

/* ===== Homepage ===== */

.home-hero{
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(135deg,#071029,#10204d 55%, #1284a0 100%);
  color:#fff;
  padding:96px 0 78px;
}

.home-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:36px;
  align-items:center;
}

.home-kicker{
  display:inline-block;
  font-size:.85rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#9ddcff;
  margin-bottom:14px;
}

.home-hero-copy h1{
  font-size:clamp(2.4rem,4vw,4.5rem);
  line-height:1.02;
  margin:0 0 18px;
  letter-spacing:-1px;
}

.home-hero-copy p{
  font-size:1.08rem;
  color:#dbe4ff;
  max-width:58ch;
  margin:0;
}

.home-hero-panel{
  display:flex;
  justify-content:flex-end;
}

.home-hero-panel-card{
  width:100%;
  max-width:420px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}

.home-hero-panel-card h3{
  margin:0 0 12px;
  font-size:1.35rem;
}

.home-hero-panel-card p{
  margin:0;
  color:#e9efff;
  line-height:1.65;
}

.home-featured{
  padding:76px 0 24px;
}

.modern-job-card{
  transition:.2s ease;
}

.modern-job-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(17,24,39,.08);
}

.modern-job-card h3{
  margin:0 0 8px;
  color:#18223f;
}

.home-stats-wrap{
  padding:28px 0 42px;
}

.home-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.home-stat-box{
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:20px;
  padding:26px 18px;
  text-align:center;
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}

.home-stat-box h3{
  margin:0 0 8px;
  font-size:2rem;
  color:#0b63f6;
}

.home-stat-box p{
  margin:0;
  color:#6b7692;
}

.home-section{
  padding:84px 0;
}

.home-section-soft{
  background:#f8fbff;
}

.home-heading{
  text-align:center;
  max-width:720px;
  margin:0 auto 36px;
}

.home-heading h2{
  margin:0 0 10px;
  font-size:2rem;
  color:#16213e;
}

.home-heading p{
  margin:0;
  color:#6b7692;
  line-height:1.7;
}

.home-steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.home-step-card{
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:22px;
  padding:28px;
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}

.home-step-number{
  width:46px;
  height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:1rem;
  background:#eef4ff;
  color:#2457d6;
  margin-bottom:14px;
}

.home-step-card h3{
  margin:0 0 10px;
  color:#16213e;
}

.home-step-card p{
  margin:0;
  color:#6b7692;
  line-height:1.65;
}

.home-categories-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.home-category-card{
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:18px;
  padding:20px;
  text-align:center;
  font-weight:700;
  color:#243250;
  box-shadow:0 8px 24px rgba(17,24,39,.04);
  transition:.2s ease;
}

.home-category-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(17,24,39,.08);
}

.home-info-card{
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:22px;
  padding:28px;
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}

.home-info-card h3{
  margin:0 0 10px;
  color:#16213e;
}

.home-info-card p{
  margin:0;
  color:#6b7692;
  line-height:1.65;
}

.home-testimonial-card{
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:22px;
  padding:28px;
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}

.home-testimonial-card p{
  margin:0 0 14px;
  color:#55627f;
  line-height:1.7;
}

.home-testimonial-card strong{
  color:#16213e;
}

.home-cta-section{
  padding:92px 0;
}

.home-cta-box{
  background:linear-gradient(135deg,#0b63f6,#17b7c7);
  color:#fff;
  border-radius:28px;
  padding:60px 30px;
  text-align:center;
  box-shadow:0 18px 40px rgba(11,99,246,.18);
}

.home-cta-box h2{
  margin:0 0 12px;
  font-size:2rem;
}

.home-cta-box p{
  margin:0 auto 22px;
  color:#eaf1ff;
  max-width:54ch;
  line-height:1.7;
}

.home-cta-box .btn{
  background:#fff;
  color:#0b63f6;
  box-shadow:none;
}

@media (max-width:900px){
  .hero-grid,
  .grid-3,
  .grid-2,
  .stats,
  .split,
  .searchbar,
  .home-hero-grid,
  .home-stats-grid,
  .home-steps-grid,
  .home-categories-grid{
    grid-template-columns:1fr;
  }

  .nav{
    align-items:flex-start;
    flex-direction:column;
  }

  .navlinks{
    width:100%;
  }

  .topbar{
    position:static;
  }

  .home-hero{
    padding:76px 0 60px;
  }

  .home-section,
  .home-cta-section{
    padding:68px 0;
  }

  .home-featured{
    padding:60px 0 20px;
  }
}