/**
 * سروپایدار | تیم ما - استایل فرانت‌اند
 * نسخه 3.0
 */

/* ===== کانتینر اصلی ===== */
.sedar-team-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background: #0a0a1a;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 2.8rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    direction: rtl;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

.sedar-team-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.03), transparent 70%);
    pointer-events: none;
}

/* ===== HEADER ===== */
.sedar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.sedar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sedar-brand-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary, #6c5ce7), var(--secondary, #00cec9));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(108, 92, 231, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.sedar-brand-logo:hover {
    transform: rotate(-8deg) scale(1.05);
}

.sedar-brand-text h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
}

.sedar-brand-text h1 span {
    background: linear-gradient(135deg, var(--primary, #6c5ce7), var(--secondary, #00cec9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sedar-sub-brand {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 2px;
}

.sedar-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.sedar-header-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.sedar-header-chip i {
    color: var(--primary, #6c5ce7);
    font-size: 0.8rem;
}

.sedar-header-chip:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== MAIN GRID ===== */
.sedar-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* ===== LEFT SECTION ===== */
.sedar-left-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sedar-section-title {
    margin-bottom: 0.5rem;
}

.sedar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.1);
    padding: 0.3rem 1.2rem;
    border-radius: 60px;
    color: var(--primary, #6c5ce7);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.sedar-section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.sedar-section-title h2 span {
    background: linear-gradient(135deg, var(--primary, #6c5ce7), var(--secondary, #00cec9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== VERTICAL CARDS ===== */
.sedar-vertical-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sedar-v-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: sedarSlideRight 0.5s ease backwards;
}

.sedar-v-card:nth-child(1) { animation-delay: 0.05s; }
.sedar-v-card:nth-child(2) { animation-delay: 0.1s; }
.sedar-v-card:nth-child(3) { animation-delay: 0.15s; }
.sedar-v-card:nth-child(4) { animation-delay: 0.2s; }
.sedar-v-card:nth-child(5) { animation-delay: 0.25s; }

.sedar-v-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary, #6c5ce7), var(--secondary, #00cec9));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sedar-v-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(108, 92, 231, 0.15);
    transform: translateX(-6px);
}

.sedar-v-card:hover::before {
    opacity: 1;
}

.sedar-v-card.active {
    background: rgba(108, 92, 231, 0.05);
    border-color: rgba(108, 92, 231, 0.15);
    transform: translateX(-6px);
}

.sedar-v-card.active::before {
    opacity: 1;
}

.sedar-v-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary, #6c5ce7);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sedar-v-card.active .sedar-v-icon {
    background: rgba(108, 92, 231, 0.2);
    color: #fff;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.1);
}

.sedar-v-content {
    flex: 1;
}

.sedar-v-content h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 2px 0;
}

.sedar-v-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.sedar-v-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.sedar-v-card.active .sedar-v-arrow {
    color: var(--primary, #6c5ce7);
    transform: rotate(180deg);
}

/* ===== RIGHT SECTION ===== */
.sedar-right-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: sedarFadeIn 0.6s ease;
}

.sedar-right-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.03), transparent 70%);
    pointer-events: none;
}

.sedar-display-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sedar-display-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: rgba(255, 255, 255, 0.05);
}

.sedar-img-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 16px;
    border-radius: 60px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sedar-display-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.sedar-display-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sedar-display-sub i {
    color: var(--primary, #6c5ce7);
}

.sedar-display-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.9;
    flex: 1;
}

.sedar-display-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.sedar-tag {
    background: rgba(108, 92, 231, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.05);
    padding: 0.2rem 1rem;
    border-radius: 60px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
}

.sedar-tag i {
    color: var(--primary, #6c5ce7);
    margin-left: 4px;
    font-size: 0.6rem;
}

/* ===== STORY SECTION ===== */
.sedar-story-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.sedar-story-image-box {
    border-radius: 24px;
    overflow: hidden;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.05);
}

.sedar-story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.sedar-story-overlay span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sedar-story-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.sedar-story-text-box h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.sedar-story-text-box h3 i {
    color: var(--primary, #6c5ce7);
}

.sedar-story-text-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.9;
    margin: 0;
}

.sedar-story-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.1);
    padding: 0.4rem 1.6rem;
    border-radius: 60px;
    color: var(--primary, #6c5ce7);
    font-size: 0.8rem;
    width: fit-content;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    cursor: pointer;
}

.sedar-story-btn:hover {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary, #6c5ce7);
    transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes sedarSlideRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sedarFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .sedar-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sedar-story-section {
        grid-template-columns: 1fr;
    }
    .sedar-story-image-box {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .sedar-team-container {
        padding: 1.8rem 1.2rem;
        border-radius: 32px;
    }
    .sedar-section-title h2 {
        font-size: 2rem;
    }
    .sedar-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .sedar-header-actions {
        justify-content: center;
    }
    .sedar-right-section {
        padding: 1.5rem;
        min-height: 350px;
    }
    .sedar-display-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .sedar-team-container {
        padding: 1rem 0.8rem;
        border-radius: 24px;
    }
    .sedar-brand-text h1 {
        font-size: 1.3rem;
    }
    .sedar-brand-logo {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .sedar-section-title h2 {
        font-size: 1.6rem;
    }
    .sedar-v-card {
        padding: 0.8rem 1rem;
    }
    .sedar-v-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
    .sedar-right-section {
        padding: 1rem;
        min-height: 280px;
    }
    .sedar-display-title {
        font-size: 1.2rem;
    }
    .sedar-header-chip {
        font-size: 0.6rem;
        padding: 0.2rem 0.8rem;
    }
}