/*
|--------------------------------------------------------------------------
| Oluşturulma Tarihi : 05.07.2026
| Değişiklik Tarihi  : 05.07.2026
| Yaratan            : Özgür Elibol
| Dokümanın Amacı    : Sosyal medya hesabı ön analiz alanı ve rapor sayfası
|                      için izole stil dosyasıdır.
|--------------------------------------------------------------------------
*/

.social-analysis-section {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #fff7ed 50%, #f8fafc 100%);
}

.social-analysis-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.10);
}

.social-analysis-content h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    color: #111827;
    letter-spacing: -0.035em;
}

.social-analysis-content p {
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 26px;
}

.social-analysis-eyebrow {
    display: inline-flex;
    color: #f97316;
    font-weight: 900;
    margin-bottom: 10px;
}

.social-analysis-form label {
    display: block;
    color: #111827;
    font-weight: 900;
    margin-bottom: 10px;
}

.social-analysis-input-row {
    display: flex;
    gap: 12px;
}

.social-analysis-input-row input {
    flex: 1;
    min-height: 58px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 22px;
    outline: none;
    font-size: 15px;
    color: #0f172a;
    background: #f8fafc;
}

.social-analysis-input-row input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    background: #ffffff;
}

.social-analysis-input-row button {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    padding: 0 26px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #111827;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.social-analysis-form small {
    display: block;
    margin-top: 12px;
    color: #64748b;
    line-height: 1.6;
}

.social-analysis-preview {
    position: relative;
    min-height: 360px;
    border-radius: 30px;
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.18), transparent 34%),
        linear-gradient(135deg, #08111f, #111827 58%, #1e293b);
    color: #ffffff;
    overflow: hidden;
}

.social-analysis-preview::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(22deg);
    animation: socialAnalyzerSweep 3.2s linear infinite;
    opacity: 0.55;
}

.social-analysis-preview > * {
    position: relative;
    z-index: 2;
}

.social-analysis-radar {
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: conic-gradient(#fbbf24 var(--social-percent, 0%), rgba(255, 255, 255, 0.12) 0);
}

.social-analysis-radar span {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #101b2f;
}

.social-analysis-radar strong {
    position: relative;
    z-index: 2;
    font-size: 31px;
    color: #fbbf24;
}

.social-analysis-preview h3 {
    margin: 0 0 10px;
    font-size: 30px;
}

.social-analysis-preview p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.social-analysis-progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 22px;
}

.social-analysis-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    transition: width 0.2s ease;
}

.social-analysis-checks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-analysis-checks li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.social-analysis-checks li.is-ready {
    color: #fbbf24;
    font-weight: 800;
}

@keyframes socialAnalyzerSweep {
    from { transform: translateX(-30%) rotate(22deg); }
    to { transform: translateX(30%) rotate(22deg); }
}

/* RAPOR SAYFASI */

.social-report-page {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 34%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #fff7ed 100%);
    min-height: 100vh;
}

.social-report-hero {
    padding: 74px 0 34px;
}

.social-report-panel {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    align-items: stretch;
}

.social-report-score-card,
.social-report-summary-card,
.social-report-box {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
    border-radius: 30px;
    padding: 30px;
}

.social-report-score-card {
    display: grid;
    place-items: center;
    text-align: center;
}

.social-report-score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#f97316 var(--score, 0%), #e2e8f0 0);
    margin-bottom: 20px;
}

.social-report-score-circle span {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    font-size: 46px;
    font-weight: 900;
}

.social-report-score-card h1,
.social-report-summary-card h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.social-report-muted {
    color: #64748b;
    line-height: 1.7;
}

.social-report-account {
    display: inline-flex;
    padding: 9px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-weight: 900;
}

.social-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.social-report-bars {
    display: grid;
    gap: 16px;
}

.social-report-bar-item strong {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #111827;
    margin-bottom: 8px;
}

.social-report-bar-track {
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.social-report-bar-track span {
    display: block;
    height: 100%;
    width: var(--bar, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #fbbf24);
}

.social-report-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-report-list li {
    position: relative;
    padding: 13px 0 13px 30px;
    color: #475569;
    line-height: 1.55;
    border-bottom: 1px solid #edf2f7;
}

.social-report-list li::before {
    position: absolute;
    left: 0;
    top: 13px;
    font-weight: 900;
}

.social-report-list.good li::before {
    content: "✓";
    color: #16a34a;
}

.social-report-list.bad li::before {
    content: "!";
    color: #f97316;
}

.social-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.social-report-actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 900;
}

.social-report-primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #111827;
}

.social-report-secondary {
    background: #0f172a;
    color: #ffffff;
}

@media (max-width: 900px) {
    .social-analysis-card,
    .social-report-panel,
    .social-report-grid {
        grid-template-columns: 1fr;
    }

    .social-analysis-input-row {
        flex-direction: column;
    }

    .social-analysis-input-row button {
        width: 100%;
    }

    .social-analysis-preview {
        min-height: auto;
    }
}


/* HİZMET KAPSAMI KART SEÇİM DÜZELTMESİ - STEP 3 */

.social-service-link-grid {
    align-items: stretch;
    overflow: visible;
}

.social-service-link-card {
    display: flex !important;
    flex-direction: column;
    min-height: 270px;
    height: auto !important;
    overflow: visible !important;
    color: #0f172a !important;
    text-decoration: none !important;
    cursor: pointer;
}

.social-service-link-card h3 {
    color: #0f172a;
}

.social-service-link-card p {
    color: #475569;
    margin-bottom: 18px;
}

.social-service-link-card span {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 13px;
    font-weight: 900;
}

.social-service-link-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    border-color: rgba(249, 115, 22, 0.26);
}

.social-service-link-card:hover span {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #111827;
}

@media (max-width: 768px) {
    .social-service-link-card {
        min-height: auto;
    }
}


/* RAPOR POPUP VE HEADER/FOOTER DÜZELTMESİ - STEP 5 */

.social-report-modal-open {
    overflow: hidden;
}

.social-report-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    padding: 24px;
}

.social-report-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.social-report-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    height: min(88vh, 920px);
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.social-report-modal-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 22px;
    background: #08111f;
    color: #ffffff;
}

.social-report-modal-header strong {
    font-size: 17px;
}

.social-report-modal-header button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.social-report-modal iframe {
    width: 100%;
    height: calc(100% - 64px);
    border: 0;
    background: #ffffff;
}

.social-report-popup-page .site-header,
.social-report-popup-page .site-footer {
    display: none !important;
}

.social-report-popup-page .social-report-hero {
    padding-top: 34px;
}

.social-report-page .site-header .main-nav {
    gap: 16px;
}

.social-report-page .site-footer .footer-inner div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-report-page .site-footer .footer-inner a {
    margin-left: 0;
}

@media (max-width: 768px) {
    .social-report-modal {
        padding: 10px;
    }

    .social-report-modal-dialog {
        height: 92vh;
        border-radius: 22px;
    }

    .social-report-modal-header {
        height: 58px;
        padding: 0 16px;
    }

    .social-report-modal-header strong {
        font-size: 14px;
    }

    .social-report-modal iframe {
        height: calc(100% - 58px);
    }
}
