/* ========================================
   PORTAL SEÇİM SECTION
   Anasayfa - Portal Giriş Seçim Alanı
   ======================================== */

/* Instagram Gradient */
/* from #833ab4 → #e1306c → #fd1d1d → #fcb045 */

/* ===== SECTION WRAPPER ===== */
.portal-secim-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

/* ===== HEADER ===== */
.portal-secim-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.portal-secim-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(45deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portal-secim-title {
    font-size: 42px;
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.portal-secim-highlight {
    background: linear-gradient(45deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-secim-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* ===== TAB NAV ===== */
.portal-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.portal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portal-tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portal-tab-btn:hover {
    border-color: transparent;
    color: #e1306c;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.15);
}

.portal-tab-btn.active {
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 6px 24px rgba(131, 58, 180, 0.35);
    transform: translateY(-2px);
}

.portal-tab-btn.active::before {
    opacity: 1;
}

.portal-tab-btn span {
    position: relative;
    z-index: 1;
}

.portal-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.portal-tab-btn:not(.active) .portal-tab-icon {
    background: #f3f4f6;
}

.portal-tab-icon i {
    font-size: 13px;
}

.portal-tab-btn:not(.active) .portal-tab-icon i {
    color: #6b7280;
}

.portal-tab-btn.active .portal-tab-icon i {
    color: #ffffff !important;
}

/* ===== TAB CONTENTS WRAPPER ===== */
.portal-tabs-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TAB PANEL ===== */
.portal-tab-panel {
    display: none;
    animation: portalFadeIn 0.4s ease;
}

.portal-tab-panel.active {
    display: block;
}

@keyframes portalFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== TAB INNER LAYOUT ===== */
.portal-tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 56px 60px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.portal-tab-inner-reverse {
    direction: rtl;
}

.portal-tab-inner-reverse > * {
    direction: ltr;
}

/* ===== VISUAL (Image Area) ===== */
.portal-tab-visual {
    position: relative;
}

.portal-tab-img-wrapper {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Influencer görsel wrapper */
.portal-influencer-img {
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 50%, #fff7ed 100%);
    border: none;
    box-shadow:
        0 0 0 1px rgba(131,58,180,0.10),
        0 20px 60px rgba(131,58,180,0.18),
        0 8px 24px rgba(225,48,108,0.12);
}

/* Marka görsel wrapper */
.portal-marka-img {
    background: linear-gradient(135deg, #fce7f3 0%, #fff0f6 100%);
    border: none;
    box-shadow:
        0 0 0 1px rgba(233,30,99,0.10),
        0 20px 60px rgba(233,30,99,0.18),
        0 8px 24px rgba(194,24,91,0.12);
}

/* Screenshot img - ekran görüntüsü */
.portal-screenshot-img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: transform 0.6s ease;
    z-index: 1;
}

.portal-tab-img-wrapper:hover .portal-screenshot-img {
    transform: scale(1.02) translateY(-4px);
}

/* Glow overlay - altta soluklaşma efekti */
.portal-img-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    border-radius: 0 0 18px 18px;
    pointer-events: none;
    z-index: 2;
}

.portal-influencer-glow {
    background: linear-gradient(to top, rgba(243,232,255,0.85) 0%, transparent 100%);
}

.portal-marka-glow {
    background: linear-gradient(to top, rgba(252,231,243,0.85) 0%, transparent 100%);
}

/* ===== CONTENT AREA ===== */
.portal-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Content Badge */
.portal-tab-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
}

.portal-influencer-badge {
    background: linear-gradient(45deg, rgba(131,58,180,0.1), rgba(253,29,29,0.1));
    color: #833ab4;
    border: 1px solid rgba(131,58,180,0.2);
}

.portal-influencer-badge i {
    color: #e1306c;
}

.portal-marka-badge {
    background: rgba(233,30,99,0.08);
    color: #E91E63;
    border: 1px solid rgba(233,30,99,0.2);
}

.portal-marka-badge i {
    color: #E91E63;
}

/* Content Title */
.portal-tab-title {
    font-size: 30px;
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

/* Content Desc */
.portal-tab-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #6b7280;
    margin: 0 0 28px 0;
}

/* Features List */
.portal-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.portal-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(45deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
}

.portal-feature-icon i {
    font-size: 11px;
    color: #ffffff !important;
}

.portal-marka-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

/* Actions */
.portal-tab-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* CTA Button - Influencer (Instagram Gradient) */
.portal-tab-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #ffffff !important;
}

.portal-influencer-cta {
    background: linear-gradient(45deg, #833ab4, #e1306c, #fd1d1d, #fcb045);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
}

.portal-influencer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.45);
    color: #ffffff !important;
}

.portal-marka-cta {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.35);
}

.portal-marka-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.45);
    color: #ffffff !important;
}

.portal-tab-cta i {
    font-size: 14px;
    color: #ffffff !important;
    transition: transform 0.3s ease;
}

.portal-tab-cta:hover i {
    transform: translateX(4px);
}

/* Secondary Link */
.portal-tab-secondary {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dashed #d1d5db;
    padding-bottom: 2px;
}

.portal-tab-secondary:hover {
    color: #E91E63;
    border-bottom-color: #E91E63;
}

/* ===== LIGHT MODE OVERRIDES ===== */
body.light-mode .portal-secim-section {
    background: #ffffff;
}

body.light-mode .portal-tab-inner {
    background: #ffffff;
    border-color: #f0f0f0;
}

body.light-mode .portal-tab-btn {
    background: #ffffff;
    border-color: #e5e7eb;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .portal-tab-inner {
        gap: 40px;
        padding: 48px 40px;
    }

    .portal-tab-title {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .portal-secim-section {
        padding: 80px 0;
    }

    .portal-secim-title {
        font-size: 34px;
    }

    .portal-tab-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 36px;
    }

    .portal-tab-inner-reverse {
        direction: ltr;
    }

    .portal-tab-inner-reverse .portal-tab-visual {
        order: -1;
    }

    /* aspect-ratio kaldırıldı - görsel doğal boyutunda görünür */
}

@media (max-width: 767px) {
    .portal-secim-section {
        padding: 60px 0;
    }

    .portal-secim-title {
        font-size: 28px;
    }

    .portal-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0 20px;
    }

    .portal-tab-btn {
        justify-content: center;
        padding: 14px 24px;
    }

    .portal-tab-inner {
        padding: 32px 24px;
        border-radius: 18px;
        gap: 28px;
    }

    .portal-tab-title {
        font-size: 22px;
    }

    .portal-tab-desc {
        font-size: 14px;
    }

    .portal-tab-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .portal-tab-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portal-secim-title {
        font-size: 24px;
    }

    .portal-tab-inner {
        padding: 28px 20px;
    }
}