/* ============================= */
/* ABOUT US PAGE STYLES (from old site) */
/* ============================= */

.about-us-page {
  background: #0b0f14;
  color: #e9eef5;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ============================= */
/* HERO - DEPTH + BACKGROUND */
/* ============================= */

.hero-section {
  position: relative;
  height: 75vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255,138,0,0.25), transparent 60%),
              linear-gradient(180deg, #101722 0%, #0b0f14 100%);
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background:
      radial-gradient(circle at 20% 30%, rgba(255,138,0,0.12), transparent 40%),
      radial-gradient(circle at 80% 10%, rgba(255,138,0,0.08), transparent 40%);
  filter: blur(40px);
  z-index: 0;
  transition: transform 0.4s ease-out;
}

.hero-section:hover .hero-bg {
  transform: scale(1.05) translateY(-10px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0,0,0,0.2) 0%,
      rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 2rem;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw + 1rem, 4.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  animation: floatText 6s ease-in-out infinite alternate;
}

@media (min-width: 1200px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-title span {
  color: #ff8a00;
  text-shadow: 0 0 18px rgba(255,138,0,0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: .85;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes floatText {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

/* ============================= */
/* SECTION STRUCTURE */
/* ============================= */

.story-section,
.moderated-section,
.why-section,
.different-section,
.mission-section,
.future-timeline-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Alternating backgrounds */
.story-section,
.why-section {
  background: #0e141c;
}

.moderated-section,
.different-section {
  background: #111924;
}

.mission-section {
  background: linear-gradient(180deg, #111924 0%, #0d131a 100%);
}

.future-timeline-section {
  background: #0b0f14;
  text-align: center;
  padding: 6rem 0 4rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}

/* ============================= */
/* HEADINGS */
/* ============================= */

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff8a00;
  margin-top: 15px;
}

/* ============================= */
/* FEATURE / MINDMAP GRID STYLING */
/* ============================= */

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.problem-card {
  background: #161f2b;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255,138,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: all 0.3s ease;
  cursor: default;
}

.problem-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255,138,0,0.4);
  box-shadow: 0 12px 30px rgba(255,138,0,0.15);
}

.problem-card h4 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.problem-card i,
.problem-card svg {
  color: #ff8a00;
  flex-shrink: 0;
}

/* ============================= */
/* FEATURE LIST / MISSION LIST */
/* ============================= */

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.highlight-text {
  color: #ff8a00;
  font-weight: 500;
}

/* Stats container */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(22, 31, 43, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(255,138,0,0.2);
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255,138,0,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,138,0,0.15);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255,138,0,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,138,0,0.2);
}

.stat-icon {
  font-size: 2.5rem;
  color: #ff8a00;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  color: #b8c5d6;
}

/* Spinner */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,138,0,0.2);
  border-top: 3px solid #ff8a00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================= */
/* HORIZONTAL TIMELINE */
/* ============================= */

.timeline-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.horizontal-timeline {
  position: relative;
  padding: 4rem 0;
  min-width: 1200px;
  overflow: visible;
}

/* Timeline line */
.timeline-line-horizontal {
  position: absolute;
  top: calc(50% - 20px);
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #ff8a00 0%, #ff6a00 100%);
  transform: translateY(-50%);
  z-index: 1;
}

/* Timeline items */
.timeline-items-horizontal {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  padding: 0 2rem;
}

/* Timeline points */
.timeline-point {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
  cursor: pointer;
  z-index: 3;
}

/* Timeline markers (circles) */
.timeline-marker-horizontal {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  border: 3px solid #0d131a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  margin-bottom: 1.5rem;
}

.timeline-number {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Timeline content */
.timeline-content {
  position: relative;
  text-align: center;
  width: 100%;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff8a00;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline-description {
  font-size: 0.8rem;
  color: #b8c5d6;
  line-height: 1.4;
  opacity: 0.85;
  margin-bottom: 0;
}

.timeline-branches-horizontal {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  pointer-events: none;
}

.timeline-point:hover .timeline-branches-horizontal {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.branch-horizontal {
  background: rgba(22, 31, 43, 0.95);
  border: 1px solid rgba(255,138,0,0.4);
  border-left: 4px solid #ff8a00;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  backdrop-filter: blur(10px);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.branch-horizontal:last-child {
  margin-bottom: 0;
}

/* Red milestone between 1 and 2 */
.timeline-milestone {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.milestone-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4444;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(255,68,68,0.3);
}

.milestone-text {
  background: #161f2b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .future-timeline-section {
    padding: 4rem 0;
  }

  .horizontal-timeline {
    min-width: auto;
    padding: 2rem 0;
  }

  .timeline-line-horizontal {
    display: none;
  }

  .timeline-items-horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 1rem;
  }

  .timeline-point {
    flex: none;
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
  }

  .timeline-marker-horizontal {
    margin-bottom: 1rem;
    margin-right: 1rem;
  }

  .timeline-content {
    text-align: left;
  }

  .timeline-branches-horizontal {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
    width: 100%;
    pointer-events: all;
  }

  .timeline-milestone {
    display: none;
  }
}

