/* NOMOS Legal OS Web Simulation Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Tokens - Light Theme Default */
    --bg-main: #f8fafc;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-header: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-gold: #d97706;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --badge-bg: #eff6ff;
    --badge-text: #1d4ed8;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --sidebar-width: 290px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

[data-theme="dark"] {
    --bg-main: #0b1329;
    --bg-sidebar: #111a33;
    --bg-card: #172445;
    --bg-card-hover: #1e2d54;
    --bg-header: rgba(17, 26, 51, 0.85);
    --border-color: #23355e;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #38bdf8;
    --accent-blue-hover: #0284c7;
    --accent-gold: #fbbf24;
    --accent-green: #34d399;
    --accent-red: #f87171;
    --badge-bg: rgba(56, 189, 248, 0.15);
    --badge-text: #38bdf8;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Outfit', sans-serif;
}

/* App Container Layout */
#app {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Virtual Mouse Cursor Styles */
#virtualCursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    display: none;
    align-items: center;
    gap: 6px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

#virtualCursor.clicking {
    transform: scale(0.85);
}

.cursor-label {
    background: var(--accent-blue);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

#clickRipple {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

#clickRipple.animate {
    animation: rippleAnim 0.5s cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes rippleAnim {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Fullscreen Sequential Video Splash Modal */
.splash-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-sound-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 100001;
    background: rgba(11, 19, 41, 0.9);
    backdrop-filter: blur(12px);
    color: #38bdf8;
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    transition: all 0.2s ease;
    user-select: none;
    pointer-events: auto;
}

.splash-sound-btn:hover {
    transform: scale(1.08);
    background: #2563eb;
    color: #ffffff;
    border-color: #ffffff;
}

.splash-skip-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100001;
    background: rgba(11, 19, 41, 0.9);
    backdrop-filter: blur(12px);
    color: #fbbf24;
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    transition: all 0.2s ease;
    user-select: none;
    pointer-events: auto;
}

.splash-skip-btn:hover {
    transform: scale(1.08);
    background: #d97706;
    color: #ffffff;
    border-color: #ffffff;
}

.splash-overlay-card {
    position: relative;
    z-index: 2;
    background: rgba(11, 19, 41, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 36px 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 600px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
}

.splash-overlay-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
}

.splash-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.5));
}

.splash-title {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.splash-stage-badge {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.splash-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.splash-btn-group {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.splash-enter-btn {
    flex: 1;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.splash-enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* Yanıp Sönen ÇOK YAKINDA Yazısı */
.blinking-coming-soon {
    margin-top: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.8), 0 0 24px rgba(56, 189, 248, 0.6);
    animation: blinkGlow 1.2s ease-in-out infinite alternate;
}

@keyframes blinkGlow {
    0% {
        opacity: 0.35;
        transform: scale(0.97);
        text-shadow: 0 0 4px rgba(251, 191, 36, 0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1.04);
        text-shadow: 0 0 16px rgba(251, 191, 36, 1), 0 0 30px rgba(56, 189, 248, 0.9);
    }
}

/* Authentic Paper Legal Petition Preview Card (Butona Tıklanınca Açılır) */
.petition-paper-preview {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 32px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.7;
    margin-top: 16px;
    position: relative;
    width: 100%;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.petition-paper-preview.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

[data-theme="dark"] .petition-paper-preview {
    background: #0f172a;
    color: #f1f5f9;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.petition-header {
    text-align: center;
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.petition-meta {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.petition-section-title {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 4px;
}

[data-theme="dark"] .petition-section-title {
    border-color: #334155;
}

.petition-list {
    padding-left: 24px;
    margin-bottom: 16px;
}

.petition-list li {
    margin-bottom: 8px;
}

.petition-footer {
    margin-top: 36px;
    text-align: right;
    font-size: 0.95rem;
}

/* File Dropzone & Case Analysis Roadmap Cards */
.upload-dropzone {
    border: 2px dashed var(--accent-blue);
    border-radius: var(--radius-md);
    background: var(--bg-main);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-dropzone:hover {
    background-color: var(--badge-bg);
}

.roadmap-step {
    display: flex;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Sidebar Styles (Flat direct list, no nested dropdowns) */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-version {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sidebar-search {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--accent-blue);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.nav-item:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background-color: var(--badge-bg);
    color: var(--accent-blue);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background-color: var(--accent-blue);
    border-radius: 0 4px 4px 0;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    background-color: var(--badge-bg);
    color: var(--badge-text);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.theme-toggle-btn {
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background: var(--border-color);
}

/* Main Content Area */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-main);
}

/* Header Bar */
.top-header {
    height: 64px;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 90;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-contact-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 119, 6, 0.4);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

.header-contact-btn:hover {
    background: rgba(217, 119, 6, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(217, 119, 6, 0.5);
}

.page-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-status-badge {
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--badge-bg);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; box-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
}

.mode-switcher {
    display: flex;
    background: var(--bg-card-hover);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    gap: 4px;
}

.mode-btn {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mode-btn.active {
    background-color: var(--bg-card);
    color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

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

.auto-demo-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.auto-demo-btn:hover {
    opacity: 0.9;
}

.intro-video-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-gold), #b45309);
    color: white;
    border: none;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.intro-video-btn:hover {
    opacity: 0.9;
}

/* Content Container */
.content-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Live UI Section */
.module-header-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.module-header-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.module-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 700px;
    line-height: 1.5;
}

.module-badge-tag {
    background-color: var(--badge-bg);
    color: var(--badge-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Stats Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-change {
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.up { color: var(--accent-green); }
.stat-change.down { color: var(--accent-red); }

/* Quick Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--badge-bg);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Screenshot Frame View */
.screenshot-view-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
}

.device-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1280px;
}

.device-frame.desktop-mode {
    max-width: 100%;
}

.device-frame.mobile-mode {
    max-width: 420px;
    border-radius: 36px;
    border: 8px solid var(--border-color);
    margin: 0 auto;
}

.frame-top-bar {
    background: var(--bg-card-hover);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.frame-title {
    margin-left: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.screenshot-img-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

/* Form controls for interactive demo */
.demo-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    margin-bottom: 10px;
}

.demo-input:focus {
    border-color: var(--accent-blue);
}

.demo-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--accent-blue);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.demo-btn:hover {
    background: var(--accent-blue-hover);
}

/* Mobile Hamburger Menu Button & Overlay Backdrop */
.mobile-hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
    flex-shrink: 0;
}

.mobile-hamburger-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-hamburger-btn {
        display: flex;
    }
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        z-index: 1000;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .sidebar.open {
        left: 0;
    }
    .top-header {
        padding: 0 12px;
    }
    .page-title {
        font-size: 0.95rem;
    }
}

/* Floating Persistent Click & Visit Counter (Sağ Alt Köşe) */
.site-click-counter {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: rgba(11, 19, 41, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    border-radius: 30px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-click-counter:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.4);
}

.counter-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.5s infinite alternate;
}

@keyframes livePulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #34d399; }
}

.counter-icon {
    font-size: 1.1rem;
}

.counter-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.counter-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-click-counter.counter-bump {
    animation: bumpAnim 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bumpAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .site-click-counter {
        bottom: 16px;
        right: 16px;
        padding: 6px 14px;
    }
    .counter-label {
        font-size: 0.62rem;
    }
    .counter-value {
        font-size: 0.95rem;
    }
}
