/* ==========================================================================
   POZzlePiece — Custom Brand Palette & Styles
   Palette:
   - Midnight Navy:  #181828
   - Magenta Pink:   #D8388A
   - Bright Orchid:  #B824C9
   - Electric Purple:#6D38E0
   ========================================================================== */

:root {
  --bg-dark: #181828;
  --bg-surface: #202036;
  --bg-surface-elevated: #272742;
  --magenta: #d8388a;
  --orchid: #b824c9;
  --purple: #6d38e0;
  --peach-accent: #ffa577;
  --text-primary: #ffffff;
  --text-secondary: #b9b9d3;
  --text-muted: #8484a6;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(216, 56, 138, 0.45);
  --brand-gradient: linear-gradient(
    135deg,
    #d8388a 0%,
    #b824c9 50%,
    #6d38e0 100%
  );
  --logo-gradient: linear-gradient(
    135deg,
    #ffa577 0%,
    #d8388a 38%,
    #b824c9 72%,
    #6d38e0 100%
  );
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 20px 50px rgba(8, 8, 18, 0.55);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(109, 56, 224, 0.14),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(216, 56, 138, 0.12),
      transparent 40%
    ),
    var(--bg-dark);
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--magenta);
  background: rgba(216, 56, 138, 0.12);
  border: 1px solid rgba(216, 56, 138, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.muted-sm {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 24, 40, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 38px;
  height: 36px;
  filter: drop-shadow(0 4px 12px rgba(216, 56, 138, 0.35));
  transition: transform 0.35s ease;
}

.brand-icon.small {
  width: 30px;
  height: 28px;
}

.brand:hover .brand-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
}

.brand-poz {
  font-weight: 700;
  color: #ffffff;
}

.brand-piece {
  font-weight: 400;
  background: linear-gradient(90deg, #ffa577, #d8388a, #8c52ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(216, 56, 138, 0.16);
  box-shadow: inset 0 0 0 1px rgba(216, 56, 138, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(216, 56, 138, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 36, 201, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(216, 56, 138, 0.5);
}

.btn-outline:hover {
  background: rgba(216, 56, 138, 0.14);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* Page Hero */
.page-hero {
  text-align: center;
  max-width: 720px;
  padding: 72px 24px 44px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

#constellationCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 420px;
  height: 420px;
  background: rgba(216, 56, 138, 0.22);
  top: -80px;
  left: -100px;
}

.glow-2 {
  width: 460px;
  height: 460px;
  background: rgba(109, 56, 224, 0.24);
  bottom: -100px;
  right: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2d9f3;
  background: rgba(109, 56, 224, 0.2);
  border: 1px solid rgba(109, 56, 224, 0.45);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(216, 56, 138, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 56, 138, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(216, 56, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 56, 138, 0);
  }
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: linear-gradient(
    165deg,
    rgba(39, 39, 66, 0.85),
    rgba(24, 24, 40, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  padding: 5px 12px;
  border-radius: 999px;
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--peach-accent);
  background: rgba(255, 165, 119, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.puzzle-emblem-wrap {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 22px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(216, 56, 138, 0.35);
}

.ring-1 {
  width: 155px;
  height: 155px;
  animation: spinSlow 24s linear infinite;
}

.ring-2 {
  width: 205px;
  height: 205px;
  border-color: rgba(109, 56, 224, 0.3);
  animation: spinSlow 36s linear infinite reverse;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.center-puzzle {
  width: 96px;
  height: 92px;
  filter: drop-shadow(0 12px 28px rgba(216, 56, 138, 0.5));
  animation: floatPiece 4.5s ease-in-out infinite;
}

@keyframes floatPiece {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.card-caption h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card-caption p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Vision Pillars & Banner */
.section {
  padding: 72px 24px;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pillar-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-banner {
  margin: 24px 0 80px;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(216, 56, 138, 0.18), rgba(109, 56, 224, 0.22)),
    var(--bg-surface);
  border: 1px solid rgba(216, 56, 138, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-text h2 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: var(--text-secondary);
  max-width: 540px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* Community Q&A */
.qa-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  padding-bottom: 88px;
  align-items: start;
}

.qa-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 92px;
}

.qa-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.qa-form-card .muted-sm {
  margin-bottom: 20px;
}

.qa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-chip {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-chip.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  transition: var(--transition);
}

.qa-item:hover {
  border-color: rgba(184, 36, 201, 0.4);
}

.qa-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.qa-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d8b4fe;
  background: rgba(109, 56, 224, 0.22);
  padding: 4px 11px;
  border-radius: 999px;
}

.qa-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.qa-question-text {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.qa-answer {
  background: rgba(24, 24, 40, 0.65);
  border-left: 3px solid var(--magenta);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.qa-answer.pending {
  border-left-color: var(--purple);
  font-style: italic;
}

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

.upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.upvote-btn:hover,
.upvote-btn.voted {
  color: #ffffff;
  border-color: var(--magenta);
  background: rgba(216, 56, 138, 0.16);
}

/* Careers & LinkedIn Banner */
.linkedin-banner {
  background:
    linear-gradient(135deg, rgba(109, 56, 224, 0.2), rgba(216, 56, 138, 0.16)),
    var(--bg-surface);
  border: 1px solid rgba(109, 56, 224, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.li-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.li-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(10, 102, 194, 0.22);
  border: 1px solid rgba(10, 102, 194, 0.5);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.li-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
}

.li-left p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.jobs-board-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.jobs-board-header h2 {
  font-size: 1.65rem;
  margin-bottom: 4px;
}

.jobs-board-header .qa-filters {
  margin-bottom: 0;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}

.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--border-glow);
}

.job-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.job-dept-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 6px;
}

.job-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.job-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-details-drawer {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.job-card.expanded .job-details-drawer {
  display: block;
}

.job-details-drawer ul {
  margin: 10px 0 0 20px;
}

.job-details-drawer li {
  margin-bottom: 6px;
}

.talent-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.talent-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.talent-card p {
  color: var(--text-secondary);
  max-width: 580px;
}

.talent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  padding-bottom: 88px;
}

.contact-info-panel,
.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.contact-info-panel h3,
.contact-form-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.contact-info-panel > p {
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.direct-email-card {
  background: rgba(24, 24, 40, 0.75);
  border: 1px solid rgba(216, 56, 138, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.direct-email-card .label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.email-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.email-link:hover {
  color: var(--magenta);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(216, 56, 138, 0.2);
  border-color: var(--magenta);
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.h-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  margin-top: 6px;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.96rem;
}

.highlight-item small {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

/* Forms & Modals */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(24, 24, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(216, 56, 138, 0.18);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 22, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 490px;
  background: var(--bg-surface);
  border: 1px solid rgba(216, 56, 138, 0.4);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(216, 56, 138, 0.25);
}

.modal-header {
  margin-bottom: 22px;
}

.modal-header h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.privacy-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Footer & Toast */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(18, 18, 30, 0.85);
  padding: 44px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-tagline {
  color: var(--magenta);
  font-weight: 500;
}

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--magenta);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(120%);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .qa-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner,
  .linkedin-banner,
  .talent-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .qa-form-card {
    position: static;
  }
  .badge-top {
    left: 0;
  }
  .badge-bottom {
    right: 0;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 16px 24px;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
