@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-Regular.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-Medium.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-SemiBold.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-Bold.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src:
    url('../assets/Gilroy/Gilroy-Heavy.woff2') format('woff2'),
    url('../assets/Gilroy/Gilroy-Heavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary Palette */
  --primary: #ea80fc;
  --primary-muted: rgba(234, 128, 252, 0.2);

  /* Neon Accents */
  --neon-pink: #ff2a85;
  --neon-cyan: #00f0ff;
  --neon-green: #00ff66;
  --accent-gold: #ffd700;

  /* Surface & Backgrounds */
  --bg-base: #0a0a0f;
  --bg-surface: #0a0a12;
  --bg-surface-light: #12121a;
  --bg-control: #0f0f1a;
  --bg-faq: #0f0f18;
  --bg-track: #1a1a2a;
  --bg-hero-inner: #1a0a2a;

  /* Borders & Dividers */
  --border-color: #1e1e30;
  --border-muted: #1a1a28;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow-pink: rgba(234, 128, 252, 0.2);
  --border-glow-cyan: rgba(0, 240, 255, 0.33);
  --border-glow-green: rgba(0, 255, 102, 0.33);

  /* Text */
  --text-primary: #ffffff;
  --text-body: #e2e8f0;
  --text-paragraph: #d0d8f0;
  --text-secondary: #c8d0ff;
  --text-badge: #b8c2ff;
  --text-muted: #94a3b8;
  --text-footer: #ecedee;
  --text-on-accent: #0a0a0f;

  /* Status Colors */
  --color-danger: #ff4466;
  --color-warning: var(--accent-gold);

  /* Glows & Shadows */
  --glow-nav: 0px 0px 20px rgba(255, 42, 133, 0.3);
  --glow-cta: 0px 0px 40px rgba(234, 128, 252, 0.35);
  --glow-cta-strong: 0px 0px 40px rgba(234, 128, 252, 0.4);
  --glow-green: 0px 0px 60px rgba(0, 255, 102, 0.27);
  --glow-box: 0px 0px 60px rgba(255, 42, 133, 0.05);
  --glow-thumb: 0px 0px 20px #ea80fc;
  --glow-secondary: 0px 0px 20px rgba(234, 128, 252, 0.3);
  --glow-large: 0px 0px 60px rgba(234, 128, 252, 0.4);

  /* Gradients */
  --gradient-hero-bg: radial-gradient(
    98.99% 84.85% at 30% 40%,
    #1a0a2a 0%,
    #0a0a0f 75%
  );
  --gradient-hero-text: linear-gradient(
    105.85deg,
    #ee9cff 12%,
    #93d9f7 22%,
    #ee9cff 36%
  );
  --gradient-cta-heading: linear-gradient(135deg, #00ff66, #00f0ff);
  --gradient-final-cta: linear-gradient(135deg, #0a0a12, #1a0a2a);

  /* Legacy aliases — remove once all usages migrate to the tokens above */
  --bg-surface-alt: var(--bg-control);
  --border-light: var(--border-color);
  --accent-green: var(--neon-green);
  --accent-yellow: var(--accent-gold);
  --accent-purple-light: var(--neon-cyan);
  --gradient-success: linear-gradient(
    90deg,
    var(--neon-green),
    var(--neon-cyan)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg-base);
  color: var(--text-secondary);
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    Roboto,
    sans-serif;
}
body {
  background: var(--bg-base);
  overflow-x: hidden;
}
::selection {
  background: var(--primary);
  color: var(--text-primary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid #ff2a8533;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.navbar .nav-links {
  display: flex;
  gap: 24px;
}
.navbar .nav-links a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
}
.navbar .nav-links a:hover {
  color: var(--accent-purple-light);
}
.navbar .cta-nav {
  background: var(--primary);
  color: var(--bg-base);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: var(--glow-secondary);
}
.navbar .cta-nav:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-large);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 46.8px;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.gilroy-heading {
  font-family: 'Gilroy', system-ui;
}
.stats-title {
  font-weight: 500;
  font-size: 36px;
  line-height: 130%;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 720px;
  margin-bottom: 2rem;
}
.benchmark-title {
  font-weight: 700;
  font-size: 35.2px;
  line-height: 46.8px;
  letter-spacing: -0.7px;
  color: #00f0ff;
}

.glow-box {
  background: rgba(234, 128, 252, 0.04);
  border: 1px solid #ea80fc33;
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(4px);
  box-shadow: 0px 0px 60px 0px #ff2a850d;
}

.neon-pink {
  color: var(--primary);
}
.neon-cyan {
  color: #00f0ff;
}
.neon-green {
  color: var(--accent-green);
}
.mono {
  font-family: 'Gilroy', monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.report-label {
  font-family: 'Courier New', monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 12.8px;
  line-height: 14.5px;
  letter-spacing: 2px;
  color: #00f0ff;
}
.monograph-label {
  font-family: 'Courier New', monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 12.8px;
  line-height: 113%;
  letter-spacing: 2px;
  color: #ea80fc;
}
.author-info {
  font-family: 'Courier New', monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 18.1px;
  color: #94a3b8;
  margin-bottom: 20px;
}
.wave-caption {
  font-family: 'Courier New', monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  margin-top: 12px;
  color: var(--text-muted);
}
.papsi-question {
  color: #e2e8f0;
  line-height: 21.1px;
}
.report-title {
  font-family: 'Segoe UI', system-ui;
  font-weight: 700;
  font-style: normal;
  font-size: 38.4px;
  line-height: 51.1px;
  letter-spacing: -0.77px;
  color: #e2e8f0;
}

/* utility classes for headings that also carry an inline font-size override */
.fs-2-4 {
  font-size: 2.4rem;
}
.fs-2-2 {
  font-size: 2.2rem;
}
.fs-2 {
  font-size: 2rem;
}
.fs-3 {
  font-size: 3rem;
}

#hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: radial-gradient(
    98.99% 84.85% at 30% 40%,
    #1a0a2a 0%,
    #0a0a0f 75%
  );
  border-bottom: 1px solid rgba(255, 42, 133, 0.15);
  position: relative;
  overflow: hidden;
}
.hero-logo {
  width: 457px;
  height: auto;
}
#hero .glitch {
  font-family: 'Gilroy', system-ui;
  font-weight: 700;
  font-style: normal;
  font-size: 126px;
  line-height: 140.8px;
  letter-spacing: -3.84px;
  color: var(--text-primary);
}
#hero .glitch .gradient-letters {
  background: linear-gradient(
    105.85deg,
    #ff2a85 0%,
    #00f0ff 50%,
    #ff2a85 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#hero .subhead {
  font-family: 'Gilroy', system-ui;
  font-weight: 500;
  font-style: normal;
  font-size: 36px;
  line-height: 130%;
  color: #c8d0ff;
  max-width: 950px;
  margin: 23px auto 30px;
}
#hero .badge-row {
  font-family: 'Gilroy', system-ui;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px 0 30px;
}
#hero .badge-row span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #ffffff14;
  padding: 6px 20px;
  border-radius: 60px;
  font-size: 16px;
  color: #b8c2ff;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--bg-base);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px 56px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: var(--glow-cta);
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Segoe UI', system-ui;
}
.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: var(--glow-large);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 14px 40px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 15.1px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  cursor: pointer;
  font-family: 'Segoe UI', system-ui;
}
.btn-secondary:hover {
  background: var(--primary-muted);
  box-shadow: 0 0 30px rgba(234, 128, 252, 0.3);
}
.final-cta-btn {
  font-size: 1.4rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
  margin: 30px 0;
}
.stat-item .number {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 48px;
  color: #00f0ff;
  letter-spacing: -0.02em;
}
.stat-item .label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #1e1e30;
}
table.bench {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
table.bench th {
  text-align: left;
  padding: 14px 16px;
  background: #12121a;
  color: #00f0ff;
  font-weight: 700;
  border-bottom: 1px solid #1e1e30;
}
table.bench td {
  padding: 14px 16px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-muted);
}
table.bench .aimour-row {
  background: #ff2a8512;
  border-left: 3px solid #ff2a85;
}
.badge-ok {
  color: var(--accent-green);
}
.badge-no {
  color: var(--color-danger);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}
.card {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  transition: 0.3s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(234, 128, 252, 0.12);
}

#directory-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.directory-card {
  width: 287px;
  height: 438.5px;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: 0.3s;
}
.directory-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(234, 128, 252, 0.12);
}
.directory-card .avatar {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}
.directory-card .name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-body);
}
.directory-card .tags {
  font-size: 0.8rem;
  color: var(--primary);
}
.directory-card .rating {
  font-size: 0.9rem;
  color: var(--text-body);
}
.directory-card .bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.directory-card .chat-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 8px 22px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item .q {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text-body);
  background: var(--bg-faq);
  transition: 0.2s;
}
.faq-item .q:hover {
  background: var(--bg-surface-light);
}
.faq-item .a {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}
.faq-item.open .a {
  display: block;
}
.faq-item .q .icon {
  font-size: 1.4rem;
  color: var(--primary);
}

.widget-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .widget-row {
    grid-template-columns: 1fr;
  }
}

.wave-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 100px;
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 12px;
}
.wave-box .bar {
  width: 6px;
  background: var(--primary);
  border-radius: 4px;
  animation: waveAnim 0.8s infinite alternate ease-in-out;
}
.wave-box .bar:nth-child(2) {
  animation-duration: 1s;
  animation-delay: 0.2s;
  background: var(--accent-purple-light);
}
.wave-box .bar:nth-child(3) {
  animation-duration: 0.6s;
  animation-delay: 0.4s;
  background: var(--accent-green);
}
.wave-box .bar:nth-child(4) {
  animation-duration: 1.2s;
  animation-delay: 0.1s;
  background: var(--primary);
}
.wave-box .bar:nth-child(5) {
  animation-duration: 0.9s;
  animation-delay: 0.3s;
  background: var(--accent-purple-light);
}
@keyframes waveAnim {
  0% {
    height: 20%;
  }
  100% {
    height: 90%;
  }
}

input[type='range'] {
  width: 100%;
  accent-color: var(--primary);
  background: var(--bg-track);
  height: 4px;
  border-radius: 4px;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--glow-secondary);
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.content {
  position: relative;
  z-index: 1;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

footer {
  border-top: 1px solid var(--border-color);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: 'Gilroy', system-ui;
  color: var(--text-footer);
}
.footer-col-right {
  text-align: right;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 12px;
  padding: 0;
}
.footer-links a {
  color: var(--text-footer);
  font-size: 1rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 1rem;
  color: var(--text-footer);
}
.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
}
.footer-social a {
  display: inline-flex;
  color: var(--text-footer);
  opacity: 0.85;
  transition: 0.2s;
}
.footer-social a:hover {
  color: var(--primary);
  opacity: 1;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-meta {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-footer);
}
.footer-meta .footer-fine {
  font-size: 0.75rem;
  opacity: 0.8;
  align-self: center;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
  }
  .footer-col-right {
    text-align: left;
  }
  .footer-social,
  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .navbar .nav-links {
    display: none;
  }
  .container {
    padding: 24px 16px;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .stats-title {
    font-size: 31px;
  }
  .benchmark-title {
    font-size: 31px;
  }
  .report-title {
    font-size: 34px;
  }
  .fs-2-4 {
    font-size: 2.1rem;
  }
  .fs-2-2 {
    font-size: 1.94rem;
  }
  .fs-2 {
    font-size: 1.75rem;
  }
  .fs-3 {
    font-size: 2.65rem;
  }
  #hero .subhead {
    font-size: 31px;
  }
  .hero-logo {
    width: 350px;
  }
  .final-cta-btn {
    font-size: 16px;
  }
  .calendar-grid {
    gap: 4px;
  }
  .cal-day {
    padding: 8px 4px;
    font-size: 0.75rem;
  }
}

.papsi-opt {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13.3px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: 0.2s;
}
.papsi-opt:hover {
  border-color: var(--primary);
}
.papsi-opt.selected {
  border: 2px solid var(--primary);
  background: rgba(234, 128, 252, 0.15);
}

.compat-opt {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13.3px;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: 40px;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn.active {
  background: rgba(234, 128, 252, 0.2);
  border-color: var(--primary);
  color: var(--text-primary);
}
.filter-btn:hover {
  border-color: var(--primary);
}

.compat-bar-wrap {
  width: 80%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  margin: 20px auto;
  overflow: hidden;
}
.compat-bar-fill {
  height: 100%;
  background: var(--gradient-success);
  border-radius: 4px;
  transition: width 0.8s ease;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  max-width: 700px;
  margin: 20px auto;
}
.cal-day {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-muted);
  overflow: hidden;
}
.cal-day:hover {
  border-color: var(--primary);
}
.cal-day.mood-1 {
  background: rgba(98, 227, 70, 0.2);
  border-color: var(--accent-green);
  color: var(--accent-green);
}
.cal-day.mood-2 {
  background: rgba(209, 187, 253, 0.2);
  border-color: var(--accent-purple-light);
  color: var(--accent-purple-light);
}
.cal-day.mood-3 {
  background: rgba(234, 128, 252, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.share-btn {
  background: var(--neon-cyan);
  color: var(--bg-base);
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}
.share-btn:hover {
  transform: scale(1.05);
}

.archetype-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.archetype-selector button {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 40px;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}
.archetype-selector button.active {
  background: rgba(234, 128, 252, 0.2);
  border-color: var(--primary);
  color: var(--text-primary);
}
