* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #6a5acd;
    --secondary-color: #483d8b;
    --background-gradient: linear-gradient(135deg, #483d8b, #6a5acd, #9370db);
    --text-color: #333;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.2);
    /* Premium Menü Renk Değişkenleri */
    --panel-bg-dark: rgba(50, 35, 150, 0.6);
    --panel-bg-light: rgba(255, 255, 255, 0.8);
    --item-bg-dark: rgba(255, 255, 255, 0.15);
    --item-bg-light: rgba(0, 0, 0, 0.08);
    --txt-dark: #fff;
    --txt-light: #000;
    
    /* Z-Index Hiyerarşisi - Ana Sayfa */
    --z-background: 0;
    --z-content: 1;
    --z-overlay: 99; /* Ekranı opak yapar, sidebar'ın altında */
    --z-sidebar: 100; /* Overlay'in üstünde, görünür olmalı */
    --z-header: 97;
    --z-header-buttons: 98;
    --z-search-container: 100;
    --z-search-results: 101;
    --z-ai-modal: 98;
}

[data-theme="dark"] {
    --primary-color: #8b7fd9;
    --secondary-color: #6a5acd;
    --background-gradient: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    --text-color: #e0e0e0;
    --card-bg: #1e1e2e;
    --card-shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
    line-height: 1.8;
    transition: background 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
}

[data-theme="dark"] body {
    background: var(--background-gradient);
    color: var(--text-color);
}

[data-theme="dark"] .logo-letter {
    color: white;
}

[data-theme="dark"] .brand-letter {
    color: white;
}

[data-theme="dark"] .hero-section {
    background: var(--background-gradient);
    color: white;
}

[data-theme="dark"] .hero-brand {
    color: white;
}

[data-theme="dark"] .hero-tagline {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .about-section {
    background: rgba(30, 30, 46, 0.5);
}

[data-theme="dark"] .about-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .skills-section {
    background: rgba(30, 30, 46, 0.3);
}

[data-theme="dark"] .skill-item {
    background: rgba(30, 30, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .skill-item h4 {
    color: white;
}

[data-theme="dark"] .apps-section {
    background: rgba(30, 30, 46, 0.5);
}

[data-theme="dark"] .app-card {
    background: rgba(30, 30, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .app-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .app-title {
    color: white;
}

[data-theme="dark"] .app-description {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .app-category {
    color: var(--primary-color);
}

[data-theme="dark"] .rating-value {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .downloads-count {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .app-features {
    border-top-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-tag {
    background: rgba(106, 90, 205, 0.2);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-privacy {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-privacy:hover {
    background: rgba(106, 90, 205, 0.2);
    border-color: var(--primary-color);
    color: white;
}

[data-theme="dark"] .contact-section {
    background: rgba(30, 30, 46, 0.5);
}

[data-theme="dark"] .section-title {
    color: white;
}

[data-theme="dark"] .hero-stats {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-number {
    color: white;
}

[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] footer {
    background: rgba(30, 30, 46, 0.8);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-links a:hover {
    color: white;
}

[data-theme="dark"] .social-links a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="dark"] footer p {
    color: rgba(255, 255, 255, 0.7);
}

body.privacy-page {
    padding: 20px;
}

/* Animasyonlu arka plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(106, 90, 205, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 112, 219, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(72, 61, 139, 0.2) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

/* Search Toggle Button */
/* Ortak Header Buton Stilleri */
.header-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.search-toggle,
.theme-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    padding: 0;
    margin: 0;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto !important;
    z-index: var(--z-header-buttons);
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.hamburger:focus {
    outline: 2px solid rgba(106, 90, 205, 0.5);
    outline-offset: 2px;
}

.hamburger:focus:not(:focus-visible) {
    outline: none;
}

.hamburger:focus-visible {
    outline: 2px solid rgba(106, 90, 205, 0.8);
    outline-offset: 2px;
}

/* Menü açıkken body scroll lock (desktop) */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
}

/* Menü açıkken search ve theme toggle'ı gizle (desktop) */
body.menu-open .header-buttons {
    opacity: 0.5;
    pointer-events: none;
}

body.menu-open .hamburger {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: calc(var(--z-sidebar) + 1) !important;
    position: relative;
}

.header-btn:hover,
.search-toggle:hover,
.theme-toggle:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.2);
    color: var(--primary-color);
}

.hamburger:hover {
    opacity: 0.8;
}

[data-theme="dark"] .header-btn,
[data-theme="dark"] .search-toggle,
[data-theme="dark"] .theme-toggle {
    background: rgba(30, 30, 46, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hamburger {
    background: transparent;
    border: none;
    color: white;
    box-shadow: none;
}

[data-theme="dark"] .header-btn:hover,
[data-theme="dark"] .search-toggle:hover,
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .hamburger:hover {
    opacity: 0.8;
}

/* Admin Toggle Button */
.admin-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    padding: 0;
    margin: 0;
}

.admin-toggle:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.2);
    color: var(--primary-color);
}

[data-theme="dark"] .admin-toggle {
    background: rgba(30, 30, 46, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .admin-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

/* Search Container */
.search-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-search-container);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    background: rgba(0, 0, 0, 0);
}

.search-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.search-container.active .search-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: var(--z-search-results);
    margin-top: 20px;
}

[data-theme="dark"] .search-results {
    background: rgba(30, 30, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results-content {
    padding: 20px;
}

.search-result-group {
    margin-bottom: 30px;
}

.search-result-group:last-child {
    margin-bottom: 0;
}

.search-result-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(106, 90, 205, 0.2);
}

[data-theme="dark"] .search-result-group h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(106, 90, 205, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.1);
}

[data-theme="dark"] .search-result-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.search-result-item:hover {
    background: rgba(106, 90, 205, 0.1);
    transform: translateX(5px);
    border-color: rgba(106, 90, 205, 0.3);
}

[data-theme="dark"] .search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-result-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 90, 205, 0.1);
    border-radius: 12px;
}

[data-theme="dark"] .search-result-icon {
    background: rgba(255, 255, 255, 0.1);
}

.search-result-info {
    flex: 1;
}

.search-result-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

[data-theme="dark"] .search-result-info h4 {
    color: white;
}

.search-result-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

[data-theme="dark"] .search-result-info p {
    color: rgba(255, 255, 255, 0.7);
}

.search-result-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(106, 90, 205, 0.1);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

[data-theme="dark"] .search-tag {
    background: rgba(106, 90, 205, 0.2);
    color: var(--primary-color);
}

.search-rating,
.search-downloads {
    font-size: 0.85rem;
    color: #666;
}

[data-theme="dark"] .search-rating,
[data-theme="dark"] .search-downloads {
    color: rgba(255, 255, 255, 0.6);
}

.search-result-desc {
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
}

[data-theme="dark"] .search-result-desc {
    color: rgba(255, 255, 255, 0.5);
}

.search-result-empty {
    padding: 60px 20px;
    text-align: center;
}

.search-result-empty p {
    font-size: 1.1rem;
    color: #666;
    margin: 10px 0;
}

[data-theme="dark"] .search-result-empty p {
    color: rgba(255, 255, 255, 0.7);
}

.search-hint {
    font-size: 0.9rem;
    color: #999;
}

[data-theme="dark"] .search-hint {
    color: rgba(255, 255, 255, 0.5);
}

/* Search results scrollbar */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

[data-theme="dark"] .search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(106, 90, 205, 0.3);
    border-radius: 4px;
}

/* Webkit scrollbar thumb hover - sadece destekleyen tarayıcılarda */
@supports selector(::-webkit-scrollbar-thumb:hover) {
    .search-results::-webkit-scrollbar-thumb:hover {
        background: rgba(106, 90, 205, 0.5);
    }
}

/* Autocomplete Suggestions */
.search-autocomplete {
    padding: 20px;
}

.search-autocomplete-header {
    margin-bottom: 15px;
}

.search-autocomplete-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    margin: 0;
}

[data-theme="dark"] .search-autocomplete-header h3 {
    color: rgba(255, 255, 255, 0.7);
}

.search-autocomplete-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(106, 90, 205, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.1);
}

[data-theme="dark"] .search-autocomplete-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.search-autocomplete-item:hover,
.search-autocomplete-item.selected {
    background: rgba(106, 90, 205, 0.15);
    border-color: rgba(106, 90, 205, 0.3);
    transform: translateX(5px);
}

[data-theme="dark"] .search-autocomplete-item:hover,
[data-theme="dark"] .search-autocomplete-item.selected {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-autocomplete-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 90, 205, 0.1);
    border-radius: 10px;
}

[data-theme="dark"] .search-autocomplete-icon {
    background: rgba(255, 255, 255, 0.1);
}

.search-autocomplete-text {
    flex: 1;
    min-width: 0;
}

.search-autocomplete-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

[data-theme="dark"] .search-autocomplete-title {
    color: white;
}

.search-autocomplete-title mark {
    background: rgba(106, 90, 205, 0.3);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}

[data-theme="dark"] .search-autocomplete-title mark {
    background: rgba(106, 90, 205, 0.4);
    color: var(--primary-color);
}

.search-autocomplete-category {
    font-size: 0.8rem;
    color: #999;
}

[data-theme="dark"] .search-autocomplete-category {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ARAMA MODALI RESPONSIVE İYİLEŞTİRMELERİ
   ============================================ */

/* Tablet (481px - 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    .search-container {
        padding-top: 80px;
    }

    .search-box {
        min-width: calc(100vw - 40px);
        max-width: 600px;
        padding: 14px 20px;
    }

    .search-input {
        font-size: 16px; /* iOS zoom önleme */
    }

    .search-results {
        top: 80px;
        width: calc(100vw - 40px);
        max-width: 600px;
        max-height: calc(100vh - 160px);
        border-radius: 14px;
    }

    .search-results-content {
        padding: 16px;
    }

    .search-result-group {
        margin-bottom: 24px;
    }

    .search-result-group h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .search-result-item {
        padding: 12px;
        gap: 12px;
    }

    .search-result-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .search-result-info h4 {
        font-size: 1rem;
    }

    .search-result-info p {
        font-size: 0.85rem;
    }

    .search-autocomplete {
        padding: 16px;
    }

    .search-autocomplete-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .search-autocomplete-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .search-autocomplete-title {
        font-size: 0.95rem;
    }

    .search-autocomplete-category {
        font-size: 0.75rem;
    }
}

/* Mobil (max-width: 480px) */
@media (max-width: 480px) {
    .search-container {
        padding-top: 60px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .search-box {
        min-width: 100%;
        max-width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
    }

    .search-input {
        font-size: 16px; /* iOS zoom önleme */
        padding: 0;
    }

    .search-close {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .search-results {
        top: 70px;
        left: 16px;
        right: 16px;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 140px);
        border-radius: 12px;
        margin-top: 12px;
        transform: none;
    }

    .search-results-content {
        padding: 12px;
    }

    .search-result-group {
        margin-bottom: 20px;
    }

    .search-result-group h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .search-result-item {
        padding: 10px;
        gap: 10px;
        margin-bottom: 8px;
    }

    .search-result-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        border-radius: 10px;
    }

    .search-result-info h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .search-result-info p {
        font-size: 0.8rem;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .search-result-meta {
        gap: 8px;
    }

    .search-tag {
        padding: 3px 10px;
        font-size: 0.75rem;
    }

    .search-rating,
    .search-downloads {
        font-size: 0.8rem;
    }

    .search-result-empty {
        padding: 40px 16px;
    }

    .search-result-empty p {
        font-size: 1rem;
    }

    .search-hint {
        font-size: 0.85rem;
    }

    .search-autocomplete {
        padding: 12px;
    }

    .search-autocomplete-header {
        margin-bottom: 12px;
    }

    .search-autocomplete-header h3 {
        font-size: 0.9rem;
    }

    .search-autocomplete-list {
        gap: 6px;
    }

    .search-autocomplete-item {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 8px;
    }

    .search-autocomplete-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .search-autocomplete-title {
        font-size: 0.9rem;
    }

    .search-autocomplete-category {
        font-size: 0.7rem;
    }
}

/* Küçük Mobil (max-width: 360px) */
@media (max-width: 360px) {
    .search-container {
        padding-top: 50px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .search-box {
        padding: 10px 14px;
    }

    .search-results {
        left: 12px;
        right: 12px;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        top: 65px;
    }

    .search-results-content {
        padding: 10px;
    }

    .search-result-item {
        padding: 8px;
    }

    .search-result-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .search-result-info h4 {
        font-size: 0.9rem;
    }

    .search-result-info p {
        font-size: 0.75rem;
    }
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 600px;
    width: 90%;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(106, 90, 205, 0.25);
    transform: translateY(0) scale(1);
}

[data-theme="dark"] .search-box {
    background: rgba(30, 30, 46, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.search-icon {
    color: #666;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.search-input::placeholder {
    color: #999;
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-close.show {
    display: flex;
}

.search-close:hover {
    background: rgba(106, 90, 205, 0.1);
    color: var(--primary-color);
}


[data-theme="dark"] .search-input {
    color: white;
}

[data-theme="dark"] .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .search-icon {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .search-close {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Theme Toggle */

.theme-toggle:hover {
    transform: scale(1.05) rotate(15deg);
}

.theme-icon {
    width: 24px;
    height: 24px;
    color: #333;
    position: absolute;
    transition: all 0.4s ease;
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(30, 30, 46, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .theme-icon {
    color: white;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}



.hamburger span {
    height: 3px;
    width: 24px;
    background: #333;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    margin: 0;
    pointer-events: none;
}


[data-theme="dark"] .hamburger span {
    background: white;
}

[data-theme="light"] .hamburger span {
    background: #333;
}

/* Hamburger → X animasyonu (Premium) */
.hamburger.active {
    gap: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hamburger animasyonu için span'lerin başlangıç pozisyonu */
.hamburger span:nth-child(1) {
    transform-origin: center;
}

.hamburger span:nth-child(2) {
    transform-origin: center;
}

.hamburger span:nth-child(3) {
    transform-origin: center;
}

/* Overlay (arka plan blur) - Premium */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-overlay);
    cursor: pointer;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

[data-theme="dark"] .overlay {
    background: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Sidebar Menü - Premium */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-right: none;
    color: #333;
    padding: 25px;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: var(--z-sidebar); /* Overlay'in üstünde, görünür olmalı */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Menü açılınca */
.sidebar.active {
    right: 0;
}

/* Dark tema */
[data-theme="dark"] .sidebar {
    background: rgba(30, 30, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
}

/* Light tema */
[data-theme="light"] .sidebar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(106, 90, 205, 0.2);
    color: #333;
}

/* Kapat butonu - Premium */
.close-btn {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    color: #333;
    font-size: 22px;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar açılınca close butonu da animasyonla gelsin */
.sidebar.active .close-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.close-btn:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.2);
}

[data-theme="dark"] .close-btn {
    background: rgba(30, 30, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Menü butonları - Premium Animasyon */
.menu-item {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 17px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    /* Başlangıç durumu - gizli */
    opacity: 0;
    transform: translateX(25px);
}

/* Light tema için menü item renkleri */
[data-theme="light"] .menu-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(106, 90, 205, 0.2);
    color: #333;
}

/* Dark tema için menü item renkleri */
[data-theme="dark"] .menu-item {
    background: rgba(30, 30, 46, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Sidebar açılınca animasyon başlasın */
.sidebar.active .menu-item {
    opacity: 1;
    transform: translateX(0);
}

/* Her buton sırayla gelsin (staggered animation) */
.sidebar.active .menu-item:nth-child(2) {
    transition-delay: 0.05s;
}

.sidebar.active .menu-item:nth-child(3) {
    transition-delay: 0.10s;
}

.sidebar.active .menu-item:nth-child(4) {
    transition-delay: 0.15s;
}

.sidebar.active .menu-item:nth-child(5) {
    transition-delay: 0.20s;
}

.sidebar.active .menu-item:nth-child(6) {
    transition-delay: 0.25s;
}

/* Menü kapanırken animasyon tersine çalışır */
.sidebar:not(.active) .menu-item {
    transition-delay: 0s;
    opacity: 0;
    transform: translateX(25px);
}

/* Close butonu kapanırken de animasyonla gitsin */
.sidebar:not(.active) .close-btn {
    opacity: 0;
    transform: translateY(-10px);
    transition-delay: 0s;
}

.menu-item:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px) scale(1.03);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.2);
}

[data-theme="dark"] .menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Admin link özel stil */
.menu-item.admin-link {
    background: rgba(106, 90, 205, 0.1);
    border: 2px solid rgba(106, 90, 205, 0.3);
}

.menu-item.admin-link:hover {
    background: rgba(106, 90, 205, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.3);
}

[data-theme="dark"] .menu-item.admin-link {
    background: rgba(106, 90, 205, 0.2);
    border-color: rgba(106, 90, 205, 0.4);
}

[data-theme="dark"] .menu-item.admin-link:hover {
    background: rgba(106, 90, 205, 0.3);
    border-color: var(--primary-color);
}


/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(106, 90, 205, 0.08);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(106, 90, 205, 0.12);
}

[data-theme="dark"] .main-header {
    background: rgba(30, 30, 46, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .main-header.scrolled {
    background: rgba(30, 30, 46, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.logo-wrapper {
    flex-shrink: 0;
    min-width: 0;
}

/* Header tagline - duplicate removed, see line 1648 */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 0;
}

.header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
    flex-wrap: nowrap;
    position: relative;
    z-index: var(--z-header-buttons);
}

.header-buttons > * {
    flex-shrink: 0;
    position: relative;
}


.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 8px;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    color: #333;
}

[data-theme="dark"] .logo-icon svg {
    color: white;
}

.logo-icon:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.2);
}

.logo-icon:hover svg {
    transform: rotate(-15deg);
}

[data-theme="dark"] .logo-icon {
    background: rgba(30, 30, 46, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .logo-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
}

.logo-letter {
    display: inline-block;
    color: #1a1a1a;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-accent {
    color: var(--primary-color);
}

.logo-letter:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

[data-theme="dark"] .logo-letter {
    color: white;
}

[data-theme="dark"] .logo-accent {
    color: var(--primary-color);
}

[data-theme="dark"] .logo-letter:hover {
    color: var(--primary-color);
}

.logo-letter:nth-child(1) { transition-delay: 0s; }
.logo-letter:nth-child(2) { transition-delay: 0.05s; }
.logo-letter:nth-child(3) { transition-delay: 0.1s; }
.logo-letter:nth-child(4) { transition-delay: 0.15s; }
.logo-letter:nth-child(5) { transition-delay: 0.2s; }
.logo-letter:nth-child(6) { transition-delay: 0.25s; }
.logo-letter:nth-child(7) { transition-delay: 0.3s; }
.logo-letter:nth-child(8) { transition-delay: 0.35s; }
.logo-letter:nth-child(9) { transition-delay: 0.4s; }
.logo-letter:nth-child(10) { transition-delay: 0.45s; }
.logo-letter:nth-child(11) { transition-delay: 0.5s; }

.header-tagline {
    color: #444;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
    max-width: 200px;
    opacity: 1;
}

[data-theme="dark"] .header-tagline {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

[data-theme="dark"] .main-header {
    background: rgba(30, 30, 46, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .main-header.scrolled {
    background: rgba(30, 30, 46, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 200px 20px 120px;
    text-align: center;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(106, 90, 205, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 90, 205, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(106, 90, 205, 0.04) 0%, transparent 50%);
    opacity: 0.8;
    z-index: 0;
}

.hero-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-brand {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 40px 0;
    letter-spacing: -3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.brand-letter {
    display: inline-block;
    color: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: default;
    animation: letterFloat 3s ease-in-out infinite;
}

.brand-accent {
    color: var(--primary-color);
}

.brand-letter:nth-child(1) { animation-delay: 0s; }
.brand-letter:nth-child(2) { animation-delay: 0.1s; }
.brand-letter:nth-child(3) { animation-delay: 0.2s; }
.brand-letter:nth-child(4) { animation-delay: 0.3s; }
.brand-letter:nth-child(5) { animation-delay: 0.4s; }
.brand-letter:nth-child(6) { animation-delay: 0.5s; }
.brand-letter:nth-child(7) { animation-delay: 0.6s; }
.brand-letter:nth-child(8) { animation-delay: 0.7s; }
.brand-letter:nth-child(9) { animation-delay: 0.8s; }
.brand-letter:nth-child(10) { animation-delay: 0.9s; }
.brand-letter:nth-child(11) { animation-delay: 1s; }

.brand-letter:hover {
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.15) rotate(5deg);
}

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-3px) scale(1.05);
    }
}

[data-theme="dark"] .brand-letter {
    color: white;
}

[data-theme="dark"] .brand-letter:nth-child(1) {
    color: var(--primary-color);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto 60px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.btn-playstore {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
    background: white;
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(106, 90, 205, 0.2);
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

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

.btn-playstore:hover svg {
    transform: scale(1.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    padding: 50px 60px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(106, 90, 205, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    min-width: 120px;
    flex: 1;
    max-width: 200px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* About Section */
.about-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
}

.about-content {
    text-align: center;
}

.about-main {
    margin-top: 50px;
    margin-bottom: 60px;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.about-text:last-of-type {
    margin-bottom: 0;
}

.about-tech {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 40px;
    background: rgba(106, 90, 205, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(106, 90, 205, 0.1);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 120px;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(106, 90, 205, 0.15);
}

.tech-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.1), rgba(106, 90, 205, 0.05));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.2), rgba(106, 90, 205, 0.1));
}

.tech-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}

/* Skills Section */
.skills-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #f8f9fa;
}

.skills-content {
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.skill-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 90, 205, 0.1);
    text-align: left;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.15);
    border-color: rgba(106, 90, 205, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

.skill-item h4 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(106, 90, 205, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
    width: 0%;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Apps Section */
.apps-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.section-title {
    color: #1a1a1a;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
}

#apps-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 10px;
}

/* Uygulama sayısına göre otomatik grid ayarlama */
@media (min-width: 1200px) {
    #apps-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 28px;
    }
}

@media (min-width: 1600px) {
    #apps-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    #apps-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    #apps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Modern App Card - Premium Design */
.app-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid rgba(106, 90, 205, 0.1);
    display: flex;
    flex-direction: column;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #9370db);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(106, 90, 205, 0.25);
    border-color: rgba(106, 90, 205, 0.3);
}

.app-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.app-card:hover::after {
    opacity: 1;
}

/* Yakında Olan Uygulamalar - Güçlü Maskeleme Efekti */
.app-card-coming-soon {
    opacity: 0.35;
    filter: grayscale(85%) blur(1px) brightness(0.7);
    pointer-events: auto;
    position: relative;
    transition: all 0.3s ease;
}

.app-card-coming-soon::before {
    background: linear-gradient(90deg, #9ca3af, #6b7280, #9ca3af);
    opacity: 0.6;
}

/* Maskeleme overlay efekti */
.app-card-coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.app-card-coming-soon:hover {
    opacity: 0.5;
    filter: grayscale(70%) blur(0.5px) brightness(0.8);
    transform: translateY(-2px);
}

.app-card-coming-soon .app-icon-large {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: 0 8px 20px rgba(156, 163, 175, 0.15);
    opacity: 0.6;
    filter: grayscale(100%);
}

.app-card-coming-soon:hover .app-icon-large {
    transform: scale(1.01) rotate(1deg);
    box-shadow: 0 8px 20px rgba(156, 163, 175, 0.2);
    opacity: 0.7;
    filter: grayscale(90%);
}

.app-card-coming-soon .app-title {
    color: #9ca3af !important;
    opacity: 0.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.app-card-coming-soon .app-description {
    color: #d1d5db !important;
    opacity: 0.6;
}

.app-card-coming-soon .app-category {
    color: #d1d5db !important;
    opacity: 0.5;
}

.app-card-coming-soon .rating-value,
.app-card-coming-soon .downloads-count {
    color: #d1d5db !important;
    opacity: 0.6;
}

.app-card-coming-soon .star {
    opacity: 0.5;
}

.app-card-coming-soon .star.filled {
    color: #d1d5db !important;
    opacity: 0.4;
}

.app-card-coming-soon .feature-tag {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    opacity: 0.6;
}

.app-card-coming-soon .btn-coming-soon {
    opacity: 0.7;
    filter: grayscale(50%);
}

.app-card-coming-soon .btn-privacy {
    opacity: 0.6;
    filter: grayscale(60%);
}

/* Dark mode için daha güçlü maskeleme */
[data-theme="dark"] .app-card-coming-soon {
    opacity: 0.25;
    filter: grayscale(90%) blur(1.5px) brightness(0.5);
}

[data-theme="dark"] .app-card-coming-soon::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

[data-theme="dark"] .app-card-coming-soon:hover {
    opacity: 0.4;
    filter: grayscale(80%) blur(1px) brightness(0.6);
}

[data-theme="dark"] .app-card-coming-soon .app-title {
    color: rgba(255, 255, 255, 0.25) !important;
    opacity: 0.5;
}

[data-theme="dark"] .app-card-coming-soon .app-description {
    color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.4;
}

[data-theme="dark"] .app-card-coming-soon .app-category {
    color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.3;
}

[data-theme="dark"] .app-card-coming-soon .rating-value,
[data-theme="dark"] .app-card-coming-soon .downloads-count {
    color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.4;
}

[data-theme="dark"] .app-card-coming-soon .star.filled {
    color: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.3;
}

[data-theme="dark"] .app-card-coming-soon .app-icon-large {
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.5);
}

/* App Card Header */
.app-card-header {
    display: flex;
    gap: 20px;
    padding: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-icon-large {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(106, 90, 205, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-icon-large .app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    padding: 8px;
}

/* Play Store benzeri otomatik resim ölçekleme */
.auto-scale-image,
.screenshot-image,
.feature-image,
.app-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: #f8f9fa;
}

/* Aspect ratio koruma - Play Store tarzı */
.auto-scale-image[data-aspect-ratio],
.screenshot-image[data-aspect-ratio] {
    aspect-ratio: attr(data-aspect-ratio);
    object-fit: cover;
}

/* Responsive container */
.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Play Store tarzı screenshot container - Otomatik boyutlandırma */
.screenshot-container {
    position: relative;
    width: 180px;
    height: 320px;
    max-width: 180px;
    max-height: 320px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.screenshot-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.screenshot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.screenshot-container:hover img {
    transform: scale(1.02);
}

/* Feature card image container */
.feature-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 15px;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lazy loading placeholder */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive image grid - Play Store tarzı */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

.app-icon-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.app-card:hover .app-icon-large {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 30px rgba(106, 90, 205, 0.4);
}

.app-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.app-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1rem;
    transition: color 0.2s;
}

.star.filled {
    color: #ffc107;
}

.star.half {
    background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.downloads-count {
    font-size: 0.85rem;
    color: #666;
}

.app-description {
    color: #666;
    line-height: 1.7;
    margin: 0;
    padding: 0 24px;
    font-size: 0.95rem;
    flex: 1;
}

/* App Features */
.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(106, 90, 205, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: rgba(106, 90, 205, 0.2);
    transform: translateY(-2px);
}

/* App Actions */
.app-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    margin-top: auto;
}

.btn-play-store {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
    cursor: pointer;
}

.btn-play-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(106, 90, 205, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-play-store svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-play-store:hover svg {
    transform: scale(1.1);
}

.btn-coming-soon {
    flex: 1;
    padding: 14px 20px;
    background: #e0e0e0;
    color: #999;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: white;
    color: #666;
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-privacy:hover {
    background: rgba(106, 90, 205, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-privacy svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-privacy:hover svg {
    transform: scale(1.1);
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex: 1;
    min-width: 140px;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid rgba(106, 90, 205, 0.3);
}

.btn-secondary:hover {
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 61, 139, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px 40px;
    color: #333;
    margin-top: 0;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(106, 90, 205, 0.3), transparent);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid rgba(106, 90, 205, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
}

.footer-copyright {
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-grid {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }

    .hamburger {
        width: 45px;
        height: 45px;
    }

    .header-container {
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        width: 100%;
    }

    .main-header {
        width: 100%;
        max-width: 100vw;
        padding: 0;
    }
    
    .header-container {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .header-tagline {
        display: none !important;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero-section {
        padding: 110px 15px 50px;
        min-height: 0;
    }
    
    .hero-brand {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-cta {
        margin-bottom: 60px;
    }
    
    .btn-playstore {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        min-height: 48px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .about-section,
    .skills-section,
    .apps-section,
    .contact-section {
        padding: 60px 20px;
    }

    #apps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .app-card {
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .app-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    
    .app-icon-large {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 2rem;
    }
    
    .app-header-info {
        align-items: center;
    }
    
    .app-rating {
        justify-content: center;
    }
    
    .app-description {
        padding: 0 20px;
        text-align: center;
    }
    
    .app-features {
        padding: 14px 20px;
        justify-content: center;
    }
    
    .app-actions {
        flex-direction: column;
        padding: 18px 20px;
        gap: 10px;
    }
    
    .btn-play-store,
    .btn-coming-soon,
    .btn-privacy {
        width: 100%;
        min-height: 44px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-item {
        padding: 24px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Overflow kontrolü */
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    /* Prevent horizontal scroll */
    .main-header,
    .hero-section,
    .about-section,
    .skills-section,
    .apps-section,
    .contact-section,
    footer {
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }
}

/* Contact Section */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-content {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.btn-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(106, 90, 205, 0.3);
}

.btn-contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(106, 90, 205, 0.4);
}

.btn-contact-link:active {
    transform: translateY(-1px);
}

.btn-contact-link svg {
    transition: transform 0.3s ease;
}

.btn-contact-link:hover svg {
    transform: translateX(5px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(106, 90, 205, 0.1);
    text-align: left;
}

.contact-form-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1a1a1a;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
    margin-top: 10px;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(106, 90, 205, 0.4);
}

.btn-contact-submit:active {
    transform: translateY(0);
}

.contact-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.contact-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.contact-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(106, 90, 205, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(106, 90, 205, 0.2);
    border-color: rgba(106, 90, 205, 0.3);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.email-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.github-icon {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
}

.portfolio-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.3);
}

.contact-card-title {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-card-link {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    word-break: break-word;
}

.contact-card-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.contact-card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* Dark Theme */
[data-theme="dark"] .contact-section {
    background: rgba(30, 30, 46, 0.5);
}

[data-theme="dark"] .contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .btn-contact-link {
    box-shadow: 0 4px 20px rgba(106, 90, 205, 0.4);
}

[data-theme="dark"] .contact-card {
    background: rgba(30, 30, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-card-title {
    color: white;
}

[data-theme="dark"] .contact-card-desc {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .contact-form-container {
    background: rgba(30, 30, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-form-title {
    color: white;
}

[data-theme="dark"] .contact-form label {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container {
        order: 2;
    }
    
    .contact-grid {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 25px;
    }
    
    /* Mobilde sidebar düzeltmeleri */
    .sidebar {
        width: 85vw;
        max-width: 300px;
        min-width: 250px;
        padding: 20px 18px;
        border-radius: 0;
        right: -100%;
        box-sizing: border-box;
    }
    
    .sidebar.active {
        right: 0;
    }
    
    .close-btn {
        padding: 8px 12px;
        font-size: 20px;
        margin-bottom: 25px;
        width: 100%;
    }
    
    .menu-item {
        padding: 12px 16px;
        font-size: 16px;
        margin-bottom: 12px;
        word-break: break-word;
    }
    
    /* Overlay mobilde tam ekran */
    .overlay {
        /* Blur efekti kaldırıldı */
    }
    
    /* Mobilde body scroll lock */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
    }
}

/* Eski contact-link stilleri (geriye dönük uyumluluk için) */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 20px 40px;
    background: white;
    border: 2px solid rgba(106, 90, 205, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.3);
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1);
}

.contact-link span {
    letter-spacing: 0.3px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(106, 90, 205, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Particle Background Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(106, 90, 205, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 16px 30px;
        gap: 12px;
    }
    
    .header-container {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        gap: 15px;
        flex-wrap: nowrap !important;
    }
    
    .logo-wrapper {
        gap: 8px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        padding: 8px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .header-tagline {
        font-size: 0.7rem;
        display: none;
    }
    
    /* Header butonları - flex layout ile otomatik yerleşim */
    .header-buttons {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
        margin-left: auto;
        flex-wrap: nowrap;
        position: relative !important;
        top: auto !important;
        right: auto !important;
    }
    
    .search-toggle,
    .theme-toggle,
    .hamburger {
        width: 45px;
        height: 45px;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0;
    }
    
    /* Menü açıkken search, theme ve admin toggle'ı gizle (mobil) */
    body.menu-open .header-buttons {
        opacity: 0.5;
        pointer-events: none;
    }
    
    .admin-toggle {
        width: 45px;
        height: 45px;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0;
    }
    
    .search-container {
        padding-top: 80px;
    }
    
    .search-box {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        padding: 14px 20px;
        border-radius: 14px;
    }
    
    .search-input {
        font-size: 0.95rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
    
    .logo-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .hamburger {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 45px;
        height: 45px;
        margin: 0;
        z-index: var(--z-header-buttons);
    }
    
    .sidebar {
        width: 260px;
        padding: 20px;
    }
    
    .menu-item {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .about-section {
        padding: 60px 20px;
    }
    
    .about-main {
        margin-top: 30px;
        margin-bottom: 40px;
    }
    
    .about-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .about-tech {
        gap: 15px;
        padding: 30px 20px;
    }
    
    .tech-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .tech-item span {
        font-size: 0.85rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-item {
        padding: 25px;
    }
}

/* ==================== AI ASİSTAN WİDGET ==================== */
.ai-assistant-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-ai-modal);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Floating Button */
.ai-assistant-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.ai-assistant-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.ai-assistant-toggle:active {
    transform: scale(0.95);
}

.ai-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* AI Modal Backdrop/Overlay */
.ai-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Chat Modal */
.ai-assistant-modal {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 420px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-assistant-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ai-assistant-modal.closing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
}

/* Modal açıkken body scroll lock */
body.ai-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
}

/* Modal açıkken header tagline'ı gizle veya sola kaydır */
body.ai-modal-open .header-tagline {
    display: none !important;
}

/* Modal açıkken header container'ı sola hizala */
body.ai-modal-open .header-container {
    justify-content: flex-start !important;
}

/* Modal açıkken header butonlarını otomatik düzenle */
body.ai-modal-open .search-toggle,
body.ai-modal-open .theme-toggle,
body.ai-modal-open .admin-toggle,
body.ai-modal-open .hamburger {
    transition: all 0.3s ease;
}

/* Modal açıkken küçük ve orta ekranlarda header tagline'ı gizle */
@media (max-width: 1024px) {
    body.ai-modal-open .header-tagline {
        display: none !important;
    }
    
    body.ai-modal-open .header-container {
        justify-content: flex-start !important;
        gap: 16px;
    }
}

/* Modal açıkken header butonlarını modal'ın soluna kaydır - Sadece desktop için */
@media (min-width: 1367px) {
    body.ai-modal-open .ai-assistant-modal {
        /* Modal genişliğini kontrol et */
    }
    
    /* Modal genişliği 360px-450px arasındaysa butonları kaydır */
    body.ai-modal-open .search-toggle {
        right: calc(420px + 20px) !important;
    }
    
    body.ai-modal-open .theme-toggle {
        right: calc(420px + 80px) !important;
    }
    
    body.ai-modal-open .admin-toggle {
        right: calc(420px + 140px) !important;
    }
    
    body.ai-modal-open .hamburger {
        right: calc(420px + 200px) !important;
    }
}

/* iPad Pro için modal açıkken header butonlarını düzenle - Flex layout korunmalı */
@media (min-width: 1024px) and (max-width: 1366px) {
    /* Tablet modunda flex layout kullanıldığı için position absolute kullanmıyoruz */
    body.ai-modal-open .header-buttons {
        position: relative !important;
        right: auto !important;
    }
    
    body.ai-modal-open .search-toggle,
    body.ai-modal-open .theme-toggle,
    body.ai-modal-open .admin-toggle,
    body.ai-modal-open .hamburger {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
    }
}

/* Tablet ve küçük ekranlarda modal açıkken butonları flex layout ile bırak */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet modunda flex layout kullanıldığı için position absolute kullanmıyoruz */
    body.ai-modal-open .header-buttons {
        position: relative !important;
        right: auto !important;
    }
    
    body.ai-modal-open .search-toggle,
    body.ai-modal-open .theme-toggle,
    body.ai-modal-open .admin-toggle,
    body.ai-modal-open .hamburger {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
    }
}

/* Küçük ekranlarda modal açıkken butonları daha da sola kaydır */
@media (max-width: 768px) {
    body.ai-modal-open .search-toggle,
    body.ai-modal-open .theme-toggle,
    body.ai-modal-open .admin-toggle {
        right: auto !important;
        left: 20px !important;
        transform: translateX(0);
    }
    
    body.ai-modal-open .search-toggle {
        top: 70px !important;
    }
    
    body.ai-modal-open .theme-toggle {
        top: 130px !important;
    }
    
    body.ai-modal-open .admin-toggle {
        top: 190px !important;
    }
    
    body.ai-modal-open .hamburger {
        right: 20px !important;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

.ai-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

/* Header */
.ai-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    gap: 12px;
}

.ai-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ai-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.ai-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.ai-header-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 2px solid rgba(147, 112, 219, 0.8);
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.6), rgba(106, 90, 205, 0.5));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.4);
    padding: 0;
    font-size: 0;
}

.ai-header-btn:hover {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(106, 90, 205, 0.7));
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(106, 90, 205, 0.6);
}

.ai-header-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(106, 90, 205, 0.3);
}

.ai-header-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Welcome Section */
.ai-welcome-section {
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.ai-welcome-content {
    max-width: 100%;
}

.ai-welcome-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.ai-welcome-content h3 {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 700;
}

.ai-welcome-content p {
    margin: 0 0 24px 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-mode-info {
    text-align: left;
    margin-top: 24px;
}

.ai-mode-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.ai-mode-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ai-mode-item strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.ai-mode-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Chat Messages */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #f8f9fa;
}

.ai-chat-messages.active {
    display: flex;
}

.ai-message {
    display: flex;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.ai-message.user .ai-message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-message.assistant .ai-message-avatar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.ai-message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.ai-message.user .ai-message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message.assistant .ai-message-content {
    background: white;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ai-message-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.ai-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    animation: typing 1.4s infinite;
}

.ai-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Content Types - İyileştirilmiş */
.ai-content-types {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    overflow-x: auto;
    flex-wrap: wrap;
}

/* Firefox için scrollbar stilleri - Chrome/Safari için -webkit-scrollbar kullanılıyor */
@supports (scrollbar-width: thin) {
    .ai-content-types {
        scrollbar-width: thin;
        scrollbar-color: #667eea #f8f9fa;
    }
}

.ai-content-types::-webkit-scrollbar {
    height: 6px;
}

.ai-content-types::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ai-content-types::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.ai-type-btn {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    background: white;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ai-type-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.ai-type-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Input Area */
.ai-input-area {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
}

.ai-status-bar {
    margin-top: 8px;
    text-align: center;
}

.ai-status-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.ai-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.ai-message-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.ai-message-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ai-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}

.ai-send-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.ai-send-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive - Mobil Uyumluluk İyileştirmeleri */
@media (max-width: 768px) {
    .ai-assistant-modal {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        max-width: none;
        max-height: none;
        border-radius: 0;
        z-index: 9999;
    }

    .ai-modal-backdrop {
        background: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .ai-assistant-toggle {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
        min-width: 56px;
        min-height: 56px;
    }

    .ai-badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }

    .ai-modal-header {
        padding: 14px 16px;
    }

    .ai-logo {
        font-size: 1rem;
    }

    .ai-header-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border: 2px solid rgba(147, 112, 219, 0.8) !important;
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.6), rgba(106, 90, 205, 0.5)) !important;
        box-shadow: 0 4px 10px rgba(106, 90, 205, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(106, 90, 205, 0.7)) !important;
        border-color: rgba(147, 112, 219, 1) !important;
    }

    .ai-header-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-chat-messages {
        padding: 16px;
    }

    .ai-message {
        margin-bottom: 16px;
    }

    .ai-message-content {
        padding: 12px 16px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .ai-input-wrapper {
        padding: 12px;
    }

    .ai-message-input {
        font-size: 16px; /* iOS zoom önleme */
        padding: 12px 16px;
        min-height: 48px;
    }

    .ai-send-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .ai-status-bar {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .ai-content-types {
        padding: 10px 12px;
    }

    .ai-type-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
        min-height: 36px;
    }
}

@media (max-width: 480px) {
    .ai-assistant-widget {
        bottom: 12px;
        right: 12px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .ai-assistant-toggle svg {
        width: 20px;
        height: 20px;
    }

    .ai-badge {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
        top: -3px;
        right: -3px;
        border-width: 1.5px;
    }

    .ai-modal-backdrop {
        background: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .ai-assistant-modal {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        height: calc(100vw - 24px + 80px); /* Yukarı doğru genişletmek için yüksekliği artır */
        max-height: calc(100vw - 24px + 80px);
        /* Ekran çok uzunsa maksimum yükseklik sınırı */
        min-height: 300px;
        bottom: 12px;
        right: 12px;
        left: 12px;
        top: auto;
        margin-top: 40px; /* Header'dan biraz daha yakın */
        border-radius: 16px;
        z-index: 9999;
    }

    .ai-modal-header {
        padding: 12px 14px;
        margin-top: 0;
    }

    .ai-logo {
        font-size: 0.95rem;
        gap: 8px;
    }

    .ai-logo svg {
        width: 20px;
        height: 20px;
    }

    .ai-header-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        border: 2px solid rgba(147, 112, 219, 0.8) !important;
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.6), rgba(106, 90, 205, 0.5)) !important;
        box-shadow: 0 4px 10px rgba(106, 90, 205, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(106, 90, 205, 0.7)) !important;
        border-color: rgba(147, 112, 219, 1) !important;
    }

    .ai-header-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-send-btn {
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5) !important;
    }

    .ai-send-btn:hover:not(:disabled) {
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6) !important;
    }

    .ai-send-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-header-btn svg {
        width: 16px;
        height: 16px;
    }

    .ai-chat-messages {
        padding: 12px;
    }

    .ai-message-content {
        padding: 10px 14px;
        font-size: 0.9rem;
        max-width: 80%;
    }

    .ai-message-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .ai-input-area {
        padding: 10px 12px;
    }

    .ai-input-wrapper {
        padding: 0;
        gap: 6px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 10px 14px;
        min-height: 44px;
    }

    .ai-send-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .ai-send-btn svg {
        width: 18px;
        height: 18px;
    }

    .ai-status-text {
        font-size: 0.7rem;
    }

    .ai-welcome-icon {
        font-size: 3rem;
    }

    .ai-welcome-content h3 {
        font-size: 1.25rem;
    }

    .ai-welcome-content p {
        font-size: 0.85rem;
    }
}

/* Dark Mode Support - İyileştirilmiş */
[data-theme="dark"] .ai-modal-backdrop {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .ai-assistant-modal {
    background: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ai-modal-content {
    background: #1e1e2e;
}

[data-theme="dark"] .ai-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ai-welcome-section {
    background: #1e1e2e;
}

[data-theme="dark"] .ai-welcome-content h3 {
    color: white;
}

[data-theme="dark"] .ai-welcome-content p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .ai-mode-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ai-mode-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .ai-mode-item strong {
    color: white;
}

[data-theme="dark"] .ai-mode-item p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .ai-chat-messages {
    background: #1a1a2e;
}

[data-theme="dark"] .ai-message.user .ai-message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

[data-theme="dark"] .ai-message.assistant .ai-message-content {
    background: #2a2a3e;
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .ai-typing-dot {
    background: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .ai-content-types {
    background: #1e1e2e;
    border-top-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .ai-type-btn {
    background: #2a2a3e;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .ai-type-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #667eea;
}

[data-theme="dark"] .ai-type-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .ai-input-area {
    background: #1e1e2e;
    border-top-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .ai-status-text {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .ai-message-input {
    background: #2a2a3e;
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
}

[data-theme="dark"] .ai-message-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .ai-message-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: #2f2f3f;
}

[data-theme="dark"] .ai-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .ai-send-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6);
}

[data-theme="dark"] .ai-header-btn {
    border: 2px solid rgba(147, 112, 219, 0.8) !important;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.5), rgba(106, 90, 205, 0.4)) !important;
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3) !important;
}

[data-theme="dark"] .ai-header-btn:hover {
    border-color: rgba(147, 112, 219, 1) !important;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.7), rgba(106, 90, 205, 0.6)) !important;
    box-shadow: 0 6px 16px rgba(106, 90, 205, 0.5) !important;
}

[data-theme="dark"] .ai-header-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="dark"] .ai-assistant-toggle {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .ai-assistant-toggle:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* ============================================
   KAPSAMLI MOBİL UYUMLULUK İYİLEŞTİRMELERİ
   ============================================ */

/* Genel Mobil İyileştirmeler */
@media (max-width: 480px) {
    /* Touch-friendly butonlar - minimum 44x44px */
    button, .btn, a.btn, .btn-playstore, .btn-contact-link,
    .btn-play-store, .btn-coming-soon, .btn-privacy,
    .search-toggle, .theme-toggle, .hamburger {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(106, 90, 205, 0.2);
    }

    /* Font boyutları - okunabilirlik için minimum 16px */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hero Section Mobil İyileştirmeleri */
    .hero-section {
        padding: 120px 16px 40px;
        min-height: calc(100vh - 60px);
    }

    .hero-brand {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 32px;
        padding: 0 8px;
        line-height: 1.5;
    }

    .btn-playstore {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 32px 20px;
        margin-top: 40px;
    }

    .stat-item {
        width: 100%;
        padding: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Section Başlıkları */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    /* About Section */
    .about-section {
        padding: 50px 16px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-main {
        margin-top: 24px;
        margin-bottom: 32px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .about-tech {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .tech-item {
        min-width: 100px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Skills Section */
    .skills-section {
        padding: 50px 16px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .skill-item {
        padding: 20px;
    }

    .skill-item h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* Apps Section */
    .apps-section {
        padding: 50px 16px;
    }

    #apps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .app-card {
        border-radius: 16px;
        margin: 0;
    }

    .app-card-header {
        padding: 20px 16px;
        gap: 16px;
    }

    .app-icon-large {
        width: 64px;
        height: 64px;
        min-width: 64px;
        font-size: 1.8rem;
    }

    .app-title {
        font-size: 1.3rem;
    }

    .app-category {
        font-size: 0.85rem;
    }

    .app-description {
        padding: 0 16px;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .app-features {
        padding: 12px 16px;
        gap: 8px;
    }

    .app-feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .app-actions {
        padding: 16px;
        gap: 10px;
    }

    .btn-play-store,
    .btn-coming-soon,
    .btn-privacy {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    /* Contact Section */
    .contact-section {
        padding: 50px 16px;
    }

    .contact-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .btn-contact-link {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Footer */
    footer {
        padding: 40px 16px 24px;
    }

    .footer-content {
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links a {
        font-size: 0.95rem;
        padding: 8px 0;
    }

    .social-links {
        gap: 16px;
        justify-content: center;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .footer-copyright {
        font-size: 0.85rem;
        text-align: center;
    }

    /* Header İyileştirmeleri */
    .header-container {
        padding: 12px 16px;
        gap: 8px;
        max-width: 100%;
        width: 100%;
        justify-content: space-between;
    }

    .main-header {
        width: 100%;
        max-width: 100vw;
    }

    .logo-wrapper {
        gap: 8px;
        flex-shrink: 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .header-tagline {
        display: none;
    }

    /* Header Butonlar - Mobil Düzeni */
    .header-buttons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
        margin-left: auto;
        flex-wrap: nowrap;
        z-index: var(--z-header-buttons);
    }

    .header-buttons > * {
        flex-shrink: 0;
        position: relative;
    }

    .search-toggle,
    .theme-toggle,
    .hamburger {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        max-width: 44px;
        max-height: 44px;
        flex-shrink: 0;
        position: relative;
    }

    .hamburger {
        padding: 0;
        gap: 4px;
        justify-content: center;
        align-items: center;
    }

    .hamburger span {
        height: 3px;
        width: 20px;
    }

    body.menu-open .hamburger {
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: calc(var(--z-sidebar) + 1) !important;
    }

    .admin-toggle {
        display: none; /* Mobilde admin butonu gizle */
    }

    /* Search Container */
    .search-container {
        padding-top: 70px;
        width: 100%;
        max-width: 100vw;
    }

    .search-box {
        min-width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
        padding: 12px 16px;
        margin: 0 16px;
    }

    .search-input {
        font-size: 16px; /* iOS zoom önleme */
        padding: 10px 12px;
    }

    /* Sidebar Mobil İyileştirmeleri */
    .sidebar {
        width: 85vw;
        max-width: 280px;
        padding: 20px 16px;
    }

    .close-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .menu-item {
        padding: 14px 16px;
        font-size: 1rem;
        margin-bottom: 10px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* App Card Butonları */
    .app-card-actions {
        gap: 8px;
    }

    /* Skills Progress Bar */
    .skill-bar {
        height: 8px;
    }

    .skill-progress {
        height: 8px;
    }

    /* Contact Wrapper - Mobilde tek sütun */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-container {
        padding: 24px 16px;
    }

    .contact-form-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* iOS zoom önleme */
        padding: 12px 16px;
        min-height: 44px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Hero Stats - Mobilde dikey */
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px 16px;
    }

    .stat-item {
        width: 100%;
        padding: 16px;
    }

    /* About Tech - Mobilde 2 sütun */
    .about-tech {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 16px;
    }

    .tech-item {
        min-width: auto;
        padding: 16px 12px;
    }

    .tech-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    /* Overflow ve genel düzenlemeler */
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    /* Prevent horizontal scroll */
    .main-header,
    .hero-section,
    .about-section,
    .skills-section,
    .apps-section,
    .contact-section,
    footer {
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }

    /* App Card - Mobilde tam genişlik */
    .app-card {
        width: 100%;
        max-width: 100%;
    }

    /* Section padding düzenlemeleri */
    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Footer mobil düzeni */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        width: 100%;
    }

    .social-links {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet ve Küçük Ekranlar (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Header Container - Tablet Portrait'te yan yana kalmalı */
    .header-container {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        gap: 16px;
        flex-wrap: nowrap !important;
    }

    .header-buttons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex-shrink: 0;
        margin-left: auto;
        flex-wrap: nowrap;
        z-index: var(--z-header-buttons);
    }

    .header-buttons > * {
        flex-shrink: 0;
        position: relative;
    }

    .search-toggle,
    .theme-toggle,
    .hamburger {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
        max-width: 46px;
        max-height: 46px;
        flex-shrink: 0;
        position: relative;
    }

    .hamburger {
        padding: 0;
        gap: 4px;
    }

    .hamburger span {
        width: 22px;
        height: 3px;
    }

    body.menu-open .hamburger {
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: calc(var(--z-sidebar) + 1) !important;
    }

    .header-tagline {
        display: block !important;
        font-size: 0.75rem;
        max-width: 150px;
        opacity: 1;
    }

    .logo-wrapper {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .logo {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    /* AI Assistant - Tablet Portrait */
    .ai-assistant-widget {
        bottom: 20px;
        right: 20px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 52px;
        height: 52px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 60px);
        max-width: 400px;
        height: calc(100vh - 140px);
        max-height: 550px;
        bottom: 80px;
        right: 20px;
        left: auto;
        border-radius: 16px;
    }

    .ai-modal-header {
        padding: 12px 16px;
    }

    .ai-logo {
        font-size: 1rem;
    }

    .ai-chat-messages {
        padding: 14px 16px;
    }

    .ai-message-content {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .ai-input-area {
        padding: 10px 16px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 10px 14px;
        min-height: 44px;
    }

    .ai-send-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .hero-section {
        padding: 140px 24px 50px;
    }

    .hero-brand {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2rem;
    }

    #apps-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-tech {
        gap: 20px;
    }
}

/* Küçük Mobil Cihazlar (max-width: 360px) */
@media (max-width: 360px) {
    .hero-brand {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sidebar {
        width: 90vw;
        max-width: 260px;
    }

    .app-card-header {
        padding: 16px;
    }

    .app-icon-large {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Landscape Modu - Mobil */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 100px 20px 40px;
        min-height: 0;
    }

    .hero-brand {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
        padding: 24px 20px;
    }

    .ai-assistant-modal {
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
    }
}

/* ============================================
   TABLET & iPad RESPONSIVE İYİLEŞTİRMELERİ
   ============================================ */

/* iPad / iPad Air (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Header Container - iPad'de yan yana kalmalı, otomatik yerleşim */
    .header-container {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 18px 30px;
        gap: 20px;
        flex-wrap: nowrap !important;
        position: relative;
    }

    .header-tagline {
        display: block !important;
        font-size: 0.8rem;
        max-width: 180px;
        opacity: 1;
    }

    .logo-wrapper {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
    }

    .logo {
        font-size: 1.4rem;
        white-space: nowrap;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    /* Header butonları - otomatik yerleşim, position absolute değil */
    .header-buttons {
        position: relative !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        margin-left: auto;
        top: auto !important;
        right: auto !important;
    }

    .search-toggle,
    .theme-toggle,
    .hamburger {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 44px;
        height: 44px;
        margin: 0;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    /* Hero Section */
    .hero-section {
        padding: 120px 40px 60px;
    }

    .hero-brand {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.15rem;
        max-width: 600px;
    }

    /* Apps Grid - 2 sütun */
    #apps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }

    /* Skills Grid - 2 sütun */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* About Section */
    .about-section {
        padding: 60px 40px;
    }

    .about-content {
        max-width: 700px;
    }

    /* App Cards */
    .app-card {
        padding: 0;
    }

    .app-card-header {
        padding: 24px;
    }

    .app-card-body {
        padding: 20px 24px;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.25rem;
    }

    /* Hamburger Menu */
    .hamburger {
        width: 44px;
        height: 44px;
    }

    /* Search Container - iPad */
    .search-container {
        z-index: var(--z-search-container);
    }

    /* Sidebar - iPad */
    .sidebar {
        z-index: var(--z-sidebar);
    }

    /* Overlay - iPad */
    .overlay {
        z-index: var(--z-overlay);
    }

    /* AI Assistant - iPad */
    .ai-assistant-widget {
        bottom: 20px;
        right: 20px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 56px;
        height: 56px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 80px);
        max-width: 450px;
        height: calc(100vh - 140px);
        max-height: 600px;
        bottom: 85px;
        right: 20px;
        left: auto;
        border-radius: 18px;
    }
}

/* iPad Mini Portrait (768x1024) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    /* AI Assistant - iPad Mini Portrait */
    .ai-assistant-widget {
        bottom: 16px;
        right: 16px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 52px;
        height: 52px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 60px);
        max-width: 420px;
        height: calc(100vh - 120px);
        max-height: 580px;
        bottom: 75px;
        right: 16px;
        left: auto;
        border-radius: 16px;
    }

    .ai-modal-header {
        padding: 12px 16px;
    }

    .ai-logo {
        font-size: 1rem;
    }

    .ai-chat-messages {
        padding: 14px 16px;
    }

    .ai-message-content {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .ai-input-area {
        padding: 10px 16px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 10px 14px;
        min-height: 44px;
    }

    .ai-send-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5) !important;
    }

    .ai-send-btn:hover:not(:disabled) {
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6) !important;
    }

    .ai-send-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-header-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        border: 2px solid rgba(147, 112, 219, 0.8) !important;
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.6), rgba(106, 90, 205, 0.5)) !important;
        box-shadow: 0 4px 10px rgba(106, 90, 205, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(106, 90, 205, 0.7)) !important;
        border-color: rgba(147, 112, 219, 1) !important;
    }

    .ai-header-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-modal-header {
        padding: 14px 18px;
    }

    .ai-logo {
        font-size: 1.05rem;
    }

    .ai-chat-messages {
        padding: 16px 18px;
    }

    .ai-message-content {
        font-size: 0.95rem;
        padding: 12px 16px;
    }

    .ai-input-area {
        padding: 12px 18px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 12px 16px;
        min-height: 46px;
    }

    .ai-send-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .ai-header-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        border: 2px solid rgba(147, 112, 219, 0.8) !important;
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.6), rgba(106, 90, 205, 0.5)) !important;
        box-shadow: 0 4px 10px rgba(106, 90, 205, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(106, 90, 205, 0.7)) !important;
        border-color: rgba(147, 112, 219, 1) !important;
    }

    .ai-header-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-send-btn {
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5) !important;
    }

    .ai-send-btn:hover:not(:disabled) {
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6) !important;
    }

    .ai-send-btn svg {
        stroke-width: 2.5 !important;
    }

    /* Contact Form */
    .contact-form {
        max-width: 600px;
    }

    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }
}

/* iPad Pro (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    /* Header Container - iPad Pro'da yan yana kalmalı, otomatik yerleşim */
    .header-container {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 18px 30px;
        gap: 20px;
        flex-wrap: nowrap !important;
        position: relative;
    }

    .header-tagline {
        display: block !important;
        font-size: 0.85rem;
        max-width: 200px;
        opacity: 1;
    }

    /* Header butonları - otomatik yerleşim, position absolute değil */
    .header-buttons {
        position: relative !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        margin-left: auto;
        top: auto !important;
        right: auto !important;
    }

    .search-toggle,
    .theme-toggle,
    .admin-toggle,
    .hamburger {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 46px;
        height: 46px;
        margin: 0;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    .logo-wrapper {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
    }

    .logo {
        font-size: 1.6rem;
        white-space: nowrap;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    /* Search Container - iPad Pro */
    .search-container {
        z-index: var(--z-search-container);
    }

    /* Sidebar - iPad Pro */
    .sidebar {
        z-index: var(--z-sidebar);
    }

    /* Overlay - iPad Pro */
    .overlay {
        z-index: var(--z-overlay);
    }

    /* Hero Section */
    .hero-section {
        padding: 140px 60px 80px;
    }

    .hero-brand {
        font-size: 4rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
        max-width: 700px;
    }

    /* AI Assistant - iPad Pro */
    .ai-assistant-widget {
        bottom: 30px;
        right: 30px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 60px;
        height: 60px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 100px);
        max-width: 500px;
        height: calc(100vh - 180px);
        max-height: 650px;
        bottom: 100px;
        right: 40px;
        left: auto;
        border-radius: 18px;
    }

    .ai-modal-header {
        padding: 16px 20px;
    }

    .ai-logo {
        font-size: 1.1rem;
    }

    .ai-chat-messages {
        padding: 18px 20px;
    }

    .ai-message-content {
        font-size: 1rem;
        padding: 14px 18px;
    }

    .ai-input-area {
        padding: 14px 20px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 14px 18px;
        min-height: 48px;
    }

    .ai-send-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .ai-header-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }

    /* Apps Grid - 3 sütun */
    #apps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        padding: 0 40px;
    }

    /* Skills Grid - 3 sütun */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    /* About Section */
    .about-section {
        padding: 80px 60px;
    }

    .about-content {
        max-width: 800px;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
    }

    /* AI Assistant - iPad Pro (güncellendi) */
    .ai-assistant-widget {
        bottom: 30px;
        right: 30px;
        z-index: 95;
    }

    .ai-assistant-toggle {
        width: 64px;
        height: 64px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 80px);
        max-width: 600px;
        height: calc(100vh - 160px);
        max-height: 750px;
        bottom: 105px;
        right: 40px;
        left: auto;
        border-radius: 20px;
    }

    .ai-modal-header {
        padding: 18px 22px;
    }

    .ai-logo {
        font-size: 1.15rem;
    }

    .ai-chat-messages {
        padding: 20px 22px;
    }

    .ai-message-content {
        font-size: 1.05rem;
        padding: 16px 20px;
    }

    .ai-input-area {
        padding: 16px 22px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 16px 20px;
        min-height: 52px;
    }

    .ai-send-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .ai-header-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    /* Contact Form */
    .contact-form {
        max-width: 700px;
    }
}

/* iPad Pro Landscape (1024px - 1366px landscape) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-section {
        padding: 100px 60px 60px;
        min-height: 70vh;
    }

    .hero-brand {
        font-size: 3.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 40px;
    }

    #apps-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    /* AI Assistant - Landscape (Nest Hub 1024x600) */
    .ai-assistant-widget {
        bottom: 16px;
        right: 16px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 52px;
        height: 52px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 120px);
        max-width: 360px;
        height: calc(100vh - 80px);
        max-height: 500px;
        bottom: 70px;
        right: 16px;
        left: auto;
        border-radius: 16px;
    }

    .ai-modal-header {
        padding: 12px 16px;
    }

    .ai-logo {
        font-size: 1rem;
    }

    .ai-chat-messages {
        padding: 12px 16px;
    }

    .ai-message-content {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .ai-input-area {
        padding: 10px 16px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 10px 14px;
        min-height: 42px;
    }

    .ai-send-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5) !important;
    }

    .ai-send-btn:hover:not(:disabled) {
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.6) !important;
    }

    .ai-send-btn svg {
        stroke-width: 2.5 !important;
    }

    .ai-header-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border: 2px solid rgba(255, 255, 255, 0.7) !important;
        background: rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: rgba(255, 255, 255, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
    }

    .ai-header-btn svg {
        width: 18px;
        height: 18px;
        stroke-width: 3 !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) !important;
    }
}

/* Nest Hub / Low Height Landscape (max-height: 600px) */
@media (min-width: 1024px) and (max-height: 600px) {
    /* AI Assistant - Nest Hub (1024x600) */
    .ai-assistant-widget {
        bottom: 12px;
        right: 12px;
        z-index: var(--z-ai-modal);
    }

    .ai-assistant-toggle {
        width: 48px;
        height: 48px;
    }

    .ai-assistant-modal {
        width: calc(100vw - 120px);
        max-width: 350px;
        height: calc(100vh - 70px);
        max-height: 500px;
        bottom: 65px;
        right: 12px;
        left: auto;
        border-radius: 14px;
    }

    .ai-modal-header {
        padding: 10px 14px;
    }

    .ai-logo {
        font-size: 0.95rem;
    }

    .ai-chat-messages {
        padding: 10px 14px;
    }

    .ai-message-content {
        font-size: 0.85rem;
        padding: 8px 12px;
        line-height: 1.4;
    }

    .ai-input-area {
        padding: 8px 14px;
    }

    .ai-message-input {
        font-size: 16px;
        padding: 8px 12px;
        min-height: 40px;
        font-size: 14px;
    }

    .ai-send-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5) !important;
    }

    .ai-send-btn svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.5 !important;
    }

    .ai-header-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        border: 2px solid rgba(255, 255, 255, 0.7) !important;
        background: rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
    }

    .ai-header-btn:hover {
        background: rgba(255, 255, 255, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
    }

    .ai-header-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 3 !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) !important;
    }

    .ai-status-bar {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Tablet Portrait (481px - 768px) - Daha detaylı */
@media (min-width: 481px) and (max-width: 768px) {
    /* Hero optimizasyonları */
    .hero-section {
        padding: 120px 30px 50px;
    }

    .hero-brand {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    /* Apps Grid - 2 sütun */
    #apps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    /* App Cards */
    .app-card-header {
        padding: 20px;
    }

    .app-card-body {
        padding: 18px 20px;
    }

    .app-icon-large {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    /* Skills Grid */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    /* AI Assistant */
    .ai-assistant-widget {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .ai-assistant-modal {
        width: 92%;
        max-width: 550px;
        height: 88vh;
    }

    /* Contact Form */
    .contact-form {
        max-width: 550px;
        padding: 30px 25px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Touch-friendly elements for tablets */
@media (min-width: 481px) and (max-width: 1024px) {
    /* Butonlar */
    button,
    .btn,
    .app-card-actions button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Input fields */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea,
    select {
        min-height: 44px;
        font-size: 16px; /* iOS zoom önleme */
        padding: 12px 16px;
    }

    /* Links */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Menu items */
    .menu-item {
        min-height: 48px;
        padding: 14px 20px;
    }

    /* Search toggle */
    .search-toggle {
        width: 48px;
        height: 48px;
    }

    /* Theme toggle */
    .theme-toggle {
        width: 48px;
        height: 48px;
    }

    /* Hamburger */
    .hamburger {
        width: 44px;
        height: 44px;
    }
}

/* Admin Panel - İstatistik Stilleri */
.stats-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-icon.icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card-icon.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-card-icon.icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stats-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.chart-container h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.chart-container.full-width {
    grid-column: 1 / -1;
}

.btn-preview-notification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Admin Panel - Kategori Yönetimi Stilleri */
.category-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.category-select {
    flex: 1;
}

.btn-add-category {
    white-space: nowrap;
}

.category-modal {
    display: none;
}

.category-modal.active {
    display: flex;
}

.category-modal-content {
    max-width: 400px;
}

/* Feature Cards ve Screenshots Yönetimi */
.feature-cards-input,
.screenshots-input {
    margin-top: 10px;
    margin-bottom: 10px;
}

.feature-card-item,
.screenshot-item {
    transition: all 0.2s ease;
}

.feature-card-item:hover,
.screenshot-item:hover {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

.textarea-medium {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.add-feature-card,
.add-screenshot {
    margin-top: 10px;
}

.btn-icon-left {
    margin-right: 6px;
}

/* Admin Panel - Bölüm Başlıkları ve Görünürlük */
.section-divider-highlight {
    margin: 30px 0 !important;
    border-color: #667eea !important;
}

.section-highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    margin-top: 20px;
}

.section-title-highlight {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.section-subtitle-highlight {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.section-icon-highlight {
    margin-right: 8px;
}

.features-section-header {
    margin-top: 20px;
}

.features-section-header h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-cards-label {
    font-weight: 600;
    color: #1a1a1a;
}

/* Play Store URL Input Group */
.playstore-url-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.playstore-url-input {
    flex: 1;
}

/* Inline style replacements - Admin Panel */
.d-none {
    display: none;
}

.info-text {
    display: block;
    color: #6b7280;
}

.info-text-small {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.875rem;
}

.github-mode-info {
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    display: none;
}

.github-mode-info-text {
    margin: 0;
    color: #92400e;
    font-size: 0.875rem;
}

.firebase-mode-info {
    padding: 12px;
    background: #fff5e6;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
    display: none;
}

.firebase-mode-info-text {
    margin: 0;
    color: #e65100;
    font-size: 0.875rem;
}

.local-mode-info {
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.local-mode-info-text {
    margin: 0;
    color: #1e40af;
    font-size: 0.875rem;
}

.apps-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Console warning fix classes */
.doc-list {
    margin-left: 20px;
    margin-top: 10px;
}

.card-info {
    margin-bottom: 20px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-icon {
    font-size: 1.2em;
}

.info-text {
    margin: 0;
    color: #555;
    font-size: 0.9em;
}

.contact-icon {
    font-size: 28px;
}

.btn-reload {
    margin-top: 10px;
    padding: 8px 16px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-reload:hover {
    background: #1976d2;
}

button.btn-reload[style] {
    background: #667eea;
}

button.btn-reload[style]:hover {
    background: #5568d3;
}

/* ==================== APP SLIDER ANIMASYONLAR ==================== */

/* Keyframes - Slider Animasyonları */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

/* App Slider Container */
.app-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    min-height: 300px;
}

.app-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.1), rgba(147, 112, 219, 0.1));
    border: 2px solid rgba(106, 90, 205, 0.2);
    box-shadow: 0 8px 32px rgba(106, 90, 205, 0.15);
}

.app-slides {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 280px;
}

.app-slide {
    min-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.05), rgba(147, 112, 219, 0.05));
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.app-slide.exit {
    animation: slideOut 0.4s ease-in forwards;
}

.app-slide-content {
    flex: 1;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.app-slide-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.app-slide-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-slide-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.app-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
}

.app-meta-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.app-meta-badge.status-published {
    background: linear-gradient(135deg, #10b981, #059669);
}

.app-meta-badge.status-test {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.app-meta-badge.status-coming {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.app-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-slide-actions a,
.app-slide-actions button {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.app-slide-actions a:hover,
.app-slide-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(106, 90, 205, 0.3);
}

.app-slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInFromRight 0.6s ease-out 0.1s both;
}

.app-slide-icon {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Pagination */
.slider-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    min-width: 100px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-dot.active {
    width: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.pagination-dot:hover {
    background: #bbb;
}

.pagination-dot.active:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Mobile Responsive Slider */
@media (max-width: 768px) {
    .app-slide {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        height: auto;
    }
    
    .app-slide-content h3 {
        font-size: 1.5rem;
    }
    
    .app-slide-content p {
        font-size: 0.95rem;
    }
    
    .app-slide-icon {
        font-size: 3.5rem;
    }
    
    .app-slider-container {
        margin-bottom: 30px;
        height: auto;
    }
    
    .slider-controls {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .app-slide {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .app-slide-content h3 {
        font-size: 1.3rem;
    }
    
    .app-meta-item {
        font-size: 0.9rem;
    }
    
    .app-slide-actions {
        width: 100%;
    }
    
    .app-slide-actions a,
    .app-slide-actions button {
        flex: 1;
        min-width: 120px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ==================== SLIDER YÖNETIMI CSS ==================== */

.slider-settings-container {
    margin-bottom: 24px;
}

.slider-settings-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
}

.slider-input {
    margin-bottom: 8px;
}

.slider-hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.slider-button-full {
    width: 100%;
    margin-top: 12px;
}

.slider-apps-container {
    max-height: 600px;
    overflow-y: auto;
}

.slider-update-button {
    width: 100%;
    margin-top: 16px;
}

.slider-icon-margin {
    margin-right: 6px;
}

.slider-tips-card {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.slider-tips-title {
    margin-top: 0;
    color: #92400e;
}

.slider-tips-list {
    margin: 0;
    padding-left: 20px;
    color: #92400e;
}

/* Slider App Item Styles */
.slider-app-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
    transition: background-color 0.2s;
}

.slider-app-item.slider-app-in {
    background: #f0fdf4;
}

.slider-app-checkbox {
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.slider-app-info {
    flex: 1;
}

.slider-app-title {
    font-weight: 600;
    color: #1a1a1a;
}

.slider-app-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

.slider-app-status {
    margin-left: 12px;
    color: #9ca3af;
}

.slider-app-status.slider-app-status-in {
    color: #10b981;
}

.slider-empty-message {
    color: #6b7280;
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* Hamburger Menu Button Stili */
.admin-menu-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-menu-toggle:hover {
    background-color: rgba(106, 90, 205, 0.1);
}

.admin-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.admin-menu-toggle.active {
    background-color: rgba(106, 90, 205, 0.2);
}

/* Mobil view'de hamburger menüsünü göster */
@media (max-width: 768px) {
    .admin-menu-toggle {
        display: flex !important;
    }
}