/* 3Han Danışmanlık - iMac-Inspired Ultra Premium Design */

/* Google Fonts Inter - @import yerine header.php'de link tag kullanılıyor */

:root {
    --primary-color: #e63946;
    --primary-dark: #d62839;
    --primary-light: #ff6b7a;
    --secondary-color: #ff6b9d;
    --accent-color: #f77f00;
    --text-dark: #1d1d1f;
    --text-medium: #424245;
    --text-light: #86868b;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --bg-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bg-gradient-cta: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 8px 32px rgba(0,0,0,0.12);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Performance Optimizations */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Will-change optimization - performans için minimal kullanım */
.navbar:hover, .navbar-brand:hover, .sidebar-item:hover, 
.apple-stat-card:hover, .apple-widget-card:hover,
.service-card:hover, .team-card:hover {
    will-change: transform;
}

/* Remove will-change after animation - performans */
.navbar, .navbar-brand, .sidebar-item, .apple-stat-card, .apple-widget-card {
    will-change: auto;
}

/* GPU acceleration for animated elements */
.gradient-orb, .hero-section::before, .hero-section::after,
.cta-banner::before, .cta-banner::after {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Contain layout for better performance - CSS containment */
/* Panel container'ları için containment kaldırıldı - içerik görünürlüğü için */
.service-card, .team-card {
    contain: layout style paint;
}

/* Panel elementleri için containment yok - görünürlük sorunu olmasın */
/* contain: layout style paint; - Kaldırıldı: içerik görünürlüğü için */

/* Optimize repaints */
.sidebar-item, .dropdown-item, .nav-link {
    contain: layout style;
}

/* Reduce composite layers */
body {
    transform: translateZ(0);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fbfbfd;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    contain: layout style;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}


.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 160px 0 140px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0); /* GPU acceleration */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
    will-change: transform;
    transform: translateZ(0); /* GPU acceleration */
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -30px, 0); }
}

@keyframes rotate {
    from { transform: rotate(0deg) translateZ(0); }
    to { transform: rotate(360deg) translateZ(0); }
}

/* Optimize animations - use transform3d for GPU acceleration */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
    letter-spacing: -2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

.hero-section p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    opacity: 0.9;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 400;
    letter-spacing: -0.4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   CTA BANNER - iMac Style
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border-radius: 36px;
    padding: 100px 80px;
    margin: 140px 0;
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(230, 57, 70, 0.2),
        0 0 0 0.5px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    animation: pulse 5s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: pulse 7s ease-in-out infinite reverse;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes pulse {
    0%, 100% {
        transform: scale3d(1, 1, 1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale3d(1.15, 1.15, 1) rotate(180deg);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
    letter-spacing: -1.5px;
}

.cta-banner p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.92;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.cta-button {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 20px 56px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:hover {
    color: var(--bg-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* ============================================
   PAGE HERO - iMac Style
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
    letter-spacing: -2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

.page-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    opacity: 0.88;
    font-weight: 400;
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

/* ============================================
   CARDS - iMac Style Ultra Clean
   ============================================ */
.content-card,
.content-card-large {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    padding: 56px;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.content-card-large {
    padding: 64px;
}

.content-card:hover,
.content-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2.2rem;
    box-shadow: 
        0 4px 16px rgba(230, 57, 70, 0.2),
        0 0 0 0.5px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 8px 24px rgba(230, 57, 70, 0.25),
        0 0 0 0.5px rgba(255, 255, 255, 0.15) inset;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

.feature-card .btn {
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.9rem;
}

.feature-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Service Cards */
.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.9rem;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.2);
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(245, 245, 247, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
    border-color: rgba(0, 0, 0, 0.06);
}

.service-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 4px;
}

.service-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: -0.4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

.service-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* News Cards */
.news-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.news-image,
.news-image-placeholder {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-image-placeholder i {
    font-size: 4.5rem;
    color: rgba(255,255,255,0.4);
}

.news-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.1px;
}

.news-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.news-content h3 a:hover {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.news-content p {
    color: var(--text-light);
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Duyurular Hero Cards */
.duyurular-hero-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.duyuru-hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.duyuru-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 113, 227, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.duyuru-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.duyuru-hero-card:hover::before {
    opacity: 1;
}

.duyuru-hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.duyuru-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.duyuru-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.duyuru-hero-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.1px;
}

.duyuru-hero-date i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.duyuru-hero-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 113, 227, 0.8) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.1px;
}

.duyuru-hero-badge i {
    font-size: 0.7rem;
}

.duyuru-hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.duyuru-keyword-tag {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 8px;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
}

.duyuru-hero-card:hover .duyuru-keyword-tag {
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
}

.duyuru-hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.6px;
    color: var(--text-dark);
    margin: 0;
}

.duyuru-hero-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.duyuru-hero-link:hover {
    color: var(--primary-color);
}

.duyuru-hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    letter-spacing: -0.2px;
    margin: 0;
}

.duyuru-hero-footer {
    margin-top: 8px;
}

.duyuru-hero-read-more {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    letter-spacing: -0.1px;
}

.duyuru-hero-read-more i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.duyuru-hero-read-more:hover {
    color: rgba(0, 113, 227, 0.8);
}

.duyuru-hero-read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .duyuru-hero-card {
        padding: 28px 24px;
    }
    
    .duyuru-hero-title {
        font-size: 1.25rem;
    }
    
    .duyuru-hero-description {
        font-size: 0.95rem;
    }
    
    .duyuru-hero-header {
        flex-direction: column;
    }
}

/* Reference Cards */
.reference-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 28px;
    padding: 48px;
    text-align: center;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.reference-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.reference-logo,
.reference-logo-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
    border-radius: 24px;
    background: rgba(245, 245, 247, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.reference-card:hover .reference-logo {
    transform: scale(1.05);
}

.reference-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.reference-logo-placeholder {
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    color: var(--bg-white);
    font-size: 3.5rem;
}

.reference-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.reference-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FORMS - iMac Style
   ============================================ */
.contact-form .form-control,
.login-form .form-control {
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

.contact-form .form-control:focus,
.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
    outline: none;
    background: rgba(255, 255, 255, 0.95);
}

.contact-form label,
.login-form label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: -0.1px;
}

.btn-primary {
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 4px 16px rgba(230, 57, 70, 0.2),
        0 0 0 0.5px rgba(255, 255, 255, 0.1) inset;
    letter-spacing: -0.2px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(230, 57, 70, 0.3),
        0 0 0 0.5px rgba(255, 255, 255, 0.15) inset;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Apple Style Button Sizes */
.btn-primary.btn-lg,
.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 16px;
    letter-spacing: -0.3px;
}

.btn-primary.btn-sm,
.btn-sm {
    padding: 12px 28px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    letter-spacing: -0.1px;
}

/* Apple Style Icons in Buttons */
.btn i {
    font-size: 0.95em;
    vertical-align: middle;
}

.btn-outline-primary {
    border: 0.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 14px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.9rem;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.btn-outline-danger {
    border: 0.5px solid #dc3545;
    color: #dc3545;
    background: transparent;
    border-radius: 14px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* Contact Info Card */
.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-dark);
    letter-spacing: -0.6px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.2);
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    padding: 56px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.login-header {
    text-align: center;
    margin-bottom: 48px;
}

.login-header i {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2.2rem;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.25);
}

.login-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.8px;
}

.login-form .form-group {
    margin-bottom: 28px;
}

/* ============================================
   ALERTS - iMac Style
   ============================================ */
.alert {
    border-radius: 16px;
    padding: 18px 24px;
    border: 0.5px solid;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(212, 237, 218, 0.8);
    color: #155724;
    border-color: rgba(21, 87, 36, 0.2);
}

.alert-danger {
    background: rgba(248, 215, 218, 0.8);
    color: #721c24;
    border-color: rgba(114, 28, 36, 0.2);
}

/* ============================================
   EMPTY STATE - iMac Style
   ============================================ */
.empty-state {
    text-align: center;
    padding: 100px 32px;
}

.empty-state i {
    font-size: 5.5rem;
    color: var(--text-light);
    margin-bottom: 24px;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.6px;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   SECTIONS & CONTAINER - iMac Style
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 28px;
    letter-spacing: -1.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2.5px;
    background: linear-gradient(90deg, #e63946, #ff6b9d);
    border-radius: 2px;
}

.section-title-left {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-dark);
    letter-spacing: -0.8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
}

/* ============================================
   FOOTER - iMac Style
   ============================================ */
.footer {
    background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    color: var(--bg-white);
    padding: 100px 0 50px;
    margin-top: 140px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 2.4;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 0.5px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

/* ============================================
   IMAGE CARDS - iMac Style
   ============================================ */
.image-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 440px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
}

.image-card i {
    color: rgba(255,255,255,0.3);
    font-size: 5.5rem;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    opacity: 0.25;
}

/* ============================================
   TEAM SECTION - iMac Style
   ============================================ */
.bg-light {
    background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%) !important;
}

.team-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.team-image {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    color: var(--bg-white);
    font-size: 6.5rem;
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-image-placeholder {
    transform: scale(1.08);
    opacity: 1;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 16px;
}

.team-social a {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-social a {
    transform: translateY(0);
}

.team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.team-content {
    padding: 36px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.team-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-description {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN - iMac Style
   ============================================ */
@media (max-width: 992px) {
    .cta-banner {
        padding: 70px 50px;
    }
    
    .contact-info-card {
        position: static;
        margin-top: 40px;
    }
    
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 100px;
        min-height: 70vh;
    }
    
    .cta-banner {
        padding: 60px 40px;
        margin: 100px 0;
        border-radius: 28px;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .content-card,
    .content-card-large {
        padding: 40px 32px;
        border-radius: 28px;
    }
    
    .login-card {
        padding: 48px 40px;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.625rem 1rem !important;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .section-title {
        margin-bottom: 60px;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        background: rgba(245, 245, 247, 0.8);
    }
    
    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.2s;
    }
    
    .navbar-toggler:hover {
        background: rgba(0, 0, 0, 0.05);
    }
    
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(29, 29, 31, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .site-logo {
        height: 35px !important;
        max-width: 140px !important;
        width: auto !important;
    }
}

@media (max-width: 576px) {
    .cta-banner {
        padding: 50px 32px;
    }
    
    .site-logo {
        height: 30px;
        max-width: 120px;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    /* Dashboard Mobil - Çok Küçük Ekranlar */
    .apple-dashboard-container {
        padding: 16px 12px;
    }
    
    .apple-dashboard-container .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    
    .apple-dashboard-container .row > * {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }
    
    .apple-stat-card {
        padding: 20px 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .apple-stat-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px;
    }
    
    .apple-stat-content h3 {
        font-size: 2rem !important;
    }
    
    .apple-widget-card {
        min-height: 280px;
    }
    
    .widget-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .widget-header h5 {
        font-size: 1rem;
    }
    
    .widget-content {
        padding: 16px;
    }
    
    .widget-realtime-content {
        padding: 20px 16px;
    }
    
    .realtime-stat-value {
        font-size: 1.75rem;
    }
    
    .realtime-stat-label {
        font-size: 0.85rem;
    }
    
    .widget-header-realtime {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .widget-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .dashboard-actions .apple-button-primary,
    .dashboard-actions .apple-button-secondary {
        width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES - iMac Style
   ============================================ */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

/* Apple Font System - Global */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

p, span, div, a, li, td, th {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

button, .btn, input, textarea, select {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', 'Segoe UI', sans-serif;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS - iMac Style
   ============================================ */
* {
    -webkit-tap-highlight-color: transparent;
}

body, .navbar, .chat-container, .content-card, .feature-card {
    will-change: transform;
    transform: translateZ(0);
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* GPU Acceleration */
.hero-section,
.cta-banner,
.feature-card,
.content-card,
.news-card,
.reference-card,
.team-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smooth animations on scroll */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* ============================================
   PANEL SIDEBAR - Apple macOS Style Premium
   ============================================ */

/* Masaüstü Sidebar - Apple macOS Big Sur/Monterey Style */
@media (min-width: 992px) {
    .panel-sidebar {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(50px) saturate(200%);
        -webkit-backdrop-filter: blur(50px) saturate(200%);
        border-radius: 20px;
        box-shadow: 
            0 2px 16px rgba(0, 0, 0, 0.04),
            0 0 0 0.5px rgba(0, 0, 0, 0.05) inset,
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
        border: 0.5px solid rgba(0, 0, 0, 0.05);
        overflow: hidden;
        position: sticky;
        top: 100px;
        height: fit-content;
        max-height: calc(100vh - 120px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
    }

    .panel-sidebar:hover {
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 
            0 4px 24px rgba(0, 0, 0, 0.06),
            0 0 0 0.5px rgba(0, 0, 0, 0.06) inset,
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
        transform: translateY(-1px);
    }
}

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 248, 250, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-shrink: 0;
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.sidebar-header h3 {
    font-weight: 600;
    letter-spacing: -0.4px;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.sidebar-nav {
    padding: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
    background-clip: padding-box;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 2px;
    letter-spacing: -0.1px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    position: relative;
    background: transparent;
}

.sidebar-item i {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-medium);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.sidebar-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
    transform: translateX(2px);
}

.sidebar-item:hover i {
    color: var(--primary-color);
}

.sidebar-item.active {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 10px;
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
    z-index: 1;
}

.sidebar-item.active i {
    color: var(--primary-color);
}

.sidebar-item-danger {
    color: #dc3545;
}

.sidebar-item-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.sidebar-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 12px 16px;
}

/* Sidebar Group (Açılır Kapanır Menü) - Apple macOS Style */
.sidebar-group {
    margin-bottom: 4px;
}

.sidebar-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    letter-spacing: -0.1px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    position: relative;
}

.sidebar-group-header:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

.sidebar-group-header.active,
.sidebar-group:has(.sidebar-item.active) .sidebar-group-header,
.sidebar-group.active-group .sidebar-group-header {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.sidebar-group-header i:first-child {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-medium);
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-group-header:hover i:first-child,
.sidebar-group-header.active i:first-child,
.sidebar-group:has(.sidebar-item.active) .sidebar-group-header i:first-child,
.sidebar-group.active-group .sidebar-group-header i:first-child {
    color: var(--primary-color);
}

.sidebar-group-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    transform: rotate(0deg);
    flex-shrink: 0;
}

.sidebar-group-header.active .sidebar-group-icon,
.sidebar-group-icon.rotated,
.sidebar-group.active-group .sidebar-group-icon,
.sidebar-group:has(.sidebar-item.active) .sidebar-group-icon {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.sidebar-group-content {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-group-content.active {
    display: block !important;
    max-height: 2000px !important;
    opacity: 1 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    overflow: visible !important;
}

/* Aktif item varsa grup içeriği görünür olmalı ve grup header aktif görünmeli */
.sidebar-group-content:has(.sidebar-item.active),
.sidebar-group:has(.sidebar-item.active) .sidebar-group-content {
    display: block !important;
    max-height: 2000px !important;
    opacity: 1 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 0 !important;
    visibility: visible !important;
}

/* Aktif item varsa grup header aktif görünmeli */
.sidebar-group:has(.sidebar-item.active) .sidebar-group-header {
    background: rgba(230, 57, 70, 0.1) !important;
    color: var(--primary-color) !important;
}

.sidebar-group:has(.sidebar-item.active) .sidebar-group-header i:first-child {
    color: var(--primary-color) !important;
}

.sidebar-group:has(.sidebar-item.active) .sidebar-group-icon {
    transform: rotate(90deg) !important;
    color: var(--primary-color) !important;
}

/* Fallback: :has() desteği yoksa JavaScript ile class ekleyecek */
.sidebar-group.active-group .sidebar-group-content {
    display: block !important;
    max-height: 2000px !important;
    opacity: 1 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 0 !important;
    visibility: visible !important;
}

.sidebar-group.active-group .sidebar-group-header {
    background: rgba(230, 57, 70, 0.1) !important;
    color: var(--primary-color) !important;
}

.sidebar-group.active-group .sidebar-group-header i:first-child {
    color: var(--primary-color) !important;
}

.sidebar-group.active-group .sidebar-group-icon {
    transform: rotate(90deg) !important;
    color: var(--primary-color) !important;
}

.sidebar-group-content .sidebar-item {
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 44px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1px;
    border-radius: 8px;
}

.sidebar-group-content .sidebar-item i {
    width: 16px;
    font-size: 0.875rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 2px 16px rgba(0, 0, 0, 0.04),
        0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-content h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', sans-serif;
}

.stat-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Text', sans-serif;
}

/* Container Fluid */
.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}


/* Reduce motion for better performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance optimizations - Image lazy loading */
img[loading="lazy"] {
    content-visibility: auto;
}

/* Critical rendering path optimization */
.navbar, .navbar-brand, .hero-section, .hero-content {
    content-visibility: auto;
}

/* Optimize font loading */
body {
    font-display: swap;
}

/* Remove unused animations on inactive tabs */
@media (prefers-reduced-motion: no-preference) {
    @supports (content-visibility: auto) {
        body:not(:focus-within) * {
            animation-play-state: paused;
        }
    }
}


/* ============================================
   MOBILE-FIRST DESIGN - Apple Style
   ============================================ */

/* Base Mobile Styles (320px+) */
@media (max-width: 767.98px) {
    /* Container optimizasyonu */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Typography - Mobil için optimize */
    html {
        font-size: 14px; /* Mobilde daha küçük base font */
    }
    
    h1, .page-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2, .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: clamp(1.25rem, 6vw, 1.75rem) !important;
    }
    
    /* Panel Sidebar - Mobilde TAMAMEN KAPALI - Sadece flat menu kullanılıyor */
    @media (max-width: 991px) {
        .panel-sidebar {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            position: fixed !important;
            left: -100% !important;
            top: 0;
            height: 100vh;
            width: 280px;
            max-width: 85vw;
            z-index: -999999 !important;
            pointer-events: none !important;
        }
        
        .panel-sidebar.mobile-open {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            left: -100% !important;
            pointer-events: none !important;
        }
        
        /* Mobilde menü açıkken body içeriği normal - Açılır menü kapalı */
        body.mobile-menu-open {
            overflow: auto !important;
            position: relative;
        }
        
        /* Menü açıkken navbar normal */
        body.mobile-menu-open .navbar {
            z-index: 1000 !important;
            position: relative;
        }
        
        /* Menü açıkken tüm ana içerik normal */
        body.mobile-menu-open #mainContent,
        body.mobile-menu-open .section,
        body.mobile-menu-open .container,
        body.mobile-menu-open .container-fluid {
            z-index: auto !important;
            position: relative;
            pointer-events: auto !important;
        }
        
        /* Menü açıkken tüm içerik elementleri normal */
        body.mobile-menu-open h1,
        body.mobile-menu-open h2,
        body.mobile-menu-open h3,
        body.mobile-menu-open h4,
        body.mobile-menu-open h5,
        body.mobile-menu-open h6,
        body.mobile-menu-open p,
        body.mobile-menu-open div,
        body.mobile-menu-open span,
        body.mobile-menu-open a,
        body.mobile-menu-open button,
        body.mobile-menu-open .page-title,
        body.mobile-menu-open .section-title,
        body.mobile-menu-open .hero-content,
        body.mobile-menu-open .hero-section {
            z-index: auto !important;
            position: relative;
        }
        
        /* Mobilde içerik alanı normal */
        .col-lg-9.col-xl-10 {
            position: relative;
            z-index: auto !important;
        }
        
        /* Mobilde tüm içerik elementleri normal */
        .col-lg-9.col-xl-10 *,
        .section,
        .container,
        .container-fluid,
        h1, h2, h3, h4, h5, h6,
        .page-title,
        .section-title,
        .hero-content,
        .hero-section,
        .hero-section *,
        .hero-content * {
            position: relative;
            z-index: auto !important;
        }
        
        /* Mobilde navbar normal */
        body .navbar {
            z-index: 1000 !important;
        }
        
        /* Mobil overlay TAMAMEN KAPALI - Flat menu kullanılıyor */
        .mobile-overlay {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: -999999 !important;
        }
        
        .mobile-overlay.active {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }
        
        /* Eski mobil menü butonu TAMAMEN KAPALI - Flat menu toggle kullanılıyor */
        .mobile-menu-toggle {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: -999999 !important;
        }
    }
    
    /* Masaüstünde mobil menü butonu ve overlay gizli */
    @media (min-width: 992px) {
        .mobile-menu-toggle {
            display: none !important;
        }
        
        .mobile-overlay {
            display: none !important;
        }
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
        background: rgba(245, 245, 247, 0.95);
    }
    
    /* Sidebar header mobil */
    .sidebar-header {
        padding: 20px 16px;
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 10;
    }
    
    /* Sidebar item - Touch friendly */
    .sidebar-item {
        padding: 14px 16px;
        min-height: 48px;
        font-size: 0.95rem;
    }
    
    .sidebar-item i {
        width: 24px;
        font-size: 1.1rem;
    }
    
    /* Sidebar group header */
    .sidebar-group-header {
        padding: 14px 16px;
        min-height: 48px;
        font-size: 0.95rem;
    }
    
    /* Apple Form - Mobil optimizasyonu */
    .apple-form-container {
        padding: 0;
        margin: 0 -16px;
    }
    
    .apple-form {
        padding: 24px 20px;
        border-radius: 0;
        margin: 0;
    }
    
    .apple-settings-card {
        padding: 24px 20px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    /* Apple Input - Mobil */
    .apple-input {
        padding: 16px 18px;
        font-size: 16px; /* iOS zoom önleme */
        border-radius: 14px;
        min-height: 48px; /* Touch target */
    }
    
    .apple-input:focus {
        box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    }
    
    /* Apple Button - Mobil */
    .apple-button-primary,
    .apple-button-secondary {
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        justify-content: center;
        border-radius: 14px;
    }
    
    /* Apple Label */
    .apple-label {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    /* Apple Table - Mobil */
    .apple-table-container {
        padding: 16px;
        border-radius: 16px;
        margin: 0 -16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .apple-table-container::-webkit-scrollbar {
        height: 6px;
    }
    
    .apple-table-container::-webkit-scrollbar-track {
        background: #f5f5f7;
        border-radius: 3px;
    }
    
    .apple-table-container::-webkit-scrollbar-thumb {
        background: #86868b;
        border-radius: 3px;
    }
    
    .apple-table {
        min-width: 600px; /* Minimum genişlik */
    }
    
    .apple-table th,
    .apple-table td {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
    
    /* İstatistik kartları - Mobil */
    .apple-stat-card {
        padding: 24px 20px;
        border-radius: 16px;
        margin-bottom: 16px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .apple-stat-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        font-size: 1.75rem !important;
    }
    
    .apple-stat-content h3 {
        font-size: 2rem !important;
    }
    
    /* Dashboard widgets - Mobil */
    .apple-widget-card {
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    /* Grafikler - Mobil */
    canvas {
        max-width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
    }
    
    /* Nav tabs - Mobil scroll */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.875rem;
        padding: 12px 20px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Form groups - Mobil */
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Butonlar - Mobil */
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 14px;
    }
    
    .btn-lg {
        padding: 18px 32px;
        font-size: 1.05rem;
        min-height: 52px;
    }
    
    .btn-sm {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Alert - Mobil */
    .apple-alert {
        padding: 16px 18px;
        border-radius: 14px;
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    /* Hero section - Mobil */
    .hero-section {
        padding: 100px 0 80px;
        min-height: 60vh;
    }
    
    .page-hero {
        padding: 80px 0 60px;
    }
    
    /* Section - Mobil */
    .section {
        padding: 60px 0;
    }
    
    /* Content cards - Mobil */
    .content-card,
    .content-card-large {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    /* Feature cards - Mobil */
    .feature-card {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 72px;
        height: 72px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    /* Login card - Mobil */
    .login-card {
        padding: 32px 24px;
        border-radius: 20px;
        margin: 0 16px;
    }
    
    .login-header i {
        width: 72px;
        height: 72px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .login-header h2 {
        font-size: 1.75rem;
    }
    
    /* CTA Banner - Mobil */
    .cta-banner {
        padding: 50px 32px;
        margin: 60px 0;
        border-radius: 24px;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Navbar - Mobil */
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-nav {
        text-align: left;
        padding-top: 1rem;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        margin-top: 0.5rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        border: 0.5px solid rgba(0,0,0,0.08);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1070 !important;
    }
    
    .navbar-nav .nav-item.dropdown {
        z-index: auto;
    }
    
    /* Site logo - Mobil */
    .site-logo {
        height: 32px !important;
        max-width: 140px !important;
    }
    
    /* Row gutters - Mobil */
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
    
    /* Col padding - Mobil */
    [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Switch toggle - Mobil */
    .apple-switch {
        width: 56px;
        height: 34px;
    }
    
    .apple-switch-slider:before {
        height: 26px;
        width: 26px;
    }
    
    .apple-switch input:checked + .apple-switch-slider:before {
        transform: translateX(22px);
    }
    
    /* Checkbox card - Mobil */
    .apple-checkbox-card {
        padding: 16px;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    /* Info box - Mobil */
    .info-box {
        padding: 16px;
        font-size: 0.9rem;
    }
    
    /* Empty state - Mobil */
    .empty-state {
        padding: 60px 24px;
    }
    
    .empty-state i {
        font-size: 4rem;
    }
    
    .empty-state h3 {
        font-size: 1.5rem;
    }
}

/* Küçük mobil cihazlar (320px - 575px) */
@media (max-width: 575.98px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .apple-form {
        padding: 20px 16px;
    }
    
    .apple-settings-card {
        padding: 20px 16px;
    }
    
    .apple-stat-card {
        padding: 20px 16px;
    }
    
    .apple-stat-content h3 {
        font-size: 1.75rem !important;
    }
    
    /* Dashboard Responsive */
    .apple-dashboard-container {
        padding: 20px 16px;
    }
    
    .apple-dashboard-container .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .apple-dashboard-container .row > * {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 16px;
    }
    
    .widget-realtime-content {
        padding: 24px 16px;
    }
    
    .realtime-stat-value {
        font-size: 2rem;
    }
    
    .widget-header {
        padding: 16px 20px;
        flex-wrap: wrap;
    }
    
    .widget-content {
        padding: 20px 16px;
    }
    
    .dashboard-actions {
        gap: 10px;
    }
    
    .apple-table-container {
        padding: 12px;
    }
    
    .apple-table th,
    .apple-table td {
        padding: 10px 12px;
        font-size: 0.8125rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 8px;
        border-radius: 14px;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Sidebar - Daha küçük */
    .panel-sidebar {
        width: 260px;
        max-width: 90vw;
    }
    
    /* Mobile menu toggle - Daha küçük */
    .mobile-menu-toggle {
        top: 12px;
        left: 12px;
        padding: 10px;
        font-size: 1.1rem;
    }
}

/* Touch cihazlar için optimizasyon */
@media (hover: none) and (pointer: coarse) {
    /* Minimum touch target size (Apple HIG: 44x44pt) */
    .btn,
    .sidebar-item,
    .nav-link,
    .apple-button-primary,
    .apple-button-secondary,
    .apple-switch,
    .apple-checkbox-card,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Checkbox ve radio - Daha büyük */
    input[type="checkbox"],
    input[type="radio"] {
        width: 22px;
        height: 22px;
        cursor: pointer;
    }
    
    /* Input focus - Daha belirgin */
    .apple-input:focus,
    input:focus,
    textarea:focus,
    select:focus {
        box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
    }
    
    /* Hover efektlerini kaldır (touch'ta çalışmaz) */
    .sidebar-item:hover {
        transform: none;
    }
    
    /* Active state ekle */
    .sidebar-item:active {
        background: rgba(230, 57, 70, 0.1);
        transform: scale(0.98);
    }
    
    .btn:active,
    .apple-button-primary:active,
    .apple-button-secondary:active {
        transform: scale(0.97);
    }
    
    /* Tablo satırları - Touch friendly */
    .apple-table tbody tr {
        min-height: 56px;
    }
    
    .apple-table tbody tr:active {
        background: rgba(0,0,0,0.05);
    }
}

/* Landscape mod - Mobil */
@media (max-width: 767.98px) and (orientation: landscape) {
    .panel-sidebar {
        width: 240px;
    }
    
    .hero-section {
        min-height: 50vh;
        padding: 60px 0;
    }
    
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Tablet optimizasyonu (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
        max-width: 100%;
    }
    
    .apple-form {
        padding: 32px 28px;
    }
    
    .apple-settings-card {
        padding: 28px 24px;
    }
    
    .apple-stat-card {
        padding: 28px 24px;
    }
    
    .panel-sidebar {
        position: sticky;
        top: 100px;
    }
}

/* Yüksek çözünürlüklü ekranlar */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .apple-input,
    .apple-button-primary,
    .apple-button-secondary {
        border-width: 0.5px;
    }
}

/* Performans optimizasyonları - Mobil */
@media (max-width: 767.98px) {
    /* GPU acceleration */
    .panel-sidebar,
    .mobile-overlay,
    .apple-stat-card,
    .apple-widget-card {
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Smooth scrolling */
    .apple-table-container,
    .nav-tabs {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Image optimization */
    img {
        max-width: 100%;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
    }
    
    /* Reduce motion için */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Accessibility - Mobil */
@media (max-width: 767.98px) {
    /* Focus indicators - Daha belirgin */
    .apple-input:focus,
    .apple-button-primary:focus,
    .apple-button-secondary:focus,
    .btn:focus,
    .sidebar-item:focus {
        outline: 3px solid rgba(230, 57, 70, 0.4);
        outline-offset: 2px;
    }
    
    /* Skip to content link */
    .skip-to-content {
        position: absolute;
        top: -40px;
        left: 0;
        background: var(--primary-color);
        color: white;
        padding: 8px 16px;
        text-decoration: none;
        z-index: 10000;
    }
    
    .skip-to-content:focus {
        top: 0;
    }
}

@media (prefers-color-scheme: dark) {
    .chat-container {
        background: rgba(29, 29, 31, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .chat-header {
        background: linear-gradient(180deg, rgba(29, 29, 31, 0.95) 0%, rgba(29, 29, 31, 0.85) 100%);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .chat-messages {
        background: rgba(22, 22, 24, 0.6);
    }
    
    .message.bot .message-content {
        background: rgba(29, 29, 31, 0.95);
        color: #f5f5f7;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .chat-input {
        background: rgba(29, 29, 31, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f5f5f7;
    }
    
    .chat-input-container {
        background: rgba(29, 29, 31, 0.95);
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   APPLE FORM STYLES - Panel Sayfaları İçin
   ============================================ */

/* Apple Form Container */
.apple-form-container {
    animation: fadeIn 0.3s ease;
}

.apple-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Apple Input Styles */
.apple-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 400;
    color: #1d1d1f;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    letter-spacing: -0.1px;
}

.apple-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
    background: #fff;
}

.apple-input:hover:not(:focus) {
    border-color: rgba(0,0,0,0.2);
}

.apple-input::placeholder {
    color: #86868b;
    font-weight: 400;
}

/* Apple Button Styles */
.apple-button-primary {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apple-button-primary:hover {
    background: rgba(230, 57, 70, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.apple-button-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #f5f5f7;
    color: #1d1d1f;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apple-button-secondary:hover {
    background: #e8e8ed;
    transform: translateY(-1px);
}

/* Apple Alert Styles */
.apple-alert {
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.apple-alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.apple-alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.apple-alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.apple-alert-info {
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
}

/* Apple Settings Card */
.apple-settings-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    animation: slideIn 0.4s ease;
}

/* Apple Table Styles */
.apple-table-container {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: fadeIn 0.3s ease;
}

.apple-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.apple-table thead tr {
    background: rgba(245, 245, 247, 0.6);
}

.apple-table th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1d1d1f;
    letter-spacing: -0.2px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.apple-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #424245;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.apple-table tbody tr:hover {
    background: rgba(0,0,0,0.02);
}

/* Apple Settings Container */
.apple-settings-container {
    animation: fadeIn 0.3s ease;
}

.apple-settings-card {
    animation: slideIn 0.4s ease;
}

/* Apple Switch Toggle */
.apple-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 32px;
}

.apple-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.apple-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 32px;
}

.apple-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.apple-switch input:checked + .apple-switch-slider {
    background-color: var(--primary-color);
}

.apple-switch input:checked + .apple-switch-slider:before {
    transform: translateX(20px);
}

/* Apple Checkbox Card */
.apple-checkbox-card {
    background: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.apple-checkbox-card:hover {
    background: #e8e8ed;
    border-color: rgba(0,0,0,0.15);
}

.apple-checkbox-card.active {
    background: rgba(230, 57, 70, 0.05);
    border-color: var(--primary-color);
}

/* Apple Info Box */
.info-box {
    background: rgba(0, 113, 227, 0.05);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate3d(-10px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
    animation: slideIn 0.4s ease;
}

.form-section h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #1d1d1f;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Apple Label */
.apple-label {
    display: block;
    margin-bottom: 8px;
}

.apple-label span {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1d1d1f;
    letter-spacing: -0.2px;
}

/* ============================================
   PANEL COMPONENTS - Apple-Inspired Premium
   ============================================ */

/* Apple Stat Card - Premium Style */
.apple-stat-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06),
                0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeIn 0.4s ease;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.apple-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.apple-stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apple-stat-icon i {
    font-size: 2rem;
    color: #fff;
}

.apple-stat-card:hover .apple-stat-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.apple-stat-content {
    flex: 1;
}

.apple-stat-content h3 {
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 2.5rem;
    margin: 0 0 8px 0;
    color: #1d1d1f;
    line-height: 1.1;
}

.apple-stat-content p {
    color: #86868b;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* Stat Card Animation Delays */
.apple-stat-card-delay-1 {
    animation-delay: 0.1s;
}

.apple-stat-card-delay-2 {
    animation-delay: 0.2s;
}

.apple-stat-card-delay-3 {
    animation-delay: 0.3s;
}

/* Stat Icon Gradient Variants */
.apple-stat-icon-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.apple-stat-icon-red {
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
}

.apple-stat-icon-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Apple Widget Card */
.apple-widget-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06),
                0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    height: 100%;
    min-height: 320px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.5s ease;
    position: relative;
}

.apple-widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 0.5px rgba(0, 0, 0, 0.06) inset;
}

.apple-widget-card h5 {
    font-weight: 600;
    letter-spacing: -0.3px;
    font-size: 1.1rem;
    margin: 0;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.apple-widget-card h5 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Widget Header */
.widget-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 245, 247, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    flex-shrink: 0;
}

.widget-header h5 {
    font-weight: 600;
    letter-spacing: -0.3px;
    font-size: 1.1rem;
    margin: 0;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Apple Dashboard Container */
.apple-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent;
}

/* Dashboard Grid Spacing - Düzenli ve Intizamlı */
.apple-dashboard-container .row {
    margin-left: -12px;
    margin-right: -12px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.apple-dashboard-container .row > * {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* Widget Eşit Yükseklik - Düzenli Grid */
.apple-dashboard-container .widget,
.apple-dashboard-container [class*="col-"] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apple-dashboard-container .widget > .apple-widget-card,
.apple-dashboard-container [class*="col-"] > .apple-widget-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body:not([data-theme]) .apple-dashboard-container,
body[data-theme="light"] .apple-dashboard-container,
html:not([data-theme]) .apple-dashboard-container,
html[data-theme="light"] .apple-dashboard-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.apple-form-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent;
}

body:not([data-theme]) .apple-form-container,
body[data-theme="light"] .apple-form-container,
html:not([data-theme]) .apple-form-container,
html[data-theme="light"] .apple-form-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Panel içerik alanı - görünürlük garantisi */
#panelContentArea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 400px;
    position: relative;
}

#panelContentArea > *,
#panelContentArea > div,
#panelContentArea .apple-dashboard-container,
#panelContentArea .apple-form-container,
#panelContentArea .apple-stat-card,
#panelContentArea .apple-widget-card,
#panelContentArea .apple-settings-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Flex container'lar için */
#panelContentArea .apple-stat-card,
#panelContentArea .apple-widget-card {
    display: flex !important;
}

/* Light mode için varsayılan görünürlük - data-theme yoksa bile çalışsın */
body:not([data-theme]) #panelContentArea > *,
body[data-theme="light"] #panelContentArea > *,
html:not([data-theme]) #panelContentArea > *,
html[data-theme="light"] #panelContentArea > * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Apple Button Icon */
.apple-button-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.85rem;
    padding: 0;
}

.apple-button-icon:hover {
    background: rgba(245, 245, 247, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.apple-button-icon:active {
    transform: scale(0.95);
}

/* Widget Content */
.widget-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Widget İçeriği için flex düzenlemeleri */
.widget-info-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.widget-quick-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Widget Chart Container */
.widget-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 200px;
}

.widget-chart {
    max-height: 200px;
    max-width: 100%;
}

/* Widget Analysis Results */
.widget-analysis-results {
    min-height: 60px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(245, 245, 247, 0.6);
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Real-time Statistics Widget */
.apple-widget-card-realtime {
    overflow: visible;
}

.widget-header-realtime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.widget-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.realtime-status-badge {
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.realtime-status-badge.paused {
    background: #ffc107;
    color: #1d1d1f;
}

.widget-header-actions {
    display: flex;
    gap: 8px;
}

.apple-button-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.875rem;
    padding: 0;
}

.apple-button-icon-small:hover {
    background: rgba(245, 245, 247, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.apple-button-icon-small:active {
    transform: scale(0.95);
}

.widget-realtime-content {
    padding: 32px 24px;
}

.realtime-stat-item {
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    background: rgba(245, 245, 247, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.realtime-stat-item:hover {
    background: rgba(245, 245, 247, 0.6);
    transform: translateY(-2px);
}

.realtime-stat-value {
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: -0.8px;
    margin: 0 0 8px 0;
    color: #1d1d1f;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', sans-serif;
}

.realtime-stat-label {
    color: #86868b;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* Widget Info Items */
.widget-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget-info-item {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-info-label {
    color: #86868b;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.widget-info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.1px;
}

/* Widget Quick Actions */
.widget-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-action-btn {
    padding: 12px 20px;
    border-radius: 12px;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
}

.widget-empty-state {
    color: #86868b;
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
}

/* Utility Classes for Panel */
.w-100 {
    width: 100% !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.text-center {
    text-align: center !important;
}

.text-end {
    text-align: right !important;
}

.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.text-center {
    text-align: center !important;
}

/* Panel Form Container */
.apple-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.apple-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06),
                0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.4s ease;
}

/* Panel Dark Mode - Additional Styles */
/* Panel Mobile Menu Toggle - Dark Mode */
/* Panel Page Header */
.panel-page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.4s ease;
}

.panel-page-header h2,
.panel-page-title {
    font-weight: 600;
    letter-spacing: -0.8px;
    font-size: 2rem;
    color: #1d1d1f;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-page-header h2 i,
.panel-page-title i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.panel-page-header p,
.panel-page-description {
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: -0.2px;
    color: #424245;
    margin: 0;
}

/* ============================================
   GÜNCELLEME ÖNERİLERİ SAYFASI STİLLERİ
   ============================================ */
.oneri-checkbox-label input:checked + .oneri-card {
    border-color: var(--primary-color) !important;
    background: rgba(230, 57, 70, 0.02) !important;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15) !important;
}

.oneri-checkbox-label input:checked ~ .oneri-card .oneri-checkbox-visual {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.oneri-checkbox-label input:checked ~ .oneri-card .oneri-checkbox-visual i {
    display: block !important;
}

.oneri-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.15) !important;
}

/* Tab Navigation Styles */
.oneri-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oneri-tab-button {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    background: #f5f5f7;
    color: #424245;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.1px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.oneri-tab-button:hover {
    background: #e5e5e7;
    transform: translateY(-1px);
}

.oneri-tab-button.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.oneri-tab-button .tab-badge {
    background: rgba(255, 255, 255, 0.3);
    color: inherit;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}

.oneri-tab-button.active .tab-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Tab Content */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
