/* =====================================================
   NATURALIS - ACTIV6 Kazanç Planı & Yardım Merkezi
   Ultra Modern, Sade & Görselleştirilmiş Tasarım Sistemi
   ===================================================== */

:root {
    --sidebar-width: 290px;
    --topbar-height: 68px;
    
    /* Naturalis Marka Renkleri */
    --color-primary: #0f172a;        /* Derin Lüks Lacivert / Arduvaz */
    --color-primary-light: #1e293b;  /* Açık Arduvaz */
    --color-primary-dark: #090d16;   /* Koyu Arduvaz */
    
    --color-emerald: #10b981;        /* Zümrüt Yeşili */
    --color-emerald-dark: #059669;   /* Koyu Zümrüt */
    --color-emerald-light: #ecfdf5;  /* Açık Zümrüt Arka Plan */
    --color-emerald-border: #a7f3d0;
    
    --color-gold: #d97706;           /* Şampanya Altını */
    --color-gold-dark: #b45309;      /* Koyu Altın */
    --color-gold-light: #fffbeb;     /* Açık Altın Arka Plan */
    --color-gold-border: #fde68a;
    
    --color-blue: #2563eb;           /* İkili / Bilgi Mavisi */
    --color-blue-light: #eff6ff;
    --color-blue-border: #bfdbfe;
    
    --color-purple: #7c3aed;         /* Liderlik Moru */
    --color-purple-light: #f5f3ff;
    --color-purple-border: #ddd6fe;

    --color-orange: #ea580c;         /* Kampanya Turuncusu */
    --color-orange-light: #fff7ed;
    --color-orange-border: #fed7aa;

    --color-rose: #e11d48;           /* Ödül Pembesi */
    --color-rose-light: #fff1f2;
    --color-rose-border: #fecdd3;
    
    --color-bg: #f8fafc;             /* Ana Zemin */
    --color-card: #ffffff;           /* Kart Zemini */
    --color-card-border: #e2e8f0;    /* Kart Kenarlığı */
    
    --color-text: #0f172a;           /* Ana Metin */
    --color-text-muted: #64748b;     /* Yardımcı Metin */
    --color-text-light: #94a3b8;     /* İkincil Metin */
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.09);
    --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
    --shadow-glow-gold: 0 0 25px rgba(217, 119, 6, 0.25);
    
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #134e4a 100%);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}
.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.topbar-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-title-wrap {
    display: flex;
    flex-direction: column;
}
.topbar-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar-badge-plan {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.topbar-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.topbar-search-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
    margin: 0 20px;
}
.topbar-search-input {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0 18px 0 42px;
    color: #fff;
    font-size: 13.5px;
    transition: var(--transition);
}
.topbar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.topbar-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.topbar-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    pointer-events: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.topbar-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.topbar-btn-back:hover {
    background: var(--color-emerald);
    border-color: var(--color-emerald);
    color: #fff;
    transform: translateY(-1px);
}

/* =====================================================
   LAYOUT WRAPPER & SIDEBAR
   ===================================================== */
.layout-wrapper {
    display: flex;
    margin-top: var(--topbar-height);
    min-height: calc(100vh - var(--topbar-height));
}

.sidebar {
    width: var(--sidebar-width);
    background: #0f172a;
    border-right: 1px solid #1e293b;
    position: fixed;
    top: var(--topbar-height);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.sidebar-header {
    padding: 20px 20px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-header i {
    color: var(--color-gold);
    font-size: 14px;
}

.sidebar-nav {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-divider {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #64748b;
    padding: 16px 12px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transform: translateX(3px);
}
.nav-item.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: #10b981;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--color-emerald);
    border-radius: 0 4px 4px 0;
}
.nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: var(--transition);
}
.nav-item:hover .nav-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.nav-item.active .nav-icon {
    background: var(--color-emerald);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.nav-badge-pill {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.sidebar-footer {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-footer-link {
    color: var(--color-emerald);
    text-decoration: none;
    font-weight: 700;
}

/* =====================================================
   MAIN CONTENT AREA
   ===================================================== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* =====================================================
   INTRO BAND / HERO BANNER (Her Sayfanın Üst Başlığı)
   ===================================================== */
.intro-band {
    padding: 40px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #064e3b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.intro-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.intro-band::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.intro-band.ib-emerald {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0f172a 100%);
}
.intro-band.ib-gold {
    background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #0f172a 100%);
}
.intro-band.ib-purple {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #0f172a 100%);
}
.intro-band.ib-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0f172a 100%);
}
.intro-band.ib-orange {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #0f172a 100%);
}
.intro-band.ib-teal {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #0f172a 100%);
}

.ib-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.ib-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}
.ib-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}
.ib-breadcrumb a:hover {
    color: #fff;
}
.ib-breadcrumb i {
    font-size: 10px;
    opacity: 0.6;
}

.ib-header-main {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}
.ib-icon-box {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.ib-title-wrap {
    flex: 1;
}
.ib-title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
}
.ib-sub {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

.ib-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.ib-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(8px);
}
.ib-tag i {
    color: #fde047;
    font-size: 13px;
}

/* =====================================================
   PAGE BODY CONTAINER & STEP CARDS
   ===================================================== */
.page-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 32px 60px;
    flex: 1;
}

/* 3 Cümlede Özet / İlkokul Seviyesinde Mantık Kutusu */
.simple-concept-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #86efac;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.simple-concept-box::after {
    content: '\f0eb';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    bottom: -15px;
    font-size: 110px;
    color: rgba(16, 185, 129, 0.07);
    pointer-events: none;
}
.sc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.sc-badge {
    background: #10b981;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
}
.sc-title {
    font-size: 18px;
    font-weight: 800;
    color: #065f46;
    margin: 0;
}
.sc-content {
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
    margin: 0;
}
.sc-highlight {
    font-weight: 800;
    color: #047857;
    background: #dcfce7;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Adım Kartları (Step Cards) */
.adim-card {
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.adim-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.adim-header {
    padding: 20px 28px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.adim-num {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}
.adim-header-text {
    flex: 1;
}
.adim-step-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: block;
}
.adim-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
}
.adim-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin: 4px 0 0;
}

/* Renk Temaları */
.ac-emerald .adim-num { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35); }
.ac-emerald .adim-step-tag { color: #059669; }
.ac-emerald .adim-header { background: #f0fdf4; border-bottom-color: #dcfce7; }

.ac-gold .adim-num { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35); }
.ac-gold .adim-step-tag { color: #d97706; }
.ac-gold .adim-header { background: #fffbeb; border-bottom-color: #fef3c7; }

.ac-purple .adim-num { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35); }
.ac-purple .adim-step-tag { color: #6d28d9; }
.ac-purple .adim-header { background: #f5f3ff; border-bottom-color: #ede9fe; }

.ac-blue .adim-num { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35); }
.ac-blue .adim-step-tag { color: #1d4ed8; }
.ac-blue .adim-header { background: #eff6ff; border-bottom-color: #dbeafe; }

.ac-orange .adim-num { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35); }
.ac-orange .adim-step-tag { color: #ea580c; }
.ac-orange .adim-header { background: #fff7ed; border-bottom-color: #ffedd5; }

.adim-body {
    padding: 28px;
}

/* =====================================================
   FORMÜL & HESAPLAMA GÖRSELLEŞTİRİCİ (Kutucuklu Formül)
   ===================================================== */
.formula-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px 0;
}
.f-box {
    background: #fff;
    border: 2px solid;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    min-width: 140px;
    flex: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.f-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.f-box .fb-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
.f-box .fb-val {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}
.f-box .fb-sub {
    font-size: 11.5px;
    opacity: 0.75;
    margin-top: 4px;
}

.fb-emerald { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.fb-emerald .fb-label { color: #059669; }
.fb-gold    { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.fb-gold .fb-label    { color: #d97706; }
.fb-blue    { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }
.fb-blue .fb-label    { color: #2563eb; }
.fb-purple  { background: #f5f3ff; border-color: #c4b5fd; color: #5b21b6; }
.fb-purple .fb-label  { color: #7c3aed; }
.fb-solid-emerald { background: #10b981; border-color: #059669; color: #fff; }
.fb-solid-emerald .fb-label { color: rgba(255, 255, 255, 0.85); }
.fb-solid-gold { background: #d97706; border-color: #b45309; color: #fff; }
.fb-solid-gold .fb-label { color: rgba(255, 255, 255, 0.85); }

.f-op {
    font-size: 28px;
    font-weight: 900;
    color: #94a3b8;
    flex-shrink: 0;
}

/* =====================================================
   İNTERAKTİF HESAPLAYICI (Live Simulation Calculator)
   ===================================================== */
.calc-widget {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: #fff;
    margin: 24px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-title {
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
}
.calc-title i {
    color: var(--color-emerald);
}
.calc-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.calc-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calc-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
}
.calc-val-display {
    font-weight: 800;
    color: #34d399;
}
.calc-select, .calc-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}
.calc-select:focus, .calc-input:focus {
    border-color: var(--color-emerald);
    background: rgba(255, 255, 255, 0.14);
}
.calc-select option {
    background: #1e293b;
    color: #fff;
}
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-emerald);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.calc-result-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.cr-left {
    display: flex;
    flex-direction: column;
}
.cr-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}
.cr-note {
    font-size: 12.5px;
    color: #cbd5e1;
    margin-top: 4px;
}
.cr-amount {
    font-size: 32px;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
    letter-spacing: -0.5px;
}

/* =====================================================
   TABLOLAR & PANEL MOCKUP'LARI (Gerçek Sistem Önizlemesi)
   ===================================================== */
.ui-mockup-wrap {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}
.ui-mockup-bar {
    background: #0f172a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}
.ui-dots {
    display: flex;
    gap: 6px;
    margin-right: 8px;
}
.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ui-dot.red { background: #ef4444; }
.ui-dot.yellow { background: #f59e0b; }
.ui-dot.green { background: #10b981; }

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
}
.modern-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}
.modern-table td {
    padding: 14px 18px;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
.modern-table tbody tr:hover {
    background: #f8fafc;
}
.modern-table tbody tr:last-child td {
    border-bottom: none;
}
.modern-table .text-right {
    text-align: right;
}
.modern-table .text-center {
    text-align: center;
}

.career-ladder-table {
    width: 100%;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.career-ladder-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #e2e8f0;
}
.career-ladder-table td {
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.career-ladder-table tbody tr:hover td {
    background: #f8fafc;
}
.career-ladder-table tbody tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   KARTLAR & AÇIKLAMA ELEMANLARI (Comparison / Info Cards)
   ===================================================== */
.info-box-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 18px 0;
    font-size: 14px;
    line-height: 1.6;
}
.iba-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.iba-warning i {
    color: #d97706;
    font-size: 18px;
    margin-top: 2px;
}
.iba-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.iba-success i {
    color: #10b981;
    font-size: 18px;
    margin-top: 2px;
}
.iba-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.iba-info i {
    color: #2563eb;
    font-size: 18px;
    margin-top: 2px;
}

/* Sıkça Sorulan Sorular Accordion */
.faq-wrap {
    margin-top: 30px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}
.faq-question:hover {
    background: #f8fafc;
}
.faq-icon-arrow {
    transition: transform 0.25s ease;
    color: #94a3b8;
}
.faq-item.open .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--color-emerald);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.faq-item.open .faq-answer {
    padding: 0 20px 18px;
    max-height: 300px;
}

/* =====================================================
   ANA SAYFA / DASHBOARD MODÜL KARTLARI
   ===================================================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 28px;
}
.module-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
    transition: var(--transition);
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.module-card.card-emerald::before { background: linear-gradient(90deg, #10b981, #059669); }
.module-card.card-gold::before    { background: linear-gradient(90deg, #f59e0b, #d97706); }
.module-card.card-purple::before  { background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.module-card.card-blue::before    { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.module-card.card-orange::before  { background: linear-gradient(90deg, #f97316, #ea580c); }
.module-card.card-teal::before    { background: linear-gradient(90deg, #14b8a6, #0f766e); }
.module-card.card-rose::before    { background: linear-gradient(90deg, #f43f5e, #e11d48); }

.mc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.card-emerald .mc-icon { background: #ecfdf5; color: #10b981; }
.card-gold .mc-icon    { background: #fffbeb; color: #d97706; }
.card-purple .mc-icon  { background: #f5f3ff; color: #7c3aed; }
.card-blue .mc-icon    { background: #eff6ff; color: #2563eb; }
.card-orange .mc-icon  { background: #fff7ed; color: #ea580c; }
.card-teal .mc-icon    { background: #f0fdfa; color: #0d9488; }
.card-rose .mc-icon    { background: #fff1f2; color: #e11d48; }

.mc-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}
.card-emerald .mc-badge { background: #dcfce7; color: #065f46; }
.card-gold .mc-badge    { background: #fef3c7; color: #92400e; }
.card-purple .mc-badge  { background: #ede9fe; color: #5b21b6; }
.card-blue .mc-badge    { background: #dbeafe; color: #1e40af; }
.card-orange .mc-badge  { background: #ffedd5; color: #9a3412; }

.mc-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 8px;
}
.mc-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0 0 18px;
    flex: 1;
}

.mc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
}
.mc-footer i {
    transition: transform 0.2s ease;
}
.module-card:hover .mc-footer i {
    transform: translateX(4px);
    color: var(--color-emerald);
}

/* =====================================================
   RESPONSIVE DESIGN (Mobil Uyumluluk)
   ===================================================== */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-toggle {
        display: flex;
    }
    .main-content {
        margin-left: 0;
    }
    .intro-band {
        padding: 30px 24px;
    }
    .page-container {
        padding: 24px 16px 50px;
    }
    .ib-title {
        font-size: 24px;
    }
    .topbar-search-wrap {
        display: none;
    }
    .formula-strip {
        flex-direction: column;
    }
    .f-op {
        transform: rotate(90deg);
        margin: 4px 0;
    }
}

/* =====================================================
   GENEL UTILITY & GRID SINIFLARI (Bootstrap Bağımsızlığı)
   ===================================================== */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-muted { color: #64748b !important; }
.text-white { color: #ffffff !important; }
.text-primary { color: #2563eb !important; }
.text-success { color: #10b981 !important; }
.text-warning { color: #f59e0b !important; }
.text-danger { color: #ef4444 !important; }

.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }
.gap-5 { gap: 32px !important; }

.p-1 { padding: 4px !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }

.my-1 { margin-top: 4px !important; margin-bottom: 4px !important; }
.my-2 { margin-top: 8px !important; margin-bottom: 8px !important; }
.my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.my-4 { margin-top: 24px !important; margin-bottom: 24px !important; }

.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }

.rounded-1 { border-radius: 4px !important; }
.rounded-2 { border-radius: 8px !important; }
.rounded-3 { border-radius: 12px !important; }
.rounded-pill { border-radius: 9999px !important; }
.rounded-circle { border-radius: 50% !important; }

.border { border: 1px solid #e2e8f0 !important; }
.border-top { border-top: 1px solid #e2e8f0 !important; }
.border-bottom { border-bottom: 1px solid #e2e8f0 !important; }

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
.row > * {
    box-sizing: border-box;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
}
.g-2 { margin-right: -4px; margin-left: -4px; }
.g-2 > * { padding-right: 4px; padding-left: 4px; margin-bottom: 8px; }
.g-3 { margin-right: -8px; margin-left: -8px; }
.g-3 > * { padding-right: 8px; padding-left: 8px; margin-bottom: 16px; }
.g-4 { margin-right: -12px; margin-left: -12px; }
.g-4 > * { padding-right: 12px; padding-left: 12px; margin-bottom: 24px; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 999px;
}
.bg-primary { background-color: #2563eb !important; color: #fff !important; }
.bg-success { background-color: #10b981 !important; color: #fff !important; }
.bg-warning { background-color: #f59e0b !important; color: #1e293b !important; }
.bg-danger { background-color: #ef4444 !important; color: #fff !important; }
.bg-secondary { background-color: #64748b !important; color: #fff !important; }
.bg-dark { background-color: #0f172a !important; color: #fff !important; }

/* Progress */
.progress {
    display: flex;
    height: 10px;
    overflow: hidden;
    font-size: 9px;
    background-color: #e2e8f0;
    border-radius: 999px;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #10b981;
    transition: width 0.6s ease;
}

/* =====================================================
   BİNARY & ORGANİZASYON AĞAÇ DİYAGRAMI (Tree Canvas)
   ===================================================== */
.tree-diagram-container {
    background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    overflow-x: auto;
    position: relative;
    user-select: none;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
}
.tree-diagram-container::-webkit-scrollbar {
    height: 8px;
}
.tree-diagram-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.tree-canvas {
    min-width: 680px;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tree-level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

/* Node Kutuları */
.tree-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    position: relative;
    z-index: 2;
}
.tree-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.tree-node-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 6px;
}

.tree-node-title {
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.2;
}

.tree-node-sub {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
}

/* Renk Çeşitleri */
.tree-node-root {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
    color: #ffffff;
    min-width: 190px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}
.tree-node-root .tree-node-avatar {
    background: rgba(255, 255, 255, 0.12);
    color: #f59e0b;
}

.tree-node-left {
    background: #eff6ff;
    border-color: #60a5fa;
    color: #1e3a8a;
    min-width: 170px;
}
.tree-node-left .tree-node-avatar {
    background: #dbeafe;
    color: #2563eb;
}

.tree-node-right {
    background: #f0fdf4;
    border-color: #4ade80;
    color: #065f46;
    min-width: 170px;
}
.tree-node-right .tree-node-avatar {
    background: #dcfce7;
    color: #10b981;
}

.tree-node-spillover {
    background: #fffbeb;
    border: 2px dashed #f59e0b;
    color: #92400e;
    min-width: 130px;
}
.tree-node-spillover .tree-node-avatar {
    background: #fef3c7;
    color: #d97706;
}

.tree-node-child {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    min-width: 130px;
}
.tree-node-child .tree-node-avatar {
    background: #f1f5f9;
    color: #64748b;
}

.tree-node-empty {
    background: #f8fafc;
    border: 2px dashed #94a3b8;
    color: #64748b;
    min-width: 130px;
    opacity: 0.8;
}
.tree-node-empty .tree-node-avatar {
    background: #f1f5f9;
    color: #94a3b8;
}

/* Bağlantı Çizgileri & Hiyerarşik Ağaç Şeması */
.tree-stem-down {
    width: 2px;
    height: 18px;
    background: #94a3b8;
    margin: 0 auto;
}

.tree-branches-row {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}
.tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px 0;
    position: relative;
}
.tree-branch::before {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 16px;
    border-top: 2px solid #94a3b8;
}
.tree-branch:first-child::before {
    right: 0;
    border-left: 2px solid #94a3b8;
    border-top-left-radius: 8px;
}
.tree-branch:last-child::before {
    left: 0;
    border-right: 2px solid #94a3b8;
    border-top-right-radius: 8px;
}

.tree-subbranches-row {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}
.tree-subbranch {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px 0;
    position: relative;
}
.tree-subbranch::before {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 14px;
    border-top: 2px solid #cbd5e1;
}
.tree-subbranch:first-child::before {
    right: 0;
    border-left: 2px solid #cbd5e1;
    border-top-left-radius: 6px;
}
.tree-subbranch:last-child::before {
    left: 0;
    border-right: 2px solid #cbd5e1;
    border-top-right-radius: 6px;
}


/* Ağaç Lejantı (Açıklama Çubuğu) */
.tree-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.tree-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}
.tree-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

