@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================

   FAMEVISO PREMIUM INFLUENCER EARNINGS CALCULATOR

   ========================================================================== */

.fv-calculator-page {

    /* Renk Paleti ve Değişkenler (Aydınlık Mod) */

    --fv-font: 'Inter', -apple-system, sans-serif;

    --fv-primary: #10b981;       /* Zümrüt Yeşili */

    --fv-primary-hover: #059669;

    --fv-accent: #3b82f6;        /* Mavi */

    --fv-danger: #ef4444;        /* Hata/Uyarı */

    --fv-text-dark: #0f172a;

    --fv-text-muted: #475569;

    --fv-bg-white: #ffffff;

    --fv-bg-soft: #f8fafc;

    --fv-border: #e2e8f0;

    --fv-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

    --fv-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);

    --fv-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --fv-radius-lg: 24px;

    --fv-radius-md: 16px;

    --fv-result-bg: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);

    --fv-result-border: rgba(226, 232, 240, 0.1);

    width: 100%;

    max-width: 1050px;

    margin: 0 auto;

    padding: 20px 0;

    font-family: var(--fv-font);

    color: var(--fv-text-dark);

    line-height: 1.6;

    box-sizing: border-box;

    transition: all 0.3s ease;

}

.fv-calculator-page * {

    box-sizing: border-box;

}

/* ==========================================================================

   GECE MODU (DARK MODE) ENTEGRASYONU

   ========================================================================== */

body.dark .fv-calculator-page {

    --fv-text-dark: #f8fafc;

    --fv-text-muted: #94a3b8;

    --fv-bg-white: #1e293b;   

    --fv-bg-soft: #0f172a;  

    --fv-border: #334155;

    --fv-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);

    --fv-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);

    --fv-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

    --fv-result-bg: linear-gradient(145deg, #020617 0%, #0f172a 100%);

    --fv-result-border: rgba(255, 255, 255, 0.05);

}

/* ==========================================================================

   BREADCRUMB (EKMEK KIRINTISI)

   ========================================================================== */

.fv-calculator-page .fv-breadcrumb {

    width: 100%; max-width: 800px; margin: 0 auto 35px auto; padding: 10px 20px;

    background: rgba(241, 245, 249, 0.6); border: 1px solid rgba(226, 232, 240, 0.8);

    border-radius: 50px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);

    display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; transition: all 0.3s ease;

}

.fv-calculator-page .fv-breadcrumb::-webkit-scrollbar { display: none; }

body.dark .fv-calculator-page .fv-breadcrumb { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.8); }

.fv-calculator-page .fv-breadcrumb ol {

    list-style: none; padding: 0; margin: 0; display: flex; align-items: center;

    flex-wrap: nowrap; font-size: 14px; font-weight: 500; width: max-content;

}

.fv-calculator-page .fv-breadcrumb li { display: flex; align-items: center; color: var(--fv-text-muted); margin: 0; white-space: nowrap; }

.fv-calculator-page .fv-breadcrumb li:not(:last-child)::after { content: '\276F'; margin: 0 12px; font-size: 11px; color: #94a3b8; font-weight: 400; opacity: 0.6; }

body.dark .fv-calculator-page .fv-breadcrumb li:not(:last-child)::after { color: #64748b; }

.fv-calculator-page .fv-breadcrumb a { color: var(--fv-text-muted); text-decoration: none; transition: color 0.2s ease; display: flex; align-items: center; }

.fv-calculator-page .fv-breadcrumb a svg { margin-right: 6px; stroke: var(--fv-primary); }

.fv-calculator-page .fv-breadcrumb a:hover { color: var(--fv-primary); }

.fv-calculator-page .fv-breadcrumb li.active {

    color: var(--fv-text-dark); font-weight: 700; background: var(--fv-bg-white);

    padding: 6px 14px; border-radius: 20px; box-shadow: var(--fv-shadow-sm); border: 1px solid var(--fv-border);

}

body.dark .fv-calculator-page .fv-breadcrumb li.active { background: #0f172a; color: #f8fafc; border-color: #334155; }

/* ==========================================================================

   HEADER / BAŞLIK

   ========================================================================== */

.fv-calc-header { text-align: center; margin-bottom: 45px; padding: 0 20px; }

.fv-calc-header .fv-service-title { 

    font-size: 34px; font-weight: 800; color: var(--fv-text-dark); 

    margin: 0 0 15px 0; letter-spacing: -0.03em; line-height: 1.3;

}

.fv-calc-header .fv-title-highlight {

    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-accent) 100%);

    -webkit-background-clip: text; -webkit-text-fill-color: transparent;

    font-weight: 900; display: inline-block; padding: 0 4px;

}

body.dark .fv-calc-header .fv-title-highlight { background: linear-gradient(135deg, #34d399 0%, #60a5fa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.fv-calc-header .fv-calc-subtitle { font-size: 16px; color: var(--fv-text-muted); font-weight: 500; max-width: 600px; margin: 0 auto; }

/* ==========================================================================

   HESAPLAYICI ANA WIDGET ALANI

   ========================================================================== */

.fv-calc-widget {

    display: flex; align-items: flex-start; gap: 40px;

    background: var(--fv-bg-white); border-radius: var(--fv-radius-lg);

    box-shadow: var(--fv-shadow-lg); border: 1px solid rgba(226, 232, 240, 0.5);

    padding: 45px; margin-bottom: 60px; transition: all 0.3s ease; position: relative;

}

body.dark .fv-calc-widget { border-color: var(--fv-border); }

/* Sol Form Alanı */

.fv-calc-form-area { flex: 1.3; width: 100%; }

.fv-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }

.fv-input-group.full-width { grid-column: 1 / -1; }

.fv-input-group { position: relative; transition: all 0.3s; }

.fv-input-group i {

    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);

    color: var(--fv-text-muted); pointer-events: none; z-index: 1; font-size: 16px;

    opacity: 0.6; transition: color 0.3s, opacity 0.3s;

}

.fv-input-group input,

.fv-input-group select {

    width: 100%; padding: 20px 18px 20px 48px;

    background: var(--fv-bg-soft); border: 2px solid var(--fv-border); border-radius: 14px;

    font-family: var(--fv-font); font-size: 15px; color: var(--fv-text-dark); font-weight: 600;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); appearance: none;

}

.fv-input-group select {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat; background-position: right 18px center; padding-right: 45px; cursor: pointer;

}

body.dark .fv-input-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); }

.fv-input-group input:focus, .fv-input-group select:focus {

    border-color: var(--fv-primary); background: var(--fv-bg-white);

    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); outline: none;

}

body.dark .fv-input-group input:focus, body.dark .fv-input-group select:focus { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3); }

.fv-input-group input:focus ~ i, .fv-input-group select:focus ~ i { color: var(--fv-primary); opacity: 1; }

.fv-input-group label {

    position: absolute; left: 48px; top: 50%; transform: translateY(-50%);

    font-size: 15px; color: var(--fv-text-muted); background: transparent;

    pointer-events: none; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; padding: 0 6px;

}

/* KESİN ÇÖZÜM: YAZILARIN ÜST ÜSTE BİNMESİNİ ENGELLEYEN PURE CSS */

.fv-input-group input:focus + label,

.fv-input-group select:focus + label,

.fv-input-group input:not(:placeholder-shown) + label,

.fv-input-group select:valid + label {

    top: -2px; left: 16px; font-size: 12px; font-weight: 800; color: var(--fv-primary);

    background: var(--fv-bg-white); border-radius: 6px; letter-spacing: 0.5px; text-transform: uppercase;

}

body.dark .fv-input-group input:focus + label, 

body.dark .fv-input-group select:focus + label,

body.dark .fv-input-group input:not(:placeholder-shown) + label,

body.dark .fv-input-group select:valid + label { 

    background: var(--fv-bg-soft); 

}

/* Shake Animation for Errors */

@keyframes fv-shake {

    0%, 100% { transform: translateX(0); }

    25% { transform: translateX(-5px); }

    75% { transform: translateX(5px); }

}

.fv-btn-calculate {

    width: 100%; padding: 20px; border: none; border-radius: 14px;

    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-hover) 100%);

    color: #fff; font-size: 17px; font-weight: 800; font-family: var(--fv-font);

    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.4);

    letter-spacing: 0.5px; text-transform: uppercase;

}

.fv-btn-calculate svg { transition: transform 0.3s ease; }

.fv-btn-calculate:hover { transform: translateY(-3px); box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.5); }

.fv-btn-calculate:hover svg { transform: translateX(5px); }

/* Sağ Sonuç Kartı Alanı */

.fv-calc-result-area { flex: 0.9; position: sticky; top: 30px; width: 100%; }

.fv-result-card {

    background: var(--fv-result-bg); border-radius: var(--fv-radius-lg); padding: 45px 35px; 

    text-align: center; position: relative; overflow: hidden; color: #fff;

    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); border: 1px solid var(--fv-result-border);

    display: flex; flex-direction: column; align-items: center; justify-content: center;

    min-height: 380px; transition: all 0.4s ease;

}

.fv-result-card::before {

    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;

    background: linear-gradient(90deg, var(--fv-primary), var(--fv-accent));

}

.fv-result-card::after {

    content: ''; position: absolute; width: 200px; height: 200px; background: rgba(59, 130, 246, 0.1);

    filter: blur(50px); top: -50px; right: -50px; border-radius: 50%; pointer-events: none;

}

.result-badge {

    font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: #94a3b8;

    margin-bottom: 20px; text-transform: uppercase; z-index: 1;

}

.result-amount {

    font-size: 58px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; 

    letter-spacing: -2px; z-index: 1; transition: color 0.3s ease, text-shadow 0.3s ease;

}

.result-amount.calculated { color: #34d399; text-shadow: 0 0 30px rgba(52, 211, 153, 0.4); }

.result-desc { font-size: 15px; color: #cbd5e1; font-weight: 500; margin-bottom: 35px; z-index: 1; }

.result-stats {

    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);

    border-radius: 16px; padding: 20px; width: 100%; margin-bottom: 25px;

    display: flex; justify-content: space-between; z-index: 1; backdrop-filter: blur(10px);

}

.stat-item { display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: center; border-right: 1px solid rgba(255,255,255,0.1); }

.stat-item:last-child { border-right: none; }

.stat-item span { font-size: 12px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }

.stat-item strong { font-size: 20px; color: #fff; font-weight: 800; }

.badge-quality { padding: 4px 12px; border-radius: 8px; font-size: 13px !important; letter-spacing: 0.5px;}

.badge-quality.low { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

.badge-quality.average { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }

.badge-quality.good { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }

.badge-quality.excellent { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2)); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }

.result-footer-text { font-size: 13px; color: #64748b; line-height: 1.6; display: flex; gap: 10px; text-align: left; z-index: 1; }

.result-footer-text svg { flex-shrink: 0; color: #94a3b8; margin-top: 2px; }

/* Number Input Oklarını Gizle */

input[type=number]::-webkit-inner-spin-button, 

input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

input[type=number] { -moz-appearance: textfield; }

/* ==========================================================================

   YEPYENİ PREMIUM SEO MAKALELERİ TASARIMI

   ========================================================================== */

.fv-dynamic-seo { 

    display: grid; grid-template-columns: 1fr; gap: 30px; margin: 50px auto 60px; 

}

.fv-dynamic-seo .info-container, 

.fv-dynamic-seo .article-container {

    background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg);

    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05); padding: 45px 40px; position: relative; overflow: hidden;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}

.fv-dynamic-seo .info-container::before, .fv-dynamic-seo .article-container::before {

    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;

    background: linear-gradient(90deg, var(--fv-primary), var(--fv-accent)); opacity: 0; transition: opacity 0.4s ease;

}

.fv-dynamic-seo .info-container:hover, .fv-dynamic-seo .article-container:hover { 

    transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1); border-color: transparent;

}

body.dark .fv-dynamic-seo .info-container:hover, body.dark .fv-dynamic-seo .article-container:hover { box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); }

.fv-dynamic-seo .info-container:hover::before, .fv-dynamic-seo .article-container:hover::before { opacity: 1; }

.fv-dynamic-seo .article-container { background: linear-gradient(145deg, var(--fv-bg-white) 0%, var(--fv-bg-soft) 100%); border: 1px solid rgba(16, 185, 129, 0.2); }

body.dark .fv-dynamic-seo .article-container { background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%); border: 1px solid rgba(16, 185, 129, 0.15); }

.fv-dynamic-seo h2 { font-size: 22px; color: var(--fv-text-dark); margin-top: 0; margin-bottom: 25px; padding-bottom: 15px; font-weight: 800; letter-spacing: -0.02em; position: relative; }

.fv-dynamic-seo h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--fv-primary); border-radius: 10px; }

.fv-dynamic-seo p { color: var(--fv-text-muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 20px; }

.fv-dynamic-seo strong { color: var(--fv-text-dark); font-weight: 700; }

body.dark .fv-dynamic-seo strong { color: #f8fafc; }

.fv-dynamic-seo ul, .fv-dynamic-seo ol { padding: 0; margin: 0 0 25px 0; list-style: none; }

.fv-dynamic-seo li { position: relative; padding: 14px 15px 14px 50px; margin-bottom: 14px; background: var(--fv-bg-soft); border-radius: 12px; color: var(--fv-text-muted); font-size: 15px; line-height: 1.6; transition: all 0.3s ease; border: 1px solid transparent; }

.fv-dynamic-seo li:hover { background: var(--fv-bg-white); border-color: var(--fv-border); transform: translateX(6px); box-shadow: var(--fv-shadow-sm); color: var(--fv-text-dark); }

body.dark .fv-dynamic-seo li { background: #0f172a; }

body.dark .fv-dynamic-seo li:hover { background: #1e293b; border-color: #334155; }

.fv-dynamic-seo ul li::before { content: ''; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; background-color: rgba(16, 185, 129, 0.15); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

/* --- FAQ ALANI --- */

.faq-container { background: var(--fv-bg-white); border: 1px solid var(--fv-border); border-radius: var(--fv-radius-lg); box-shadow: var(--fv-shadow-md); padding: 45px 40px; margin-bottom: 50px; transition: all 0.3s ease;}

body.dark .faq-container { background: var(--fv-bg-soft); }

.faq-title { text-align: center; margin-top:0; margin-bottom: 35px; border:none; color: var(--fv-text-dark); font-size: 24px; font-weight: 800;}

.faq-item { margin-bottom: 15px; border: 1px solid var(--fv-border); border-radius: 14px; background: var(--fv-bg-white); overflow: hidden; transition: all 0.3s ease;}

body.dark .faq-item { background: #0f172a; }

.faq-item h3 { font-family: var(--fv-font); font-size: 16px; font-weight: 700; color: var(--fv-text-dark); background: var(--fv-bg-soft); padding: 22px 24px; margin: 0; cursor: pointer; display: flex; justify-content: space-between; transition: all 0.3s ease; }

.faq-item h3:hover { background: #f1f5f9; color: var(--fv-accent); }

body.dark .faq-item h3:hover { background: #1e293b; color: #60a5fa; }

.faq-item h3::after { content: '+'; font-size: 22px; font-weight: 400; color: #94a3b8; }

.faq-answer { padding: 20px 24px; margin: 0; font-size: 15px; color: var(--fv-text-muted); border-top: 1px solid var(--fv-border); display: none; line-height: 1.7; transition: all 0.3s ease;}

/* DESKTOP GRID */

@media (min-width: 1024px) {

    .fv-dynamic-seo { grid-template-columns: 1fr 1fr; gap: 30px;}

    .fv-dynamic-seo .info-container:first-child, .fv-dynamic-seo .article-container:first-child { grid-column: 1 / -1; }

}

/* ==========================================================================

   MOBİL (RESPONSIVE) KUSURSUZ UYUM 

   ========================================================================== */

@media screen and (max-width: 768px) {

    .fv-calculator-page { padding: 10px; }

    .fv-calc-widget { flex-direction: column; padding: 25px 20px; gap: 35px; border-radius: var(--fv-radius-md); }

    .fv-calc-form-area, .fv-calc-result-area { width: 100%; flex: none; }

    .fv-calc-result-area { position: relative; top: 0; }

    .fv-calc-grid { grid-template-columns: 1fr; gap: 18px; }

    .fv-input-group input, .fv-input-group select { padding: 16px 16px 16px 42px; font-size: 14px; }

    .result-amount { font-size: 46px; }

    .fv-calc-header .fv-service-title { font-size: 26px; }

    .fv-dynamic-seo { grid-template-columns: 1fr; margin: 20px 0; gap: 20px;}

    .fv-dynamic-seo .info-container, .fv-dynamic-seo .article-container, .faq-container { padding: 30px 20px; border-radius: var(--fv-radius-md); }

    .fv-dynamic-seo h2 { font-size: 20px; }

    .faq-item h3 { font-size: 15px; padding: 16px 20px; }

}

/* Swal2 Popup Özelleştirmeleri */

body.swal2-shown:not(.swal2-no-backdrop) .swal2-container { background-color: rgba(15, 23, 42, 0.8) !important; backdrop-filter: blur(10px); }

.fv-modal__popup.swal2-popup { border-radius: 24px !important; padding: 40px 30px 30px !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important; font-family: 'Inter', sans-serif !important; background: #ffffff !important; width: 92% !important; max-width: 450px !important; }

body.dark .fv-modal__popup.swal2-popup { background: #1e293b !important; border: 1px solid #334155; }

.fv-modal__title { font-size: 22px !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 15px !important; }

body.dark .fv-modal__title { color: #f8fafc !important; }

.fv-btn-confirm { background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; color: white !important; padding: 14px 30px !important; border-radius: 12px !important; font-weight: 700 !important; width: 100%; margin-top: 15px;}