:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #8a8a9f;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --border: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --shadow: rgba(0, 0, 0, 0.5);
    
    /* Aliases for compatibility */
    --card-bg: var(--bg-secondary);
    --border-color: var(--border);
    --card-bg-rgb: 19, 19, 26;

    /* Layout */
    --navbar-h: 64px;
    --promobar-h: 32px;
    --header-total: calc(var(--navbar-h) + var(--promobar-h));
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a24;
    --text-secondary: #3a3a50;
    --text-muted: #555568;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Aliases for compatibility */
    --card-bg: var(--bg-secondary);
    --border-color: var(--border);
    --card-bg-rgb: 248, 249, 250;
}

/* Sistem aydınlık modu — JS'den bağımsız, anında uygulanır (flash önleme) */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --bg-tertiary: #e9ecef;
        --text-primary: #1a1a24;
        --text-secondary: #3a3a50;
        --text-muted: #555568;
        --border: rgba(0, 0, 0, 0.08);
        --shadow: rgba(0, 0, 0, 0.1);
        --card-bg: #f8f9fa;
        --border-color: rgba(0, 0, 0, 0.08);
        --card-bg-rgb: 248, 249, 250;
    }
    
    .navbar {
        background: rgba(255, 255, 255, 0.8) !important;
    }
    .main-navbar {
        background: rgba(255, 255, 255, 0.85) !important;
    }
    .dashboard-nav {
        background: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Erişilebilirlik (A11y) Kontrast Düzeltmeleri */
    .view-all-link, 
    .pricing-mini-btn, 
    .footer-powered a {
        color: #312e81 !important; /* Indigo 900 (Yüksek Kontrast) */
    }
    
    .pricing-mini-btn:hover {
        color: #ffffff !important;
    }
    
    .announcement-type-badge.info {
        color: #312e81 !important; /* Indigo 900 */
    }
    
    .announcement-type-badge.success {
        color: #064e3b !important; /* Emerald 900 */
    }
    
    .announcement-type-badge.warning {
        color: #78350f !important; /* Amber 900 */
    }
    
    .announcement-type-badge.update {
        color: #4c1d95 !important; /* Violet 900 */
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* transition kaldırıldı: sayfa geçişlerinde flash'a neden oluyordu */
}

/* Ekran okuyucular için görünmez ama erişilebilir içerik */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo.has-logo-image {
    gap: 0.25rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon.has-image {
    width: auto;
    max-width: 250px;
    height: 70px;
    margin: -15px 0;
}

/* Logo flash önleme: html.has-logo varken SVG'yi gizle */
html.has-logo .logo-icon svg {
    display: none;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    stroke-width: 2;
}

.logo-icon img {
    height: 100%;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

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

.nav-link.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    position: absolute;
    transition: all 0.3s;
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4)) drop-shadow(0 0 8px rgba(139, 92, 246, 0.2));
}

.sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

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

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

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

.btn-nav {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.btn-nav:hover {
    background: var(--bg-secondary);
}

.btn-nav-primary {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-nav-primary:hover {
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

/* Hero Section - Full Width */
.hero-fullwidth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 6rem 0;
}

.hero-bg-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-primary);
}

[data-theme="dark"] .hero-bg-fullwidth {
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.1), transparent 50%),
                var(--bg-primary);
}

[data-theme="light"] .hero-bg-fullwidth {
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.05), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.05), transparent 50%),
                var(--bg-primary);
}

#botCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

#botCanvas.ready {
    opacity: 1;
}

[data-theme="light"] #botCanvas.ready {
    opacity: 0.8;
}

.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content-wrapper--centered {
    justify-content: center;
}

.hero-content--centered {
    max-width: 760px;
    text-align: center;
}

.hero-content--centered .hero-badge {
    justify-content: center;
}

.hero-content--centered .hero-buttons {
    justify-content: center;
}

.hero-content--centered .hero-stats {
    justify-content: center;
}

/* Dijital grid overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(0deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    overflow: visible;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    white-space: nowrap;
    overflow: visible;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

@media (max-width: 767px) {
    .gradient-text {
        white-space: normal;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-hero-primary svg, .btn-hero-secondary svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-hero-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-hero-secondary:hover {
    background: var(--bg-secondary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Terminal Visual */
.hero-visual {
    flex: 1;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.terminal-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
    backdrop-filter: blur(20px);
}

.terminal-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.terminal-buttons span:nth-child(1) { background: #ff5f56; }
.terminal-buttons span:nth-child(2) { background: #ffbd2e; }
.terminal-buttons span:nth-child(3) { background: #27c93f; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--accent-primary);
    font-weight: 600;
}

.command {
    color: var(--text-primary);
}

.output {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.success {
    color: var(--success);
}

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

.highlight {
    color: var(--accent-tertiary);
    font-weight: 600;
}

.typing {
    animation: typing 2s steps(20) infinite;
}

@keyframes typing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Features Section */
.features {
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Quick Features */
.quick-features {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.quick-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-feature {
    text-align: center;
    padding: 2rem;
}

.quick-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.quick-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.quick-feature p {
    color: var(--text-secondary);
}

/* Announcements Section - Home */
.announcements-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.section-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-small h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.view-all-link:hover {
    background: rgba(99, 102, 241, 0.1);
    gap: 0.75rem;
}

.view-all-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.announcements-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.announcement-card-home {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.announcement-card-home:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.announcement-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.announcement-type-badge.info {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.announcement-type-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.announcement-type-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.announcement-type-badge.update {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.announcement-card-home h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.announcement-card-home p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.announcement-date svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.announcement-skeleton {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-line.short {
    width: 60%;
}

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

/* Features Preview Section */
.features-preview {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.features-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-preview-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-preview-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.feature-preview-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.feature-preview-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
}

.feature-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-preview-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Preview Section - 4 Cards Grid */
.pricing-preview {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-mini-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-mini-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.pricing-mini-card:hover::before {
    opacity: 1;
}

.pricing-mini-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pricing-mini-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.pricing-mini-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.pricing-mini-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.pricing-mini-amount {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pricing-mini-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.pricing-mini-btn {
    margin-top: auto;
    padding: 0.65rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-mini-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: transparent;
}

.pricing-mini-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.pricing-preview-skeleton {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .pricing-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 1;
}

.feature-details li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.feature-card:hover .feature-details li {
    padding-left: 2.2rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    position: relative;
    z-index: 1;
    margin-top: auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-tag {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* How It Works */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--bg-primary);
}

.steps {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: 'JetBrains Mono', monospace;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
}

.step-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
}

/* Pricing */
.pricing {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pricing {
        padding: 4rem 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-modal {
        max-width: 100%;
        max-height: 90vh;
    }
    
    .feature-modal-header,
    .feature-modal-body {
        padding: 1.5rem;
    }
    
    .feature-detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-actions {
        flex-direction: column;
    }
    
    .pricing-actions .btn-pricing {
        width: 100%;
    }
    
    .btn-info {
        width: 100%;
    }
}

.pricing-card {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    opacity: 1;
    border-radius: 20px 20px 0 0;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 50%);
    pointer-events: none;
    border-radius: 20px;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.pricing-card:hover::before {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.pricing-bot-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.pricing-bot-icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4)) drop-shadow(0 0 10px rgba(139, 92, 246, 0.2));
    animation: pricingBotFloat 3s ease-in-out infinite, pricingBotGlow 2s ease-in-out infinite;
}

.pricing-bot-icon svg rect,
.pricing-bot-icon svg path {
    stroke: var(--accent-primary);
}

.pricing-bot-icon svg circle {
    fill: var(--accent-primary);
    animation: pricingBotBlink 3s ease-in-out infinite;
}

@keyframes pricingBotFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(2deg);
    }
}

@keyframes pricingBotGlow {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4)) drop-shadow(0 0 10px rgba(139, 92, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.7)) drop-shadow(0 0 16px rgba(139, 92, 246, 0.4)) drop-shadow(0 0 24px rgba(236, 72, 153, 0.2));
    }
}

@keyframes pricingBotBlink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.currency {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-primary);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.period {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.75rem;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.pricing-features li:hover {
    color: var(--text-primary);
}

.pricing-features svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-primary);
    stroke-width: 2.5;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .pricing-features {
        grid-template-columns: 1fr;
    }
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-pricing:hover::before {
    left: 100%;
}

/* Pricing Actions */
.pricing-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pricing-actions .btn-pricing {
    flex: 1;
}

.btn-info {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-info:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-info svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-secondary);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.btn-info:hover svg {
    stroke: var(--accent-primary);
}

/* Feature Modal */
.feature-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.feature-modal-overlay.active {
    opacity: 1;
}

.feature-modal {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-modal-overlay.active .feature-modal {
    transform: scale(1);
}

.feature-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feature-modal-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-modal-close:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ef4444;
}

.feature-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    stroke-width: 2;
}

.feature-modal-close:hover svg {
    stroke: #ef4444;
}

.feature-modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.feature-details-list {
    display: grid;
    gap: 1.5rem;
}

.feature-detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-detail-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 3;
}

.feature-detail-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.feature-detail-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Dashboard Styles */
.dashboard-body {
    background: var(--bg-primary);
}

.dashboard-nav {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

[data-theme="light"] .dashboard-nav {
    background: rgba(255, 255, 255, 0.8);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

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

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

.btn-logout {
    padding: 0.6rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-radius: 10px;
    color: var(--error);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-logout:hover {
    background: var(--error);
    color: white;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.dashboard-header h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-header h1 svg {
    color: var(--accent-primary);
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.dashboard-header .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-header .btn-primary svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-header .btn-primary {
        width: 100%;
    }
}

.dashboard-welcome {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-welcome h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.dashboard-welcome p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s;
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-offline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.count-badge {
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
}

/* Bot settings sayfası için daha yüksek kart */
.bot-setup-section .card-content {
    max-height: none;
    overflow-y: visible;
}

/* Welcome sayfası için scroll kaldır */
.feature-header ~ .dashboard-card .card-content {
    max-height: none;
    overflow-y: visible;
}

/* Sadece belirli kartlarda scroll olsun */
.client-list, .channel-list {
    max-height: 450px;
    overflow-y: auto;
}

.client-list::-webkit-scrollbar,
.channel-list::-webkit-scrollbar {
    width: 6px;
}

.client-list::-webkit-scrollbar-track,
.channel-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.client-list::-webkit-scrollbar-thumb,
.channel-list::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.client-list, .channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.client-item, .channel-item {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.client-item:hover, .channel-item:hover {
    background: var(--bg-primary);
    border-color: var(--border);
    transform: translateX(5px);
}

.client-info, .channel-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.client-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.btn-danger {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-radius: 8px;
    color: var(--error);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-danger:hover {
    background: var(--error);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-panel {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.admin-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-color: var(--accent-primary);
}

.admin-badge {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.admin-action {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-action label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-send {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.btn-send:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-fullwidth {
        padding-top: 6rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .gradient-text {
        font-size: 2.2rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-line {
        width: 2px;
        height: 50px;
        transform: rotate(90deg);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .dashboard-welcome h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Admin stats mobil uyumlu */
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Terminal window mobil uyumlu */
    .terminal-window,
    .terminal-window-modern {
        margin: 1rem 0;
    }
    
    .terminal-content {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .gradient-text {
        font-size: 1.7rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Admin Specific Styles */
.admin-nav {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 2px solid var(--accent-primary);
}

.admin-badge-small {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}

.admin-logo {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
}

.admin-avatar {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
}

.admin-user-info {
    border: 2px solid var(--accent-primary);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.admin-stat-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.admin-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-card .stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
}

.admin-stat-card .stat-info {
    flex: 1;
}

.admin-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.admin-stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-actions-section {
    margin-top: 2rem;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.btn-admin-action {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-admin-action svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-admin-action:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.btn-danger-action {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.btn-danger-action:hover {
    background: var(--error);
    color: white;
}

/* Bot Setup Styles */
.bot-setup-section {
    margin-bottom: 2rem;
}

.setup-card {
    border: 2px solid var(--accent-primary);
}

.bot-setup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.form-group label svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: var(--accent-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0aec0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-save-settings,
.btn-start-bot,
.btn-stop-bot,
.btn-restart-bot {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-save-settings svg,
.btn-start-bot svg,
.btn-stop-bot svg,
.btn-restart-bot svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-save-settings {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.btn-save-settings:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-start-bot {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.btn-start-bot:hover:not(:disabled) {
    background: var(--success);
    color: white;
}

.btn-start-bot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-stop-bot {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.btn-stop-bot:hover {
    background: var(--error);
    color: white;
}

.btn-restart-bot {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #f59e0b;
    color: #f59e0b;
}

.btn-restart-bot:hover {
    background: #f59e0b;
    color: white;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left-color: var(--success);
}

.toast-error {
    border-left-color: var(--error);
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-info {
    border-left-color: var(--accent-primary);
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
    z-index: 10001;
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

.modal-body p {
    margin: 0;
    color: var(--text-primary);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-modal-cancel,
.btn-modal-confirm {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-modal-cancel {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-modal-cancel:hover {
    background: var(--bg-primary);
}

.btn-modal-confirm {
    background: var(--accent-primary);
    color: white;
}

.btn-modal-confirm:hover {
    background: var(--accent-secondary);
}

/* Bots Page Styles */
.page-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.back-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.back-link-inline:hover {
    color: var(--accent-primary);
    transform: translateX(-5px);
}

.back-link-inline svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-create-bot {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-create-bot svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.btn-create-bot:hover {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.bot-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.bot-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.bot-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bot-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.bot-active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.bot-inactive {
    background: var(--bg-tertiary);
}

.bot-inactive svg {
    stroke: var(--text-muted);
}

.bot-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-inactive {
    background: rgba(107, 107, 127, 0.1);
    color: var(--text-muted);
}

.bot-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.bot-host {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bot-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bot-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-manage {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-manage svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.btn-manage:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.loading-state, .empty-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.empty-state svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
    stroke-width: 1.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

.error-state p {
    color: var(--error);
    font-size: 1.1rem;
}

.empty-icon, .error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.btn-retry {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    background: var(--accent-secondary);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Bot Cards */
.bot-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.bot-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

.bot-card:hover::before {
    opacity: 1;
}

.bot-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bot-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
}

.bot-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.bot-card-body {
    margin-bottom: 1.5rem;
}

.bot-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.bot-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bot-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bot-info-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.bot-welcome-preview {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
}

.bot-welcome-preview small {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bot-welcome-preview p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.bot-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-manage-bot {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-manage-bot svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
}

.btn-manage-bot:hover {
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.bot-created {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.page-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.page-header-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header-content p {
    color: var(--text-secondary);
}

.back-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.back-link-inline svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.back-link-inline:hover {
    gap: 0.75rem;
    color: var(--accent-secondary);
}

.btn-create-bot {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-create-bot svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

.btn-create-bot:hover {
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Client and Channel Lists */
.client-list, .channel-list {
    max-height: 300px;
    overflow-y: auto;
}

.client-item, .channel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.client-item:hover, .channel-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.client-info, .channel-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.btn-danger {
    padding: 0.4rem 0.8rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #dc2626;
}

.status-offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.count-badge {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Confirm Modal - Bot Dashboard */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.confirm-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: scaleIn 0.3s ease-out;
}

.confirm-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.confirm-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.confirm-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.confirm-modal-body {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.confirm-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.modal-btn-cancel:hover {
    background: var(--bg-tertiary);
}

.modal-btn-confirm {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.modal-btn-confirm:hover {
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.modal-btn-danger {
    background: #ef4444;
    color: white;
}

.modal-btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}


.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Navbar */
.main-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-h);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s ease;
}

[data-theme="light"] .main-navbar {
    background: rgba(255, 255, 255, 0.85);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo.has-logo-image {
    gap: 0.25rem;
}

.navbar-logo .logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo .logo-icon.has-image {
    width: auto;
    max-width: 180px;
    height: 56px;
    margin: 0;
    overflow: hidden;
}

.navbar-logo .logo-icon img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}



.navbar-logo .logo-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    stroke-width: 2;
}

.navbar-logo .logo-text-container {
    display: flex;
    flex-direction: column;
}

.navbar-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.navbar-logo .logo-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
}

.navbar-logo .logo-slogan {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

/* Navbar Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
}

.nav-dropdown-toggle.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-dropdown-toggle .dropdown-arrow {
    width: 16px;
    height: 16px;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-dropdown-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

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

.nav-dropdown-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-secondary {
    padding: 0.5rem 1.25rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-secondary svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.btn-nav-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-nav-primary {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav-primary:hover {
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.user-menu-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.user-menu-dropdown:hover .dropdown-arrow,
.user-menu-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 240px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0.5rem 0;
}

.user-menu-dropdown:hover .user-dropdown-menu,
.user-menu-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dropdown-link span {
    flex: 1;
}

.dropdown-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.dropdown-link-danger {
    color: #ef4444;
}

.dropdown-link-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-link-danger svg {
    stroke: #ef4444;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Site Footer - Corporate Style */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon.has-image {
    width: auto;
    max-width: 180px;
    height: 56px;
    margin: 0;
    overflow: hidden;
}

.footer-logo .logo-icon img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-logo .logo-icon svg {
    width: 100%;
    height: 100%;
    stroke: url(#navGrad);
    stroke-width: 2;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.footer-logo .logo-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-powered {
    color: var(--text-muted);
}

.footer-powered a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: var(--accent-secondary);
}

/* Footer Tech Stack */
.footer-tech-stack {
    margin: 0 0 2rem;
    padding: 0;
}

.footer-tech-stack h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.tech-item svg {
    width: 32px;
    height: 32px;
    filter: grayscale(0.4);
    transition: filter 0.3s ease;
}

.tech-item:hover svg {
    filter: grayscale(0);
}

.tech-item span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .tech-logos {
        gap: 1.5rem;
    }
    
    .tech-item svg {
        width: 28px;
        height: 28px;
    }
    
    .tech-item span {
        font-size: 0.65rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar-menu {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .navbar-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 0;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        width: 100%;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown:not(.active) .nav-dropdown-menu {
        display: none;
    }
    
    .nav-dropdown-item {
        padding: 0.75rem 1rem;
        background: var(--bg-secondary);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .nav-dropdown-item:hover {
        background: var(--bg-tertiary);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    /* Logo text mobilde görünsün, sadece slogan gizlensin */
    .logo-text-container {
        display: flex;
    }
    
    .logo-slogan {
        display: none !important;
    }
    
    .logo-text-container .logo-slogan {
        display: none !important;
    }
    
    .navbar-logo {
        gap: 0.5rem;
    }
    
    /* User menu butonundaki ismi mobilde gizle */
    .user-menu-name {
        display: none;
    }
    
    .user-menu-btn {
        padding: 0.5rem;
        gap: 0;
    }
    
    .dropdown-arrow {
        display: none;
    }
    
    /* Nav dropdown arrow mobilde göster */
    .nav-dropdown-toggle .dropdown-arrow {
        display: inline-block;
    }
    
    /* Nav dropdown toggle mobilde düzgün görünsün */
    .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem 1rem;
        color: var(--text-secondary);
        background: var(--bg-secondary);
        border-radius: 8px;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    
    .nav-dropdown-toggle.active {
        color: var(--text-primary);
        background: var(--bg-tertiary);
    }
    
    /* User dropdown menu mobilde tam ekran */
    .user-dropdown-menu {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .user-menu-dropdown:hover .user-dropdown-menu,
    .user-menu-dropdown.active .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    
    /* Navbar actions'ı sıkıştır */
    .navbar-actions {
        gap: 0.5rem;
    }
    
    /* Bildirim ve tema butonlarını küçült */
    .notification-btn,
    .theme-toggle {
        padding: 0.5rem;
    }
    
    .btn-nav-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-nav-secondary span {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.75rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .navbar-actions {
        gap: 0.25rem;
    }
    
    .notification-btn,
    .theme-toggle,
    .mobile-menu-toggle {
        padding: 0.4rem;
    }
    
    .notification-btn svg,
    .theme-toggle svg,
    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
}

/* Promo Bar */
.promo-bar {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    height: var(--promobar-h);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: linear-gradient(90deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15), rgba(99,102,241,0.15));
    border-bottom: 1px solid rgba(99,102,241,0.25);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s;
    backdrop-filter: blur(10px);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.promo-bar:hover {
    background: linear-gradient(90deg, rgba(99,102,241,0.25), rgba(139,92,246,0.25), rgba(99,102,241,0.25));
    color: var(--text-primary);
}

.promo-bar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.promo-bar-text strong {
    color: var(--accent-primary);
}

.promo-bar svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .promo-bar {
        display: none;
    }
}

/* Body padding for fixed navbar */
body {
    padding-top: var(--header-total);
}

@media (max-width: 768px) {
    body {
        padding-top: var(--navbar-h);
    }
}

@media (max-width: 480px) {
    body {
        padding-top: var(--navbar-h);
    }
}


/* Modern Terminal Styles */
.terminal-window-modern {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
}

[data-theme="light"] .terminal-window-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.terminal-header-modern {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="light"] .terminal-header-modern {
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.terminal-close {
    background: #ff5f56;
}

.terminal-minimize {
    background: #ffbd2e;
}

.terminal-maximize {
    background: #27c93f;
}

.terminal-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.terminal-title-modern {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.terminal-menu svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: var(--text-muted);
}

.terminal-body-modern {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

[data-theme="light"] .terminal-body-modern {
    color: #1a1a24;
}

.terminal-line-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.terminal-prompt {
    color: #a6e3a1;
    font-weight: 600;
}

[data-theme="light"] .terminal-prompt {
    color: #10b981;
}

.terminal-path {
    color: #89b4fa;
}

[data-theme="light"] .terminal-path {
    color: #6366f1;
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-command.typing {
    animation: typing 2s steps(20) infinite;
}

@keyframes typing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.terminal-cursor {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-output-modern {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-primary);
    border-radius: 8px;
}

[data-theme="light"] .terminal-output-modern {
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--accent-primary);
}

.terminal-status-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.status-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.status-icon.success {
    color: #a6e3a1;
}

[data-theme="light"] .status-icon.success {
    color: #10b981;
}

.terminal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.terminal-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .terminal-info-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-body-modern {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

/* Kullanıcı Kartları */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.user-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.user-avatar-placeholder {
    width: 56px;
    height: 56px;
    min-width: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.user-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.user-info p {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.user-card-body {
    margin-bottom: 1rem;
}

.user-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.user-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.user-card-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.btn-card-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-card-action svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-card-action:hover:not(:disabled) {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-card-danger:hover:not(:disabled) {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

@media (max-width: 768px) {
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .user-card-actions {
        flex-direction: column;
    }
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal.show,
.modal.active {
    display: flex !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-content form {
    padding: 1.5rem;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* Compact button variant - smaller size */
.btn-compact {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Pricing Admin Styles */
.pricing-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-admin-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
}

.pricing-admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    opacity: 1;
}

.pricing-admin-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 50%);
    pointer-events: none;
}

.pricing-admin-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.pricing-admin-card.inactive {
    opacity: 0.6;
}

.pricing-admin-card.inactive::before {
    background: linear-gradient(90deg, var(--text-muted), var(--text-secondary));
}

.pricing-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.pricing-admin-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.pricing-admin-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.pricing-admin-price .currency {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-primary);
    align-self: flex-start;
    margin-top: 0.25rem;
}

.pricing-admin-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pricing-admin-price .period {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-admin-features {
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.feature-item svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.pricing-admin-meta {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.pricing-admin-actions {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.btn-edit,
.btn-delete {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit svg,
.btn-delete svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-edit:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.btn-delete:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.loading-state,
.empty-state,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.empty-state svg,
.error-state svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    stroke-width: 2;
    color: var(--text-secondary);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.notification.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding-top: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    max-width: 18px;
    cursor: pointer;
    accent-color: var(--accent-primary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pricing-admin-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Bot Features Checkbox Grid */
.features-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-checkbox:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.feature-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.feature-checkbox span {
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* Bot Features Section in Admin Cards */
.bot-features-section {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
}

.bot-features-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.bot-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.bot-feature {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.bot-feature.enabled {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.bot-feature.disabled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    opacity: 0.6;
}
.bot-features-section {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.bot-features-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bot-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bot-feature {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.bot-feature.enabled {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bot-feature.disabled {
    background: rgba(107, 107, 127, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border);
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .features-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Bot Features in Public Pricing */
.bot-features-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.bot-features-public {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.bot-features-public h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bot-features-list-public {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.75rem;
}

.bot-features-list-public li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.bot-features-list-public li.enabled {
    color: var(--text-primary);
}

.bot-features-list-public li.enabled svg {
    width: 14px;
    height: 14px;
    stroke: #22c55e;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.bot-features-list-public li.disabled {
    color: var(--text-primary);
    text-decoration: line-through;
    opacity: 0.7;
}

.bot-features-list-public li.disabled svg {
    width: 14px;
    height: 14px;
    stroke: #ef4444;
    stroke-width: 2;
    flex-shrink: 0;
}

.bot-features-list-public li:hover.enabled {
    color: var(--accent-primary);
}

@media (max-width: 480px) {
    .bot-features-list-public {
        grid-template-columns: 1fr;
    }
}

/* Feature Access Control */
.feature-disabled {
    position: relative;
}

.feature-disabled::after {
    content: '🔒';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
}

/* Docs Form Example */
.docs-form-example {
    margin: 2rem 0;
}

.docs-form-example input {
    cursor: not-allowed;
    opacity: 0.7;
}

.docs-form-example .form-group small {
    font-size: 0.85rem;
}

.docs-content .form-group label svg {
    width: 16px !important;
    height: 16px !important;
}

.docs-content .card-header svg {
    width: 18px !important;
    height: 18px !important;
}

.docs-content .security-notice svg {
    width: 20px !important;
    height: 20px !important;
}

.docs-content .info-icon svg {
    width: 20px !important;
    height: 20px !important;
}

/* Summary (purchase.js / order-detail.js) */
.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.summary-total span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-total strong {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Notification Dropdown */
.notification-dropdown {
    position: relative;
}

.notification-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.notification-btn:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.notification-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: notificationBotFloat 3s ease-in-out infinite;
}

.notification-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4)) drop-shadow(0 0 8px rgba(139, 92, 246, 0.2));
    animation: notificationBotGlow 2s ease-in-out infinite;
}

.notification-btn svg circle {
    animation: notificationBotBlink 3s ease-in-out infinite;
}

@keyframes notificationBotFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(2deg);
    }
}

@keyframes notificationBotGlow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.4)) drop-shadow(0 0 8px rgba(139, 92, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.6)) drop-shadow(0 0 12px rgba(139, 92, 246, 0.4)) drop-shadow(0 0 18px rgba(236, 72, 153, 0.2));
    }
}

@keyframes notificationBotBlink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

.notification-icon-wrapper .notification-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--error);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 0 2px var(--bg-tertiary);
    z-index: 10;
}



.notification-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-height: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 60px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.notification-dropdown.active .notification-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.mark-all-read {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.mark-all-read:hover {
    color: var(--accent-secondary);
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.notification-empty svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.3)) drop-shadow(0 0 12px rgba(139, 92, 246, 0.2));
    margin-bottom: 1rem;
    opacity: 0.8;
}

.notification-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.notification-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    gap: 0.75rem;
    position: relative;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-item.unread {
    background: rgba(99, 102, 241, 0.05);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-primary);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.notification-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.notification-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.notification-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.notification-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.notification-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.notification-footer a:hover {
    color: var(--accent-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .notification-dropdown-menu {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 70px);
        border-radius: 0;
        border-left: none;
        border-right: none;
        transform: translateY(0);
    }
    
    .notification-dropdown.active .notification-dropdown-menu {
        transform: translateY(0);
    }
    
    .notification-list {
        max-height: calc(100vh - 200px);
    }
}

@media (max-width: 480px) {
    .notification-btn {
        width: 36px;
        height: 36px;
    }
    
    .notification-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .notification-icon-wrapper .notification-badge {
        min-width: 14px;
        height: 14px;
        font-size: 0.55rem;
        bottom: -8px;
    }
}

/* Logout Modal Button Styles */
.btn-cancel,
.btn-confirm {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-cancel:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-confirm:hover {
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-confirm.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-confirm.danger:hover {
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
}

/* Info Card (docs.html) */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card svg {
    stroke: var(--primary-color);
    stroke-width: 2;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast svg {
    flex-shrink: 0;
    stroke-width: 2.5;
}

.toast-success {
    border-left: 4px solid #4caf50;
}

.toast-success svg {
    stroke: #4caf50;
}

.toast-error {
    border-left: 4px solid #f44336;
}

.toast-error svg {
    stroke: #f44336;
}

.toast span {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Bildirim Sayfası */
.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.notification-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-color: rgba(99, 102, 241, 0.3);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notification-badge {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    box-shadow: 0 0 0 3px var(--card-bg);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

/* Bildirim Dropdown İçeriği */
.notification-item-dropdown {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.notification-item-dropdown:last-child {
    border-bottom: none;
}

.notification-item-dropdown:hover {
    background: var(--bg-secondary);
}

.notification-item-dropdown.unread {
    background: rgba(99, 102, 241, 0.05);
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.notification-item-badge {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.badge-owner {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(236, 72, 153, 0.2) 100%
    );
    border: 1.5px solid rgba(99, 102, 241, 0.5);
    color: #8b5cf6;
    position: relative;
    overflow: hidden;
    animation: badgeOwnerPulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.badge-owner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: badgeShine 3s linear infinite;
}

.badge-owner svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.6));
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}

@keyframes badgeOwnerPulse {
    0%, 100% {
        box-shadow: 
            0 0 8px rgba(99, 102, 241, 0.3),
            0 0 16px rgba(139, 92, 246, 0.2),
            inset 0 0 8px rgba(99, 102, 241, 0.1);
    }
    50% {
        box-shadow: 
            0 0 12px rgba(99, 102, 241, 0.5),
            0 0 24px rgba(139, 92, 246, 0.3),
            inset 0 0 12px rgba(139, 92, 246, 0.15);
    }
}

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


/* ============================================
   SECURITY PAGE STYLES
   ============================================ */

.tabs-container {
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    padding: 0 1.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: -2px;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.security-stat .stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-tertiary);
}

.security-stat .stat-icon.blocked {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.security-stat .stat-icon.warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.security-stat .stat-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.security-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.security-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.manual-block-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.manual-block-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.manual-block-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.manual-block-form .form-control {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.manual-block-form .form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.manual-block-form .btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.manual-block-form .btn-primary svg {
    width: 18px;
    height: 18px;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--bg-secondary);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
}

.data-table code {
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.attempts-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-sm.btn-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.btn-sm.btn-success:hover {
    background: rgba(34, 197, 94, 0.2);
}

.btn-sm.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-sm.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.settings-info {
    max-width: 800px;
}

.settings-info h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.setting-item {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.setting-item label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.setting-value {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.setting-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.info-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

@media (max-width: 768px) {
    .manual-block-form {
        flex-direction: column;
    }
    
    .manual-block-form .form-control,
    .manual-block-form .btn-primary {
        width: 100%;
    }
    
    .tabs {
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
}


/* ============================================
   SYSTEM HEALTH STYLES
   ============================================ */

.system-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.health-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.health-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.health-card-header svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    stroke-width: 2;
}

.health-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.health-card-body {
    padding: 1.5rem;
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.health-item:last-child {
    border-bottom: none;
}

.health-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.health-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-header span:first-child {
    color: var(--text-secondary);
}

.progress-header span:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
    transition: width 0.5s ease, background-color 0.3s ease;
}

.progress-fill.low {
    background: #22c55e;
}

.progress-fill.medium {
    background: #3b82f6;
}

.progress-fill.high {
    background: #fbbf24;
}

.progress-fill.critical {
    background: #ef4444;
}

.progress-fill.cpu {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.refresh-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 0.9rem;
}

.refresh-info svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

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

@media (max-width: 768px) {
    .system-health-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   OVERALL HEALTH CARD STYLES
   ============================================ */

.overall-health-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.health-score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.health-score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.health-score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.health-score-circle circle {
    transition: stroke-dashoffset 1s ease, stroke 0.3s ease;
}

.health-score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.health-score-value {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    line-height: 1;
}

.health-score-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.health-status {
    text-align: center;
}

.health-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.health-status-badge svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.health-status-badge.excellent {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.health-status-badge.good {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.health-status-badge.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.health-status-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.health-status-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.health-metrics-summary h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-item.good {
    border-left: 4px solid #22c55e;
}

.metric-item.warning {
    border-left: 4px solid #fbbf24;
}

.metric-item.critical {
    border-left: 4px solid #ef4444;
}

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.metric-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: var(--accent-primary);
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-status {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-item.good .metric-status {
    color: #22c55e;
}

.metric-item.warning .metric-status {
    color: #fbbf24;
}

.metric-item.critical .metric-status {
    color: #ef4444;
}

.health-recommendations h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.health-recommendations h3 svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.recommendation-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    stroke-width: 2;
}

.recommendation-item.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.recommendation-item.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.recommendation-item.warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.recommendation-item.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@media (max-width: 1200px) {
    .overall-health-card {
        grid-template-columns: 1fr;
    }
    
    .health-score-section {
        flex-direction: row;
        justify-content: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .overall-health-card {
        padding: 1.5rem;
    }
    
    .health-score-section {
        flex-direction: column;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   SYSTEM HEALTH DASHBOARD CARD - COMPACT
   ============================================ */

.system-health-dashboard-card {
    margin-bottom: 2rem;
}

.system-health-dashboard-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.system-health-overview-compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.health-score-mini-compact {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.health-circle-mini-compact {
    width: 100%;
    height: 100%;
}

.health-circle-mini-compact circle {
    transition: stroke-dashoffset 1s ease, stroke 0.3s ease;
}

.health-score-mini-content-compact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.health-score-mini-value-compact {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.health-info-mini-compact {
    flex: 1;
}

.health-status-mini-compact {
    margin-bottom: 0.75rem;
}

.status-badge-mini {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-badge-mini.excellent {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-badge-mini.good {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge-mini.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-badge-mini.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.health-metrics-mini-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.metric-mini-compact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.metric-mini-label-compact {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.metric-mini-value-compact {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .system-health-overview-compact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .health-metrics-mini-compact {
        grid-template-columns: 1fr;
        width: 100%;
    }
}


/* ============================================
   OPTIMIZATION STYLES
   ============================================ */

.optimization-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-optimize {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-optimize:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-optimize:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

.optimization-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #3b82f6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.optimization-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.optimization-result-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
}

.optimization-result-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.optimization-result-content {
    padding: 2rem;
}

.optimization-result-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.optimization-result-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.optimization-result-content li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.optimization-result-content li:last-child {
    border-bottom: none;
}

.optimization-result-content li::before {
    content: "✓ ";
    color: #22c55e;
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-close-toast {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-close-toast:hover {
    background: #4f46e5;
}

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


/* Creator Badge - Minimal & Professional */
.creator-badge {
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .creator-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.creator-text {
    display: inline;
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.creator-text::before {
    content: '$ ';
    color: #6366f1;
    margin-right: 0.5rem;
}

.creator-cursor {
    display: inline-block;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
    color: #10b981;
    font-weight: bold;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


/* Terminal Boot Screen */
.terminal-boot-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    gap: 1rem;
    overflow: hidden;
    min-height: 350px;
}

.boot-ascii-art {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.boot-ascii-art pre {
    margin: 0;
    color: #6366f1;
    text-shadow: 
        0 0 10px rgba(99, 102, 241, 0.8),
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 30px rgba(99, 102, 241, 0.3);
    animation: glowPulse 3s ease-in-out infinite, scanline 8s linear infinite;
    position: relative;
}

.boot-ascii-art pre::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ec4899;
    text-shadow: 
        -2px 0 #6366f1,
        2px 0 #8b5cf6;
    opacity: 0;
    animation: rgbSplit 4s ease-in-out infinite;
    pointer-events: none;
}

.boot-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    animation: blink 1.5s ease-in-out infinite;
}

.terminal-boot-screen:hover .boot-ascii-art pre {
    animation: glowPulse 1s ease-in-out infinite, scanline 4s linear infinite, shake 0.5s ease-in-out;
    text-shadow: 
        0 0 15px rgba(99, 102, 241, 1),
        0 0 30px rgba(99, 102, 241, 0.8),
        0 0 45px rgba(99, 102, 241, 0.6),
        0 0 60px rgba(139, 92, 246, 0.4);
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(99, 102, 241, 0.8),
            0 0 20px rgba(99, 102, 241, 0.5),
            0 0 30px rgba(99, 102, 241, 0.3);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(99, 102, 241, 1),
            0 0 40px rgba(99, 102, 241, 0.8),
            0 0 60px rgba(99, 102, 241, 0.6),
            0 0 80px rgba(139, 92, 246, 0.4);
    }
}

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

@keyframes rgbSplit {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    92% {
        opacity: 0.7;
        transform: translate(-3px, 2px);
    }
    94% {
        opacity: 0.5;
        transform: translate(3px, -2px);
    }
    96% {
        opacity: 0.8;
        transform: translate(-2px, -1px);
    }
    98% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translate(0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(-2px, 1px);
    }
    20%, 40%, 60%, 80% {
        transform: translate(2px, -1px);
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 10px rgba(99, 102, 241, 0.8),
            0 0 20px rgba(99, 102, 241, 0.6),
            0 0 30px rgba(99, 102, 241, 0.4),
            0 0 40px rgba(99, 102, 241, 0.2);
        opacity: 1;
    }
    20%, 24%, 55% {
        text-shadow: none;
        opacity: 0.7;
    }
    22% {
        text-shadow: 
            0 0 5px rgba(99, 102, 241, 0.4),
            0 0 10px rgba(99, 102, 241, 0.3);
        opacity: 0.85;
    }
}

.boot-header {
    margin-bottom: 0.5rem;
}

.boot-system-info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.boot-checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.boot-check-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.boot-check-icon {
    color: var(--text-muted);
    font-weight: 600;
    min-width: 24px;
}

.boot-check-text {
    color: var(--text-secondary);
}

.boot-creator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin: 0.75rem 0;
}

.boot-creator-text {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.boot-creator-text::before {
    content: '$ ';
    color: #6366f1;
    margin-right: 0.5rem;
}

.boot-creator-cursor {
    display: inline-block;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
    color: #10b981;
    font-weight: bold;
}

.boot-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.boot-message {
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    text-align: center;
}

.boot-pulse {
    position: absolute;
    bottom: 2rem;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
}

/* Terminal booting animation */
.terminal-booting {
    animation: terminalGlitch 0.3s ease;
}

@keyframes terminalGlitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
    }
    60% {
        transform: translate(-2px, -2px);
    }
    80% {
        transform: translate(2px, 2px);
    }
}

/* Stok Yok Stilleri */
.pricing-card.out-of-stock {
    opacity: 0.7;
    position: relative;
}

.pricing-card.out-of-stock::after {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(220, 38, 38, 0.05));
}

.out-of-stock-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-pricing.disabled {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-pricing.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-pricing.disabled::before {
    display: none;
}

/* Admin Panel Stok Yok Stilleri */
.pricing-admin-card.out-of-stock {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(220, 38, 38, 0.05));
}

.status-badge.out-of-stock {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Popüler Paket Stilleri */
.pricing-card.popular {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, #fbbf24, #f59e0b, #d97706) border-box;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.3);
}

.pricing-card.popular::before {
    display: none;
}

.pricing-card.popular:hover {
    transform: scale(1.08);
    box-shadow: 0 25px 70px rgba(251, 191, 36, 0.4);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    z-index: 10;
    animation: popularPulse 2s ease-in-out infinite;
}

.popular-badge svg {
    width: 16px;
    height: 16px;
    animation: starRotate 4s linear infinite;
}

@keyframes popularPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
    }
}

@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

/* Admin Panel Popüler Stilleri */
.pricing-admin-card.popular {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
}

.status-badge.popular {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Popüler ve Stok Yok Kombinasyonu */
.pricing-card.popular.out-of-stock {
    border-color: #ef4444;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, #ef4444, #dc2626) border-box;
    transform: scale(1);
}

.pricing-card.popular.out-of-stock:hover {
    transform: scale(1.02);
}



/* ============================================
   GLOBAL MOBİL UYUMLULUK — admin/ app/ bot/
   ============================================ */

/* Genel taşma önleme */
*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, canvas, iframe {
    max-width: 100%;
}

/* ---- DASHBOARD CONTAINER ---- */
.dashboard-container {
    padding: 2rem;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-welcome h1 {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
    }

    .dashboard-welcome p {
        font-size: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-card {
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group input,
    .input-group .btn-send {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- ADMIN STATS GRID ---- */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .admin-stat-card {
        padding: 1rem;
    }

    .admin-stat-card .stat-value {
        font-size: 1.5rem;
    }

    .admin-stat-card .stat-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- BOTS GRID ---- */
@media (max-width: 768px) {
    .bots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bot-card {
        padding: 1.25rem;
    }

    .bot-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* ---- TABLOLAR ---- */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Uzun sütunları kısalt */
    .data-table td:first-child {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ---- ORDERS / SİPARİŞLER ---- */
@media (max-width: 768px) {
    .orders-header,
    .page-header-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .orders-header .btn-primary,
    .page-header-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .order-card {
        padding: 1rem;
    }

    .order-card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .order-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .order-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .order-actions .btn-primary,
    .order-actions .btn-secondary,
    .order-actions .btn-danger {
        width: 100%;
        justify-content: center;
    }
}

/* ---- FORM GRUPLARI ---- */
@media (max-width: 768px) {
    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button,
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}

/* ---- MODAL ---- */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 0 auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-content form {
        padding: 1rem;
    }

    .modal-footer,
    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .modal-footer button,
    .modal-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* ---- CARD HEADER ---- */
@media (max-width: 768px) {
    .card-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }
}

/* ---- PROFILE SAYFASI ---- */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-avatar-section {
        align-items: center;
    }

    .profile-info {
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- SUPPORT / DESTEK ---- */
@media (max-width: 768px) {
    .support-layout,
    .ticket-layout {
        flex-direction: column;
    }

    .ticket-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .ticket-list {
        max-height: 300px;
    }

    .ticket-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ticket-actions button {
        width: 100%;
    }
}

/* ---- ANNOUNCEMENTS / DUYURULAR ---- */
@media (max-width: 768px) {
    .announcements-grid,
    .announcements-list {
        grid-template-columns: 1fr;
    }

    .announcement-card {
        padding: 1rem;
    }

    .announcement-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* ---- NOTIFICATIONS / BİLDİRİMLER ---- */
@media (max-width: 768px) {
    .notifications-list {
        padding: 0;
    }

    .notification-item {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .notification-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ---- BANK ACCOUNTS / BANKA HESAPLARI ---- */
@media (max-width: 768px) {
    .bank-accounts-grid {
        grid-template-columns: 1fr;
    }

    .bank-card {
        padding: 1rem;
    }

    .bank-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .bank-card-actions button {
        width: 100%;
    }
}

/* ---- PRICING ADMIN ---- */
@media (max-width: 768px) {
    .pricing-admin-grid {
        grid-template-columns: 1fr;
    }

    .pricing-admin-card {
        padding: 1.25rem;
    }

    .pricing-admin-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-admin-actions button {
        width: 100%;
    }
}

/* ---- SITE SETTINGS ---- */
@media (max-width: 768px) {
    .settings-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .settings-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .settings-section {
        padding: 1rem;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .color-picker-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ---- SECURITY SAYFASI ---- */
@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }

    .blocked-ips-list {
        overflow-x: auto;
    }

    .ip-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ip-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ---- BOT LAYOUT (bot/ sayfaları) ---- */
@media (max-width: 1024px) {
    .bot-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "footer";
    }

    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 200;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    }

    .sidebar.open {
        left: 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .feature-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .feature-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .bot-status-hero {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }

    .bot-status-text {
        text-align: center;
    }

    .bot-status-text h2 {
        font-size: 1.25rem;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .template-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .color-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }

    .template-buttons {
        grid-template-columns: 1fr;
    }

    .color-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-group-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---- GENEL BUTON / AKSIYON SATIRLARI ---- */
@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .btn-save-settings {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
}

/* ---- TABS ---- */
@media (max-width: 768px) {
    .tabs,
    .tab-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 0.25rem;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar,
    .tab-list::-webkit-scrollbar {
        display: none;
    }

    .tab-btn,
    .tab-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ---- CHECKOUT / PURCHASE ---- */
@media (max-width: 768px) {
    .checkout-layout,
    .purchase-layout {
        flex-direction: column;
    }

    .checkout-summary {
        width: 100%;
        order: -1;
    }

    .checkout-form {
        width: 100%;
    }

    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* ---- SERVICES / HİZMETLER ---- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .service-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-actions a,
    .service-actions button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ---- GENEL OVERFLOW KORUMALARI ---- */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Uzun metinlerin taşmasını önle */
    .bot-host,
    code,
    .mono {
        word-break: break-all;
        overflow-wrap: break-word;
    }

    /* Flex satırlarının taşmasını önle */
    .flex-row,
    .action-row,
    .header-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Tüm tam genişlik butonlar */
    .btn-full-mobile {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   APP SAYFALARI — INLINE STYLE TAŞMA ÖNLEMESİ
   ============================================ */

/* App sayfaları JS ile render edilen kartlar */
@media (max-width: 768px) {
    /* Genel container overflow */
    .dashboard-container > div,
    #servicesContent,
    #ordersContent,
    #notificationsContent {
        overflow-x: hidden;
    }

    /* JS ile oluşturulan grid'ler */
    #servicesContent > div,
    #ordersContent > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Kart içindeki absolute positioned badge'ler */
    #servicesContent [style*="position: absolute"],
    #ordersContent [style*="position: absolute"] {
        position: static !important;
        margin-bottom: 0.75rem;
        display: inline-flex;
    }

    /* Kart padding küçült */
    #servicesContent > div > div,
    #ordersContent > div > div {
        padding: 1.25rem !important;
    }

    /* Uzun metin taşmasını önle */
    #servicesContent *,
    #ordersContent * {
        max-width: 100%;
        word-break: break-word;
    }

    /* Flex row'ları wrap yap */
    #servicesContent [style*="display: flex"],
    #ordersContent [style*="display: flex"] {
        flex-wrap: wrap;
    }

    /* Buton satırları */
    #servicesContent [style*="display: flex"][style*="gap"],
    #ordersContent [style*="display: flex"][style*="gap"] {
        gap: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Başlık font boyutları */
    #servicesContent h1,
    #ordersContent h1,
    .dashboard-container h1 {
        font-size: 1.75rem !important;
    }

    #servicesContent h2,
    #ordersContent h2 {
        font-size: 1.4rem !important;
    }

    /* Butonlar tam genişlik */
    #servicesContent button,
    #ordersContent button {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ============================================
   GENEL — YATAY KAYDIRMA TAMAMEN ENGELLE
   ============================================ */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Tüm sayfalarda taşan elementleri yakala */
@media (max-width: 768px) {
    .dashboard-container,
    .main-content,
    .page-content,
    .content-wrapper {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Grid'lerin minimum genişliğini sıfırla */
    .dashboard-grid,
    .admin-stats-grid,
    .bots-grid,
    .users-grid,
    .features-grid,
    .pricing-grid,
    .pricing-admin-grid {
        min-width: 0;
    }

    /* Tablo wrapper'ı */
    .table-container,
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    /* Uzun URL / kod taşması */
    pre, code, .mono, .font-mono {
        overflow-x: auto;
        white-space: pre-wrap;
        word-break: break-all;
    }
}
