/* Custom styling for index.html - Investor Overview */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4rem 3rem;
  margin: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Large Stat Boxes for Key Metrics */
.stat-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box-large {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-box-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.stat-box-large:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}

.stat-box-large .number {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-box-large .label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Revenue Table Enhancement */
.revenue-table-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

.revenue-table-wrapper table {
  margin: 0;
  border: none;
  border-radius: 0;
}

.revenue-table-wrapper thead th {
  background: var(--surface-elevated);
  color: var(--primary);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.revenue-table-wrapper tbody tr:hover {
  background: var(--surface-elevated);
}

.revenue-table-wrapper tbody td {
  padding: 1.25rem 1.5rem;
}

.revenue-table-wrapper tbody tr td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* Timeline Enhancement */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--background);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item:last-child::before {
  box-shadow: 0 0 0 2px var(--primary), 0 0 12px var(--primary);
}

.timeline-item h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.timeline-item p {
  margin-bottom: 0.5rem;
}

.timeline-item p:last-child {
  margin-bottom: 0;
}

/* Card Grid for Competitive Advantages */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-advantage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
}

.card-advantage:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.15);
}

.card-advantage h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--text);
}

.card-advantage p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.card-advantage p:last-child {
  margin-bottom: 0;
}

/* Highlight Box Enhancement */
.highlight-box-primary {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.highlight-box-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px 0 0 12px;
}

.highlight-box-primary h4 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.highlight-box-primary ul {
  margin: 0;
  padding-left: 1.5rem;
}

.highlight-box-primary li {
  margin: 0.75rem 0;
}

.highlight-box-primary li strong {
  color: var(--text);
}

/* Section Headers */
main > section > h2 {
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}

main > section:first-child > h2 {
  margin-top: 0;
}

main > section > h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

/* Feature List Enhancement */
.feature-list-enhanced {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list-enhanced li {
  padding: 1rem 1.5rem;
  margin: 0.75rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  transition: all 0.2s ease;
}

.feature-list-enhanced li:hover {
  background: var(--surface-elevated);
  border-left-color: var(--accent);
}

.feature-list-enhanced li strong {
  color: var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 2rem;
    margin: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.25rem;
  }

  .stat-box-large .number {
    font-size: 2.5rem;
  }

  .stat-grid-large {
    grid-template-columns: 1fr;
  }

  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}
