:root {
  /* Original dark-blue color scheme tweaked for subtler tones */
  --bg: #0b1220;
  --surface: #12192e;
  --card: #1b2546;
--border: rgba(255,255,255,0.06);

  --text: #e5e7eb;
  --muted: #7f8ea3;

  --primary: #e63946;  /* Slightly deeper green */
  --primary-dark: #c1121f;

  --radius: 12px;

  --shadow-primary: rgba(230,57,70, 0.25);
  --shadow-hover: rgba(230,57,70, 0.15);

  --scrollbar-thumb-hover: #374151;
  --scrollbar-width: 10px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset and base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 40px 24px 60px;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: text;
  position: relative;
  overflow-x: hidden;
}

body::before {
  display: none;
}

/* ── Custom Scrollbar ── */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.22);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* ── Custom Select / Dropdown ── */
select {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237f8ea3' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e5e7eb;
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}

select:focus {
  border-color: rgba(230,57,70,0.5);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.08);
}

select:hover {
  border-color: rgba(255,255,255,0.18);
}

select option {
  background: #161b22;
  color: #e5e7eb;
  padding: 8px 12px;
}

select option:checked {
  background: linear-gradient(#e63946, #e63946);
  color: #fff;
}

select option:hover {
  background: linear-gradient(rgba(230,57,70,0.2), rgba(230,57,70,0.2));
}

/* =========================
   Custom Select Dropdown
========================= */
.cs-wrap {
  position: relative;
  display: inline-block;
}
.cs-wrap.cs-full {
  width: 100%;
}
.cs-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.cs-trigger:hover {
  border-color: rgba(255,255,255,0.18);
}
.cs-wrap.open .cs-trigger {
  border-color: var(--primary);
}
.cs-chevron {
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}
.cs-wrap.open .cs-chevron {
  transform: rotate(180deg);
}
.cs-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #141c28;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 5px;
  z-index: 350;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.cs-wrap.open .cs-menu {
  display: block;
  animation: csDropdownIn 0.12s ease;
}
@keyframes csDropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cs-option {
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.1s, color 0.1s;
  user-select: none;
  white-space: nowrap;
}
.cs-option:hover {
  background: var(--primary);
  color: #fff;
}
.cs-option.selected {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.cs-option.selected:hover {
  background: var(--primary-dark);
}

/* =========================
   Header (Compact Pill)
========================= */

.site-header {
  position: sticky;
  top: 10px;
  z-index: 100;

  background: rgba(10, 14, 22, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);

  margin: 0 20px;
  padding: 10px 22px;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 14, 22, 0.9);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45);
}

/* =========================
   Inner Layout
========================= */

.header-inner {
  max-width: 1150px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* =========================
   Logo
========================= */

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  white-space: nowrap;
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

/* =========================
   Navigation
========================= */

.nav {
  display: none;
  gap: 20px;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;

  color: var(--muted);
  text-decoration: none;

  padding: 6px 12px;
  border-radius: 999px;

  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* =========================
   CTA Button
========================= */

.alerts-btn {
  border: none;
  border-radius: 999px;

  padding: 8px 18px;

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );

  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;

  display: flex;
  align-items: center;
  gap: 6px;

  cursor: pointer;

  box-shadow:
    0 4px 14px rgba(230, 57, 70, 0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.alerts-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 22px rgba(230, 57, 70, 0.45);
}


/* Hero */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(230,57,70, 0.07);
  padding: 0 24px 64px;
  z-index: 1;
  text-align: center;
  user-select: none;
  animation: fadeInUp 1.4s ease forwards;
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
}

/* =========================
   One-page three-panel layout
   Left: job list, Center: details, Right: AI/chat
   Each panel scrolls independently and uses 100vh height
   Mobile: stacks vertically with AI panel collapsible at bottom
   ========================== */

.onepage-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 32px;
  max-width: 100%;
  width: 100%;
  margin: 18px auto 40px;
  padding: 0 48px;
  height: calc(100vh - 140px);
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel > div {
  overflow: auto;
}

.panel.left {
  min-width: 700px;
  flex: 1;
}

.panel.center {
  display: none !important;  /* Hide center panel - merge with right */
}

.panel.right {
  min-width: 400px;
  width: 420px;
  max-width: 450px;
}

#left-panel, #right-panel, #job-details-panel { height: 100%; }

#left-scroll, #ai-scroll, #details-scroll {
  height: 100%;
  overflow: auto;
  padding-right: 6px;
}

/* Ensure inner panels scroll independently without affecting page */
#jobs-container, #detail-description, #chat-messages {
  overflow: auto;
}

/* Small utility buttons */
.mini-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mini-btn:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

/* Job details panel */
.details-header h2 {
  margin: 0 0 6px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.detail-meta {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.company-enrich h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.match-section {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

@media (max-width: 960px) {
  .onepage-layout {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    height: auto;
    margin: 12px;
    padding: 0 12px;
  }

  .panel.left {
    min-width: 100%;
    order: 1;
  }

  .panel.right {
    min-width: 100%;
    width: 100%;
    order: 2;
  }

  .panel.center {
    display: none;
  }

  /* Job cards stack vertically on mobile */
  .job-card {
    grid-template-columns: 50px 1fr;
    gap: 12px;
  }

  .job-card-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 12px;
  }

  .job-match-circle {
    width: 60px;
    height: 60px;
  }

  /* Collapse chat into a smaller area near the bottom */
  #chat-messages { height: 220px !important; }
}

@media (max-width: 420px) {
  body { padding: 18px 12px 36px; }
  .onepage-layout { gap: 12px; }
}

/* ── Mobile: app-page shared fixes ─────────────────────────── */
@media (max-width: 968px) {
  /* Prevent inputs from triggering iOS auto-zoom (font must be >= 16px) */
  input, select, textarea { font-size: 16px !important; }
  /* App pages: header pill full-width on small screens */
  .site-header { margin: 0 8px; border-radius: 14px; }
  /* Tab bar: allow horizontal scroll instead of wrapping */
  .main-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-shrink: 0; }
  .main-tabs::-webkit-scrollbar { display: none; }
}

.hero-inner {
  max-width: 880px;
  padding: 0 16px;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.0015em;
  text-shadow: 0 0 10px rgba(230,57,70,0.25);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 630px;
  margin-left: auto;
  margin-right: auto;
  user-select: text;
  line-height: 1.5;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 22px rgba(230,57,70,0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  user-select: none;
  display: inline-block;
  text-align: center;
  will-change: transform;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 28px var(--shadow-primary);
  transform: scale(1.04);
  outline: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  padding: 14px 34px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  user-select: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(230,57,70,0.35);
  transform: scale(1.04);
  outline: none;
}

/* Hero trust badges */
.hero-trust {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.hero-trust span::before {
  content: "✓";
  margin-right: 10px;
  color: var(--primary);
  font-weight: 900;
}

/* Controls / Filters */
.container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

#jobs.container {
  margin-top: 24px;
  max-width: 1400px;
}

#controls {
  margin-bottom: 34px;
  padding: 0 10px;
  opacity: 1;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  justify-content: center;
}

.filters button {
  padding: 12px 28px;
  border-radius: 28px;
  border: 1.5px solid var(--border);
  background-color: var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 3px 7px rgba(0,0,0,0.2);
}

.filters button.active {
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: #ffffff;
  box-shadow:
    0 0 12px var(--shadow-primary),
    0 8px 14px rgba(0,0,0,0.5);
}

.filters button:hover,
.filters button:focus-visible {
  background-image: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow:
    0 0 16px var(--shadow-primary),
    0 12px 20px rgba(0,0,0,0.6);
  outline: none;
}

/* Search input */
#search-input {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 28px;
  border: 2px solid var(--border);
  background-color: var(--card);
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: text;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
  opacity: 1;
}

#search-input::placeholder {
  color: var(--muted);
  font-weight: 500;
}

#search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 18px var(--primary);
}

/* Job count */
#job-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}

/* Jobs Container - single column list for left panel */
#jobs-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  opacity: 1;
}



/* Job Cards - Jobright style */
.job-card {
  background: rgba(255,255,255,0.015);
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  user-select: none;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  min-height: 105px;
}

.job-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.job-card-content {
  flex: 1;
  min-width: 0;
}

.job-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.job-card .apply-link {
  margin-top: 0;
}


/* Hover/focus */
.job-card:hover,
.job-card:focus-within {
  border-color: rgba(230,57,70,0.25);
  box-shadow: 0 2px 12px rgba(230,57,70,0.12);
  transform: translateY(-1px);
  background: rgba(255,255,255,0.03);
}

/* Match score circle on job cards */
.job-match-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230,57,70,0.2), rgba(230,57,70,0.05));
  border: 3px solid rgba(230,57,70,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.job-match-circle .match-percent {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 2px;
}

.job-match-circle .match-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.8;
}
.job-card-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Job Header */
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.job-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}

/* Save Button */
.job-header .save-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
}

.job-header .save-btn:hover,
.job-header .save-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.15);
  outline-offset: 2px;
  outline: 2px solid var(--primary);
}

.job-header .save-btn.saved {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.25);
}

/* Job Meta */
.job-meta {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
}

/* NEW Badge */
.badge.new {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 14px;
  margin-left: 10px;
  font-weight: 700;
  user-select: none;
}

/* =========================
   Floating Logos (Fixed Anchors)
========================= */

.floating-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* =========================
   Unified Filter Bar
========================= */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Left: toggle buttons */
.filter-toggles {
  display: flex;
  gap: 10px;
}

.filter-toggles button {
  background: #1e2a4a;
  border: 1px solid #2b3b6a;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-toggles button.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(230,57,70,0.35);
}

.filter-toggles button:hover {
  transform: translateY(-1px);
}

/* =========================
   Filter Controls (Unified Pills)
========================= */

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   Dropdown Pills
========================= */

.filter-controls select {
  appearance: none;
  background: #1e2a4a;
  border: 1px solid #2b3b6a;
  color: var(--text);

  padding: 8px 34px 8px 14px;
  border-radius: 999px;

  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 55%,
    calc(100% - 11px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

/* Hover = full green (like toggles) */
.filter-controls select:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(230,57,70,0.35);
  transform: translateY(-1px);
}

/* Focus / open */
.filter-controls select:focus {
  outline: none;
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow:
    0 0 0 2px rgba(230,57,70,0.25),
    0 0 14px rgba(230,57,70,0.35);
}

/* Selected (non-default) state */
.filter-controls select.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(230,57,70,0.4);
}

/* Dropdown menu (browser-controlled, limited) */
.filter-controls select option {
  background-color: #0f172a;
  color: #e5e7eb;
  font-weight: 600;
}

/* Selected option */
.filter-controls select option:checked {
  background-color: var(--primary);
  color: #ffffff;
}

/* Hover (only works in some browsers) */
.filter-controls select option:hover {
  background-color: var(--primary);
  color: #ffffff;
}


/* =========================
   Checkbox Pill
========================= */

.checkbox-filter {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  background: #1e2a4a;
  border: 1px solid #2b3b6a;

  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);

  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

/* Hover = full green */
.checkbox-filter:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(230,57,70,0.35);
  transform: translateY(-1px);
}

.checkbox-filter input {
  accent-color: var(--primary);
  cursor: pointer;
}

/* Checked = locked green */
.checkbox-filter:has(input:checked) {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(230,57,70,0.4);
}

/* -------------------------
   Base logo styling
------------------------- */

.logo-float {
  position: absolute;
  width: 100px;
  height: auto;

  /* SHOW muted color by default */
  opacity: 0.45;
  filter: grayscale(60%) brightness(1.05) saturate(0.9);
  mix-blend-mode: normal;

  animation: ambientFloat var(--dur, 22s) ease-in-out infinite;
  will-change: transform, opacity;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    filter 0.4s ease;

  pointer-events: auto;
}


/* -------------------------
   Fixed Anchor Positions
------------------------- */

/* LEFT SIDE */
.pos-top-left {
  left: 8%;
  top: 14%;
}

.pos-mid-left {
  left: 6%;
  top: 42%;
}

.pos-bottom-left {
  left: 10%;
  top: 72%;
}

/* RIGHT SIDE */
.pos-top-right {
  right: 8%;
  top: 18%;
}

.pos-mid-right {
  right: 6%;
  top: 46%;
}

.pos-bottom-right {
  right: 10%;
  top: 74%;
}

/* -------------------------
   Motion Variation (key)
------------------------- */

.logo-float:nth-child(1) { --dur: 18s; animation-delay: -2s; }
.logo-float:nth-child(2) { --dur: 22s; animation-delay: -6s; }
.logo-float:nth-child(3) { --dur: 20s; animation-delay: -4s; }
.logo-float:nth-child(4) { --dur: 26s; animation-delay: -8s; }
.logo-float:nth-child(5) { --dur: 19s; animation-delay: -3s; }
.logo-float:nth-child(6) { --dur: 24s; animation-delay: -7s; }

/* Slight depth differences */
.logo-float:nth-child(2n) {
  opacity: 0.25;
  transform: scale(0.95);
}

.logo-float:nth-child(3n) {
  opacity: 0.45;
  transform: scale(1.05);
}

/* -------------------------
   Hover (INDIVIDUAL ONLY)
------------------------- */

.logo-float:hover {
  opacity: 0.95;
  filter: none; /* full brand color */
  transform: translateY(-14px) scale(1.08);
  z-index: 2;
}

/* Optional: fade others when hovering cluster */
.floating-logos:hover .logo-float {
  opacity: 0.2;
}

.floating-logos:hover .logo-float:hover {
  opacity: 0.95;
}

/* -------------------------
   Motion (more organic, still subtle)
------------------------- */

@keyframes ambientFloat {
  0% {
    transform: translateY(0) translateX(0);
  }
  40% {
    transform: translateY(-12px) translateX(4px);
  }
  70% {
    transform: translateY(-6px) translateX(-3px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* -------------------------
   Accessibility
------------------------- */

@media (prefers-reduced-motion: reduce) {
  .logo-float {
    animation: none;
  }
}



/* Posted Date */
.posted {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

/* Job Actions */
.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.apply-link {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 38px;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(230,57,70,0.66);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  text-align: center;
  user-select: none;
  display: inline-block;
  will-change: transform;
}

.apply-link:hover,
.apply-link:focus-visible {
  background-color: var(--primary-dark);
  box-shadow: 0 12px 36px var(--shadow-primary);
  transform: scale(1.05);
  outline: none;
}
.job-card {
  display: flex;
  flex-direction: column;
}

.job-card-content {
  flex-grow: 1;
}

.apply-link {
  margin-top: 22px;
}

.applied-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.applied-btn.applied {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.3);
  box-shadow: 0 0 16px var(--shadow-primary);
}

.applied-btn.status-interviewing {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.applied-btn.status-offer {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.applied-btn.status-rejected {
  border-color: #6b7280;
  color: #6b7280;
  background: rgba(107, 114, 128, 0.12);
}

.applied-btn:hover,
.applied-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 57, 70, 0.2);
  outline-offset: 2px;
  outline: 2px solid var(--primary);
  transform: scale(1.03);
}

/* Skeletons */
.skeleton {
  height: 140px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: linear-gradient(
    90deg,
    #0f172a 25%,
    #1f2937 37%,
    #0f172a 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s linear infinite;
}

/* Footer */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background-color: rgba(11, 18, 32, 0.9);
  user-select: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-grid h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--primary);
  outline-offset: 2px;
  outline: 2px solid var(--primary);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 24px 16px 48px;
  }

  .filters {
    gap: 10px;
  }

  .filters button {
    flex: 1 1 auto;
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  #search-input {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .job-card {
    padding: 18px;
  }

  .job-header h3 {
    font-size: 1.1rem;
  }

  .job-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-link,
  .applied-btn {
    width: 100%;
    text-align: center;
  }

  .hero-inner {
    padding: 0 8px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .nav {
    display: none;
  }
}

/* Animations */
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes bg-pulse {
  0% {
    filter: brightness(1.1);
  }
  100% {
    filter: brightness(0.9);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cardFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility focus outline */
:focus-visible {
  outline-offset: 3px;
  outline: 3px solid var(--primary);
}

/* =========================
   SECTION CONTAINERS
========================= */

.section-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;

  padding: 64px 64px;
  border-radius: 28px;

  /* NO BOX — just atmosphere */
  background:
    radial-gradient(
      1000px 420px at 50% -30%,
      rgba(230,57,70,0.08),
      transparent 70%
    );
}

.pricing-section .section-wrap {
  background: none;
}


.page-index .preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* WHY section gets more width */
.page-index #why .section-wrap {
  max-width: 1400px;
}

@media (max-width: 900px) {
  .page-index .preview-grid {
    grid-template-columns: 1fr;
  }
}
.faang-pill {
  display: inline-block;
  margin-left: 14px;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #e63946, #c1121f);
  color: #ffffff;
  box-shadow:
    0 0 24px rgba(230,57,70,0.55);
}
.faang-pill {
  display: inline-block;
  margin-left: 14px;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #e63946, #c1121f);
  color: #ffffff;
  box-shadow:
    0 0 24px rgba(230,57,70,0.55);
}
.page-index #why .job-card {
  background:
    linear-gradient(
      180deg,
      rgba(20,30,60,0.7),
      rgba(15,23,42,0.6)
    );


  box-shadow:
    0 14px 32px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.025);
}

.page-index #why .job-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.55),
    0 0 26px rgba(230,57,70,0.25);
}

.page-index .section-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .section-wrap {
    padding: 56px 48px;
  }
}

@media (max-width: 768px) {
  .section-wrap {
    padding: 40px 24px;
  }
}



#why .preview-grid {
  justify-content: center;
}
#why::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 48px auto 32px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.4;
}


/* Why section grid */
.page-index .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 36px;
}

/* Tablet */
@media (max-width: 1100px) {
  .page-index .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .page-index .why-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PRICING SECTION
========================= */

.pricing-section {
  padding: 96px 0 120px;
  text-align: center;
}

.pricing-title {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.pricing-subtitle {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 72px;
  font-size: 1.05rem;
}

/* =========================
   GRID
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 56px;
  justify-content: center;
}

/* =========================
   PLAN CARD
========================= */

.plan-card {
  position: relative;
  text-align: left;
  background: linear-gradient(180deg, #0b1220, #070b14);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 52px 46px 46px;

  display: flex;
  flex-direction: column;
  height: 100%;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.02);

  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
}

/* =========================
   HEADINGS
========================= */

.plan-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* =========================
   PRICE
========================= */

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.price-old {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
}

.price-new {
  font-size: 3rem;
  font-weight: 900;
}

.plan-unit {
  font-size: .9rem;
  color: var(--muted);
}

/* =========================
   DESCRIPTION
========================= */

.plan-description {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 28px;
}

/* =========================
   FEATURES
========================= */

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
}

.plan-features li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
  background: rgba(230,57,70,0.18);
  color: #ff6b6b;
}

/* =========================
   BUTTONS
========================= */

.plan-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .25s ease;
}

.plan-btn:active {
  transform: scale(.97);
}

/* FREE */
.free-btn {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.free-btn:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 18px rgba(255,255,255,0.15);
}

/* =========================
   PREMIUM
========================= */

.plan-card.premium {
  background:
    radial-gradient(
      900px 420px at 50% -30%,
      rgba(14,165,233,0.35),
      transparent 70%
    ),
    linear-gradient(180deg, #071825, #050d17);

  border: 1px solid rgba(14,165,233,0.45);

  box-shadow:
    0 40px 120px rgba(14,165,233,0.45),
    0 0 80px rgba(14,165,233,0.35);

  transform: scale(1.04);
}

.plan-card.premium:hover {
  transform: translateY(-10px) scale(1.05);
}

.plan-card.premium .price-new {
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-card.premium .plan-features li::before {
  background: rgba(14,165,233,0.25);
  color: #38bdf8;
}

.premium-btn {
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #04121f;
  box-shadow: 0 16px 48px rgba(56,189,248,0.55);
}

.premium-btn:hover {
  transform: translateY(-2px) scale(1.05);
}

/* =========================
   BADGE
========================= */

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #04121f;
  box-shadow: 0 10px 30px rgba(56,189,248,0.8);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.premium {
    transform: none;
  }
}

/* =========================
   COMPANY MARQUEE
========================= */

.company-marquee {
  margin: -40px auto 80px; /* pull into hero visually */
  max-width: 1400px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Label above marquee */
.marquee-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  opacity: 0.85;
}

/* =========================
   MARQUEE CONTAINER
========================= */

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  opacity: 0.9; /* blends with hero atmosphere */
}

/* Edge fade */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg),
    rgba(11, 18, 32, 0.75),
    transparent
  );
}

.marquee::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg),
    rgba(11, 18, 32, 0.75),
    transparent
  );
}

/* =========================
   TRACK (MOVING ROW)
========================= */

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 42s linear infinite;
  will-change: transform;
}

/* Pause animation on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* =========================
   COMPANY PILLS
========================= */

.marquee-item {
  min-width: 160px;
  margin: 0 14px;
  padding: 12px 20px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.96),
    rgba(240,240,240,0.92)
  );

  color: #0b1220;
  border-radius: 999px;

  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.6);

  opacity: 0.9;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

/* Hover polish */
.marquee-item:hover {
  transform: translateY(-4px) scale(1.05);
  opacity: 1;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.35);
}

/* =========================
   ANIMATION
========================= */

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
/* =========================
   FAQ (WIDE / REZZY STYLE)
========================== */
.faq-section {
  padding: 140px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 96px;
}

.faq-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(230,57,70,0.14);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.faq-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.faq-title span {
  color: var(--primary);
}

.faq-subtitle {
  margin-top: 18px;
  max-width: 420px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--primary);
}

/* Right side */
.faq-right details {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 16px;
}

.faq-right summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.faq-right p {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 900px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .faq-title {
    font-size: 2.4rem;
  }
}
/* =========================
   FOOTER — FINAL
========================== */

.site-footer {
  margin-top: 200px;
  padding: 160px 0 48px;
  background:
    radial-gradient(
      1600px 600px at 25% -20%,
      rgba(230, 57, 70, 0.08),
      transparent 60%
    );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Main layout */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 140px;
  align-items: start;
}

/* =========================
   LEFT / HERO
========================== */

.footer-headline {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #cbd5e1;
}

.footer-headline span {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #e63946,
    #22d3ee
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-description {
  margin-top: 26px;
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-cta {
  display: inline-block;
  margin-top: 34px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e63946;
  position: relative;
}

.footer-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-cta:hover::after {
  width: 100%;
}

/* =========================
   RIGHT / COLUMNS
========================== */

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
}

.footer-label {
  display: block;
  margin-bottom: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-column a {
  display: block;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #e5e7eb;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: #e63946;
}

/* =========================
   BOTTOM BAR
========================== */

.footer-bottom {
  margin-top: 120px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================
   RESPONSIVE
========================== */

@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 96px;
  }

  .footer-headline {
    font-size: 2.6rem;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
/* =========================
   ALERTS MODAL (POPUP)
========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  position: relative;
  padding: 22px 22px 18px 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(2, 6, 23, 0.35);
  color: rgba(226, 232, 240, 0.9);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.modal-close:hover {
  transform: scale(1.03);
  background: rgba(2, 6, 23, 0.55);
}

.modal-badge {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: #ff6b6b;
  margin-bottom: 10px;
}

.modal-title {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: #e5e7eb;
}

.modal-subtitle {
  margin: 0 0 16px 0;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.45;
}

.modal-form input[type="email"],
.modal-form input[type="text"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.35);
  color: #e5e7eb;
  outline: none;
}

.modal-form input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.modal-role-picker {
  margin-top: 14px;
}

.modal-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-top: 8px;
}

.modal-roles-grid label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.28);
  color: rgba(226, 232, 240, 0.92);
  cursor: pointer;
}

.modal-cta {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(230, 57, 70, 0.35);
  background: #e63946;
  color: #06281d;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.modal-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.modal-status {
  margin: 10px 0 0 0;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.95);
  min-height: 20px;
}

.modal-fineprint {
  margin: 10px 0 0 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.8);
}

.modal-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding-top: 14px;
}

.modal-skip {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(226, 232, 240, 0.9);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.modal-link {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 520px) {
  .modal-roles-grid {
    grid-template-columns: 1fr;
  }
}

.modal-success {
  text-align: center;
  padding: 18px 6px 10px;
}

.success-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(230,57,70,0.12);
  color: #e63946;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  margin: 0 0 6px 0;
  color: #e5e7eb;
  font-size: 1.25rem;
}

.success-text {
  margin: 0;
  color: rgba(148,163,184,0.95);
  line-height: 1.5;
}
/* =========================
   PREMIUM / PAYWALL UI
========================= */

/* top injected banner container */
.premium-banner {
  margin: 14px 0 18px;
}

/* Inline premium banner (injected by JS) */
.premium-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.premium-inline::after {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(230,57,70,0.25), rgba(230,57,70,0) 60%);
  transform: rotate(18deg);
  pointer-events: none;
  opacity: 0.9;
}

.premium-inline-left strong {
  display: block;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 1rem;
}

.premium-inline-sub {
  margin-top: 4px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.70);
}

.premium-inline-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(230,57,70,0.35);
  background: rgba(230,57,70,0.12);
  color: #e63946;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border 0.18s ease;
  box-shadow: 0 0 0 rgba(230,57,70,0);
}

.premium-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(230,57,70,0.25);
}

.premium-btn:active {
  transform: translateY(0px);
}

.premium-btn.ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}

.premium-price {
  opacity: 0.9;
  font-weight: 800;
  font-size: 0.85rem;
}
/* =========================
   Premium banner (top)
========================= */
.premium-banner {
  margin: 0 0 14px 0;
  width: 100%;
}

.premium-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 14px 14px;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);

  position: relative;
  overflow: hidden;
}

.premium-inline::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    900px 220px at 25% 0%,
    rgba(230,57,70,0.18),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.premium-inline-left {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.premium-inline-left strong {
  font-weight: 900;
  letter-spacing: 0.1px;
}

.premium-inline-sub {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
}

.premium-inline-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  font-weight: 900;
  text-decoration: none;

  border: 1px solid rgba(230,57,70,0.35);
  background: rgba(230,57,70,0.12);
  color: #e63946;

  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.premium-btn.ghost {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}

.premium-price {
  opacity: 0.9;
  font-weight: 900;
  font-size: 0.86rem;
}


/* =========================
   Locked section upsell
========================= */
.locked-wrap {
  margin-top: 22px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.locked-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    900px 260px at 20% 0%,
    rgba(230,57,70,0.16),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.locked-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;

  padding: 14px;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.14);

  position: relative;
  z-index: 1;
}

.locked-left {
  display: grid;
  gap: 4px;
}

.locked-title {
  font-weight: 950;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
}

.locked-sub {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.25;
}

.locked-sub.emphasis {
  color: rgba(255,255,255,0.9);
  font-weight: 800;
}

.locked-preview-note {
  margin: 10px 2px 4px;
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.locked-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  font-weight: 950;
  text-decoration: none;

  border: 1px solid rgba(230,57,70,0.35);
  background: rgba(230,57,70,0.12);
  color: #e63946;

  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.locked-cta.secondary {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}

.locked-price {
  opacity: 0.9;
  font-weight: 950;
  font-size: 0.86rem;
}

.locked-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .premium-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .locked-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .locked-grid {
    grid-template-columns: 1fr;
  }
}

.locked-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.locked-card .job-card {
  filter: blur(7px) saturate(0.85);
  opacity: 0.75;
  transform: scale(1.01);
  pointer-events: none;
}

.locked-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 220px at 50% 25%,
    rgba(230,57,70,0.12),
    rgba(0,0,0,0.42)
  );
  pointer-events: none;
}

/* “Premium Only” pill (optional) */
.locked-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 900;

  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.locked-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e63946;
  box-shadow: 0 0 18px rgba(230,57,70,0.7);
}

.locked-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.locked-fineprint {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.locked-dot {
  opacity: 0.5;
}

.locked-link {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.82);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* =========================
   WOW unlock overlay
========================= */
.unlock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.unlock-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Confetti canvas sits behind the card */
.unlock-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.unlock-card {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 40px));
  border-radius: 22px;
  padding: 32px 30px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, #161b22 0%, #1c2333 100%);
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.unlock-overlay.show .unlock-card {
  transform: scale(1) translateY(0);
}
.unlock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,158,11,0.12), transparent 70%);
  pointer-events: none;
}

.unlock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(245,158,11,0.15);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,0.3);
  margin-bottom: 14px;
}

.unlock-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #e5e7eb;
  background: linear-gradient(135deg, #f5f5f5, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.unlock-sub {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.5;
}

.unlock-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.unlock-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  font-weight: 500;
}
.unlock-feat svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.unlock-cta {
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #0d1117;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: filter 0.18s, transform 0.18s;
  font-family: inherit;
  box-shadow: 0 4px 24px rgba(245,158,11,0.3);
}
.unlock-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.unlock-dismiss {
  text-align: center;
  font-size: 11px;
  color: #4b5563;
  margin-top: 10px;
}

/* ============================
   FREE JOB CAP WALL
============================ */
.free-cap-wall {
  position: relative;
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
}

.free-cap-ghost-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}

.free-cap-ghost {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(17,24,39,0.95) 0%, rgba(11,18,32,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  height: 96px;
}

.fcg-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.fcg-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fcg-line {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.09);
  display: block;
}

.fcg-badge {
  width: 52px;
  height: 20px;
  border-radius: 6px;
  background: rgba(230,57,70,0.18);
  flex-shrink: 0;
  align-self: flex-start;
}

.free-cap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(7,11,20,0.82) 22%,
    rgba(7,11,20,0.97) 48%
  );
  padding: 28px 24px 36px;
  text-align: center;
}

.free-cap-pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(230,57,70,0.14);
  border: 1px solid rgba(230,57,70,0.28);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #e63946;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.free-cap-stat {
  font-size: 30px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
  margin: 0;
}

.free-cap-tiers {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin-bottom: 1px;
}

.free-cap-companies {
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
  margin: 0 0 8px;
}

.free-cap-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

.free-cap-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 4px;
  max-width: min(500px, 90%);
  line-height: 1.5;
}

.free-cap-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(230,57,70,0.4);
  transition: transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}

.free-cap-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.55);
}

.free-cap-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}

.fcf-chip {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}
.fcf-chip.urgent {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
  font-weight: 700;
}

/* ==========================================
   SHARED FOOTER (csjobs.ca)
========================================== */
.footer {
  padding: 80px 24px 40px;
  background: var(--bg, #0a0f1a);
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { max-width: 280px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-brand .logo-img { width: 28px; height: 28px; object-fit: contain; }
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 800; color: #f1f5f9; }
.footer-brand p { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; }
.footer-column h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #f1f5f9; margin-bottom: 20px; }
.footer-column a { display: block; font-size: 0.9rem; color: #94a3b8; text-decoration: none; margin-bottom: 12px; transition: color 0.2s; }
.footer-column a:hover { color: #f1f5f9; }
.footer-bottom { max-width: 1200px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: #64748b; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #94a3b8; text-decoration: none; transition: all 0.2s; }
.footer-social a:hover { background: #e63946; border-color: #e63946; color: #fff; }

/* ==========================================
   SHARED AUTH GATE (tracker, resumes, profile, resume-tailor)
========================================== */
.auth-gate {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.auth-gate.active { display: flex; }

.auth-gate-card {
  background: #0d1628;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(230, 57, 70, 0.35);
  border-radius: 20px;
  padding: 36px 36px 32px;
  max-width: 440px;
  width: 92%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.auth-gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.6), transparent);
}

.auth-gate-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.12);
}
.auth-gate-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: #e63946;
}

/* Legacy emoji icon (fallback) */
.auth-gate-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.auth-gate-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.auth-gate-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
}

.auth-gate-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 24px;
}

.auth-gate-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
}

.auth-gate-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: #10b981;
}

.auth-gate-divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 20px 0;
}

.auth-gate-primary {
  display: block;
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.28);
  letter-spacing: 0.1px;
}
.auth-gate-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(230, 57, 70, 0.38);
}

.auth-gate-secondary {
  display: block;
  color: #64748b;
  font-size: 0.875rem;
  padding: 10px;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.15s, color 0.15s;
}
.auth-gate-secondary:hover { border-color: rgba(255,255,255,0.14); color: #94a3b8; }

.auth-gate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.auth-gate-trust {
  font-size: 11px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.auth-gate-back {
  font-size: 11px;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s;
}
.auth-gate-back:hover { color: #64748b; }

/* Resume-tailor PDF preview mockup */
.auth-gate-preview-divider {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #e63946;
  pointer-events: none;
}
