/* ============================================================
   Biscuit Crowd – Main Stylesheet
   Design: Latin American crowdfunding, vibrant, modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* === BISCUIT CROWD — Le Biscuit inspired: Vibrant Red + Sunshine Yellow === */
  --primary: #E30613;            /* Le Biscuit vivid red */
  --primary-dark: #B3040F;
  --primary-light: rgba(227, 6, 19, 0.12);
  --accent: #FFD100;             /* Le Biscuit bright yellow */
  --accent-dark: #E5BC00;
  --success: #1FAB7C;            /* Brazilian jade green */
  --success-dark: #16855E;
  --success-light: rgba(31, 171, 124, 0.12);
  --warning: #FFD100;
  --danger: #E30613;

  --dark: #1A1018;               /* warm near-black for headers/text */
  --dark-2: #2A1B23;
  --text: #2A1B23;               /* dark warm text on white */
  --text-2: #6B5B52;
  --muted: #9B8B82;
  --border: #EFE6DD;
  --border-2: #DDD0C4;
  --bg: #FFFFFF;                 /* white background */
  --bg-2: #FAF6F1;               /* warm off-white for sections */
  --white: #FFFFFF;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.3);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;

  --header-h: 64px;
  --container: 1200px;
  --container-sm: 800px;

  /* Glow effects for vibrant feel */
  --glow-primary: 0 0 20px rgba(0, 200, 83, 0.3);
  --glow-accent: 0 0 20px rgba(255, 179, 0, 0.3);
  --glow-success: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .featured-title, .section-title,
.project-title, .explore-title, .start-hero h1,
.about-hero h1, .newsletter-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--glow-primary);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}
.btn-success:hover {
  background: var(--success-dark);
  border-color: var(--success-dark);
  transform: translateY(-1px);
  box-shadow: var(--glow-success);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.05);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
  padding: 10px 16px;
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text);
}

.btn-sm { padding: 7px 18px; font-size: 0.82rem; }
.btn-lg { padding: 13px 30px; font-size: 0.95rem; }
.btn-xl { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-live {
  background: var(--primary);
  color: white;
  animation: pulse-badge 2s infinite;
}
.badge-success {
  background: var(--success-light);
  color: var(--success-dark);
}
.badge-funded {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* ============================================================
   HEADER – WHITE, CLEAN (Indiegogo style)
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.47rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}

/* Search bar */
.nav-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.nav-search-input {
  width: 100%;
  padding: 9px 16px 9px 40px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.nav-search-input::placeholder { color: var(--muted); }
.nav-search-input:focus {
  border-color: var(--primary);
  background: var(--dark-2);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
  /* Use a CSS-drawn search icon via a Unicode magnifier — reliable across all OS */
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Language Globe Button ─────────────────────────────────── */
.lang-globe-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px 5px 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.lang-globe-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lang-globe-btn svg { flex-shrink: 0; }

/* ── Language Modal ────────────────────────────────────────── */
.lang-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lang-modal-overlay.open { display: flex; }

.lang-modal-card {
  background: var(--bg-card, #0f1729);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: langModalIn 0.18s ease;
}
@keyframes langModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lang-modal-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #f0f0f0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0;
}
.lang-modal-close {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 600;
  padding: 4px 0;
  transition: opacity 0.15s;
}
.lang-modal-close:hover { opacity: 0.7; }

.lang-modal-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 16px 24px;
  padding: 14px 16px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
.lang-modal-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.lang-modal-body {
  padding: 4px 24px 20px;
}
.lang-modal-body label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 5px;
}
.lang-modal-body p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  line-height: 1.5;
}
.lang-modal-select {
  width: 100%;
  padding: 11px 38px 11px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #f0f0f0;
  background: rgba(255,255,255,0.05) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
  outline: none;
}
.lang-modal-select option {
  background: #0f1729;
  color: #f0f0f0;
}
.lang-modal-select:focus { border-color: var(--primary); }

.lang-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}
.lang-modal-cancel {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s;
}
.lang-modal-cancel:hover { background: rgba(255,255,255,0.08); }
.lang-modal-save {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 9px 24px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.lang-modal-save:hover { background: var(--primary-dark); }

/* keep old classes in footer (dark bg variant) */
.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.15);
}
.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.lang-btn.active, .lang-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Login btn in white header */
.btn-nav-login {
  background: #fff !important;
  color: #1A1018 !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 999px !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
}
.btn-nav-login:hover {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
  color: #1A1018 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile menu btn */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  background: none;
  border: none;
}
.mobile-menu-btn:hover { background: var(--bg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   HERO – Indiegogo-style light hero with search
   ============================================================ */
.hero {
  background: var(--white);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-search-wrap {
  max-width: 640px;
  margin: 0 auto 20px;
  position: relative;
}
.hero-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.hero-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.12);
}
.hero-search-bar input {
  flex: 1;
  padding: 14px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--text);
  background: transparent;
}
.hero-search-bar input::placeholder { color: var(--muted); }
.hero-search-bar button {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin: 5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}
.hero-search-bar button:hover {
  background: var(--primary-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-card-img-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2f5e 0%, #2d4a8a 100%);
}

.hero-card-body { padding: 20px; }

.hero-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.hero-card-tagline {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 14px;
}

.hero-card-meta {
  display: flex;
  gap: 20px;
}

.hero-card-stat {}
.hero-card-stat-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.hero-card-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   CATEGORY PILLS ROW (Indiegogo style)
   ============================================================ */
.cat-pills-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.cat-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-pills-row::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   FEATURED SECTION
   ============================================================ */
.featured-section {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
}
.featured-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.featured-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.featured-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.featured-tagline {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
}

.featured-creator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius);
}

.featured-creator-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.featured-creator-info { flex: 1; }
.featured-creator-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.featured-creator-loc { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

.featured-creator-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.featured-creator-link:hover { text-decoration: underline; }

.featured-progress { margin-bottom: 24px; }

.featured-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
}

.featured-stat-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.featured-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.featured-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   PROGRESS BAR (teal – Indiegogo style)
   ============================================================ */
.progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--success);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.progress-pct {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
}

.progress-goal {
  font-size: 0.78rem;
  color: var(--muted);
}

.progress-fill.overfunded {
  background: var(--primary);
}
.progress-pct.overfunded {
  color: var(--primary);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.trust-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-icon { display: none; }

/* ============================================================
   CATEGORIES SECTION (grid cards)
   ============================================================ */
.categories-section {
  padding: 60px 0;
  background: var(--bg);
}

.section-header {
  margin-bottom: 36px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 8px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 20px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--primary);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  border-top-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,212,255,0.1);
  transform: translateY(-2px);
}

.category-icon { display: none; }

.category-name {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  letter-spacing: 0.02em;
}

.category-count {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: left;
}

/* ============================================================
   PROJECTS SECTIONS
   ============================================================ */
.projects-section {
  padding: 60px 0;
  background: var(--bg);
}

.projects-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ============================================================
   PROJECT CARDS (Indiegogo style)
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card:hover {
  box-shadow: var(--shadow-lg), var(--glow-primary);
  transform: translateY(-3px);
  border-color: transparent;
}

.card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  flex-shrink: 0;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .card-img img {
  transform: scale(1.05);
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.card-tagline {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
}

.card-progress { margin-top: auto; }

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.card-funded {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
}

.card-backers {
  font-size: 0.75rem;
  color: var(--muted);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Card image wrapper (used by renderProjectCard in app.js) */
.card-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  flex-shrink: 0;
}

.card-img-wrap img.card-img,
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.card-category-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,255,255,0.9);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  z-index: 1;
}

/* Creator row inside card */
.card-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.card-creator .creator-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-creator .creator-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.card-creator .creator-location {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.2;
}

/* Card footer (progress + stats) */
.card-footer {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.progress-wrap { margin-bottom: 10px; }

.card-stats {
  display: flex;
  gap: 0;
}
.card-stat {
  flex: 1;
  text-align: center;
}
.card-stat + .card-stat {
  border-left: 1px solid var(--border);
}
.card-stat-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.card-stat-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

.step-card {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,212,255,0.08);
}

.step-number {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.04em;
  opacity: 0.75;
  margin: 0 auto 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--primary);
  padding: 64px 0;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 1.9rem;
  font-weight: 400;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.newsletter-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  padding: 13px 20px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  color: var(--text);
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.5); }

.newsletter-btn {
  padding: 13px 24px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: black;
  transform: translateY(-1px);
}

.newsletter-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo .logo-text {
  color: var(--white);
}

.footer-logo .logo-sub {
  color: rgba(255,255,255,0.35);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--primary);
  color: white;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-rights {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   EXPLORE PAGE
   ============================================================ */
.explore-hero {
  background: var(--white);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}

.explore-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
}

.explore-sub {
  font-size: 0.92rem;
  color: var(--text-2);
  margin-top: 6px;
}

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  overflow-x: auto;
}

.filter-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
  flex-shrink: 0;
}

.filter-sort select {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  font-family: inherit;
}
.filter-sort select:focus { border-color: var(--primary); }

/* Explore content */
.explore-content {
  padding: 40px 0 80px;
  background: var(--bg);
}

.explore-count {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 20px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.empty-state .icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.empty-state p { font-size: 0.95rem; }

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-hero-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.project-breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-breadcrumb a { color: var(--primary); }
.project-breadcrumb a:hover { text-decoration: underline; }

.project-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.project-main {}

.project-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 16/9;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-location {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-title-main {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.project-tagline-main {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-creator-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.creator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.creator-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.creator-sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* Project tabs */
.project-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.project-tab {
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.project-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.project-tab:hover { color: var(--text); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Sidebar */
.project-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-funded-pct {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--success);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.sidebar-funded-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.sidebar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sidebar-stat-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.sidebar-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.sidebar-deadline {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* Countdown */
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.countdown-unit {
  text-align: center;
  min-width: 52px;
  padding: 10px 8px;
  background: var(--bg);
  border-radius: var(--radius);
}
.countdown-val {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  display: block;
}
.countdown-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 3px;
}

/* Reward tiers */
.reward-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  transition: var(--transition);
  cursor: pointer;
}
.reward-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,212,255,0.1);
}
.reward-card.popular {
  border-color: var(--primary);
  background: var(--primary-light);
}

.reward-popular-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.reward-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.reward-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 4px 0;
}

.reward-desc {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 8px 0;
}

.reward-delivery {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

.reward-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.reward-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  white-space: nowrap;
}

/* Story content */
.story-content {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
}
.story-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}
.story-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.story-content p { margin-bottom: 14px; }
.story-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}
.story-content li { margin-bottom: 6px; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.feature-item {
  padding: 18px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 8px; }
.feature-label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.feature-sub { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 16px 0;
}
.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
  background: var(--bg);
}
.specs-table td:last-child { color: var(--text-2); }

/* Updates */
.update-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.update-date { font-size: 0.75rem; color: var(--muted); margin-bottom: 6px; }
.update-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.update-body { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* Community / Comments */
.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}
.comment-author { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.comment-date { font-size: 0.75rem; color: var(--muted); margin-left: 8px; }
.comment-body { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-top: 4px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  gap: 12px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.1rem; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
  display: none;
  padding: 0 0 16px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   START PROJECT PAGE
   ============================================================ */
.start-hero {
  background: var(--white);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.start-hero h1 {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.start-hero p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.start-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 48px 0 80px;
  align-items: start;
}

.form-section { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); margin-bottom: 24px; }
.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.category-grid-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.category-opt {
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.category-opt:hover, .category-opt.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.category-opt .icon { font-size: 1.3rem; }
.category-opt .name { font-size: 0.75rem; font-weight: 600; color: var(--text); margin-top: 4px; }

.start-sidebar {}
.sidebar-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-info-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.checklist-item::before {
  content: '✓';
  color: var(--success);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.fee-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.fee-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table td:last-child { text-align: right; font-weight: 600; color: var(--text); }

.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.success-overlay.show { display: flex; }
.success-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.success-icon { font-size: 3.5rem; margin-bottom: 20px; }
.success-modal h2 { font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.success-modal p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
  color: white;
}
.about-hero h1 { font-size: 2.6rem; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 14px; }
.about-hero p { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.about-section { padding: 72px 0; }
.about-section:nth-child(even) { background: var(--white); }
.about-section:nth-child(odd) { background: var(--bg); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon { display: none; }
.value-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.value-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
}
.team-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
}
.team-card-body { padding: 16px; }
.team-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.team-role { font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-top: 2px; }
.team-bio { font-size: 0.78rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.milestones { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 640px; margin-left: auto; margin-right: auto; }
.milestone {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-left: 2px solid var(--primary);
  padding-left: 28px;
  position: relative;
}
.milestone::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 24px;
}
.milestone-year { font-size: 0.78rem; font-weight: 600; color: var(--primary); white-space: nowrap; min-width: 60px; }
.milestone-text { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   HELP PAGE
   ============================================================ */
.help-hero {
  background: var(--white);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.help-hero h1 { font-size: 2rem; font-weight: 400; color: var(--text); letter-spacing: -0.03em; }
.help-hero p { font-size: 0.95rem; color: var(--text-2); margin-top: 8px; }

.help-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.help-nav {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.help-nav-link {
  display: block;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.help-nav-link:last-child { border-bottom: none; }
.help-nav-link:hover, .help-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.help-content {}
.help-section { margin-bottom: 48px; }
.help-section-title { font-size: 1.4rem; font-weight: 400; color: var(--text); letter-spacing: -0.02em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.help-faq-list { display: flex; flex-direction: column; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: var(--white);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.contact-hero h1 { font-size: 2rem; font-weight: 400; color: var(--text); letter-spacing: -0.03em; }
.contact-hero p { font-size: 0.95rem; color: var(--text-2); margin-top: 8px; max-width: 480px; margin-left: auto; margin-right: auto; }

.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 48px 0 80px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form-title { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 24px; }

.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}
.channel-card:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(0,212,255,0.08); }
.channel-icon { font-size: 1.5rem; margin-bottom: 10px; }
.channel-title { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.channel-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.channel-link { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-top: 8px; display: block; }

.response-times { margin-top: 24px; }
.response-times h3 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.response-row { display: flex; justify-content: space-between; font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.response-row:last-child { border-bottom: none; }
.response-type { color: var(--text-2); }
.response-time { font-weight: 600; color: var(--text); }

/* ============================================================
   PROJECT DETAIL PAGE (completed)
   ============================================================ */
.funded-banner {
  background: var(--success-light);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.funded-banner-icon { font-size: 1.3rem; }
.funded-banner-text { font-size: 0.88rem; font-weight: 600; color: var(--success-dark); }
.funded-banner-sub { font-size: 0.78rem; color: var(--success-dark); opacity: 0.75; margin-top: 1px; }

/* Similar projects */
.similar-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.similar-card:last-child { border-bottom: none; }
.similar-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--bg-2);
  flex-shrink: 0;
}
.similar-title { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.similar-funded { font-size: 0.75rem; color: var(--success); font-weight: 600; margin-top: 2px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 500;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .hero-grid > div:last-child { display: none; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 2.2rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid, .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .project-layout { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
  .start-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-search { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; }
}

@media (max-width: 768px) {
  .projects-grid, .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.9rem; }
  .newsletter-form { flex-direction: column; }
  .featured-stats { gap: 16px; }
  .featured-cta-row { flex-direction: column; }
  .projects-header { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  .projects-grid, .explore-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-switcher { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .hero { padding: 36px 0 32px; }
  .featured-section { padding: 40px 0; }
}

/* ============================================================
   PROJECT.HTML – class aliases & missing definitions
   (project.html uses its own naming from the original build)
   ============================================================ */

/* Main project hero section wrapper */
.project-hero {
  background: var(--white);
  padding: 32px 0 0;
  border-bottom: 1px solid var(--border);
}

/* Category label on project page */
.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* Project page large title */
.project-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Project page subtitle */
.project-tagline {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 700px;
}

/* Creator row on project page */
.project-creator-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.project-creator-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.project-creator-info { flex: 1; }

.project-creator-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.project-creator-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Gallery */
.project-gallery { margin-bottom: 16px; }

/* Full-width project image (project-detail.html) */
.project-main-img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin-bottom: 14px;
  background: var(--bg-2);
}

.project-main-img-placeholder {
  height: 420px;
  background: linear-gradient(135deg, #1a2f5e 0%, #2d4a8a 50%, #1e3a6e 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.project-main-img-placeholder .icon { font-size: 6rem; }
.project-main-img-placeholder .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 0 20px;
}

/* Tabs – project.html uses .tab-btn / .tab-content instead of .project-tab / .tab-pane */
.tab-btn {
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-btn:hover { color: var(--text); }

.tab-content { display: none; padding-top: 4px; }
.tab-content.active { display: block; }

/* Feature grid items – project.html uses .fi-icon, .fi-title, .fi-desc */
.feature-item {
  padding: 20px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}
.feature-item .fi-icon,
.fi-icon { display: none; }

/* Numbered feature items (replaces emoji icons) */
.fi-num {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1;
  opacity: 0.85;
}
.feature-item .fi-title,
.fi-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-item .fi-desc,
.fi-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Spec table alias (.spec-table used in project.html) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
}
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  width: 38%;
}
.spec-table td:last-child {
  font-weight: 500;
  color: var(--text);
}

/* Backer comment (used in project.html community tab) */
.backer-comment {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.backer-comment .name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}
.backer-comment .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.backer-comment .body {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Sidebar funding percentage (project.html uses different names) */
.sidebar-funding-pct {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--success);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2px;
}
.sidebar-funding-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Sidebar stat aliases (project.html) */
.sidebar-stat-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.sidebar-stat-lbl {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
  display: block;
}

/* Countdown wrapper in sidebar (project.html) */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0;
}
.countdown-sep {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 14px;
}

/* CTA section in sidebar */
.sidebar-cta-section { margin-top: 16px; }
.sidebar-pledge-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

/* Reward tiers section */
.reward-tiers { }
.reward-tiers-title {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Reward amount (project.html uses .reward-amount not .reward-price) */
.reward-amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* Sidebar countdown (project.html) */
.sidebar-countdown { margin-bottom: 16px; }
.countdown-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.countdown-block {
  text-align: center;
  min-width: 54px;
  padding: 10px 8px;
  background: var(--bg);
  border-radius: var(--radius);
}
.countdown-num {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1;
}
.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

/* Sidebar raised amount */
.sidebar-amount {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
}
.sidebar-goal {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.sidebar-backers {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 4px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   INDIEGOGO-STYLE HOMEPAGE
   ============================================================ */

/* --- Hero Banner --- */
.igg-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.igg-hero-bg {
  position: absolute;
  inset: 0;
}
.igg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #E30613;
}
.igg-hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
}
.igg-hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0 48px;
}
.igg-hero-content {
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.3);
}
.igg-hero-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.igg-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.igg-hero-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
  margin-bottom: 20px;
}
.igg-hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
}
.igg-hero-stat-val {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.igg-hero-stat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.igg-hero-actions {
  display: flex;
  gap: 12px;
}

/* --- Section Headers --- */
.igg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.igg-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.igg-section-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.igg-section-link:hover { text-decoration: underline; }

/* --- Top Funded Section --- */
.igg-top-section {
  padding: 40px 0 16px;
}
.igg-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.igg-top-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.igg-top-card:hover {
  box-shadow: var(--shadow-lg), var(--glow-primary);
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}
.igg-top-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.igg-top-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.igg-top-pct {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.igg-top-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.igg-top-card-cat {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.igg-top-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.igg-top-card-tagline {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.igg-top-card-stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.78rem;
}
.igg-top-raised {
  font-weight: 600;
  color: var(--success);
}
.igg-top-backers {
  color: var(--muted);
}

/* --- Grid Sections --- */
.igg-grid-section {
  padding: 40px 0;
}
.igg-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .igg-top-row { grid-template-columns: repeat(2, 1fr); }
  .igg-card-grid { grid-template-columns: repeat(3, 1fr); }
  .igg-hero-title { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .igg-hero { min-height: 360px; }
  .igg-hero-overlay {
    background: linear-gradient(to top, rgba(10,10,30,0.9) 0%, rgba(10,10,30,0.4) 100%);
  }
  .igg-hero-inner { padding: 40px 0 32px; }
  .igg-hero-title { font-size: 1.5rem; }
  .igg-hero-stats { gap: 20px; }
  .igg-hero-stat-val { font-size: 1.1rem; }
  .igg-top-row { grid-template-columns: 1fr; }
  .igg-card-grid { grid-template-columns: repeat(2, 1fr); }
  .igg-section-head { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  .igg-card-grid { grid-template-columns: 1fr; }
  .igg-hero-actions { flex-direction: column; }
  .igg-hero-actions .btn { width: 100%; text-align: center; }
}
