/* 
  Sistem Durumu - Custom Styles 
  Color Palette based on modern dark UI and provided screenshots
*/

:root {
    --bg-dark: #0f131a;
    --bg-card: #181d27;
    --bg-card-hover: #1e2532;
    --border-color: #272f40;
    
    --color-success: #2ecc71;
    --color-success-rgb: 46, 204, 113;
    
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    --color-purple: #8b5cf6;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

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

.theme-card {
    background-color: var(--bg-card);
    transition: all 0.3s ease;
}

.theme-border {
    border-color: var(--border-color) !important;
}

/* Glass Navbar */
.glass-nav {
    background: rgba(15, 19, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #fff;
}

/* Gradients and Glows */
.text-gradient-success {
    background: linear-gradient(135deg, #2ecc71, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.05) 0%, rgba(15, 19, 26, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.shadow-success {
    box-shadow: 0 10px 30px -10px rgba(46, 204, 113, 0.5);
}

/* Animations and Interactions */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
}

.btn.hover-lift:hover {
    transform: translateY(-2px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: pulse-dot-anim 2s infinite;
}

@keyframes pulse-dot-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* SVG Animations */
.svg-container {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 19, 26, 0) 100%);
}

.anim-line {
    animation: flow 2s linear infinite;
}

@keyframes flow {
    from { stroke-dashoffset: 30; }
    to { stroke-dashoffset: 0; }
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.svg-container:hover .hover-scale {
    transform: scale(1.05);
}

.pulse-circle {
    animation: expand 3s ease-out infinite;
}

@keyframes expand {
    0% { r: 16; opacity: 1; stroke-width: 3;}
    100% { r: 60; opacity: 0; stroke-width: 1;}
}

/* Special Effects inside cards */
.glow-corner {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.15;
    transition: opacity 0.3s;
}

.theme-card:hover .glow-corner {
    opacity: 0.3;
}
