/* Team Page Styles - realsales Design */

.team-page {
    background: #f9fafb;
    min-height: 100vh;
}

/* Hero Section - Purple Gradient wie Knowledge Hub */
.team-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #7c3aed 100%);
    padding: 140px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.team-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.team-hero .hero-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.team-hero .hero-cta {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-hero .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #faf5ff;
}

.team-hero .hero-image {
    display: none;
}

/* Team Members Section */
.team-members {
    padding: 6rem 0;
    background: white;
}

.team-members .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.team-photo {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

.team-page .team-card .team-info {
    padding: 2rem;
    display: flex !important;
    flex-direction: column !important;
    min-height: 400px !important;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.4rem 0;
}

.team-info .role {
    font-size: 1rem;
    font-weight: 600;
    color: #7c3aed;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-info .bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.2rem;
    flex-grow: 1 !important;
}

.experience-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    min-height: 80px !important;
    align-content: flex-start !important;
}

.experience-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(109, 40, 217, 0.08));
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.team-social {
    display: flex !important;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .team-hero h1 {
        font-size: 40px;
    }
    
    .team-hero .hero-text {
        font-size: 18px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .team-hero {
        padding: 100px 0 60px;
    }
    
    .team-hero h1 {
        font-size: 32px;
    }
    
    .team-hero .hero-text {
        font-size: 16px;
    }
    
    .team-photo {
        height: 350px;
    }
    
    .team-info {
        padding: 2rem;
    }
    
    .team-info h3 {
        font-size: 1.5rem;
    }
    
    .experience-tags {
        flex-direction: column;
    }
    
    .experience-tags .tag {
        text-align: center;
    }
}
