/* ============================================================
   Niyukti — Job Portal
   Design tokens
   ============================================================ */
:root {
  --navy: #0F1F3D;
  --navy-2: #16305C;
  --navy-3: #0B1730;
  --amber: #D98E04;
  --amber-light: #F2B93B;
  --paper: #FBF9F5;
  --paper-2: #F1ECE2;
  --white: #FFFFFF;
  --slate: #5A6072;
  --slate-light: #8A90A0;
  --line: #E4DFD3;
  --success: #2E7D5B;

  --font-display: "Fraunces", "DejaVu Serif", Georgia, serif;
  --font-body: "Work Sans", "DejaVu Sans", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  color: var(--navy);
}

p { margin: 0 0 1em 0; color: var(--slate); max-width: 62ch; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}
.nav-links a:hover { color: var(--amber); }

.nav-cta {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy-3); }
.btn-primary:hover { background: var(--amber-light); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { border-color: var(--amber); color: var(--amber-light); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper-2); }

/* ---------------- Mobile nav toggle + drawer ---------------- */
.mobile-toggle {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }
body.menu-open .mobile-toggle span { background: transparent; }
body.menu-open .mobile-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Positioned as a sibling of <header> (not a descendant) so the header's
   backdrop-filter can't turn it into the containing block for this
   fixed-position drawer. */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  background: var(--paper);
  padding: 8px 28px 32px;
  overflow-y: auto;
}
body.menu-open .mobile-drawer { display: block; }
body.menu-open { overflow: hidden; }
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.mobile-drawer nav a {
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer .drawer-cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.mobile-drawer .drawer-cta .btn { flex: 1; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 0 72px;
}
.eyebrow-plain {
  font-size: 15px;
  color: var(--amber-light);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-light);
}
.hero p.lead {
  color: #D9DFEC;
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 44px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  max-width: 640px;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  font-weight: 700;
}
.hero-stats .stat-label {
  font-size: 13px;
  color: #AEB8CC;
  margin-top: 2px;
}

.hero-rings {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(217,142,4,0.35);
}
.hero-rings::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(217,142,4,0.22);
}

/* ---------------- Sections ---------------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-tag {
  color: var(--amber);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

.alt-bg { background: var(--paper-2); }

/* ---------------- Role banners ---------------- */
.role-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  background: var(--white);
}
.role-block.reverse { grid-template-columns: 0.95fr 1.05fr; }
.role-block.reverse .role-copy { order: 2; }
.role-block.reverse .role-image { order: 1; }
.role-image { aspect-ratio: 1000 / 1100; }
.role-image img { width: 100%; height: 100%; object-fit: cover; }
.role-copy { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.role-copy h3 { font-size: 26px; margin-bottom: 12px; }
.role-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.role-list li {
  display: flex;
  gap: 10px;
  color: var(--navy);
  font-size: 15px;
}
.role-list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--amber);
  margin-top: 7px;
}

/* ---------------- Feature grid (Admin / trust) ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.feature-card .icon-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--amber-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.feature-card h4 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------------- How it works (real sequence -> numbered) ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
  border-top: 2px solid var(--line);
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--amber);
  margin-bottom: 10px;
  display: block;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ---------------- Wallet / pricing strip ---------------- */
.wallet-strip {
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.wallet-strip h2 { color: var(--white); }
.wallet-strip p { color: #C9D1E3; }
.price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 26px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
}
.price-row:last-child { border-bottom: none; }
.price-row .amt { color: var(--amber-light); font-weight: 600; }

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  border-radius: 20px;
  padding: 56px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--navy-3); margin-bottom: 8px; }
.cta-band p { color: #4A3306; margin-bottom: 0; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-3);
  color: #B9C1D6;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h5 {
  color: var(--white);
  font-size: 14px;
  text-transform: none;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 14.5px; }
.footer-grid a:hover { color: var(--amber-light); }
.footer-brand img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9AA3BB; font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: #8A93AC;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- Simple content pages (about/terms/privacy) ---------------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 48px;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); }
.page-hero p { color: #C9D1E3; max-width: 60ch; }
.content-page { padding: 56px 0 90px; }
.content-page .wrap { max-width: 820px; }
.content-page h2 {
  font-size: 22px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.content-page h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.content-page ul { color: var(--slate); padding-left: 20px; }
.content-page li { margin-bottom: 8px; }
.content-page .updated {
  color: var(--slate-light);
  font-size: 14px;
  margin-bottom: 30px;
}
.contact-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 36px;
}
.contact-box a { color: var(--amber); font-weight: 600; }

/* ---------------- Offer banner ---------------- */
.offer-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.offer-banner .offer-tag {
  flex: none;
  background: var(--amber);
  color: var(--navy-3);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
}
.offer-banner .offer-copy { flex: 1; min-width: 220px; }
.offer-banner .offer-copy strong { color: var(--amber-light); }
.offer-banner .offer-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: none;
}
.offer-banner .price-old {
  color: #93A0BE;
  text-decoration: line-through;
  font-size: 16px;
}
.offer-banner .price-new {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--amber-light);
  font-weight: 700;
}
.price-row .price-old {
  color: #93A0BE;
  text-decoration: line-through;
  font-size: 13.5px;
  margin-right: 8px;
}

/* ---------------- Payment page ---------------- */
.pay-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.qr-card img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
}
.qr-note {
  display: flex;
  gap: 10px;
  background: #FCF2DE;
  border: 1px solid #EFD9A0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #6B4E05;
}
.pay-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 14px;
}
.pay-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pay-steps .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber-light);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.pay-steps p { margin: 0; font-size: 14.5px; }
.pay-steps strong { color: var(--navy); display: block; margin-bottom: 2px; font-family: var(--font-body); }

.pay-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.pay-form-card h3 { font-size: 20px; margin-bottom: 4px; }
.pay-form-card .sub { font-size: 14px; color: var(--slate); margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--navy);
}
.form-row input:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}
.form-row .hint { font-size: 12.5px; color: var(--slate-light); margin-top: 6px; }
.pay-form-card .btn { width: 100%; padding: 13px 22px; font-size: 15.5px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.form-status.success {
  display: block;
  background: #E7F3EC;
  border: 1px solid #B9DCC7;
  color: #205A3D;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .role-block, .role-block.reverse { grid-template-columns: 1fr; }
  .role-block.reverse .role-copy, .role-block.reverse .role-image { order: initial; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .wallet-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .pay-layout { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero-inner { padding: 48px 0 44px; }
  .role-copy { padding: 30px; }
  .offer-banner { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .wrap { padding: 0 20px; }
  .offer-banner { flex-direction: column; align-items: flex-start; }
  .offer-banner .offer-price { align-self: flex-start; }
  .pay-form-card { padding: 24px; }
}
