/* style.css - Complete Final Version */

:root {
  --primary-color: #0a0e17;  /* Deeper, more sophisticated blue-black */
  --secondary-color: #ffffff;
  --accent-color: #f7f8fa;   /* Softer gray background */
  --highlight-color: #1a5eff; /* More vibrant institutional blue */
  --text-color: #1c1e23;     /* Darker, crisper text */
  --muted-text: #6b7280;     /* Professional gray */
  --border-color: #e5e7eb;   /* Subtle borders */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif; /* Classic financial font for headings */
  --spacing-unit: 1rem;
  --border-radius: 4px;      /* Reduced for more professional look */
  --transition-speed: 0.2s;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

/* Body and Layout */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
header {
  background-color: var(--secondary-color);
  padding: 4rem 0 3rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

#header-logo img {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted-text);
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

/* Section Styles */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

section {
  padding: 5rem 0;
}

/* Contact Section for minimal layout */
.contact {
  background: var(--secondary-color);
  text-align: center;
  padding: 2rem 0 3rem;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.direct-contact {
  font-size: 1.125rem;
}

.direct-contact a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition-speed);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.direct-contact a:hover {
  opacity: 0.8;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #0a0e17 0%, #060810 100%);
  color: var(--secondary-color);
  padding: 3rem 0 2.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-logo img {
  width: 90px;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.website {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: #d1d5db;
  letter-spacing: 0.02em;
}

.copyright {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0;
}

/* Investor Portal Specific Styles */
.investor-header {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-color) 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.portal-title {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.portal-subtitle {
  color: var(--muted-text);
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Fund Overview Section */
.fund-overview {
  padding: 3rem 0 2rem;
  background-color: var(--accent-color);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.info-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.125rem;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.info-card p {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
}

.info-card a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Documents Section */
.documents {
  min-height: 60vh;
  padding: 4rem 0;
}

.doc-section {
  margin-bottom: 4rem;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-category {
  font-size: 1.375rem;
  font-family: var(--font-display);
  color: var(--primary-color);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  letter-spacing: -0.01em;
}

.doc-list {
  max-width: 800px;
  margin: 0 auto;
}

.doc-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-color);
  transition: all var(--transition-speed);
  box-shadow: var(--shadow-sm);
}

.doc-link:hover {
  border-color: var(--highlight-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.doc-link div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-title {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.doc-meta {
  font-size: 0.875rem;
  color: var(--muted-text);
}

.doc-date {
  color: var(--muted-text);
  font-size: 0.875rem;
  white-space: nowrap;
  font-weight: 500;
}

/* Token Research Grid */
.doc-grid {
  display: grid;
  gap: 3rem;
}

.token-category {
  margin-bottom: 2rem;
}

.token-subtitle {
  font-size: 1.125rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Document Badges */
.doc-badge {
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.doc-badge.defi {
  background: #e0e7ff;
  color: #3730a3;
}

.doc-badge.oracle {
  background: #fef3c7;
  color: #92400e;
}

.doc-badge.infra {
  background: #e0f2fe;
  color: #075985;
}

.doc-badge.settlement {
  background: #dcfce7;
  color: #166534;
}

/* Footer Disclaimer */
.disclaimer {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 1rem 0;
  font-style: italic;
}

.footer-email a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-speed);
}

.footer-email a:hover {
  color: var(--secondary-color);
}

/* Footer links */
.investor-link {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.investor-link a, .back-link a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-speed);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.investor-link a:hover, .back-link a:hover {
  color: var(--secondary-color);
}

.back-link {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 3rem 0 2.5rem;
  }

  #header-logo img {
    width: 220px;
  }

  .tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .portal-title {
    font-size: 1.875rem;
  }

  .doc-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .doc-date, .doc-badge {
    align-self: flex-start;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .token-category {
    margin-bottom: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* Print Styles */
@media print {
  header, footer {
    display: none;
  }
  
  .documents {
    padding: 0;
  }
}