@import url('stylesheet.css.html');

/* ================================================
   additional_styles.css
   Styles for /help/ and /team/ pages only
   Inherits BlazeSwap design language
   ================================================ */

/* ---------- Base page layout ---------- */
.subpage-body {
  background-image: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  color: #000;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, Noto Sans, sans-serif;
}

.dark .subpage-body {
  background-image: linear-gradient(to bottom, #1e293b, #0f172a);
  color: rgb(203 213 225);
}

.subpage-container {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  overflow-x: hidden;
}

/* ---------- Page header / hero strip ---------- */
.subpage-hero {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .07), 0 2px 4px -2px rgb(0 0 0 / .07);
}

.dark .subpage-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .3);
}

.subpage-hero h1 {
  font-size: 1.875rem;
  font-weight: 900;
  color: #3730a3;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.dark .subpage-hero h1 {
  color: #a5b4fc;
}

.subpage-hero .subpage-subtitle {
  font-size: 0.9375rem;
  color: #4f46e5;
  opacity: 0.85;
  max-width: 60ch;
}

.dark .subpage-hero .subpage-subtitle {
  color: #94a3b8;
}

/* ---------- Section headings ---------- */
.subpage-section {
  margin-bottom: 2.5rem;
  max-width: 100%;
}

.subpage-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4338ca;
  border-left: 4px solid #6366f1;
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.dark .subpage-section h2 {
  color: #a5b4fc;
  border-left-color: #818cf8;
}

.subpage-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 0.875rem;
}

.dark .subpage-section p {
  color: #cbd5e1;
}

/* ---------- Q&A blocks (help page) ---------- */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.qa-item {
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e0e7ff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  overflow-x: hidden;
}

.qa-item:hover {
  box-shadow: 0 4px 12px -2px rgb(99 102 241 / .18);
  border-color: #a5b4fc;
}

.dark .qa-item {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .25);
}

.dark .qa-item:hover {
  border-color: #818cf8;
  box-shadow: 0 4px 12px -2px rgb(129 140 248 / .2);
}

.qa-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #4338ca;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.dark .qa-item h3 {
  color: #a5b4fc;
}

.qa-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

.dark .qa-item p {
  color: #94a3b8;
}

/* ---------- Team / about sections ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-card {
  background-color: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e0e7ff;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  overflow-x: hidden;
}

.team-card:hover {
  box-shadow: 0 8px 20px -4px rgb(99 102 241 / .2);
  transform: translateY(-2px);
}

.dark .team-card {
  background-color: #1e293b;
  border-color: #334155;
}

.dark .team-card:hover {
  box-shadow: 0 8px 20px -4px rgb(129 140 248 / .2);
}

.team-card .team-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background-color: #6366f1;
  border-radius: 9999px;
  padding: 2px 10px;
  margin-bottom: 0.75rem;
}

.dark .team-card .team-role {
  background-color: #4338ca;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 0.4rem;
}

.dark .team-card h3 {
  color: #e2e8f0;
}

.team-card p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.dark .team-card p {
  color: #94a3b8;
}

/* ---------- Feature / stat cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #e0e7ff;
  overflow-x: hidden;
}

.dark .feature-card {
  background: linear-gradient(135deg, #1e293b 0%, #1a1f35 100%);
  border-color: #334155;
}

.feature-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #4338ca;
  margin-bottom: 0.375rem;
}

.dark .feature-card h4 {
  color: #a5b4fc;
}

.feature-card p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.dark .feature-card p {
  color: #94a3b8;
}

/* ---------- Stat numbers strip ---------- */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  flex: 1 1 120px;
  background-color: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / .05);
}

.dark .stat-item {
  background-color: #1e293b;
  border-color: #334155;
}

.stat-item .stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  background-image: linear-gradient(to right, #818cf8, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 0.25rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .stat-item .stat-label {
  color: #94a3b8;
}

/* ---------- Inline text links ---------- */
.subpage-link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.15s;
}

.subpage-link:hover {
  color: #4338ca;
}

.dark .subpage-link {
  color: #a5b4fc;
}

.dark .subpage-link:hover {
  color: #c7d2fe;
}

/* ---------- Back / home button ---------- */
.subpage-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #4f46e5;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px -1px rgb(79 70 229 / .4);
}

.subpage-btn:hover {
  background-color: #4338ca;
  box-shadow: 0 4px 12px -2px rgb(79 70 229 / .5);
}

.subpage-btn-secondary {
  background-color: transparent;
  color: #4f46e5;
  border: 2px solid #6366f1;
  box-shadow: none;
}

.subpage-btn-secondary:hover {
  background-color: #eef2ff;
  box-shadow: none;
}

.dark .subpage-btn-secondary {
  color: #a5b4fc;
  border-color: #818cf8;
}

.dark .subpage-btn-secondary:hover {
  background-color: #1e293b;
}

.subpage-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  align-items: center;
}

/* ---------- Alert / notice banner ---------- */
.subpage-notice {
  background-color: #eef2ff;
  border-left: 4px solid #6366f1;
  border-radius: 0.375rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #3730a3;
  margin-bottom: 1.5rem;
}

.dark .subpage-notice {
  background-color: #1e293b;
  color: #a5b4fc;
  border-left-color: #818cf8;
}

/* ---------- Divider ---------- */
.subpage-divider {
  border: none;
  border-top: 1px solid #e0e7ff;
  margin: 2rem 0;
}

.dark .subpage-divider {
  border-top-color: #334155;
}

/* ---------- Breadcrumb strip ---------- */
.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.subpage-breadcrumb a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.subpage-breadcrumb a:hover {
  color: #4338ca;
  text-decoration: underline;
}

.dark .subpage-breadcrumb {
  color: #64748b;
}

.dark .subpage-breadcrumb a {
  color: #818cf8;
}

.subpage-breadcrumb .sep {
  color: #d1d5db;
}

/* ---------- Footer (subpage) ---------- */
.subpage-footer {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #e0e7ff;
  margin-top: 3rem;
}

.dark .subpage-footer {
  border-top-color: #334155;
  color: #64748b;
}

.subpage-footer a {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}

.subpage-footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive overrides ---------- */
@media (max-width: 767px) {
  .subpage-hero {
    padding: 1.75rem 1.25rem;
  }

  .subpage-hero h1 {
    font-size: 1.5rem;
  }

  .subpage-container {
    padding-top: 1.5rem;
    padding-bottom: 6rem;
  }

  .stat-strip {
    flex-direction: column;
  }

  .stat-item {
    flex: 1 1 100%;
  }

  .subpage-section h2 {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .subpage-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .subpage-hero h1 {
    font-size: 2.25rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .subpage-container {
    padding-top: 3rem;
  }
}