/* ===========================================
   CogniRecruit — Landing Page Styles
   =========================================== */

:root {
  --navy:          #0f1b3d;
  --indigo:        #4338ca;
  --indigo-mid:    #6366f1;
  --indigo-light:  #a5b4fc;
  --teal:          #0d9488;
  --teal-light:    #2dd4bf;
  --amber:         #f59e0b;
  --bg:            #f8fafc;
  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-700:      #374151;
  --gray-800:      #1e293b;
  --gray-900:      #0f172a;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.13);
  --transition:    0.2s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--sm  { padding: 8px 16px; font-size: 0.875rem; }
.btn--lg  { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--indigo-mid);
  color: var(--white);
  border-color: var(--indigo-mid);
}
.btn--primary:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}

.btn--accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--indigo-mid) 100%);
  color: var(--white);
}
.btn--accent:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99,102,241,0.35);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--indigo-mid);
  color: var(--indigo-mid);
  transform: translateY(-1px);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(15,27,61,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav__logo span { color: var(--teal-light); }

.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 65% 35%, rgba(99,102,241,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 15% 85%, rgba(13,148,136,0.18) 0%, transparent 60%),
    linear-gradient(155deg, #0a1428 0%, #12103a 55%, #0a1e40 100%);
}
/* Dot-grid overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
}
.hero__h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 490px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* === HERO MOCKUP === */
.mockup {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.07);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mockup__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup__dot--red    { background: #ff5f56; }
.mockup__dot--yellow { background: #febc2e; }
.mockup__dot--green  { background: #28c840; }
.mockup__title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.mockup__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup__upload {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
}
.mockup__upload svg { color: rgba(255,255,255,0.45); flex-shrink: 0; }
.mockup__badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-light);
  background: rgba(45,212,191,0.15);
  padding: 2px 9px;
  border-radius: 20px;
}
.mockup__role { display: flex; flex-direction: column; gap: 3px; }
.mockup__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.mockup__role-val {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--indigo-light);
}
.mockup__questions { display: flex; flex-direction: column; gap: 10px; }
.mockup__q {
  display: flex;
  gap: 10px;
  font-size: 0.81rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}
.mockup__qn {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--indigo-mid);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === STATS === */
.stats {
  background: var(--gray-100);
  padding: 72px 0;
}
.stats__eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 44px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat__num {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--indigo-mid);
  line-height: 1;
}
.stat__plus { font-size: 2rem; }
.stat__unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-400);
  margin: 6px 0 14px;
}
.stat__desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* === FEATURES === */
.feature { padding: 100px 0; }
.feature:nth-child(even) { background: var(--gray-50); }

.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.feature__tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.feature__tag--blue { background: rgba(99,102,241,0.1); color: var(--indigo-mid); }
.feature__tag--teal { background: rgba(13,148,136,0.1); color: var(--teal); }

.feature__h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--gray-800);
  margin-bottom: 18px;
}
.feature__p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.78;
  margin-bottom: 28px;
}
.feature__list { display: flex; flex-direction: column; gap: 11px; }
.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.feature__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234338ca' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* === FEAT CARD === */
.feat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.feat-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.feat-card__header--blue { background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%); }
.feat-card__header--teal { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%); }
.feat-card__icon { display: flex; align-items: center; }

.feat-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-card__file-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 0.84rem;
  color: var(--gray-600);
}
.feat-card__check {
  margin-left: auto;
  color: var(--teal);
  font-weight: 700;
}
.feat-card__qs { display: flex; flex-direction: column; gap: 10px; }
.feat-card__q {
  display: flex;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.55;
  align-items: flex-start;
}
.feat-card__qnum {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--indigo-mid);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TrustScore card */
.feat-card__score {
  padding: 14px;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}
.feat-card__score-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.feat-card__score-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 7px;
}
.feat-card__score-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber) 0%, #f97316 100%);
}
.feat-card__score-num {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-800);
  text-align: right;
}
.feat-card__flags { display: flex; flex-direction: column; gap: 9px; }
.feat-card__flag {
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 0.81rem;
  line-height: 1.5;
}
.feat-card__flag--warn {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.22);
}
.feat-card__flag--warn .flag-icon { color: var(--amber); }
.feat-card__flag--ok {
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.2);
}
.feat-card__flag--ok .flag-icon { color: var(--teal); }
.flag-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.feat-card__flag strong { display: block; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.feat-card__flag p { color: var(--gray-600); }

/* === PRICING === */
.pricing {
  padding: 100px 0;
  background: var(--gray-50);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header__h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--gray-800);
  margin-bottom: 14px;
}
.section-header__sub {
  font-size: 1.05rem;
  color: var(--gray-600);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.price-card--featured {
  border-color: var(--indigo-mid);
  box-shadow: 0 0 0 2px var(--indigo-mid), var(--shadow-lg);
  position: relative;
}
.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo-mid);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
}
.price-card__price { line-height: 1; }
.price-card__amt {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--gray-900);
}
.price-card__per {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 500;
}
.price-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.price-card__list li {
  font-size: 0.875rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-card__list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card__list em {
  color: var(--gray-400);
  font-style: normal;
  font-size: 0.8rem;
}

/* === CTA BANNER === */
.cta-banner {
  padding: 88px 0;
  background: linear-gradient(150deg, #0a1428 0%, #150f35 50%, #0a1e40 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 50% 50%, rgba(99,102,241,0.22) 0%, transparent 70%);
}
.cta-banner__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-banner__h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
}
.cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  max-width: 440px;
  margin-bottom: 8px;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.footer__logo span { color: var(--teal-light); }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  margin-top: 6px;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Stagger siblings */
.stats__grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stats__grid .fade-up:nth-child(3) { transition-delay: 0.2s; }
.pricing__grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.pricing__grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.pricing__grid .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero__inner         { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual        { display: none; }
  .stats__grid         { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .feature__inner      { grid-template-columns: 1fr; gap: 44px; }
  .feature--right .feature__copy { order: -1; }
  .pricing__grid       { grid-template-columns: repeat(2, 1fr); }
  .nav__links          { display: none; }
}

@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .hero__ctas    { flex-direction: column; align-items: flex-start; }
}
