/* Investment Opportunities Platform - Professional Design */
.investment-platform-container {
    margin: 40px 0;
}

/* Filter Form Styles */
.investment-filter-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
}

.investment-filter-form h3 {
    margin: 0 0 20px 0;
    color: #1a365d;
    font-size: 1.4em;
    font-weight: 700;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95em;
}

.filter-group select {
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #2d3748;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.filter-submit,
.filter-reset {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.filter-submit {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
}

.filter-submit:hover {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.filter-reset {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

.filter-reset:hover {
    background: #edf2f7;
    color: #1a365d;
    border-color: #1a365d;
}

/* Loading Indicator */
#investment-loading {
    text-align: center;
    padding: 40px;
    background: #f7fafc;
    border-radius: 12px;
    margin: 20px 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #1a365d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Opportunities Grid */
.investment-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.opportunity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    overflow: hidden;
}

.featured-card {
    border: 2px solid #1a365d;
    box-shadow: 0 8px 30px rgba(26, 54, 93, 0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f4f8;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    border: 1px solid #eaeaea;
    padding: 10px;
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-info {
    flex: 1;
}

.company-title {
    margin: 0 0 8px 0;
    color: #1a365d;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
}

.company-tagline {
    margin: 0 0 10px 0;
    color: #4a5568;
    font-size: 1.1em;
    font-style: italic;
}

.readiness-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.stars {
    color: #f6ad55;
    font-size: 1.2em;
    letter-spacing: 2px;
}

.rating-text {
    color: #718096;
    font-size: 0.9em;
    font-weight: 600;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f4f8;
}

.meta-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    word-break: break-word;
    flex: 1 0 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.meta-item strong {
    color: #4a5568;
    margin-right: 5px;
    display: inline-block;
}

.deadline {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-color: #fc8181;
    color: #c53030;
}

.traction-section,
.why-invest-section {
    margin-bottom: 20px;
}

.traction-section h4,
.why-invest-section h4 {
    color: #1a365d;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-item {
    padding-left: 20px;
    position: relative;
    color: #4a5568;
    line-height: 1.5;
}

.highlight-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a365d;
    font-weight: bold;
    font-size: 1.2em;
}

.card-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.whatsapp-btn,
.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    border: none;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0a6e5f 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white !important;
    border: none;
}

.email-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.no-opportunities {
    text-align: center;
    padding: 40px;
    background: #f7fafc;
    border-radius: 12px;
    color: #718096;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .investment-opportunities {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .investment-opportunities {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .opportunity-card {
        padding: 20px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-submit,
    .filter-reset {
        width: 100%;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .company-logo {
        margin: 0 auto;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .meta-item {
        width: 100%;
        text-align: center;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .whatsapp-btn,
    .email-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .company-title {
        font-size: 1.3em;
    }
    
    .featured-badge {
        font-size: 9px;
        padding: 4px 10px;
    }
    
    .investment-filter-form {
        padding: 20px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opportunity-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.opportunity-card:nth-child(1) { animation-delay: 0.1s; }
.opportunity-card:nth-child(2) { animation-delay: 0.2s; }
.opportunity-card:nth-child(3) { animation-delay: 0.3s; }
.opportunity-card:nth-child(4) { animation-delay: 0.4s; }
.opportunity-card:nth-child(5) { animation-delay: 0.5s; }
.opportunity-card:nth-child(n+6) { animation-delay: 0.6s; }
        