/* AI Toolbox — Custom Styles */
/* Brand: #104651 teal, #111111 bg, #F07B1B orange, #1A1E2E cards */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --color-bg: #111111;
  --color-primary: #104651;
  --color-accent: #F07B1B;
  --color-card: #1A1E2E;
  --color-card-hover: #1F2438;
  --color-text: #F0F0F0;
  --color-text-muted: #9CA3AF;
  --color-border: #1E2A30;
  --color-teal-light: #16606F;
  --color-teal-glow: rgba(16, 70, 81, 0.4);
  --color-orange-glow: rgba(240, 123, 27, 0.2);
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ─── NAV ─── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-logo-full {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-text);
  background: rgba(16, 70, 81, 0.25);
}

.nav-links a.active {
  color: #5BBFCE;
}

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

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

.nav-mobile-menu a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.75rem 0.875rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav-mobile-menu a:hover, .nav-mobile-menu a.active {
  color: var(--color-text);
  background: rgba(16, 70, 81, 0.25);
}

/* ─── PAGE CONTAINER ─── */
#app {
  padding-top: 64px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  min-height: calc(100vh - 64px);
}

.page.active {
  display: block;
}

/* ─── HERO SECTION ─── */
.hero {
  background: linear-gradient(135deg, #0A2D35 0%, #111111 45%, #1A1208 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16, 70, 81, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 20%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(240, 123, 27, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(240, 123, 27, 0.1);
  border: 1px solid rgba(240, 123, 27, 0.25);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: #5BBFCE;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Hero Newsletter Signup */
.hero-newsletter {
  max-width: 520px;
  margin: 0 auto;
}

.hero-newsletter-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.hero-subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.hero-email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.hero-email-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.hero-email-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
}

.hero-subscribe-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero-subscribe-btn:hover {
  background: #d96a10;
}

.hero-subscribe-note {
  font-size: 0.8125rem;
  color: #5BBFCE;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

/* ─── SEARCH + FILTER BAR ─── */
.filter-bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 64px;
  z-index: 100;
}

.filter-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.search-wrap {
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

#search-input {
  width: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search-input::placeholder {
  color: var(--color-text-muted);
}

#search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pill:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: rgba(16, 70, 81, 0.15);
}

.pill.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ─── DIRECTORY GRID ─── */
.directory-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.tools-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.tools-count span {
  color: var(--color-accent);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ─── TOOL CARD ─── */
.tool-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  animation: fadeInUp 0.4s ease both;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 70, 81, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(16, 70, 81, 0.25), 0 0 0 1px rgba(16, 70, 81, 0.2);
  background: var(--color-card-hover);
}

.tool-card:hover::before {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.edge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid rgba(16, 70, 81, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.edge-badge-large {
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
  gap: 0.4rem;
}

/* Evaluating badge */
.eval-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(240, 123, 27, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(240, 123, 27, 0.35);
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.eval-badge-large {
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
  gap: 0.4rem;
}

/* Evaluating card styling */
.tool-card.eval-card {
  border-color: rgba(240, 123, 27, 0.2);
  border-style: dashed;
}

.tool-card.eval-card:hover {
  border-color: rgba(240, 123, 27, 0.5);
  border-style: dashed;
  box-shadow: 0 8px 32px rgba(240, 123, 27, 0.15), 0 0 0 1px rgba(240, 123, 27, 0.15);
}

.category-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5BBFCE;
  background: rgba(16, 70, 81, 0.25);
  border: 1px solid rgba(16, 70, 81, 0.4);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  display: inline-block;
}

.card-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
}

.btn-view {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(240, 123, 27, 0.1);
  border: 1px solid rgba(240, 123, 27, 0.25);
  padding: 0.4375rem 0.875rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  outline: none;
}

.btn-view:hover {
  background: rgba(240, 123, 27, 0.2);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-view svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.btn-view:hover svg {
  transform: translateX(2px);
}

/* ─── TOOL DETAIL PAGE ─── */
.detail-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
  margin-bottom: 2rem;
}

.back-btn:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: rgba(16, 70, 81, 0.15);
}

.detail-header {
  margin-bottom: 2.5rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.detail-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.detail-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.detail-visit-btn:hover {
  background: #D4680F;
  border-color: #D4680F;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 123, 27, 0.35);
}

.detail-description {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* Personal Take */
.personal-take {
  background: linear-gradient(135deg, rgba(16, 70, 81, 0.12) 0%, rgba(240, 123, 27, 0.04) 100%);
  border: 1px solid rgba(16, 70, 81, 0.3);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.personal-take-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.personal-take-label::before {
  content: '//';
  opacity: 0.6;
}

.personal-take-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
}

/* FAQ */
.faq-section {
  margin-bottom: 2.5rem;
}

.faq-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-card);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--color-card-hover);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  background: rgba(26, 30, 46, 0.5);
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── EDGE AWARDS PAGE ─── */
.edge-hero {
  background: linear-gradient(135deg, #1A1000 0%, #111111 40%, #0A1A1F 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.edge-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(240, 123, 27, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.trophy-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(240, 123, 27, 0.4));
}

.edge-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.edge-hero h1 span {
  color: #FFD166;
}

.edge-acronym {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: block;
}

.edge-hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.edge-grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.edge-grid-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* Recommended cards get teal styling */
.tool-card.edge-winner {
  border-color: rgba(16, 70, 81, 0.4);
  background: linear-gradient(135deg, #1A1E2E 0%, #0F1E22 100%);
}

.tool-card.edge-winner:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(16, 70, 81, 0.25), 0 0 0 1px rgba(16, 70, 81, 0.3);
}

/* ─── SUBMIT PAGE ─── */
.form-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.page-subheading {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.375rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #4B5563;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239CA3AF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}

.form-select option {
  background: #1A1E2E;
  color: var(--color-text);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #D4680F;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 123, 27, 0.35);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1.25rem;
  font-style: italic;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ─── ADVERTISE PAGE ─── */
.advertise-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.collab-intro {
  margin-bottom: 3rem;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.offering-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.offering-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.offering-icon {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
  display: block;
}

.offering-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.offering-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.contact-divider span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.contact-email-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1.25rem;
}

.contact-email-note a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-email-note a:hover {
  text-decoration: underline;
}

.footer-network {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.footer-network a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-network a:hover {
  color: #F5943E;
}
.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-social a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--color-accent);
}

/* ─── NEWSLETTER CTA ─── */

/* ─── EVENTS SECTION ─── */
.events-section {
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}
.events-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}
.section-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.section-view-all {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(240, 123, 27, 0.25);
  border-radius: 6px;
  transition: all 0.2s;
}
.section-view-all:hover {
  background: rgba(240, 123, 27, 0.1);
  border-color: var(--color-accent);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.event-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 0.4s ease both;
}
.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(16, 70, 81, 0.25);
}
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.event-type-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  white-space: nowrap;
}
.event-type-badge.virtual {
  color: #5BBFCE;
  background: rgba(16, 70, 81, 0.25);
  border: 1px solid rgba(16, 70, 81, 0.4);
}
.event-type-badge.in-person {
  color: var(--color-accent);
  background: rgba(240, 123, 27, 0.12);
  border: 1px solid rgba(240, 123, 27, 0.3);
}
.event-source {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.event-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.event-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.event-date, .event-location {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}
.events-source {
  font-size: 0.75rem;
  color: #4B5563;
  text-align: center;
  margin-top: 1.5rem;
}
.events-source a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.events-source a:hover {
  color: var(--color-accent);
}

/* ─── ARTICLES SECTION ─── */
.articles-section {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
}
.articles-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.article-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 0.4s ease both;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(240, 123, 27, 0.15);
}
.article-date {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.article-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.article-read-more {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .events-section { padding: 3rem 1.25rem 1.5rem; }
  .articles-section { padding: 2rem 1.25rem 1.5rem; }
}

.newsletter-cta {
  position: relative;
  padding: 4rem 1.5rem;
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(16, 70, 81, 0.3) 0%, rgba(26, 30, 46, 0.8) 50%, rgba(240, 123, 27, 0.15) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.newsletter-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 123, 27, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1rem;
}
.newsletter-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.newsletter-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.newsletter-form-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.newsletter-subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.newsletter-email-input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-email-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-email-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-subscribe-btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-subscribe-btn:hover {
  background: #d96a10;
}

.newsletter-subscribe-note {
  font-size: 0.8125rem;
  color: #5BBFCE;
  min-height: 1.25rem;
  margin-bottom: 0.25rem;
}
.newsletter-privacy {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .newsletter-heading {
    font-size: 1.5rem;
  }
  .newsletter-cta {
    padding: 3rem 1rem;
  }
  .hero-subscribe-form,
  .newsletter-subscribe-form {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-email-input,
  .newsletter-email-input {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
  }
  .hero-subscribe-btn,
  .newsletter-subscribe-btn {
    border-radius: 6px;
  }
}

/* ─── FOOTER ─── */
footer {
  background: #0D0D0D;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.footer-logo img {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

.footer-logo-full {
  display: block;
}

.footer-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.8125rem;
  color: #4B5563;
}

.footer-copy a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-copy a:hover {
  color: var(--color-accent);
}

.footer-disclaimer {
  font-size: 0.6875rem;
  color: #4B5563;
  max-width: 540px;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
  margin-top: 0.25rem;
}

/* ─── DIVIDER UTILITY ─── */
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  grid-column: 1 / -1;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ─── STAGGERED ANIMATION DELAYS ─── */
.tool-card:nth-child(1) { animation-delay: 0ms; }
.tool-card:nth-child(2) { animation-delay: 40ms; }
.tool-card:nth-child(3) { animation-delay: 80ms; }
.tool-card:nth-child(4) { animation-delay: 120ms; }
.tool-card:nth-child(5) { animation-delay: 160ms; }
.tool-card:nth-child(6) { animation-delay: 200ms; }
.tool-card:nth-child(7) { animation-delay: 240ms; }
.tool-card:nth-child(8) { animation-delay: 280ms; }
.tool-card:nth-child(9) { animation-delay: 320ms; }
.tool-card:nth-child(n+10) { animation-delay: 360ms; }

/* ─── ABOUT PAGE ─── */
.about-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-hero .section-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.about-hero .page-heading {
  margin-bottom: 0.75rem;
}

.about-hero .page-subheading {
  max-width: 600px;
  margin: 0 auto;
}

.about-author {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.about-author-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.about-author-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-author-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-author-bio:last-of-type {
  margin-bottom: 1.5rem;
}

.about-author-bio a {
  color: var(--color-accent);
  text-decoration: none;
}

.about-author-bio a:hover {
  text-decoration: underline;
}

.about-author-bio em {
  font-style: italic;
  color: var(--color-text);
}

.about-author-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-author-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(240, 123, 27, 0.3);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.about-author-links a:hover {
  background: rgba(240, 123, 27, 0.1);
  border-color: var(--color-accent);
}

.about-network {
  margin-bottom: 2rem;
}

.about-network-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.about-network-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.about-network-desc a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.about-network-desc a:hover {
  text-decoration: underline;
}

.about-network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-network-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.about-network-card:hover {
  border-color: rgba(240, 123, 27, 0.3);
}

.about-network-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.about-network-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  flex: 1;
}

.about-network-card a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
}

.about-network-card a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .detail-page { padding: 2rem 1.25rem; }
  .form-page { padding: 2.5rem 1.25rem; }
  .advertise-page { padding: 2.5rem 1.25rem; }
  .about-page { padding: 5rem 1.25rem 3rem; }
  .about-author { padding: 1.75rem; }
  .about-network-grid { grid-template-columns: 1fr; }
  .edge-grid-section { padding: 2rem 1.25rem; }
  .form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .category-pills { gap: 0.375rem; }
  .pill { font-size: 0.625rem; padding: 0.3rem 0.625rem; }
  .card-footer { flex-direction: column; align-items: flex-start; }
  .offering-grid { grid-template-columns: 1fr; }
}