/* =========================================
   WEBGUIDE MAINTENANCE - PAGE CSS
   ========================================= */

/* Hero bölümü 'webguide-money-page.css' üzerinden stil alıyor. */

/* =========================================
   MAINTENANCE FEATURES (DASHBOARD VISUALS)
   ========================================= */
.maintenance-features-section {
    padding: 6rem 0;
    background-color: #fff;
    border-top: 1px solid var(--clr-border);
}

.maintenance-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Kart Genel */
.maint-card {
    background: #f8fafc;
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.maint-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    background: #fff;
    border-color: var(--clr-primary);
}

/* Header */
.maint-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.maint-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GÜNCELLEME: SVG Boyutlandırma */
.maint-icon svg {
    width: 24px;
    height: 24px;
    color: var(--clr-primary);
}

.maint-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-secondary);
    margin: 0;
}

.maint-card p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin-top: auto; /* Metni alta it */
    line-height: 1.5;
}

/* --- GÖRSEL ALANLAR (CSS DRAWING) --- */
.maint-visual {
    width: 100%;
    height: 120px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 1. Uptime Visual */
.uptime-visual {
    flex-direction: column;
    gap: 5px;
}
.pulse-ring {
    width: 20px; height: 20px;
    background: #059669; /* Yeşil */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    animation: pulseGreen 2s infinite;
}
.status-text { font-size: 0.8rem; font-weight: 600; color: #059669; }
.uptime-val { font-size: 1.5rem; font-weight: 800; color: var(--clr-secondary); }

@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* 2. Security Visual */
.security-visual svg {
    width: 60px; height: 60px;
    color: var(--clr-primary);
    z-index: 2;
}
.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #059669;
    top: 0;
    left: 0;
    box-shadow: 0 0 10px #059669;
    animation: scan 2s linear infinite;
    z-index: 1;
}
@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* 3. Backup Visual */
.backup-visual { gap: 20px; }
.cloud-icon {
    width: 40px; height: 25px;
    background: var(--clr-secondary);
    border-radius: 20px;
    position: relative;
}
.cloud-icon::after {
    content: ''; position: absolute;
    width: 15px; height: 15px;
    background: var(--clr-secondary);
    border-radius: 50%;
    top: -8px; left: 8px;
}
.db-icon {
    width: 30px; height: 40px;
    border: 2px solid var(--clr-text-light);
    border-radius: 10px;
    position: relative;
}
.db-icon::before {
    content: ''; position: absolute;
    width: 100%; height: 5px;
    border-bottom: 2px solid var(--clr-text-light);
    top: 10px;
}
.data-flow span {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--clr-primary);
    border-radius: 50%;
    margin: 0 2px;
    animation: flow 1s infinite ease-in-out;
}
.data-flow span:nth-child(1) { animation-delay: 0s; }
.data-flow span:nth-child(2) { animation-delay: 0.2s; }
.data-flow span:nth-child(3) { animation-delay: 0.4s; }

@keyframes flow {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

/* 4. Speed Visual */
.speed-gauge {
    width: 80px; height: 40px;
    background: #e2e8f0;
    border-radius: 40px 40px 0 0;
    position: relative;
    overflow: hidden;
}
.gauge-fill {
    width: 100%; height: 100%;
    background: #059669;
    transform-origin: bottom center;
    transform: rotate(160deg); /* Doluluk oranı */
    transition: transform 1s ease-out;
}
.gauge-cover {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 25px;
    background: #fff;
    border-radius: 25px 25px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-weight: 800;
    color: #059669;
    padding-bottom: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .maintenance-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .maintenance-dashboard-grid { grid-template-columns: 1fr; }
}