/* ============================================================
   PROJECT MANHATTAN — support.css
   Contact, Report, About pages
   ============================================================ */

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

body {
  font-family: 'Poppins', 'DM Sans', sans-serif;
  background: #f4f6fb;
  color: #1a1a2e;
  min-height: 100vh;
}

/* ── PAGE BACKGROUNDS ── */
body.contact-page {
  background: #f4f6fb;
  position: relative;
}

body.contact-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('contact-bg.jpg') center center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

body.report-page {
  background: #f4f6fb;
  position: relative;
}

body.report-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('report-bg.jpg') center center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.page-wrapper { position: relative; z-index: 1; }
.nav { position: sticky; top: 0; z-index: 100; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 56px; background: #fff;
  border-bottom: 1px solid #e8eaf0; position: sticky; top: 0; z-index: 100;
}
.nav-brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav-project { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: #9aa0b4; }
.nav-manhattan { font-size: 15px; font-weight: 800; color: #1a1a2e; }
.nav-links {
  display: flex; list-style: none; gap: 4px; align-items: center;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; color: #6b7280; padding: 6px 12px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #1a6fdb; background: #eef4fd; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); min-width: 160px; overflow: hidden; list-style: none; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a { display: block; padding: 9px 16px; font-size: 13px; color: #4a4e69; }
.nav-dropdown-menu li a:hover { background: #f4f6fb; color: #1a6fdb; }
.nav-right { display: flex; align-items: center; }
.nav-profile { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; background: #1a6fdb; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.nav-email { font-size: 12px; color: #6b7280; font-weight: 500; }
.nav-profile-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #e8eaf0; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); min-width: 160px; overflow: hidden; z-index: 200; }
.nav-profile-name { padding: 10px 16px 6px; font-size: 12px; font-weight: 700; color: #1a1a2e; border-bottom: 1px solid #f0f2f8; }
.nav-dropdown-link { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; color: #4a4e69; text-decoration: none; font-weight: 500; }
.nav-dropdown-link:hover { background: #f4f6fb; color: #1a6fdb; }
.nav-profile-dropdown button { width: 100%; padding: 9px 16px; background: none; border: none; border-top: 1px solid #f0f2f8; text-align: left; font-family: 'Poppins', 'DM Sans', sans-serif; font-size: 13px; color: #e63946; cursor: pointer; font-weight: 500; }
.nav-profile-dropdown button:hover { background: #fff5f5; }

/* ── PAGE ────────────────────────────────────────────────── */
.page-wrapper { padding: 32px; max-width: 1100px; margin: 0 auto; }


/* ══ NEW PILL NAV ══════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  gap: 20px;
  background: #f0f2f7;
  flex-shrink: 0;
}

.topbar-brand {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}

.topbar-brand-project {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9aa0b4;
}

.topbar-brand-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a2e;
}

.topbar-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: 999px;
  padding: 5px 7px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.nav-pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  position: relative;
}

.nav-pill-item:hover { background: #f0f2f7; color: #1a1a2e; }
.nav-pill-item.active { background: #f0f2f7; color: #1a1a2e; font-weight: 600; }

.nav-item-wrap {
  position: relative;
}

.nav-item-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.nav-item-wrap:hover .nav-dropdown { display: block; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 160px;
  padding: 6px;
  z-index: 500;
}

.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #4a4e69;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}

.nav-dropdown a:hover { background: #f0f2f7; color: #1a6fdb; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 5px 8px 5px 5px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  flex-shrink: 0;
}

.topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1a6fdb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.topbar-email {
  font-size: 12px;
  font-weight: 500;
  color: #4a4e69;
}

.topbar-settings {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a6fdb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.topbar-profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 176px;
  overflow: hidden;
  z-index: 999;
}

.topbar-profile-dropdown.open { display: block; }

.topbar-profile-name {
  padding: 11px 15px 7px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a2e;
  border-bottom: 1px solid #e8eaf0;
}

.topbar-profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-size: 13px;
  color: #4a4e69;
  text-decoration: none;
  font-weight: 500;
}

.topbar-profile-dropdown a:hover { background: #f0f2f7; color: #1a6fdb; }

.topbar-profile-dropdown button {
  width: 100%;
  padding: 9px 15px;
  background: none;
  border: none;
  border-top: 1px solid #e8eaf0;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #e63946;
  cursor: pointer;
}

.topbar-profile-dropdown button:hover { background: #fff0f1; }

/* ── SUPPORT HERO ────────────────────────────────────────── */
.support-hero {
  text-align: center;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.support-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.support-hero-icon.blue { background: #eef4fd; }
.support-hero-icon.orange { background: #fef3c7; }

.support-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
}

.support-hero p {
  font-size: 15px;
  color: #6b7280;
  max-width: 500px;
  line-height: 1.6;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) { .support-layout { grid-template-columns: 1fr; } }

/* ── FORM CARD ───────────────────────────────────────────── */
.support-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.support-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f8;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: #4a4e69; }
.form-group input, .form-group select, .form-group textarea {
  padding: 9px 12px; border: 1.5px solid #e0e3ed; border-radius: 8px;
  font-family: 'Poppins', 'DM Sans', sans-serif; font-size: 13px; color: #1a1a2e;
  background: #fff; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #1a6fdb; }
.form-group textarea { resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.required { color: #e63946; }

/* ── SUBMIT BUTTON ───────────────────────────────────────── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: #1a6fdb;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #1560c4; }
.btn-submit.orange { background: #f59e0b; }
.btn-submit.orange:hover { background: #d97706; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.support-sidebar { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #eef4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card-icon.orange { background: #fef3c7; }

.info-card h3 { font-size: 13px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.info-card p { font-size: 12px; color: #6b7280; line-height: 1.5; }

/* ── SUCCESS STATE ───────────────────────────────────────── */
.success-state {
  text-align: center;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.success-icon { font-size: 48px; }
.success-state h2 { font-size: 22px; font-weight: 800; color: #1a1a2e; }
.success-state p { font-size: 14px; color: #6b7280; max-width: 400px; line-height: 1.6; }

/* ── ABOUT HERO ──────────────────────────────────────────── */
.about-hero {
  text-align: center;
  padding: 60px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.about-brand { display: flex; flex-direction: column; line-height: 1; }
.about-project { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: #9aa0b4; }
.about-manhattan { font-size: 48px; font-weight: 800; color: #1a1a2e; }

.about-tagline {
  font-size: 15px;
  color: #6b7280;
  max-width: 560px;
  line-height: 1.7;
  font-style: italic;
}

.about-version-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1a6fdb;
  background: #eef4fd;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #c7dcf8;
  letter-spacing: 0.5px;
}

/* ── ABOUT SECTIONS ──────────────────────────────────────── */
.about-section {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
}

.about-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f8;
}

.about-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-section-icon.blue { background: #eef4fd; }

.about-section-header h2 { font-size: 16px; font-weight: 700; color: #1a1a2e; }
.about-section p { font-size: 14px; color: #6b7280; line-height: 1.7; }

/* ── MODULES GRID ────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.module-card {
  background: #f9fafc;
  border: 1px solid #e8eaf0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.active-module { border-color: #c7dcf8; background: #fafcff; }

.module-icon { font-size: 24px; margin-bottom: 4px; }
.module-card h3 { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.module-card p { font-size: 12px; color: #6b7280; line-height: 1.5; flex: 1; }

.module-status {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  align-self: flex-start;
  margin-top: 4px;
}
.module-status.live { background: #dcfce7; color: #16a34a; }
.module-status.soon { background: #f4f6fb; color: #9aa0b4; }

/* ── STACK GRID ──────────────────────────────────────────── */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-chip {
  font-size: 13px;
  font-weight: 600;
  color: #1a6fdb;
  background: #eef4fd;
  border: 1px solid #c7dcf8;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── ABOUT FOOTER ────────────────────────────────────────── */
.about-footer-note {
  text-align: center;
  padding: 32px;
  color: #9aa0b4;
  font-size: 13px;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.hidden { display: none !important; }

