/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2C3E50;
  background: #F5F5F5;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agc-logo {
  width: 72px;
  height: 72px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(145deg, #F9F295 0%, #E0AA3E 15%, #FFD700 30%, #B88A44 45%, #D4A76A 60%, #FFD700 75%, #E0AA3E 90%, #F9F295 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: #2C3E50;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #C8A868;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1A2332;
}

/* ===================================
   INVESTORS HEADER
   =================================== */
.investors-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1A2332 0%, #2C3E50 100%);
    color: #FFFFFF;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #C8A868;
}

.breadcrumb span {
    opacity: 0.5;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===================================
   INVESTORS SECTION
   =================================== */
.investors-section {
    padding: 60px 0 100px;
    background: #F5F5F5;
}

/* ===================================
   TOOLBAR
   =================================== */
.investors-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.filter-group,
.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1A2332;
}

.filter-select,
.search-input {
    padding: 12px 14px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: #C8A868;
    box-shadow: 0 0 0 3px rgba(200, 168, 104, 0.1);
}

.search-input {
    width: 100%;
}

/* ===================================
   RESULTS COUNT
   =================================== */
.results-count {
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    color: #2C3E50;
}

.results-count strong {
    color: #C8A868;
    font-weight: 700;
}

/* ===================================
   TABLE
   =================================== */
.table-container {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.investors-table {
    width: 100%;
    border-collapse: collapse;
}

.investors-table thead {
    background: #1A2332;
    color: #FFFFFF;
}

.investors-table th {
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.investors-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.investors-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sort-icon {
    margin-left: 5px;
    opacity: 0.5;
    font-size: 12px;
}

.investors-table th.sorted .sort-icon {
    opacity: 1;
    color: #C8A868;
}

.investors-table tbody tr {
    border-bottom: 1px solid #F0F0F0;
    transition: all 0.3s ease;
}

.investors-table tbody tr:hover {
    background: rgba(200, 168, 104, 0.05);
}

.investors-table tbody tr:last-child {
    border-bottom: none;
}

.investors-table td {
    padding: 16px;
    font-size: 14px;
    color: #2C3E50;
}

.investor-name {
    font-weight: 600;
    color: #1A2332;
}

.investor-type {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(200, 168, 104, 0.1);
    color: #1A2332;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.investor-website {
    color: #C8A868;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.investor-website:hover {
    color: #D4874B;
    text-decoration: underline;
}

.fit-score {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.fit-score.excellent {
    background: #D4EDDA;
    color: #155724;
}

.fit-score.good {
    background: #D1ECF1;
    color: #0C5460;
}

.fit-score.fair {
    background: #FFF3CD;
    color: #856404;
}

.fit-score.low {
    background: #F8D7DA;
    color: #721C24;
}

/* ===================================
   NO RESULTS
   =================================== */
.no-results {
    text-align: center;
    padding: 60px 30px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.no-results p {
    font-size: 18px;
    color: #7F8C8D;
    margin-bottom: 20px;
}

.reset-button {
    padding: 12px 30px;
    background: #C8A868;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background: #D4874B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 168, 104, 0.3);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #1A2332;
  color: #FFFFFF;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: #C8A868;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: #C8A868;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1200px) {
    .table-container {
        overflow-x: auto;
    }
    
    .investors-table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: #FFFFFF;
        width: 100%;
        text-align: center;
        transition: all 0.4s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .investors-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .investors-toolbar {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .investors-table {
        font-size: 13px;
    }
    
    .investors-table th,
    .investors-table td {
        padding: 12px 10px;
    }
    
    .agc-logo {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .agc-logo {
        width: 44px;
        height: 44px;
    }
    
    .logo-text {
        font-size: 18px;
    }
}