/* TE Monitor Hub Professional Red & Black Theme */
:root {
    /* Ana Arka Plan Renkleri - Kırmızı-Siyah Tema */
    --bg-primary: #000000;
    --bg-secondary: rgba(0, 0, 0, 0.95);
    --bg-accent: rgba(220, 38, 38, 0.08);
    --bg-gradient: linear-gradient(135deg, #000000 0%, #1a0000 25%, #330000 50%, #1a0000 75%, #000000 100%);
    
    /* Text Renkleri - Kırmızı-Siyah Tema */
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #999999;
    
    /* TE Monitor Hub Logo Renkleri - Kırmızı Vurgu */
    --logo-primary: #dc2626;      /* Red - Logo ana rengi */
    --logo-secondary: #ef4444;    /* Light Red */
    --logo-accent: #f87171;       /* Lighter Red */
    --logo-glow: #dc2626;         /* Logo glow efekti */
    
    /* Gradient Renkleri - Kırmızı Temalı */
    --gradient-primary: linear-gradient(45deg, #dc2626, #ef4444, #f87171, #dc2626);
    --gradient-professional: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    --gradient-it-card: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%);
    
    /* İkon ve Vurgu Renkleri - Kırmızı Temalı */
    --accent-blue: #dc2626;
    --accent-green: #22c55e;
    --accent-purple: #a855f7;
    --accent-orange: #fb923c;
    --accent-pink: #f472b6;
    --accent-cyan: #06b6d4;
    --accent-indigo: #dc2626;
    --accent-indigo-light: #f87171;
    --accent-indigo-dark: #b91c1c;
    --accent-red: #dc2626;
    
    /* Buton Renkleri - Kırmızı Temalı */
    --btn-primary: linear-gradient(to right, #dc2626, #ef4444);
    --btn-primary-hover: linear-gradient(to right, #ef4444, #b91c1c);
    --btn-secondary: #f87171;
    --btn-secondary-hover: rgba(220, 38, 38, 0.2);
    
    /* Status Renkleri - Kırmızı Temalı */
    --status-up: linear-gradient(45deg, #22c55e, #16a34a);
    --status-down: linear-gradient(45deg, #dc2626, #b91c1c);
    --status-unknown: linear-gradient(45deg, #fb923c, #f59e0b);
    
    /* Border ve Shadow - Kırmızı Temalı */
    --border-light: rgba(220, 38, 38, 0.25);
    --border-medium: rgba(220, 38, 38, 0.18);
    --border-white: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.4);
    
    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(248, 113, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Ensure body background is always visible on mobile */
@media (max-width: 768px) {
    body {
        background: var(--bg-gradient) !important;
    }
    
    main {
        background: transparent !important;
    }
    
    body::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(248, 113, 113, 0.04) 0%, transparent 50%);
    }
}

@media (max-width: 480px) {
    body {
        background: var(--bg-gradient) !important;
    }
    
    main {
        background: transparent !important;
    }
    
    body::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.04) 0%, transparent 50%);
    }
}

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

/* Navigation - Birleşik Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.95) 50%, rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

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

/* Sidebar toggle button */
.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: var(--bg-accent);
    border-color: var(--accent-indigo);
}

@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: flex !important;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.nav-brand span {
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-brand:hover {
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    margin-right: 0.5rem;
}

.brand-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    max-height: 100%;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.5rem;
    line-height: 1;
}

.btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

.btn-outline:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

.btn-primary {
    background: var(--btn-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.user-dropdown {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.user-info:hover {
    background: var(--btn-secondary-hover);
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
    min-width: 200px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: var(--bg-accent);
    color: var(--accent-blue);
}

.dropdown-menu hr {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.brand-icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(120%) contrast(120%);
}

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

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    height: 2.5rem;
    line-height: 1;
}

.btn-primary {
    background: var(--btn-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--btn-secondary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

.btn-outline:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

/* Bootstrap Override */
.btn-outline-light {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

.btn-outline-light:hover {
    background: rgba(220, 38, 38, 0.1) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

/* Navbar Brand Override */
.navbar-brand {
    color: var(--text-primary) !important;
}

.navbar-brand:hover {
    color: var(--accent-blue) !important;
}

/* Sidebar Styles */
.app-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-gradient);
}

.sidebar {
    width: 240px;
    background: rgba(0, 0, 0, 0.8);
    border-right: 1px solid rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.brand-logo:hover .brand-text {
    color: var(--text-primary);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.brand-icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(120%) contrast(120%);
}

.brand-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}

.sidebar .nav-link:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--text-primary);
    border-left: 3px solid var(--accent-indigo);
}

.sidebar .nav-link.active {
    background: rgba(220, 38, 38, 0.15);
    color: var(--accent-indigo);
    border-left: 3px solid var(--accent-indigo);
    font-weight: 600;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-content {
    flex: 1;
    overflow-y: hidden;
}

.sidebar-user-info {
    margin-top: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    overflow-x: hidden;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1rem;
    flex: 1;
    overflow-x: hidden;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
}

.user-details {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.user-actions {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    flex-shrink: 0;
}

.logout-btn {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

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


/* Main Content */
.main-content {
    flex: 1;
    margin-left: 240px;
    min-height: 100vh;
    background: transparent;
}

.top-navbar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(12px);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.title-highlight {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.page-subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.navbar-actions .btn {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.navbar-actions .btn:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--accent-blue);
    color: white;
}

.page-content {
    padding: 2rem;
    background: transparent;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.sidebar-open {
        transform: translateX(0);
        z-index: 1001;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid var(--border-medium);
        color: var(--text-primary);
        padding: 0.5rem;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
        transition: all 0.3s ease;
    }
    
    .sidebar-toggle:hover {
        background: var(--bg-accent);
        border-color: var(--accent-indigo);
    }
    
    .top-navbar {
        padding: 0 1rem;
    }
    
    .page-title h1 {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.85rem;
    }
    
    .navbar-left {
        gap: 0.75rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    /* Navbar mobilde */
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .user-info span {
        display: none;
    }
    
    /* Tables responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Cards responsive */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Forms responsive */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Buttons responsive */
    .btn {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    /* Actions container responsive */
    .actions-container {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .actions-container .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    /* Domain metrics responsive */
    .domain-metrics {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .metric {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Stats grid responsive */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Filter sort bar responsive */
    .filter-sort-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between.align-items-center {
        align-items: flex-start !important;
    }
}

/* Dashboard Styles */

/* Filter and Sort */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
}

.form-select {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.form-select:focus {
    background: var(--bg-accent) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    color: var(--text-primary) !important;
}

/* Dropdown seçenekleri için renk düzeltmesi */
.form-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.form-select option:hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

/* Domains Section */
.domains-section {
    background: var(--gradient-it-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

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

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

.domains-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.domains-list {
    padding: 0;
}

.domain-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-white);
    transition: all 0.2s ease;
}

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

.domain-item:hover {
    background: var(--bg-accent);
}

    .domain-status {
        width: 44px;
        height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
}

.domain-status .fas {
    font-size: 1rem !important;
}

.domain-status .fa-check-circle {
    font-size: 1rem !important;
}

.domain-info {
    flex: 1;
    min-width: 0;
}

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

.domain-url {
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.domain-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

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

.metric-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
}

.external-link {
    color: var(--accent-blue);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.external-link:hover {
    background: var(--btn-secondary-hover);
    color: white;
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    color: var(--text-muted);
    opacity: 0.5;
}

.empty-state h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Bootstrap Override for Dashboard */
.text-success {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-red) !important;
}

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

/* Settings, AI Reports, Domains Pages - Card Styles */
.card {
    background: var(--gradient-it-card) !important;
    border: 1px solid var(--border-medium) !important;
    backdrop-filter: blur(24px);
    color: var(--text-primary) !important;
}

.card-header {
    background: var(--bg-accent) !important;
    border-bottom: 1px solid var(--border-white) !important;
    color: var(--text-primary) !important;
}

.card-body {
    background: transparent !important;
    color: var(--text-primary) !important;
}

/* Professional Card Styles for AI Reports */
.professional-card {
    background: var(--gradient-it-card) !important;
    border: 1px solid var(--border-medium) !important;
    backdrop-filter: blur(24px);
}

.professional-header {
    background: var(--bg-accent) !important;
    border-bottom: 1px solid var(--border-white) !important;
}

.professional-input {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
}

.professional-input:focus {
    background: var(--bg-accent) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    color: var(--text-primary) !important;
}

/* Table Styles for Domains */
.table {
    color: var(--text-primary) !important;
}

.table th {
    background: var(--bg-accent) !important;
    border-bottom: 1px solid var(--border-white) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* Actions sütunu için temiz CSS */
.table th:last-child,
.table td:last-child {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.table td {
    border-bottom: 1px solid var(--border-white) !important;
    color: var(--text-primary) !important;
}

.table-hover tbody tr:hover {
    background: var(--bg-accent) !important;
}

.actions-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: auto !important;
}

/* Badge Styles */
.badge {
    border: 1px solid transparent;
}

.bg-success {
    background: var(--status-up) !important;
    color: white !important;
}

.bg-danger {
    background: var(--status-down) !important;
    color: white !important;
}

/* Form Styles */
.form-label {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.form-control {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
}

.form-control:focus {
    background: var(--bg-accent) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    color: var(--text-primary) !important;
}

.form-select {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
}

.form-select:focus {
    background: var(--bg-accent) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    color: var(--text-primary) !important;
}

/* Dropdown seçenekleri için renk düzeltmesi */
.form-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.form-select option:hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

/* Button Styles */
.btn-outline-primary {
    background: transparent !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--accent-blue) !important;
}

.btn-outline-primary:hover {
    background: var(--btn-secondary-hover) !important;
    border-color: var(--accent-blue) !important;
    color: white !important;
}

.btn-outline-secondary {
    background: transparent !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-secondary) !important;
}

.btn-outline-secondary:hover {
    background: var(--btn-secondary-hover) !important;
    border-color: var(--accent-blue) !important;
    color: white !important;
}

.btn-outline-danger {
    background: transparent !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--accent-red) !important;
}

.btn-outline-danger:hover {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: white !important;
}

/* AI Reports Specific Styles */
    .header-icon {
        width: 44px;
        height: 44px;
    background: var(--gradient-professional);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}

.metric-card {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.status-card {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.trend-card {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: var(--radius-lg);
    padding: 1rem;
}

/* Alert Styles */
.alert {
    background: var(--bg-accent) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
}

.alert-success {
    border-color: var(--accent-green) !important;
    color: var(--accent-green) !important;
}

.alert-warning {
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
}

.alert-danger {
    border-color: var(--accent-red) !important;
    color: var(--accent-red) !important;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    text-align: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding-top: 180px;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Status Text */
.status-text {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--accent-green) !important;
}

.status-text.text-danger {
    color: var(--accent-red) !important;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

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

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite, gradientShift 4s ease-in-out infinite;
    white-space: nowrap;
    text-align: center;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-secondary);
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

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

.highlight {
    color: var(--accent-indigo);
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 3rem;
}

.hero-actions .btn-primary {
    background: var(--btn-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
}

.hero-actions .btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
    color: white;
}

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

.hero-actions .btn-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--accent-indigo);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(24px);
}

/* Professional Stats Cards */
.dashboard-stats {
    max-width: 1200px;
    margin: 4.5rem auto 0;
    padding: 0 2rem;
    position: relative;
}

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

/* New Homepage Design */

/* Hero Section - New Design */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-gradient) !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(248, 113, 113, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
}

.hero-content {
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: var(--btn-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
}

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

.hero-actions .btn-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--accent-indigo);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-indigo);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    background: var(--gradient-it-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    min-width: 0;
    flex: 1;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-professional);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Responsive Hero Stats */
@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        background: var(--bg-gradient) !important;
    }
    
    .hero::before {
        background: 
            radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 40% 80%, rgba(248, 113, 113, 0.05) 0%, transparent 50%);
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
        white-space: normal;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
        background: var(--bg-gradient) !important;
    }
    
    .hero::before {
        background: 
            radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 70px 0 30px;
        background: var(--bg-gradient) !important;
    }
    
    .hero::before {
        background: 
            radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.04) 0%, transparent 50%);
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-actions {
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .cta {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
        width: 100%;
    }
    
    .stat-item {
        padding: 1rem 1.25rem;
        gap: 0.5rem;
        flex: 1;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .stat-item {
        padding: 0.875rem 1.25rem;
        flex: 1;
    }
}

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

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}



/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.dashboard-header {
    background: var(--bg-accent);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: 'Inter', monospace;
}

.status-dot-small {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dashboard-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-indigo);
}

.metric-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-indigo);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1rem;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Inter', monospace;
}

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


/* Hero Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    width: 100%;
}

.stat-card {
    background: var(--gradient-it-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1rem;
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.stat-card.uptime .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card.response .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stat-card.servers .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-card.locations .stat-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.stat-card .stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--accent-indigo);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-card .stat-description {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Features Section */
.features {
    background: transparent;
    padding: 6rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: var(--gradient-it-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(24px);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-professional);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* CTA Section */
.cta {
    background: transparent;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--border-white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-accent);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-light);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .sidebar {
        width: 220px;
    }
    
    .main-content {
        margin-left: 220px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .stat-card .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* New Homepage Responsive */
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Dashboard stats responsive */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Domain cards responsive */
    .domain-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .domain-info {
        width: 100%;
    }
    
    .domain-url {
        word-break: break-all;
        white-space: normal;
    }
    
    /* Servers page responsive */
    .row {
        margin: 0;
    }
    
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Forms responsive */
    .form-group {
        margin-bottom: 1rem;
    }
    
    /* Modal responsive */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    /* Buttons in headers */
    .d-flex.justify-content-between.align-items-center .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    /* Tables - stack on very small screens */
    .table th:nth-child(n+3),
    .table td:nth-child(n+3) {
        display: none;
    }
    
    .table th:first-child,
    .table td:first-child {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .stat-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .stat-card .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-card .stat-description {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Dashboard stats single column */
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.875rem;
    }
    
    /* Smaller buttons */
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Smaller cards */
    .card-header {
        padding: 0.75rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    /* Smaller text */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    /* Page title smaller */
    .page-title h1 {
        font-size: 1.25rem;
    }
    
    .page-subtitle {
        font-size: 0.75rem;
    }
    
    /* Top navbar smaller */
    .top-navbar {
        height: 60px;
        padding: 0 0.75rem;
    }
    
    /* Sidebar smaller on mobile */
    .sidebar {
        width: 260px;
    }
    
    /* Navbar height smaller */
    .navbar {
        height: 60px;
    }
    
    /* User info smaller */
    .user-info {
        padding: 0.375rem 0.75rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    /* Footer text smaller */
    .footer-text {
        font-size: 0.75rem;
    }
    
    /* Table font smaller */
    .table {
        font-size: 0.8125rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.375rem;
    }
    
    /* Modal full screen on small */
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }
    
    .modal-content {
        height: 100%;
        border-radius: 0;
    }
    
    /* Form inputs smaller */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.625rem;
    }
    
    /* Domain item smaller */
    .domain-item {
        padding: 0.75rem;
    }
    
    .domain-status {
        width: 36px;
        height: 36px;
        font-size: 0.875rem !important;
    }
}

/* Footer Styles */
.main-footer {
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(12px);
    height: 40px;
    margin-top: auto;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

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

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 400;
}

.footer-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 0.75rem 0;
    }
    
    .footer-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}