/* ============================================
   INVESTORS PAGE - ADDITIONAL STYLES
   ============================================ */

/* === INVESTOR HERO VARIANT === */
.investor-hero {
  background: var(--hero-third-bg);
  min-height: 70vh;
}

/* === TRACK METRICS === */
.track-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-light);
}

.track-metric {
  text-align: center;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === USE OF FUNDS ALLOCATION === */
.use-of-funds {
  background: var(--gray-lighter);
}

.fund-allocation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.fund-item {
  position: relative;
}

.fund-bar {
  position: relative;
  height: 80px;
  min-width: 520px; /* Increased minimum width for better readability */
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: visible;
}

.fund-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2));
  transform: translateX(-100%);
  transition: transform 1s ease-out;
}

.fund-bar.animate::before {
  transform: translateX(100%);
}

.fund-bar:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-xl);
}

.fund-label {
  font-size: 1.125rem;
  z-index: 1;
}

.fund-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
}

/* Animate fund bars on scroll */
.fund-bar {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInFund 0.8s ease-out forwards;
}

@keyframes slideInFund {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fund-item:nth-child(1) .fund-bar { animation-delay: 0.1s; }
.fund-item:nth-child(2) .fund-bar { animation-delay: 0.2s; }
.fund-item:nth-child(3) .fund-bar { animation-delay: 0.3s; }
.fund-item:nth-child(4) .fund-bar { animation-delay: 0.4s; }
.fund-item:nth-child(5) .fund-bar { animation-delay: 0.5s; }

/* === TEAM SECTION === */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  font-size: 4rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.team-title {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.975rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

/* === FAQ SECTION === */
.faq-section {
  background: var(--white);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--gray-lighter);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
  cursor: pointer;
}

.faq-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(10px);
}

.faq-question {
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question::before {
  content: '?';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-answer {
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 0;
}

/* === ROADMAP/TIMELINE === */
.timeline {
  position: relative;
  padding: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin: 0 2rem;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.timeline-description {
  color: var(--gray-medium);
  font-size: 0.975rem;
}

/* === INVESTMENT TIERS === */
.investment-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tier-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  border: 2px solid var(--gray-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.tier-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.tier-card:hover::before {
  transform: scaleX(1);
}

.tier-card.featured {
  border-color: var(--primary);
  border-width: 3px;
  box-shadow: var(--shadow-lg);
}

.tier-card.featured .tier-badge {
  display: block;
}

.tier-badge {
  display: none;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: inline-block;
}

.tier-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.tier-amount {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.tier-description {
  color: var(--gray-medium);
  margin-bottom: 2rem;
  font-size: 0.975rem;
}

.tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.tier-features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-light);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
  font-size: 1.25rem;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .track-metrics {
    grid-template-columns: 1fr;
  }
  
  .fund-bar {
    height: auto;
    min-height: 60px;
    min-width: 100%; /* Full width on mobile */
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .fund-label,
  .fund-percentage {
    font-size: 1rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }
  
  .timeline-marker {
    margin: 0 1rem 0 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .investment-tiers {
    grid-template-columns: 1fr;
  }
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .mobile-menu-toggle,
  .hero-particles,
  .footer {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    page-break-inside: avoid;
  }
  
  .btn {
    border: 2px solid var(--dark);
    color: var(--dark) !important;
    background: var(--white) !important;
  }
}

/* === ACTIVE NAV STATE === */
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
