/* =============================================
   GATEWAYYYY — Main Stylesheet
   ============================================= */

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #161616;
  --bg-card: #1e1e1e;
  --bg-card-hover: #252525;
  --accent: #4169E1;
  --accent-dark: #3154C4;
  --accent-light: rgba(65, 105, 225, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #555555;
  --border: #2a2a2a;
  --border-light: #333333;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(65,105,225,0.25);
  --transition: 0.2s ease;
  --max-width: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--text-secondary); line-height: 1.7; }

.accent { color: var(--accent); }
.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.label::before { content: '✦'; font-size: 0.6rem; }
.label[style*="--label-dot:none"]::before { display: none; }

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--border); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0f0f0f;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
  font-size: 0.875rem;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-light); background: var(--bg-card-hover); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-gold { background: var(--accent-light); color: var(--accent); }
.badge-green { background: rgba(34,197,94,0.12); color: var(--success); }
.badge-gray { background: rgba(255,255,255,0.06); color: var(--text-secondary); }

/* ---- Form elements ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.form-input {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-input[type="select"], select.form-input { -webkit-appearance: none; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-error { font-size: 0.8rem; color: var(--error); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(65,105,225,0.3);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; }
.nav-logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; font-size: 0.875rem; color: var(--text-secondary); border-radius: 8px; transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0f0f0f;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { margin-top: 16px; line-height: 1.08; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero p { font-size: 1.1rem; margin-top: 20px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat-num { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

/* ---- Section headers ---- */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header .label { justify-content: center; margin-bottom: 12px; }
.section-header p { margin-top: 16px; font-size: 1.05rem; }

/* ---- Industries grid ---- */
.industry-card {
  background: var(--bg-card) center/cover no-repeat;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-height: 130px;
}
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.55) 100%);
  transition: background 0.3s ease;
  border-radius: inherit;
}
.industry-card:hover .industry-card-overlay {
  background: linear-gradient(160deg, rgba(65,105,225,0.55) 0%, rgba(10,10,10,0.45) 100%);
}
.industry-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(65,105,225,0.2); }
.industry-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  position: relative; z-index: 1;
}
.industry-name { font-size: 0.95rem; font-weight: 700; position: relative; z-index: 1; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.industry-count { font-size: 0.8rem; color: rgba(255,255,255,0.6); position: relative; z-index: 1; }

/* ---- How it works ---- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}
.step.active .step-num { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.step-content h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* ---- Opportunity cards ---- */
.opp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.opp-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.opp-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.opp-company { display: flex; align-items: center; gap: 10px; }
.opp-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.opp-company-name { font-size: 0.8rem; color: var(--text-secondary); }
.opp-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.opp-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-muted); }
.opp-description { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.opp-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---- Search / filter bar ---- */
.search-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-input-wrap { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; }
.search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }
.search-input-wrap input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-divider { width: 1px; height: 24px; background: var(--border); }
.filter-select {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition);
}
.filter-select:hover { color: var(--text-primary); }

/* ---- Auth pages ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 480px;
}
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.auth-logo svg { color: var(--accent); }
.auth-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 32px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 32px; background: var(--bg-secondary); border-radius: 8px; padding: 4px; }
.auth-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.auth-tab.active { background: var(--bg-card); color: var(--text-primary); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.auth-divider span { font-size: 0.8rem; color: var(--text-muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-switch { text-align: center; font-size: 0.85rem; color: var(--text-secondary); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 500; }

/* ---- Role selector ---- */
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.role-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.role-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(65,105,225,0.18), 0 0 0 1px rgba(65,105,225,0.25); transform: scale(1.03); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease; }
.role-card.selected { border-color: var(--accent); background: var(--accent-light); }
.role-card-icon { font-size: 1.8rem; margin-bottom: 8px; display:flex; align-items:center; justify-content:center; }
.role-card-label { font-size: 0.85rem; font-weight: 600; }
.role-card-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ---- Dashboard ---- */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding-top: 80px;
}
.dash-sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 24px; }
.dash-nav-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 8px 12px; margin-top: 16px; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.dash-nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.dash-nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.dash-main { padding: 100px 40px 60px; }
.dash-page { display: none; }
.dash-page.active { display: block; }
.dash-header { margin-bottom: 40px; }
.dash-header h2 { font-size: 1.6rem; }
.dash-header p { margin-top: 4px; font-size: 0.875rem; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.stat-card-num { font-size: 2rem; font-weight: 800; }
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Application status ---- */
.app-status-pending { color: var(--warning); }
.app-status-accepted { color: var(--success); }
.app-status-rejected { color: var(--error); }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
tbody td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.modal-close { background: none; color: var(--text-muted); font-size: 1.2rem; padding: 4px; line-height: 1; }
.modal-close:hover { color: var(--text-primary); }

/* ---- Toast ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.875rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }

/* ---- Page header (inner pages) ---- */
.page-header {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(245,166,35,0.05) 0%, transparent 70%);
}
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

/* ---- Empty state ---- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 8px; }

/* ---- Alert ---- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #86efac; }

/* ---- Loading ---- */
.loading-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .auth-card { padding: 32px 24px; }
  .role-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---- Animations ---- */
.fade-in { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Opportunity detail ---- */
.opp-detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}
.opp-detail-company { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.opp-detail-logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.opp-detail-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.opp-detail-meta-item { display: flex; flex-direction: column; gap: 2px; }
.opp-detail-meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.opp-detail-meta-value { font-size: 0.9rem; font-weight: 600; }

/* ---- Profile pill ---- */
.profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.profile-pill:hover { border-color: var(--border-light); }
.profile-pill-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #0f0f0f;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.profile-pill-name { font-size: 0.85rem; font-weight: 500; }

/* Two-sided CTA hover effect */
.cta-card {
  background: #08080c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cta-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(65,105,225,0.18), 0 0 0 1px rgba(65,105,225,0.25);
  z-index: 2;
}
.cta-card:hover .label { color: var(--accent); }
.cta-card:hover h3 { color: #fff; }

/* CTA cards - ensure content sits above overlay */
.cta-card > *:not(div:first-child):not(div:nth-child(2)) { position: relative; z-index: 1; }
.cta-card .label, .cta-card h3, .cta-card p, .cta-card ul, .cta-card a { position: relative; z-index: 1; }

/* Testimonial cards */
.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  background-size: cover;
  background-position: center;
  background-color: #08080c;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(65,105,225,0.18), 0 0 0 1px rgba(65,105,225,0.25);
  z-index: 2;
}
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,6,14,0.91) 0%, rgba(4,6,14,0.78) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: inherit;
}

/* ---- Image uploader ---- */
.uploader-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.uploader-thumb {
  position: relative; width: 88px; height: 88px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-secondary);
}
.uploader-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uploader-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff; border: none;
  font-size: 14px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.uploader-remove:hover { background: var(--error); }
.uploader-add {
  width: 88px; height: 88px; border-radius: var(--radius);
  border: 1.5px dashed var(--border-light); background: var(--bg-secondary);
  color: var(--text-secondary); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: all var(--transition);
}
.uploader-add:hover { border-color: var(--accent); color: var(--accent); }

/* Logo uploader (single, round-ish) */
.logo-uploader .uploader-thumb,
.logo-uploader .uploader-add { width: 96px; height: 96px; }

/* Business logo in listing cards / detail */
.opp-logo img, .opp-detail-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Opportunity image gallery (detail page) */
.opp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.opp-gallery img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; }
