/* ============================================================
   SupportDesk project page
   Brand: #475569 slate / #334155 dark slate — professional support tool
   ============================================================ */

:root {
  --brand:      #475569;
  --brand-dark: #334155;
  --brand-lt:   #f1f5f9;
  --brand-glow: rgba(71,85,105,0.2);
  --slate-dark: #0f172a;
}

body { background: #f8fafc; color: #334155; padding: 0; max-width: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.project-hero {
  min-height: 68vh;
  background: linear-gradient(150deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: white;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,85,105,0.25), transparent 70%);
  pointer-events: none;
}

.project-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.project-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #94a3b8; text-decoration: none; font-weight: 600;
  font-size: 0.92rem; margin-bottom: 1.8rem; transition: color 0.3s;
}
.back-link:hover { color: white; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: 0.9rem;
}

.project-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 0.5rem;
}

.project-subtitle { font-size: 1.2rem; color: #94a3b8; margin-bottom: 2.5rem; }

.project-meta { display: flex; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #64748b;
}
.meta-value { font-size: 0.97rem; font-weight: 500; color: white; }

.project-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.project-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 13px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: all 0.3s;
}
.brand-btn {
  background: #475569; color: white;
  box-shadow: 0 8px 22px rgba(71,85,105,0.3);
}
.brand-btn:hover { background: #334155; transform: translateY(-2px); }
.outline-btn {
  background: rgba(255,255,255,0.07); color: white;
  border: 1.5px solid rgba(255,255,255,0.18);
}
.outline-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ── Preview ───────────────────────────────────────────────── */
.project-preview { padding: 70px 5%; background: #060a10; }
.preview-inner { max-width: 1100px; margin: 0 auto; }
.browser-mockup { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.browser-bar { background: #1e293b; padding: 12px 18px; display: flex; align-items: center; gap: 8px; }
.dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.browser-url { margin-left: 12px; font-size: 0.8rem; color: #64748b; font-family: monospace; }
.browser-screen { background: #0f172a; max-height: 520px; overflow: hidden; }
.browser-screen img { width: 100%; display: block; object-fit: cover; object-position: top; }

/* ── Overview ──────────────────────────────────────────────── */
.project-body { padding: 90px 5%; background: white; }
.body-inner { max-width: 1100px; margin: 0 auto; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.overview-text h2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 1.2rem; position: relative; display: inline-block;
}
.overview-text h2::after {
  content: ''; position: absolute; left: 0; bottom: -8px;
  width: 40px; height: 4px; border-radius: 4px; background: #475569;
}
.overview-text p { color: #475569; line-height: 1.8; margin-top: 1.4rem; font-size: 1.05rem; }

/* Role cards */
.roles-grid {
  display: flex; flex-direction: column; gap: 1rem;
}

.role-card {
  background: var(--brand-lt);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--brand);
  transition: all 0.3s;
}
.role-card:nth-child(2) { border-left-color: #0ea5e9; }
.role-card:nth-child(3) { border-left-color: #6366f1; }

.role-card:hover {
  box-shadow: 0 8px 24px rgba(71,85,105,0.12);
  transform: translateX(4px);
}

.role-card h4 {
  font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 700; color: var(--dark); margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 8px;
}

.role-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 999px;
  background: rgba(71,85,105,0.12); color: var(--brand);
}
.role-card:nth-child(2) .role-badge { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.role-card:nth-child(3) .role-badge { background: rgba(99,102,241,0.1); color: #6366f1; }

.role-card p { font-size: 0.88rem; color: #64748b; line-height: 1.5; }

/* Feature list */
.feature-list {
  background: var(--brand-lt); border-radius: 16px;
  padding: 2rem 2.2rem; border-top: 3px solid var(--brand);
}
.feature-list h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--dark); margin-bottom: 1.3rem;
}
.feature-list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  color: #334155; font-size: 0.95rem; font-weight: 500;
}
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 23px; height: 23px; border-radius: 50%; flex-shrink: 0;
  background: rgba(71,85,105,0.12); color: var(--brand-dark);
}

/* Flow section */
.flow-section { padding: 0 5% 90px; background: white; }
.flow-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--dark); margin-bottom: 2rem; position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; left: 0; bottom: -8px;
  width: 40px; height: 4px; border-radius: 4px; background: #475569;
}

.flow-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}

.flow-step {
  text-align: center; padding: 1.5rem 1rem;
  background: #f8fafc; border-radius: 14px;
  border: 1.5px solid #e2e8f0; position: relative;
  transition: all 0.3s;
}
.flow-step:hover { border-color: #475569; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(71,85,105,0.1); }

.flow-step::after {
  content: '→';
  position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1; font-size: 1.2rem; z-index: 1;
}
.flow-step:last-child::after { display: none; }

.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: #475569; color: white;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
}

.flow-step h4 { font-family: var(--font-display); font-size: 0.92rem; color: var(--dark); margin-bottom: 0.4rem; }
.flow-step p { font-size: 0.82rem; color: #64748b; line-height: 1.5; }

@media (max-width: 768px) {
  .overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-meta  { gap: 1.8rem; }
  .flow-steps    { grid-template-columns: 1fr 1fr; }
  .flow-step::after { display: none; }
}
@media (max-width: 480px) {
  .flow-steps { grid-template-columns: 1fr; }
}
