/* Modern Company Card Redesign - Clean, Professional, Data-Rich */

.company-card-redesign {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    overflow: hidden;
}

.company-card-redesign:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    border-color: #667eea;
}

/* Top Row - Badges and Valuation */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    position: relative;
}

.card-logo {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-top-row-with-logo {
    padding-right: 80px;
}

.card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-badge-inline {
    font-size: 18px;
    line-height: 1;
}

.badge-unicorn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-category {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.card-valuation {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Title Row */
.card-title-row {
    padding: 16px 20px 12px 20px;
}

.card-company-name {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.card-meta {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Description */
.card-description {
    padding: 0 20px 14px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

/* Technology Tags */
.card-tech-row {
    padding: 0 20px 14px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    background: #eff6ff;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.tech-tag-more {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Bottom Stats Row */
.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fafbfc;
    border-top: 1px solid #f3f4f6;
}

.card-stats {
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-compact {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-icon-mini {
    font-size: 14px;
}

.card-action {
    flex-shrink: 0;
}

.view-profile-link {
    color: #667eea;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.company-card-redesign:hover .view-profile-link {
    color: #5568d3;
}

/* Investors Section */
.card-investors {
    padding: 14px 20px;
    background: #fffbeb;
    border-top: 1px solid #fef3c7;
}

.investors-header {
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.investor-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #fde68a;
}

.investor-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 3px;
    background: white;
    padding: 1px;
}

.investor-pill-more {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* Recent Activity Section */
.card-activity {
    padding: 14px 20px;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
    display: flex;
    gap: 10px;
    align-items: start;
}

.activity-label {
    font-size: 16px;
    flex-shrink: 0;
}

.activity-text {
    font-size: 13px;
    color: #991b1b;
    line-height: 1.5;
    font-weight: 500;
}

/* Website Link */
.card-website {
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.website-link:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Flag badge in detailed cards */
.flag-badge-inline img.emoji {
    height: 18px !important;
    width: 18px !important;
    margin: 0 !important;
    vertical-align: middle;
}

