/* ========================================
   Team Pages - Navy & Silver Glass Theme
   فایل یکپارچه و نهایی
   ======================================== */

/* ========================================
   TEAM LIST PAGE
   ======================================== */

/* ===== Team Hero ===== */
.team-hero {
    position: relative;
    padding: 80px 24px 60px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(37, 99, 235, 0.04));
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .team-hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(37, 99, 235, 0.08));
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-hero-badge i { font-size: 0.9rem; }

.team-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.team-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Hero Stats */
.team-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 20px 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-stat-item { text-align: center; }

.hero-stat-item .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-item .stat-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.team-hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.15), transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    filter: blur(40px);
}

[data-theme="dark"] .hero-orb {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
}

/* ===== Team Philosophy Section ===== */
.team-philosophy-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.label-line {
    flex: 0 0 40px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.label-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.philosophy-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.philosophy-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.philosophy-text strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.philosophy-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.philosophy-feature {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.philosophy-feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
}

.feature-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Team Grid Section ===== */
.team-grid-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

[data-theme="dark"] .section-badge {
    background: rgba(59, 130, 246, 0.1);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Team Grid ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ===== Team Card - Glass Design ===== */
.team-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

[data-theme="dark"] .team-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.2);
    border-color: var(--accent-primary);
}

[data-theme="dark"] .team-card:hover {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
}

.team-card:hover .card-glow { opacity: 1; }
.team-card:hover .team-social-overlay { opacity: 1; transform: translateX(-50%) translateY(0); }
.team-card:hover .team-image { transform: scale(1.1); }

/* Card Header */
.team-card-header {
    position: relative;
    padding: 32px 24px 20px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(37, 99, 235, 0.02));
    text-align: center;
}

[data-theme="dark"] .team-card-header {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(37, 99, 235, 0.08));
}

/* 🎯 تصویر دایره‌ای - راه‌حل قطعی */
.team-image-wrapper {
    position: relative !important;
    width: 140px !important;
    height: 140px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 4px solid var(--bg-card) !important;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
    z-index: 2;
    background: var(--bg-tertiary);
}

/* border گرادیانت با ::before */
.team-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.8;
}

/* خود تصویر */
.team-image-wrapper .team-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 50% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* حذف div خالی team-image-border که باعث مشکل می‌شد */
.team-image-wrapper .team-image-border {
    display: none !important;
}

/* نشانگر وضعیت آنلاین */
.team-image-wrapper .team-status-indicator {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    width: 20px !important;
    height: 20px !important;
    background: #10b981 !important;
    border: 3px solid var(--bg-card) !important;
    border-radius: 50% !important;
    z-index: 3 !important;
    animation: pulse 2s infinite;
}

/* placeholder برای زمانی که تصویر نیست */
.team-image-wrapper .team-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: var(--accent-gradient);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Social Overlay */
.team-social-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 4;
}

.team-social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.team-social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
    border-color: transparent;
}

.team-social-btn.linkedin:hover { background: #0077b5; }
.team-social-btn.github:hover { background: #333; }
.team-social-btn.twitter:hover { background: #1da1f2; }
.team-social-btn.telegram:hover { background: #0088cc; }

/* Card Content */
.team-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.team-position-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 auto 12px;
    align-self: center;
}

[data-theme="dark"] .team-position-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.team-position-badge i {
    font-size: 0.7rem;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

/* Skills */
.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.skill-tag {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    background: var(--accent-primary);
    color: white;
}

/* Card Footer */
.team-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.view-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.view-profile-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.view-profile-btn i {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.view-profile-btn:hover i {
    transform: translateX(-3px);
}

/* Card Glow */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

/* ===== Empty State ===== */
.team-empty-state {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
}

.team-empty-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Join Us Section ===== */
.join-us-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.join-us-card {
    position: relative;
    padding: 60px 40px;
    background: var(--accent-gradient);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    color: white;
}

.join-us-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.join-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.join-us-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.join-us-card p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.join-us-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Benefits */
.join-benefits {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.benefit-item i {
    font-size: 1rem;
}

.join-us-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.join-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(60px);
}

.join-orb.orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.join-orb.orb-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
}

/* ===== CTA Section ===== */
.team-cta {
    padding: 0 0 80px;
    position: relative;
    z-index: 1;
}

.cta-card {
    position: relative;
    padding: 50px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
}

[data-theme="dark"] .cta-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1), transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(60px);
}

[data-theme="dark"] .cta-orb {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
}

/* ========================================
   TEAM DETAIL PAGE
   ======================================== */

/* ===== Team Detail Hero ===== */
.team-detail-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(37, 99, 235, 0.04));
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .team-detail-hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(37, 99, 235, 0.08));
}

/* Breadcrumb */
.team-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 0.85rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--accent-primary);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

/* Profile Image در Detail Page */
.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-card);
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.2);
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.8;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: 700;
}

.profile-status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 2;
}

/* Profile Info */
.profile-info {
    flex: 1;
}

.position-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

[data-theme="dark"] .position-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.profile-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.profile-position {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 600px;
}

/* Profile Social */
.profile-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
    border-color: transparent;
}

.social-btn.linkedin:hover { background: #0077b5; }
.social-btn.github:hover { background: #333; }
.social-btn.twitter:hover { background: #1da1f2; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.telegram:hover { background: #0088cc; }
.social-btn.website:hover { background: var(--accent-primary); }
.social-btn.email:hover { background: var(--accent-primary); }

/* ===== Team Detail Main ===== */
.team-detail-main {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.detail-content {
    min-width: 0;
}

.content-section {
    margin-bottom: 50px;
}

.prose-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.prose-content p {
    margin-bottom: 16px;
}

.prose-content h2, .prose-content h3, .prose-content h4 {
    color: var(--text-primary);
    margin: 24px 0 12px;
    font-weight: 700;
}

.prose-content ul, .prose-content ol {
    margin: 16px 0;
    padding-right: 24px;
}

.prose-content li {
    margin-bottom: 8px;
    list-style: disc;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-item:hover {
    border-color: var(--accent-primary);
    background: rgba(30, 64, 175, 0.05);
    transform: translateX(-4px);
}

[data-theme="dark"] .skill-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.skill-item i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.expertise-item:hover {
    border-color: var(--accent-primary);
    background: rgba(30, 64, 175, 0.05);
    transform: translateX(-4px);
}

[data-theme="dark"] .expertise-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.expertise-item i {
    color: #f59e0b;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Education Content */
.education-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Certifications List */
.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.certification-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(-4px);
}

.certification-item i {
    color: #f59e0b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== Sidebar ===== */
.detail-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 24px;
    transition: all var(--transition-base);
}

[data-theme="dark"] .sidebar-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-lg);
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-card-header i {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
}

.sidebar-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Contact Card */
.contact-card {
    background: var(--accent-gradient) !important;
    color: white;
    text-align: center;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
}

.contact-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: white;
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.info-label i {
    color: var(--accent-primary);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.info-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.info-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-link:hover {
    color: var(--accent-secondary);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
    border-color: transparent;
}

.share-btn.telegram:hover { background: #0088cc; }
.share-btn.whatsapp:hover { background: #25d366; }
.share-btn.linkedin:hover { background: #0077b5; }
.share-btn.twitter:hover { background: #1da1f2; }
.share-btn.copy:hover { background: var(--accent-gradient); }

/* ===== Other Members Section ===== */
.other-members-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .philosophy-grid,
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-card {
        grid-column: 1 / -1;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-hero,
    .team-detail-hero {
        padding: 60px 20px 40px;
    }
    
    .team-hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .philosophy-features {
        grid-template-columns: 1fr;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .profile-image-wrapper {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    
    .profile-social {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .join-us-card {
        padding: 40px 24px;
    }
    
    .join-us-actions {
        flex-direction: column;
    }
    
    .join-us-actions .btn {
        width: 100%;
    }
    
    .join-benefits {
        flex-direction: column;
        gap: 12px;
    }
    
    .benefit-item {
        width: 100%;
        justify-content: center;
    }
    
    .detail-sidebar {
        grid-template-columns: 1fr;
    }
    
    .skills-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 36px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .team-card-header .team-image-wrapper {
        width: 120px !important;
        height: 120px !important;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-image-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .team-card-content {
        padding: 20px;
    }
    
    .philosophy-feature {
        padding: 16px;
    }
    
    .experience-card {
        padding: 16px;
    }
    
    .experience-content h4 {
        font-size: 1.3rem;
    }
}