/* =========================================
   GigFinder – Main Stylesheet
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #4F46E5;
  --primary-dark:  #3730A3;
  --primary-light: #EEF2FF;
  --accent:        #7C3AED;
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --white:         #FFFFFF;
  --bg-alt:        #E9ECEF;
  --success:       #10B981;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.12);
  --transition:    .2s ease;
  --nav-h:         72px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-mid); }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: rgba(255, 255, 255, 0.90); }

/* Editorial quote band — white serif quote floating over whatever
   backdrop is behind the section. Used as a quiet pause on index.asp
   and about.asp; the host page's body bg shows through. */
.quote-band {
  background: transparent;
  padding: 112px 0 64px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.big-quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.big-quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,.35);
  margin-bottom: -.35em;
}
.big-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.45;
}
.big-quote figcaption {
  margin-top: 18px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
/* On .brand-bg pages (e.g. about.asp) the section above the quote
   already carries its own bottom padding, so trim the quote's top
   padding to avoid stacked whitespace. */
.brand-bg .quote-band { padding-top: 24px; }

@media (max-width: 640px) {
  .quote-band            { padding: 48px 0; }
  .big-quote blockquote  { font-size: 1.3rem; }
  .big-quote-mark        { font-size: 4rem; }
}

/* Home page: pin the hero image to the body so transparent sections
   (e.g. .section--alt) reveal a glimpse of it as the user scrolls.
   Mirrors the hero's full overlay stack (black darken + purple gradient)
   so the bleed-through reads the same as the hero itself. */
body.home-bg {
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    linear-gradient(
      to bottom,
      rgba(17, 24, 39, 0.72) 0%,
      rgba(17, 24, 39, 0.68) 55%,
      rgba(17, 24, 39, 0.82) 100%
    ),
    url('/images/background/background-public2.png') center/cover no-repeat fixed;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-logo span { color: var(--text-dark); }

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .925rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

.nav-cta { margin-left: 10px; }

/* Pricing dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .925rem;
  font-weight: 500;
  color: var(--text-mid);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-caret {
  font-size: 1em;
  line-height: 1;
  margin-top: 1px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  padding: 6px;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu--right { left: auto; right: 0; min-width: 0; }

.nav-dropdown-menu--right a { white-space: nowrap; }

.nav-dropdown--cta [data-dropdown-toggle] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .925rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--primary); background: var(--primary-light); }

.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-h); }

/* --- Logo images --- */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  position: relative;
  top: 1px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  /* Logos on dark footer backgrounds often need a filter to stay visible.
     Remove the line below if your logo already works on dark backgrounds. */
  filter: brightness(0) invert(1);
}

.login-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* --- Hero --- */
.hero {
  background:
    /* Neutral darken layer — pure black with low alpha so the image gets
       darker without picking up additional purple saturation. Mirrors the
       darkening applied on .brand-bg pages. */
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    linear-gradient(
      to bottom,
      rgba(17, 24, 39, 0.72) 0%,
      rgba(17, 24, 39, 0.68) 55%,
      rgba(17, 24, 39, 0.82) 100%
    ),
    url('/images/background/background-public2.png') center/cover no-repeat;
  background-attachment: fixed;
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before { display: none; }
.hero::after  { display: none; }

/* 30-day free trial starburst — sits to the right of the hero text on
   wide viewports, links to pricing. Two stacked star pseudos give a
   white stroke around the orange burst. */
.hero-starburst {
  position: absolute;
  top: 140px;
  left: calc(50% + 360px);
  width: 140px;
  height: 140px;
  text-decoration: none;
  color: #1F2937;
  z-index: 5;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  animation: hero-starburst-pulse 2.6s ease-in-out infinite;
}

/* White stroke (outer) star */
.hero-starburst::before,
/* Orange (inner) star, inset to expose the white as a stroke */
.hero-starburst::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(
    50% 0%,        59.32% 15.23%,  75% 6.70%,     75.46% 24.54%,
    93.30% 25%,    84.77% 40.68%,  100% 50%,      84.77% 59.32%,
    93.30% 75%,    75.46% 75.46%,  75% 93.30%,    59.32% 84.77%,
    50% 100%,      40.68% 84.77%,  25% 93.30%,    24.54% 75.46%,
    6.70% 75%,     15.23% 59.32%,  0% 50%,        15.23% 40.68%,
    6.70% 25%,     24.54% 24.54%,  25% 6.70%,     40.68% 15.23%
  );
}
.hero-starburst::before { background: #fff; z-index: 0; }
.hero-starburst::after  {
  inset: 6px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  z-index: 1;
}

.starburst-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-starburst:hover { animation-play-state: paused; }

.starburst-sm { font-size: 0.78rem; }
.starburst-lg { font-size: 1.25rem; font-weight: 900; margin: 2px 0; letter-spacing: 0.03em; }
.starburst-info {
  font-size: 0.5rem;
  font-weight: 700;
  margin-top: 5px;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  opacity: 0.78;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes hero-starburst-pulse {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-12deg) scale(1.05); }
}

/* Below ~1100px viewport, the calc-positioned starburst no longer fits
   beside the centered 760px hero text; fall back to the top-right corner. */
@media (max-width: 1100px) {
  .hero-starburst { top: 24px; left: auto; right: 24px; }
}
@media (max-width: 640px) {
  .hero-starburst { top: 12px; right: 12px; width: 104px; height: 104px; }
  .hero-starburst .starburst-sm   { font-size: 0.65rem; }
  .hero-starburst .starburst-lg   { font-size: 1rem; }
  .hero-starburst .starburst-info { font-size: 0.45rem; }
}

/* Smaller starburst variant — overlaps the Premium pricing card top-right.
   Decorative (not a link); the card's CTA button handles conversions. */
.tier-starburst {
  position: absolute;
  top: -46px;
  right: -22px;
  width: 100px;
  height: 100px;
  z-index: 5;
  color: #1F2937;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  animation: hero-starburst-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
.tier-starburst::before,
.tier-starburst::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(
    50% 0%,        59.32% 15.23%,  75% 6.70%,     75.46% 24.54%,
    93.30% 25%,    84.77% 40.68%,  100% 50%,      84.77% 59.32%,
    93.30% 75%,    75.46% 75.46%,  75% 93.30%,    59.32% 84.77%,
    50% 100%,      40.68% 84.77%,  25% 93.30%,    24.54% 75.46%,
    6.70% 75%,     15.23% 59.32%,  0% 50%,        15.23% 40.68%,
    6.70% 25%,     24.54% 24.54%,  25% 6.70%,     40.68% 15.23%
  );
}
.tier-starburst::before { background: #fff; z-index: 0; }
.tier-starburst::after  {
  inset: 4px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  z-index: 1;
}
.tier-starburst .starburst-sm { font-size: 0.6rem; }
.tier-starburst .starburst-lg { font-size: 1rem; margin: 1px 0; letter-spacing: 0.03em; }

.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-content h1,
.hero-content p { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero h1 { margin-bottom: 20px; }

.hero h1 .highlight,
.page-hero h1 .highlight {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Literal keyword subline inside the hero H1 -- keeps the branded headline
   as the visible hook while putting SEO phrases in real H1 content. */
.hero h1 .h1-kw,
.page-hero h1 .h1-kw {
  display: block;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .005em;
  color: rgba(255,255,255,.82);
}

.hero p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}

.hero-stat-value { font-size: 2rem; font-weight: 800; color: #a5b4fc; }
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* Hero image — hidden when background image is in use */
.hero-img-wrap { display: none; }
.hero-img { width: 100%; height: auto; display: block; }

/* --- Image placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--primary-light), #F3E8FF);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  font-size: .875rem;
  font-weight: 500;
  border: 2px dashed rgba(79,70,229,.3);
}

.img-placeholder-icon { font-size: 2.5rem; opacity: .6; }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 8px; }

/* --- Section header --- */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* Public hero pill: extra breathing room before the H1 on about,
   job-seekers, postajob, integrations, pricing, etc. The mid-page
   .section-tag instances keep the tighter 12px gap from the base rule. */
.page-hero .section-tag { margin-bottom: 24px; }

/* --- Steps / how it works --- */
.steps { counter-reset: step; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.step + .step { margin-top: 16px; }

.step-num {
  counter-increment: step;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num::before { content: counter(step); }

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #F3E8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 56px 48px;
  color: var(--white);
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 32px; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Page hero (inner pages) --- */
.page-hero {
  background: linear-gradient(145deg, #F5F3FF 0%, #EEF2FF 100%);
  padding: 72px 0 64px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 14px; }
.page-hero p  { font-size: 1.1rem; max-width: 540px; margin: 0 auto; }

/* --- About page --- */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-light), #F3E8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.team-card h3 { margin-bottom: 4px; }
.team-card p  { font-size: .875rem; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.value-item {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.value-item .icon { font-size: 1.75rem; margin-bottom: 12px; }
.value-item h3 { margin-bottom: 6px; }

/* --- Login page --- */
.login-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #F5F3FF 0%, #EEF2FF 100%);
  padding: 48px 24px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  padding: 44px 40px;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  justify-content: center;
}

.login-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .95rem;
}

.login-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.login-card > p { font-size: .9rem; margin-bottom: 28px; }

/* Modal-mode login card: site-wide popup version of /login.asp.
   Anchored for the absolute-positioned close button. */
/* Login modal backdrop: darker than the shared .wizard-overlay (.55) so the
   "Welcome back" card stands out, especially over the lighter /login page.
   Scoped to #loginModal so the signup wizard's overlay is unaffected. */
#loginModal { background: rgba(0, 0, 0, .78); }
.login-modal-card { position: relative; max-height: 90vh; overflow-y: auto; }
.login-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: 0;
  font-size: 1.6rem; line-height: 1;
  color: var(--text-muted);
  cursor: pointer; padding: 6px 10px;
  border-radius: 6px;
}
.login-modal-close:hover { background: #F3F4F6; color: var(--text); }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text-dark);
  font-family: var(--font);
  transition: var(--transition);
  background: var(--white);
}

::placeholder { color: #d4d4dc; opacity: 1; }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: .875rem;
}

.form-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; color: var(--text-mid); }
.form-row input[type="checkbox"] { accent-color: var(--primary); }
.form-row a { color: var(--primary); font-weight: 600; }
.form-row a:hover { text-decoration: underline; }

.btn-block { width: 100%; justify-content: center; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  font-size: .8rem;
  color: var(--text-muted);
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.btn-social:hover { background: var(--bg-alt); }

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: .875rem;
  color: var(--text-muted);
}

.login-footer a { color: var(--primary); font-weight: 600; }
.login-footer a:hover { text-decoration: underline; }

.tab-switcher {
  display: flex;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font);
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* --- Badge / pill --- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-blue   { background: var(--primary-light); color: var(--primary); }
.badge-purple { background: #F3E8FF; color: #6D28D9; }

/* Member account-tier pill -- used in the profile hero card and anywhere
   else we display a Free / Plus / Premium label as a chip. Light lavender
   on dark purple backdrop, with the dark-purple text providing tier
   distinction through the label itself. */
.pf-tier-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
  background: #EDE9FE;
  color: #4C1D95;
  border: 1px solid rgba(255,255,255,.35);
}
.pf-tier-pill--free,
.pf-tier-pill--plus,
.pf-tier-pill--premium { /* tier-specific overrides reserved for future use */ }

/* --- Feature list --- */
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: .95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  margin-top: 1px;
}

/* --- Pricing / tier card --- */
.tier-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px 32px;     /* extra top room for the floating tier badge */
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* Push the CTA button to the bottom so buttons line up across cards
   regardless of feature-list length. */
.tier-card .feature-list { flex: 1 1 auto; }

/* Float the tier label (Free / Pro / Executive) onto the top border line. */
.tier-card > .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

/* Popular card: gradient border + soft glow + slight lift. */
.tier-card.popular {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #4F46E5, #7C3AED) border-box;
  box-shadow: 0 14px 40px -10px rgba(79, 70, 229, .30);
  transform: translateY(-6px);
}

/* "Most Popular" — sparkly animated ribbon floating above the tier badge. */
.tier-card.popular::before {
  content: '\2728  Most Popular  \2728';   /* ✨ Most Popular ✨ */
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .40);
  white-space: nowrap;
  animation: tierPopularPulse 2.4s ease-in-out infinite;
}

@keyframes tierPopularPulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 6px 18px rgba(124, 58, 237, .40);
  }
  50% {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 10px 22px rgba(124, 58, 237, .55);
  }
}

/* Override the ribbon label on tier cards marked as "best deal"
   (higher specificity than .tier-card.popular::before). */
.tier-card.popular.best-deal::before { content: '\2728  Best Deal  \2728'; }

.tier-price { font-size: 2.25rem; font-weight: 800; color: var(--text-dark); margin: 12px 0 4px; }
.tier-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.tier-price .price-was { font-size: 1.25rem; font-weight: 600; color: var(--text-muted); text-decoration: line-through; margin-right: 8px; }
.tier-desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 24px; }

/* --- Accordion FAQ --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  transition: background var(--transition);
}

.faq-q:hover { background: var(--bg-alt); }
.faq-q .arrow { transition: transform var(--transition); font-size: .75rem; color: var(--text-muted); }
.faq-q.open .arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .9rem;
  color: var(--text-mid);
  padding: 0 20px;
  line-height: 1.7;
}

.faq-a.open { max-height: 300px; padding: 0 20px 18px; }

/* --- Footer --- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { color: var(--white); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col ul li + li { margin-top: 10px; }

.footer-col ul a {
  font-size: .875rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

.social-links { display: flex; gap: 14px; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--transition);
}
.social-link:hover { background: var(--primary); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-banner { padding: 40px 24px; }

  .login-card { padding: 36px 24px; }
  .social-btns { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .hide-on-narrow { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* --- Sign Up page --- */
.signup-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 28px;
}
.signup-alert--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.signup-alert--success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }

.signup-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1060px;
  margin: 0 auto;
}

.signup-panel {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 2px solid #A78BFA;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
  display: flex;
  flex-direction: column;
  color: #111;
  height: 100%;
  box-sizing: border-box;
}

/* Black body text on the new lavender card; headings use brand purple.
   Prefixed with .brand-bg to outweigh the .brand-bg .section h2 rule
   (which paints section headings white on the dark backdrop). */
.brand-bg .signup-panel .signup-panel-header h2 { color: #4c1d95; }
.brand-bg .signup-panel .signup-panel-header p  { color: #111; }

.signup-panel .drop-zone {
  border-color: #c4b5fd;
  background: #fbfaff;
}
.signup-panel .drop-zone-inner { padding-bottom: 48px; }
.signup-panel .drop-zone:hover,
.signup-panel .drop-zone:focus,
.signup-panel .drop-zone.drag-over {
  border-color: #7c3aed;
  background: #ddd6fe;
}
/* File staged: green frame only, keep the neutral panel background (no green
   fill) so the colored border is the sole "ready" cue. */
.signup-panel .drop-zone.has-file { background: #fbfaff; }
.signup-panel .drop-title  { color: #3730a3; }
.signup-panel .drop-sub    { color: #5b21b6; }
.signup-panel .drop-browse { color: #4F46E5; text-decoration: underline; }


.signup-panel .format-badge {
  background: rgba(255,255,255,.65);
  border-color: rgba(124,58,237,.25);
  color: #111;
}

.signup-panel .extract-list {
  background: linear-gradient(145deg, #312e81 0%, #4c1d95 100%);
}
.signup-panel .extract-item {
  color: #ddd6fe;
  align-items: flex-start;
  font-size: .8125rem;
  line-height: 1.35;
}
.signup-panel .extract-check {
  background: rgba(255,255,255,.15);
  color: #6ee7b7;
  margin-top: -2px;
}
.signup-panel .extract-list-heading {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.signup-panel .signup-note { color: #111; }

.signup-panel .manual-steps-preview {
  background: linear-gradient(145deg, #312e81 0%, #4c1d95 100%);
  border: none;
  border-radius: var(--radius-sm);
  padding: 20px 16px 14px;
}
.signup-panel .msp-dot {
  background: #fff;
  color: #4c1d95;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.signup-panel .msp-step span { color: #fff; }
.signup-panel .msp-connector { background: rgba(255,255,255,.4); }
.signup-panel .msp-label     { color: rgba(255,255,255,.85); opacity: 1; }

.signup-panel .manual-intro-text { color: #111; }

.signup-panel .login-footer       { color: #111; }
.signup-panel .login-footer a     { color: #4F46E5; }
.signup-panel .login-footer a:hover { color: #312e81; }

.signup-panel .btn-primary {
  background: linear-gradient(145deg, #312e81 0%, #4c1d95 100%);
  color: #fff;
  border: none;
}
.signup-panel .btn-primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #3730a3 0%, #5b21b6 100%);
}
/* Greyed-out look until a resume is staged (button carries the disabled
   attribute until showFile() runs). Overrides the purple gradient above. */
.signup-panel .btn-primary:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}
/* Turn the "Create Account From Resume" button green once a file is staged,
   signalling it's ready to submit. Higher specificity than the base
   .signup-panel .btn-primary rule so it wins without !important. */
.signup-panel .btn-primary.upload-ready {
  background: linear-gradient(145deg, #15803D 0%, #22C55E 100%);
}
.signup-panel .btn-primary.upload-ready:hover:not(:disabled) {
  background: linear-gradient(145deg, #166534 0%, #16A34A 100%);
}

.signup-panel-header { margin-bottom: 28px; text-align: center; }

.signup-panel-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

/* Angled corner ribbon on the resume-upload card flagging it as the fastest
   path. overflow:hidden on the panel clips the banner ends to the card's
   rounded corner so it reads as a true diagonal corner callout. */
.signup-panel--upload { position: relative; overflow: hidden; }
.signup-fastest-ribbon {
  position: absolute;
  top: 22px;
  left: -56px;
  width: 200px;
  transform: rotate(-45deg);
  text-align: center;
  background: linear-gradient(135deg, #15803D 0%, #22C55E 100%);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.28);
  z-index: 3;
  pointer-events: none;
}

.signup-panel-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.signup-panel-header p  { font-size: .95rem; max-width: 320px; margin: 0 auto; }

/* Vertical OR divider */
.signup-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  gap: 12px;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  align-self: stretch;
  min-height: 200px;
}

.signup-divider-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  min-height: 40px;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* === Brand background wrapper ===========================================
   Page-level wrapper that paints the homepage hero backdrop (dark purple
   gradient + background-002.png) behind whatever it contains. Used as a
   shared design language across public-facing pages — the inner content
   floats on the backdrop with light-lavender cards and dark-purple
   accent blocks. */
.brand-bg {
  background:
    /* Neutral darken layer — matched to body.home-bg (0.35) so sub-pages
       read with the same depth as the home hero. */
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    /* Purple tint layer — matched to body.home-bg's tint stack. */
    linear-gradient(
      to bottom,
      rgba(17, 24, 39, 0.72) 0%,
      rgba(17, 24, 39, 0.68) 55%,
      rgba(17, 24, 39, 0.82) 100%
    ),
    url('/images/background/background-public2.png') center/cover no-repeat;
  background-attachment: fixed;
}

.brand-bg .page-hero {
  background: transparent;
}
.brand-bg .page-hero h1 { color: #fff; }
.brand-bg .page-hero p  { color: rgba(255,255,255,.85); }

.brand-bg .section { background: transparent; padding: 56px 0; }
.brand-bg .section--alt { background: transparent; }

/* Section-level text on the dark backdrop */
.brand-bg .section h2,
.brand-bg .section h3 { color: #fff; }
.brand-bg .section > .container > p,
.brand-bg .grid-2 p,
.brand-bg .section-header p { color: rgba(255,255,255,.85); }
.brand-bg .text-muted { color: rgba(255,255,255,.7); }

/* Section tag (the small pill above headings) — invert for the dark bg */
.brand-bg .section-tag {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

/* Light-lavender card treatment — applied to value items and team cards */
.brand-bg .value-item,
.brand-bg .team-card {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 1px solid #7C3AED;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .value-item h3,
.brand-bg .team-card h3 { color: #111; }
.brand-bg .value-item p,
.brand-bg .team-card p { color: #111; }
.brand-bg .team-card .text-muted { color: #4c1d95; }

/* Generic content card on brand backdrop — used for prose blocks like the
   "Our Mission" section that need lift away from the dark image. Same
   light-lavender treatment as value/team cards but more breathing room. */
.brand-bg .brand-card {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .brand-card h2,
.brand-bg .brand-card h3 { color: #111; }
.brand-bg .brand-card p  { color: #111; }
.brand-bg .brand-card .section-tag {
  background: var(--primary-light);
  color: var(--primary);
  border: none;
}
/* Outline buttons inside a card need primary-on-light treatment instead of
   the white-on-dark variant used directly on the backdrop. */
.brand-bg .brand-card .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.brand-bg .brand-card .btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Generic .card (used in benefits + categories grids) — same lavender
   treatment as value/team cards. */
.brand-bg .card {
  background: linear-gradient(145deg, #FDFCFF 0%, #F5F3FF 100%);
  border: 1px solid #7C3AED;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .card h3 { color: #111; }
.brand-bg .card p  { color: #111; }
.brand-bg .card .text-muted { color: #4c1d95; }
.brand-bg .card-icon {
  background: #DDD6FE;
  border: 1.5px solid #A78BFA;
}

/* "How it works" step rows — each .step is its own lavender card. The
   gradient step-num pill stays as-is (already brand purple). */
.brand-bg .step {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 1px solid #7C3AED;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .step h3 { color: #111; }
.brand-bg .step p  { color: #111; }

/* Testimonial cards — lavender treatment matching .card / .step. The
   .testimonial-avatar (light purple gradient bg with emoji) keeps its
   look since it already reads correctly on the lavender card. */
.brand-bg .testimonial {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 1px solid #7C3AED;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .testimonial-quote { color: #111; }
.brand-bg .testimonial-name  { color: #111; }
.brand-bg .testimonial-role  { color: #4c1d95; }

/* FAQ accordion — each item becomes a lavender card; question is dark
   text on lavender, answer keeps its expand/collapse behavior. */
.brand-bg .faq-item {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 1px solid #7C3AED;
  box-shadow: 0 4px 16px rgba(49,46,129,.18);
}
.brand-bg .faq-q { color: #111; }
.brand-bg .faq-q:hover { background: rgba(124,58,237,.08); }
.brand-bg .faq-q .arrow { color: #4c1d95; }
.brand-bg .faq-a { color: #111; }

/* Pricing tier cards — lavender backdrop. The .popular tier keeps its
   double-gradient border so it still pops as the featured plan. */
.brand-bg .tier-card {
  background: linear-gradient(145deg, #FDFCFF 0%, #F4F0FE 100%);
  border: 1px solid #7C3AED;
  color: #111;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .tier-card .tier-price { color: #111; }
.brand-bg .tier-card .tier-desc  { color: #4c1d95; }
.brand-bg .tier-card .feature-list li { color: #111; }
.brand-bg .tier-card.popular {
  border-color: transparent;
  background:
    linear-gradient(145deg, #FDFCFF 0%, #F4F0FE 100%) padding-box,
    linear-gradient(135deg, #4F46E5, #7C3AED) border-box;
}
/* Floating tier badges — add a defining border in each variant's color
   so the pill reads cleanly against the lavender card + dark backdrop. */
.brand-bg .tier-card > .badge-green  { border: 1.5px solid #059669; }
.brand-bg .tier-card > .badge-blue   { border: 1.5px solid var(--primary); }
.brand-bg .tier-card > .badge-purple { border: 1.5px solid #7C3AED; }
/* Outline buttons inside tier cards need the primary-on-lavender variant. */
.brand-bg .tier-card .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.brand-bg .tier-card .btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Right-rail employer login/signup card on /postajob/ — same lavender
   treatment as the standalone cards. The .login-card is also used on
   /login.asp (which still uses the original light-gradient page bg), so
   we scope this lavender variant strictly to the .brand-bg context. */
.brand-bg .login-card {
  background: linear-gradient(145deg, #FAF5FF 0%, #EDE9FE 100%);
  border: 1px solid #7C3AED;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .login-card h2 { color: #4c1d95; }

/* Lighter card variant — opt-in via .brand-bg--light-cards on the wrapper.
   Overrides the lavender gradient on every card type with a near-white
   gradient that only hints at lavender. Used on /postajob/. */
.brand-bg--light-cards .value-item,
.brand-bg--light-cards .team-card,
.brand-bg--light-cards .brand-card,
.brand-bg--light-cards .card,
.brand-bg--light-cards .step,
.brand-bg--light-cards .testimonial,
.brand-bg--light-cards .faq-item,
.brand-bg--light-cards .tier-card,
.brand-bg--light-cards .login-card,
.brand-bg--light-cards .pricing-compare-wrap {
  background: linear-gradient(145deg, #FFFFFF 0%, #F5F0FE 100%);
}

/* Popular tier keeps its gradient border (dual-layer background), so we
   override both layers — fill matches the lighter card gradient, border
   keeps the brand purple→violet treatment. */
.brand-bg--light-cards .tier-card.popular {
  background:
    linear-gradient(145deg, #FFFFFF 0%, #F5F0FE 100%) padding-box,
    linear-gradient(135deg, #4F46E5, #7C3AED) border-box;
}

/* Comparison table wrapper — lifts the table off the dark backdrop so
   its light striped rows + dark text remain readable. */
.brand-bg .pricing-compare-wrap {
  background: linear-gradient(145deg, #FDFCFF 0%, #F4F0FE 100%);
  border: 1px solid #7C3AED;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(49,46,129,.25);
}
.brand-bg .pricing-compare-wrap .section-header h2 { color: #111; }
.brand-bg .pricing-compare-wrap .section-tag {
  background: var(--primary-light);
  color: var(--primary);
  border: none;
}

/* Primary buttons inside the brand backdrop use the dark indigo→violet
   gradient (matches the accent blocks inside cards). */
.brand-bg .btn-primary {
  background: linear-gradient(145deg, #312e81 0%, #4c1d95 100%);
  color: #fff;
  border: none;
}
.brand-bg .btn-primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #3730a3 0%, #5b21b6 100%);
}

/* Outline buttons on the dark backdrop need light borders + white text */
.brand-bg .btn-outline {
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.brand-bg .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* CTA banner inside brand-bg: dark indigo→violet gradient instead of the
   default primary→accent gradient, so it harmonizes with the rest. */
.brand-bg .cta-banner {
  background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}

/* Signup page divider chrome — only renders inside signup.asp but lives
   under the brand wrapper, so scoped here. */
.brand-bg .signup-divider {
  color: rgba(255,255,255,.85);
}
.brand-bg .signup-divider span {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.brand-bg .signup-divider-line {
  background: rgba(255,255,255,.35);
}

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  height: 200px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: 16px;
  position: relative;
}

.drop-zone:hover,
.drop-zone:focus { border-color: var(--primary); background: var(--primary-light); outline: none; }

.drop-zone.drag-over { border-color: var(--primary); background: var(--primary-light); }

.drop-zone.has-file  { border-style: solid; border-color: var(--success); background: #ECFDF5; cursor: default; }

/* Attention-getter: 3 soft green pulses, pause, repeat. Suppressed once
   the user is interacting (hover/focus/drag), uploading, or has dropped
   a file. The same animation is reused on the upload button while a
   file is staged for submission (.btn.attention-pulse). */
.drop-zone { animation: dropZoneAttention 3s ease-in-out infinite; }
.drop-zone:hover,
.drop-zone:focus,
.drop-zone.drag-over,
.drop-zone.uploading,
.drop-zone.has-file { animation: none; }

.btn.attention-pulse { animation: btnAttention 3s ease-in-out infinite; }

@keyframes btnAttention {
  0%   { box-shadow: 0 0 0   0   rgba(34, 197, 94, 0); }
  6%   { box-shadow: 0 0 4px 5px rgba(34, 197, 94, .65); }
  12%  { box-shadow: 0 0 0   0   rgba(34, 197, 94, 0); }
  18%  { box-shadow: 0 0 4px 5px rgba(34, 197, 94, .65); }
  24%  { box-shadow: 0 0 0   0   rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0   0   rgba(34, 197, 94, 0); }
}

@keyframes dropZoneAttention {
  0%   { box-shadow: 0 0 0    0  rgba(34, 197, 94, 0); }
  6%   { box-shadow: 0 0 14px 6px rgba(34, 197, 94, .55); }
  12%  { box-shadow: 0 0 0    0  rgba(34, 197, 94, 0); }
  18%  { box-shadow: 0 0 14px 6px rgba(34, 197, 94, .55); }
  24%  { box-shadow: 0 0 0    0  rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0    0  rgba(34, 197, 94, 0); }
}

.drop-icon   { font-size: 4rem; margin-bottom: -6px; margin-top: -16px; }
.drop-title  { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.drop-sub    { font-size: .875rem; color: var(--text-muted); }
.drop-browse { color: var(--primary); font-weight: 600; text-decoration: underline; }

.drop-zone-inner,
.drop-zone-selected {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Selected file state */
.drop-zone-selected {
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.drop-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drop-file-ready {
  font-size: .78rem;
  color: #15803d;
  font-style: italic;
  margin: 0;
  text-align: center;
}

.drop-file-name {
  font-weight: 600;
  font-size: .88rem;
  color: #14532d;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 5px 12px;
  background: transparent;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-file-size { font-size: .82rem; color: #6b7280; white-space: nowrap; }

.drop-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  line-height: 0;
}

.drop-file-remove {
  background: none;
  border: 1px solid #fca5a5;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: .7rem;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.drop-file-remove:hover { background: #FEF2F2; border-color: #FECACA; color: #EF4444; }

/* Locked while the resume is being analyzed */
.drop-zone.uploading { cursor: not-allowed; }
.drop-zone.uploading .drop-file-remove {
  opacity: .35;
  pointer-events: none;
  cursor: not-allowed;
}

/* Processing overlay -- shown inside the drop zone while an upload/analyze
   request is in flight. Mirrors the cover-letter generator spinner so the
   UX reads consistent across the app. Toggled via .drop-zone.uploading. */
.drop-zone-processing {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
}
.drop-zone.uploading .drop-zone-processing { display: flex; }
.drop-zone-spinner-svg { animation: dropZoneSpin 0.9s linear infinite; }
.drop-zone-spinner-track { stroke: #e5e7eb; }
.drop-zone-spinner-arc   { stroke: #9ca3af; }
.drop-zone-spinner-label {
  font-size: .9rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .02em;
}
.drop-zone-spinner-note {
  font-size: .78rem;
  font-weight: 400;
  color: #9ca3af;
  margin-top: -6px;
  text-align: center;
}
@keyframes dropZoneSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Format badges */
.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.format-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* What gets extracted */
.extract-list {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.extract-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-mid);
}

.extract-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

.signup-note {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* User type toggle */
.usertype-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.usertype-btn {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  text-align: center;
}

.usertype-btn:hover  { border-color: var(--primary); color: var(--primary); }
.usertype-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* Password strength */
.pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.pw-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.pw-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width .3s ease, background .3s ease;
}

.pw-strength-label { font-size: .75rem; font-weight: 600; min-width: 44px; }

/* Password input wrapper */
.input-wrap { position: relative; }

.input-wrap input { padding-right: 44px; }

.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 0;
}

/* Required asterisk */
.req { color: #EF4444; margin-left: 2px; }

/* Responsive signup */
@media (max-width: 900px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-divider {
    flex-direction: row;
    padding: 20px 0;
    min-height: auto;
    align-self: auto;
  }

  .signup-divider-line {
    flex: 1;
    width: auto;
    height: 1px;
    min-height: auto;
    margin: 0 24px;
  }
}

@media (max-width: 540px) {
  .signup-panel { padding: 28px 20px; }
  .extract-list { grid-template-columns: 1fr; }
}

/* --- Manual steps preview (right panel) --- */
.manual-steps-preview {
  background: var(--primary-light);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius);
  padding: 24px 20px 18px;
  margin-bottom: 24px;
}

.msp-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 14px;
}

.msp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.msp-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(79,70,229,.25);
}

.msp-step span {
  font-size: .72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.msp-connector {
  flex: 1;
  height: 2px;
  background: #C7D2FE;
  margin-top: 19px;
  min-width: 12px;
}

.msp-label {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 500;
  text-align: center;
  margin: 0;
  opacity: .85;
}

/* --- Manual intro text (right panel) --- */
.manual-intro-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* --- Step Wizard Modal --- */
.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wizard-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

/* Form is a flex item of .wizard-modal; making it a flex column too lets the
   pane inside it claim remaining height so .wizard-pane-body can scroll. */
.wizard-modal > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.wizard-pane-body {
  overflow-y: auto;
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  border-radius: var(--radius) var(--radius) 0 0;
}

.wizard-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition);
}

.wizard-close:hover { color: var(--text-dark); }

/* Progress bar */
.wizard-progress {
  height: 4px;
  background: var(--border);
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 2px 2px 0;
  transition: width .4s ease;
  width: 0%;
}

/* Step dots */
.wizard-steps-track {
  display: flex;
  justify-content: space-between;
  padding: 20px 28px 0;
  position: relative;
}

.wizard-steps-track::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.wizard-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.wizard-step-dot span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.wizard-step-dot label {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
  cursor: default;
}

.wizard-step-dot.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.wizard-step-dot.active label { color: var(--primary); font-weight: 700; }

.wizard-step-dot.completed span {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

/* Pane */
.wizard-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* min-height: 0 lets the pane shrink below its content size so the body's
     overflow-y: auto can actually scroll. Without this, flex children default
     to min-height: auto (= content size) and the body grows past the modal. */
  min-height: 0;
}

.wizard-pane-body {
  padding: 28px 28px 8px;
  flex: 1;
  min-height: 0;
}

.wizard-step-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.wizard-pane-body h2 { font-size: 1.5rem; margin-bottom: 8px; }

.wizard-pane-desc {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Wizard footer (Back / Next buttons) */
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  gap: 12px;
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Responsive wizard */
@media (max-width: 560px) {
  .wizard-modal  { max-height: 100vh; border-radius: 0; }
  .wizard-overlay{ padding: 0; align-items: flex-end; }
  .wizard-steps-track::before { left: 36px; right: 36px; }
  .wizard-pane-body { padding: 20px 20px 8px; }
  .wizard-footer    { padding: 16px 20px 20px; }
  .wizard-header    { padding: 16px 20px 12px; }
}

/* --- Utilities --- */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.fw-600 { font-weight: 600; }

/* =============================================
   Info Pin — reusable contextual help marker
   ---------------------------------------------
   Tiny circular "i" badge. On click (or keyboard
   activation), opens the shared info-pin modal
   defined in /includes/info_pin_inc.asp.

   Usage:
     <span class="info-pin"
           tabindex="0"
           role="button"
           aria-label="Help: short summary"
           data-help-title="Optional title"
           data-help="Full body text shown in the modal.">i</span>

   The literal "i" inside the span IS the glyph.
   Inherits color from parent so it works on both
   light and dark backgrounds. Wrap in a
   positioned span and inline-style the pin to
   place it next to a value.
   ============================================= */
.info-pin {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font: italic 700 .62rem/12px Georgia, serif;
  text-align: center;
  cursor: pointer;
  opacity: .85;
  user-select: none;
  vertical-align: top;
  color: inherit;
  /* Sit tight against the preceding text and ride slightly above its top
     edge -- visually balances the small "i" circle against typical body
     copy. Per-page wrappers can still override margin if needed. */
  margin-left: -3px;
  transform: translateY(-2px);
}
.info-pin:hover,
.info-pin:focus { opacity: 1; outline: none; }

/* =============================================
   Info Pin Modal — shared popup for all info-pin
   triggers. Markup + handler live in
   /includes/info_pin_inc.asp. CSS lives here so
   styling is global.
   ============================================= */
.info-pin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Must outrank the Quick Apply overlay (2100) so the upgrade popup
     sits above it when opened from the Generate / Refine button. */
  z-index: 2300;
  padding: 24px;
}
.info-pin-overlay[hidden] { display: none; }

.info-pin-modal {
  position: relative;
  width: min(440px, calc(100vw - 48px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .35);
  padding: 40px 32px 28px;
  text-align: center;
  animation: infoPinIn .18s ease-out;
}
@keyframes infoPinIn {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.info-pin-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #F3F4F6;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font, "Inter", sans-serif);
}
.info-pin-close-x:hover { background: #E5E7EB; color: #111827; }

.info-pin-modal-icon {
  width: 64px;
  height: 64px;
  margin: 6px auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: italic 700 2.4rem/1 Georgia, serif;
  box-shadow: 0 8px 18px rgba(79, 70, 229, .35);
}

.info-pin-modal-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font, "Inter", sans-serif);
}

.info-pin-modal-body {
  margin: 0 0 24px;
  font-size: .95rem;
  line-height: 1.55;
  color: #374151;
  text-align: left;
  font-family: var(--font, "Inter", sans-serif);
  white-space: pre-line;
}

.info-pin-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #4F46E5;
  background: #fff;
  border: 1px solid #4F46E5;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
/* Explicit override: the rule above sets display: inline-flex which beats
   the browser's default [hidden] { display: none } at equal specificity, so
   when JS hides the empty link, the ::after arrow was still rendering. */
.info-pin-modal-link[hidden] { display: none; }
.info-pin-modal-link::after {
  content: "\2192"; /* rightwards arrow */
  font-size: 14px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.info-pin-modal-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  border-color: #7C3AED;
}
.info-pin-modal-link:hover::after { transform: translateX(2px); }

.info-pin-modal-close {
  appearance: none;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #fff;
  border: none;
  font: 600 .95rem/1 var(--font, "Inter", sans-serif);
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.info-pin-modal-close:hover { filter: brightness(1.05); transform: translateY(-1px); }
.info-pin-modal-close:active { transform: translateY(0); }
