/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');


:root {
  --teal: #1a9e8e;
  --teal-dark: #147a6d;
  --teal-light: #e6f5f3;
  --dark: #1b2b2a;
  --dark-card: #1e2f2e;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f3ee;
  --white: #ffffff;
  --card-bg: #ffffff;
  --high: #ef4444;
  --medium: #f59e0b;
  --low: #6b7280;
  --solved: #1a9e8e;
  --open: #6b7280;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse at 0% 0%, rgba(160,220,200,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(240,200,150,0.30) 0%, transparent 50%);
  background-attachment: fixed;
}

a { text-decoration: none; color: inherit; }

/* ========================
   TYPOGRAPHY
======================== */
h1, h2, h3, h4, h5 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; line-height: 1.1; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.eyebrow-teal {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow-light {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

/* ========================
   NAVBAR
======================== */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, sans-serif;
}

body {
  background-color: #f1f3ea; /* Matches the warm, light background */
}

/* Navbar Container */
.navbar {
  width: 100%;
  padding: 15px 60px;
  background: transparent; /* Changed to transparent per image */
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* Logo Section */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 60px;
}

.logo-box {
  background: linear-gradient(135deg, #12a294, #0d8b7f);
  color: white;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; /* Slightly softer corners */
  font-weight: 800;
  font-size: 14px;
  margin-right: 12px;
}

.logo-text {
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #6a7164; /* Earthy grey-green */
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 22px;
  transition: 0.3s;
}

/* Updated Active State (Soft Green Pill) */
.nav-link.active {
  background-color: #dbe4d9; 
  color: #12a294;
  border-radius: 50px; /* Pill shape */
}

/* Right Side Actions */
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pill with White Background */
.nav-btn-ghost {
  text-decoration: none;
  background-color: white;
  color: #6a7164;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Pill with Teal Gradient */
.nav-btn-primary {
  text-decoration: none;
  background: linear-gradient(to right, #12a294, #0d8b7f);
  color: white;
  padding: 10px 28px;
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(18, 162, 148, 0.2);
}





/* .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,243,238,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.logo-box {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover, .nav-link.active {
  background: var(--dark);
  color: white;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-btn-ghost {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-btn-ghost:hover { color: var(--text); }
.nav-btn-primary {
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  transition: background 0.15s;
  
}
.nav-btn-primary:hover { background: #2a3d3c; }

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #2a3d3c; transform: translateY(-1px); }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--text); }

.btn-pill {
  display: inline-block;
  background: white;
  color: var(--text);
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-pill:hover { border-color: var(--text); } */

/* ========================
   DARK HERO CARD
======================== */
.dark-hero-banner {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 52px 56px;
  color: white;
  margin: 28px auto;
  max-width: 1100px;
}
.dark-hero-banner .eyebrow-teal { color: var(--teal); }
.dark-hero-banner h1, .dark-hero-banner h2 { color: white; }

/* ========================
   HERO SECTION (HOME)
======================== */
.hero-section { padding: 56px 32px; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 20px;
  line-height: 1.05;
  font-family: "Roboto", sans-serif;
}
.hero-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--border);
}
.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

.dark-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 36px;
  color: white;
}
.dark-card-title {
  font-size: 32px;
  color: white;
  margin-bottom: 16px;
  line-height: 1.15;
}
.dark-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  line-height: 1.7;
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.feature-item h4 {
  font-family: 'DM Sans', "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: black;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 12px;
  color: black;
  line-height: 1.5;
}
.trust-pct {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.orb {
    position: absolute;
    inset: 24px 24px auto auto;
    display: flex;
    top: 0dvb;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b);
    opacity: 0.85;
    top: 120px;
    right: 20px;
}
/* ========================
   SECTIONS
======================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-flow, .section-requests { padding: 64px 32px; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.flow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flow-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.flow-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
}
.flow-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ========================
   REQUEST CARDS
======================== */
.request-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.request-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s;
  cursor: pointer;
}
.request-card:hover { box-shadow: var(--shadow-lg); }
.request-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--teal-light);
  color: var(--teal-dark);
}
.tag.high { background: #fee2e2; color: #991b1b; }
.tag.medium { background: #fef3c7; color: #92400e; }
.tag.low { background: #f3f4f6; color: #4b5563; }
.tag.solved { background: #d1fae5; color: #065f46; }
.tag.open { background: #f3f4f6; color: #4b5563; }
.tag.design { background: #ede9fe; color: #5b21b6; }
.tag.career { background: #fce7f3; color: #9d174d; }
.tag.community { background: #e0f2fe; color: #0369a1; }

.request-card-title { font-size: 15px; font-weight: 700; }
.request-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.request-card-sub-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  background: #f3f4f6;
  color: #4b5563;
}
.request-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.request-card-author { font-size: 13px; font-weight: 600; }
.request-card-meta { font-size: 12px; color: var(--muted); }
.open-details { font-size: 13px; font-weight: 700; color: var(--text); }

/* ========================
   FOOTER
======================== */
.site-footer {
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer p { font-size: 13px; color: var(--muted); }

/* ========================
   PAGE DARK HERO BANNER
======================== */
.page-hero {
  padding: 28px 32px 0;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 52px 56px;
  color: white;
}
.page-hero-inner h1 { font-size: clamp(32px, 5vw, 56px); color: white; margin-bottom: 12px; }
.page-hero-inner p { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 8px; }
.page-hero-inner .tags-row { display: flex; gap: 8px; margin-bottom: 16px; }

/* ========================
   TWO-COL LAYOUT
======================== */
.page-content { padding: 32px; }
.page-inner { max-width: 1100px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.two-col-narrow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ========================
   CARDS
======================== */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.card-sm { padding: 22px; }
.card-title { font-size: 28px; margin-bottom: 20px; }
.card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ========================
   AUTH PAGE
======================== */
.auth-section { padding: 48px 32px; }
.auth-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.auth-left {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 48px 40px;
  color: white;
}
.auth-left h1 { font-size: 40px; color: white; margin-bottom: 20px; line-height: 1.1; }
.auth-left p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.auth-left ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.auth-left li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding-left: 16px;
  position: relative;
}
.auth-left li::before { content: '•'; position: absolute; left: 0; color: var(--teal); }
.auth-right {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
}
.auth-right h2 { font-size: 32px; margin-bottom: 24px; line-height: 1.15; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 120px; }
.btn-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.btn-full.teal { background: var(--teal); color: white; }
.btn-full.teal:hover { background: var(--teal-dark); }
.btn-full.dark { background: var(--dark); color: white; }
.btn-full.dark:hover { background: #2a3d3c; }

/* ========================
   DASHBOARD
======================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.dashboard-full { margin-bottom: 24px; }
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.dash-stat {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}
.dash-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.dash-stat-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; }
.dash-stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ========================
   EXPLORE PAGE
======================== */
.explore-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.filters-panel {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
  height: fit-content;
}
.filter-section { margin-bottom: 24px; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: block; }
.explore-feed { display: flex; flex-direction: column; gap: 16px; }
.feed-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.15s;
  cursor: pointer;
}
.feed-card:hover { box-shadow: var(--shadow-lg); }
.feed-card-header { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.feed-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feed-card-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.feed-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.feed-card-author { font-size: 13px; font-weight: 600; }
.feed-card-meta { font-size: 12px; color: var(--muted); }

/* ========================
   LEADERBOARD
======================== */
.leaderboard-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.helper-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.helper-row:last-child { border-bottom: none; }
.helper-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.helper-info { flex: 1; }
.helper-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.helper-skills { font-size: 12px; color: var(--muted); }
.helper-stats { text-align: right; }
.helper-trust { font-weight: 800; font-size: 15px; }
.helper-contributions { font-size: 12px; color: var(--muted); }

.badge-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.badge-card:last-child { border-bottom: none; }
.badge-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.badge-badges { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.trust-bar-bg {
  width: 100%;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}
.trust-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #1a9e8e);
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* ========================
   AI CENTER
======================== */
.ai-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.ai-stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.ai-stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.ai-stat-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 6px; line-height: 1; }
.ai-stat-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ai-recs-list { display: flex; flex-direction: column; gap: 12px; }
.ai-rec-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fafafa;
}
.ai-rec-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.ai-rec-desc { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* ========================
   PROFILE PAGE
======================== */
.profile-stats-row { display: flex; flex-direction: column; gap: 0; }
.profile-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.profile-stat-row:last-child { border-bottom: none; }
.profile-stat-label { color: var(--muted); }
.profile-stat-value { font-weight: 700; }
.skills-chips, .badges-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 50px;
  background: #f3f4f6;
  color: var(--text);
  border: 1px solid var(--border);
}
.chip.teal { background: var(--teal-light); color: var(--teal-dark); border-color: rgba(26,158,142,0.2); }

/* ========================
   MESSAGES PAGE
======================== */
.messages-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.message-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #f9f9f9;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.message-from { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.message-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.message-time {
  background: #e5e7eb;
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========================
   NOTIFICATIONS
======================== */
.notif-list { display: flex; flex-direction: column; gap: 0; }
.notif-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.1s;
}
.notif-item:hover { background: #f9fafa; }
.notif-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.notif-meta { font-size: 12px; color: var(--muted); }
.notif-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}
.notif-badge.unread { background: var(--teal-light); color: var(--teal-dark); }
.notif-badge.read { background: #f3f4f6; color: var(--muted); }

/* ========================
   REQUEST DETAIL
======================== */
.request-detail-layout { display: grid; grid-template-columns: 1fr 0.7fr; gap: 24px; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-sm {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  background: transparent;
  color: var(--text);
}
.btn-sm.teal { background: var(--teal); color: white; border-color: var(--teal); }
.btn-sm:hover:not(.teal) { border-color: var(--text); }
.helper-mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.helper-mini-row:last-child { border-bottom: none; }
.trust-badge {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

/* ========================
   CREATE REQUEST
======================== */
.create-layout { display: grid; grid-template-columns: 1fr 0.7fr; gap: 24px; }
.ai-guidance-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ai-guidance-label { color: var(--muted); }
.ai-guidance-value { font-weight: 700; }
.ai-guidance-value.hint { font-size: 12px; color: var(--muted); font-weight: 400; max-width: 180px; text-align: right; }
.apply-btn, .publish-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
}
.publish-btn { background: var(--teal); color: white; border-color: var(--teal); }
.publish-btn:hover { background: var(--teal-dark); }
.apply-btn:hover { border-color: var(--text); }

/* ========================
   ONBOARDING
======================== */
.onboarding-center {
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 32px;
}
.onboarding-step { display: none; }
.onboarding-step.active { display: block; }
.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.step-dot.active { background: var(--teal); }
.role-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 24px 0; }
.role-option {
  padding: 20px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.role-option:hover, .role-option.selected { border-color: var(--teal); background: var(--teal-light); }
.role-option h4 { font-size: 14px; margin-bottom: 4px; }
.role-option p { font-size: 12px; color: var(--muted); }

/* ========================
   TOAST
======================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--dark);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.teal { background: var(--teal); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .hero-inner, .auth-inner, .two-col, .two-col-wide, .two-col-narrow,
  .explore-layout, .leaderboard-layout, .messages-layout,
  .request-detail-layout, .create-layout, .three-col, .flow-cards, .request-cards {
    grid-template-columns: 1fr;
  }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .dash-stat-row { grid-template-columns: 1fr 1fr; }
  .ai-stats-row { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 36px 28px; }
  .nav-actions { display: none; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .flow-cards, .request-cards { grid-template-columns: 1fr; }
}


/* Reset and Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: #f2f3eb; /* The warm background from the image */
}

/* Navbar Container */
.navbar {
  width: 100%;
  padding: 20px 40px; /* Adjust padding to match visual top margin */
  background: transparent;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between; /* This pushes links to the right */
}

/* Logo Styling */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-box {
  background: linear-gradient(135deg, #14b8a6, #0d9488); /* Teal gradient */
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

.logo-text {
  color: #374151; /* Dark grey-ish text */
  font-weight: 700;
  font-size: 1rem;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px; /* Minimal gap between links */
}

.nav-link {
  text-decoration: none;
  color: #6b7280; /* Muted text color */
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

/* Active State: AI Center Pill */
.nav-link.active {
  background-color: #dbe4d9; /* The light mint-grey pill background */
  color: #12a294;           /* The teal text color */
  border-radius: 50px;      /* Perfect pill shape */
}

.nav-link:hover:not(.active) {
  color: #12a294;
}


