/* ==========================================================================
   1. IMPORT CDN (FONTS & MATERIAL SYMBOLS)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ==========================================================================
   2. RESET & VARIABLE DEFINITIONS
   ========================================================================== */
:root {
    --bg-main: #0d0f12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-light: rgba(255, 255, 255, 0.15);
    
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.35);
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: rgba(255, 255, 255, 0.1);
    --secondary-hover: rgba(255, 255, 255, 0.18);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #10b981;
    --warning: #f59e0b;
    --gold: #ffd700;
    
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

/* Material Symbols Helper */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined.white { color: #ffffff; }
.material-symbols-outlined.gray { color: var(--text-muted); }
.material-symbols-outlined.dark { color: #000000; }
.material-symbols-outlined.blue { color: #6495ed; }
.material-symbols-outlined.green { color: var(--success); }
.material-symbols-outlined.gold { color: var(--gold); }
.material-symbols-outlined.red { color: var(--danger); }

.md-16 { font-size: 16px; }
.md-18 { font-size: 18px; }
.md-22 { font-size: 22px; }
.md-28 { font-size: 28px; }
.md-32 { font-size: 32px; }
.md-36 { font-size: 36px; }

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    background: rgba(13, 15, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desktop-nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.desktop-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-main);
    background: var(--bg-glass-hover);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Status Badge */
.server-status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
}

.server-status-badge.online .status-dot,
.status-dot.online { background: var(--success); box-shadow: 0 0 8px var(--success); }
.server-status-badge.offline .status-dot,
.status-dot.offline { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.server-status-badge.maintenance .status-dot,
.status-dot.maintenance { background: var(--warning); box-shadow: 0 0 8px var(--warning); }

/* Profile Button */
.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 0.25rem 0.75rem 0.25rem 0.3rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.profile-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-light);
}

.profile-btn-wrapper {
    position: relative;
    width: 28px;
    height: 28px;
}

.avatar-mini {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    border: 1.5px solid var(--bg-main);
}

.profile-btn-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.sidebar-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

/* ==========================================================================
   4. SIDEBAR (MOBILE NAV)
   ========================================================================== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #12151a;
    border-left: 1px solid var(--border-glass);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    padding: 1.5rem;
}

.sidebar.active {
    right: 0;
}

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

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links a:hover {
    background: var(--bg-glass-hover);
    color: var(--text-main);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
}

/* ==========================================================================
   5. LAYOUT & CONTAINERS
   ========================================================================== */
main {
    flex: 1;
}

.admin-container,
.dashboard-container,
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

footer {
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-dim);
    background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   6. PROFILE PAGE STYLES
   ========================================================================== */
.profile-card-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    backdrop-filter: blur(12px);
}

.user-profile-header-sm {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.user-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-info-text h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.user-info-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.qr-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.profile-section-group {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.profile-section-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition);
}

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

.profile-menu-item:hover {
    padding-left: 0.25rem;
}

.profile-menu-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-menu-left .material-symbols-outlined {
    color: var(--text-muted);
}

.profile-menu-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.profile-menu-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.btn-outline-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass-light);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: var(--transition);
}

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

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.secure-badge strong {
    color: var(--text-main);
}

.profile-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   7. ADMIN PANEL COMPONENTS
   ========================================================================== */
.admin-profile-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.profile-avatar-large {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-glass-hover);
    border: 2px solid var(--border-glass-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large .material-symbols-outlined {
    font-size: 36px;
    color: var(--text-muted);
}

.profile-details h2 {
    font-size: 1.35rem;
    font-weight: 700;
}

.profile-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.stat-icon {
    font-size: 32px;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.admin-menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.admin-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.admin-menu-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-main);
}

.admin-menu-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.admin-content-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 300px;
}

.section-title-glass {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.admin-form-glass {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
}

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

.form-group-glass label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.custom-input-glass,
.custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.custom-input-glass:focus,
.custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-glass,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary-glass, .btn-primary {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary-glass:hover, .btn-primary:hover { background: var(--primary-hover); }

.btn-secondary-glass, .btn-secondary {
    background: var(--secondary);
    color: var(--text-main);
    border-color: var(--border-glass);
}
.btn-secondary-glass:hover, .btn-secondary:hover { background: var(--secondary-hover); }

.btn-danger-glass {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}
.btn-danger-glass:hover { background: var(--danger); color: #fff; }

.btn-full-glass { width: 100%; }

.admin-product-list-glass {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-prod-item-glass,
.message-item-glass,
.report-item-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.prod-info-glass {
    display: flex;
    flex-direction: column;
}

.prod-info-glass span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.table-glass {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

.table-glass th,
.table-glass td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.table-glass th {
    color: var(--text-muted);
    font-weight: 600;
}

.server-mode-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.server-mode-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.server-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.server-mode-btn.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.mode-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.current-status-display {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-chat-item-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.chat-unread-badge-glass {
    font-size: 0.65rem;
    background: var(--danger);
    color: #fff;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
}

.chat-status-glass-badge {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
}

.chat-status-glass-badge.confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.chat-room-glass {
    height: 380px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.chat-auto-refresh-glass {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* ==========================================================================
   8. DASHBOARD & CHECKOUT COMPONENTS
   ========================================================================== */
.banner-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.banner-content h2 {
    font-size: 1.75rem;
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.section-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.section-box .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.section-box .section-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.category-item:hover,
.category-item.active {
    background: var(--bg-glass-hover);
    border-color: var(--primary);
    color: var(--text-main);
}

.category-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.nominal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.nominal-card:hover {
    border-color: var(--border-glass-light);
    transform: translateY(-2px);
    background: var(--bg-glass-hover);
}

.prod-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prod-category-tag {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
}

.prod-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.active-service-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

.step-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* ==========================================================================
   9. LANDING PAGE (INDEX)
   ========================================================================== */
.hero-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 800;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 1.25rem 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-glass);
}

.services-section,
.products-section,
.cta-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-tag {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-container {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(0,0,0,0.4));
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
    text-align: center;
}

/* ==========================================================================
   10. FLOATING LIVE CHAT CS WIDGET
   ========================================================================== */
.chat-floating-btn-modern {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.chat-floating-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.chat-badge-modern {
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window-modern {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 360px;
    max-width: calc(100vw - 50px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #12151c;
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-brand-name {
    font-size: 0.9rem;
    font-weight: 700;
}

.chat-status-online {
    font-size: 0.65rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-dot-online {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.chat-close-modern {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.chat-banner-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    font-size: 0.75rem;
}

.banner-title { font-weight: 700; color: #fff; }
.banner-sub { font-size: 0.65rem; color: var(--text-muted); }

.chat-welcome-modern {
    padding: 0.8rem 1rem;
    text-align: center;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.75rem;
}

.welcome-brand { font-weight: 800; color: var(--primary); }
.welcome-highlight { font-weight: 700; color: var(--gold); }

.welcome-links {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.welcome-link {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
}

.chat-user-msg-example {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.user-msg-bubble {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.user-id-display {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

.chat-messages-modern {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-empty-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-align: center;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-msg.admin {
    align-self: flex-start;
}

.chat-bubble {
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    position: relative;
    word-break: break-word;
}

.chat-msg.user .chat-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.chat-msg.admin .chat-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
}

.chat-msg-image {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin-top: 0.4rem;
    display: block;
}

.chat-msg-time {
    display: block;
    font-size: 0.6rem;
    opacity: 0.6;
    margin-top: 0.2rem;
    text-align: right;
}

.chat-input-modern {
    padding: 0.75rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--border-glass);
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.chat-input-field {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3rem;
}

.chat-media-modern,
.chat-send-modern {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
}

.chat-send-modern {
    color: var(--primary);
}

.chat-input-footer {
    font-size: 0.6rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.empty-msg-glass, .empty-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-dim);
    padding: 2rem;
    font-size: 0.9rem;
    width: 100%;
}

/* ==========================================================================
   11. CUSTOM MODAL (MODAL GLASSMORPHISM)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 440px;
    background: #14171f;
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

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

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-main);
}

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

.modal-body input.custom-input-glass {
    margin-top: 0.75rem;
    text-align: center;
    letter-spacing: 4px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
}

.modal-footer .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Modal Status Variants */
.modal-container.success .modal-title { color: var(--success); }
.modal-container.warning .modal-title { color: var(--warning); }
.modal-container.danger .modal-title { color: var(--danger); }
.modal-container.info .modal-title { color: var(--primary); }

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .sidebar-toggle-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .profile-features-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-profile-card {
        flex-direction: column;
        text-align: center;
    }

    .checkout-actions {
        flex-direction: column-reverse;
    }
    
    .checkout-actions .btn {
        width: 100%;
    }

    .chat-window-modern {
        right: 15px;
        bottom: 80px;
        width: calc(100vw - 30px);
    }

    .modal-container {
        max-width: 100%;
    }
}

/* ==========================================================================
   13. CHECKOUT PROGRESS STEPS
   ========================================================================== */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    opacity: 0.4;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.progress-step .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-glass-hover);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.progress-step .step-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.progress-line {
    flex: 1;
    height: 2px;
    max-width: 40px;
    background: var(--border-glass);
    border-radius: 2px;
    min-width: 20px;
}

/* Checkout Summary */
.checkout-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.checkout-summary-grid .label {
    color: var(--text-muted);
}

.checkout-summary-grid .value {
    text-align: right;
    font-weight: 600;
}

.checkout-summary-grid .total-row {
    border-top: 1px solid var(--border-glass);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.checkout-summary-grid .total-row .total-price {
    color: var(--success);
    font-weight: 700;
}

/* ==========================================================================
   14. LOADING OVERLAY WITH WAVE ANIMATION
   ========================================================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 15, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-overlay.active {
    opacity: 1;
    display: flex;
}

.loading-box {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Loading Wave */
.loading-wave {
    width: 180px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
}

.loading-bar {
    width: 18px;
    height: 12px;
    background: linear-gradient(180deg, var(--primary), var(--success));
    border-radius: 4px 4px 8px 8px;
    animation: loading-wave-animation 1s ease-in-out infinite;
    transform-origin: bottom;
}

.loading-bar:nth-child(1) { animation-delay: 0s; }
.loading-bar:nth-child(2) { animation-delay: 0.15s; }
.loading-bar:nth-child(3) { animation-delay: 0.3s; }
.loading-bar:nth-child(4) { animation-delay: 0.45s; }
.loading-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes loading-wave-animation {
    0% {
        height: 12px;
        transform: scaleY(0.3);
        opacity: 0.5;
    }
    30% {
        height: 55px;
        transform: scaleY(1);
        opacity: 1;
    }
    60% {
        height: 35px;
        transform: scaleY(0.7);
        opacity: 0.8;
    }
    100% {
        height: 12px;
        transform: scaleY(0.3);
        opacity: 0.5;
    }
}

/* Loading Text */
.loading-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--primary), var(--success));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 2s ease-in-out infinite;
}

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

.loading-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.loading-text::after {
    content: '';
    animation: dots 1.5s steps(4) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

.loading-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: -0.5rem;
}

/* Loading Progress Bar */
.loading-progress {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ==========================================================================
   15. RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 480px) {
    .checkout-progress {
        flex-wrap: nowrap;
        gap: 0.25rem;
        padding: 0.75rem 0.25rem;
        overflow-x: auto;
    }
    
    .progress-step .step-label {
        font-size: 0.55rem;
    }
    
    .progress-step .step-number {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .progress-line {
        min-width: 12px;
        max-width: 20px;
    }
    
    .nominal-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .loading-wave {
        width: 140px;
        height: 60px;
        gap: 4px;
    }
    
    .loading-bar {
        width: 14px;
        height: 10px;
    }
    
    @keyframes loading-wave-animation {
        0% { height: 10px; }
        30% { height: 40px; }
        60% { height: 25px; }
        100% { height: 10px; }
    }
    
    .loading-brand {
        font-size: 1.1rem;
    }
    
    .loading-text {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   16. SERVICE CARDS DARK THEME - LEOLY MARKET
   ========================================================================== */

/* Card Animations */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-modern,
.service-card-premium,
.service-card-minimal,
.service-card-thumb {
    animation: cardFadeIn 0.4s ease both;
}

/* Card Modern (Utama) */
.service-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-glass);
    background: rgba(255, 255, 255, 0.06);
}

.service-card-modern .card__icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.service-card-modern .card__icon-large {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.06);
    flex-shrink: 0;
}

.service-card-modern .card__icon-large .material-symbols-outlined {
    font-size: 28px;
}

.service-card-modern .card__status {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.08);
    white-space: nowrap;
}

.service-card-modern .card__status.offline {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.08);
}

.service-card-modern .card__status.maintenance {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.08);
}

.service-card-modern .card__category {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-modern .card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0.4rem 0 0.25rem;
    line-height: 1.3;
    flex: 1;
}

.service-card-modern .card__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.5rem 0 0.75rem;
    flex-wrap: wrap;
}

.service-card-modern .card__price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success);
}

.service-card-modern .card__price-original {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.service-card-modern .card__discount {
    font-size: 0.65rem;
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.08);
}

.service-card-modern .card__footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-glass);
}

.service-card-modern .card__orders {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.service-card-modern .card__btn-sm {
    padding: 0.35rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-card-modern .card__btn-sm:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.02);
}

.service-card-modern .card__btn-sm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Card Premium */
.service-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-premium:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.service-card-premium .card__hero {
    padding: 1.5rem;
    position: relative;
    min-height: 120px;
    border-bottom: 1px solid var(--border-glass);
}

.service-card-premium .badge-top {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.service-card-premium .badge-top.badge-sold {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.1);
}

.service-card-premium .badge-top.badge-hot {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.1);
}

.service-card-premium .card__hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.service-card-premium .card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: -0.5px;
}

.service-card-premium .card__price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-dim);
}

.service-card-premium .card__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.service-card-premium .card__icon .material-symbols-outlined {
    font-size: 24px;
}

.service-card-premium .card__job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0.75rem 0 0.25rem;
    line-height: 1.3;
}

.service-card-premium .card__description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-premium .feature-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.service-card-premium .feature-tags span {
    font-size: 0.6rem;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border: 1px solid var(--border-glass);
}

.service-card-premium .card__footer {
    padding: 1rem 1.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.service-card-premium .card__provider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-card-premium .card__provider-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

.service-card-premium .card__provider-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.service-card-premium .card__provider-rating {
    font-size: 0.7rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.service-card-premium .card__btn {
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.service-card-premium .card__btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.service-card-premium .card__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Card Minimalis */
.service-card-minimal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-minimal:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.service-card-minimal .card__icon-wrapper-min {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.06);
}

.service-card-minimal .card__icon-wrapper-min .card__icon-min {
    font-size: 30px;
    color: var(--primary);
}

.service-card-minimal .card__title-min {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.service-card-minimal .card__desc-min {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
}

.service-card-minimal .card__price-min {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.service-card-minimal .card__btn-min {
    margin-top: 0.75rem;
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-card-minimal .card__btn-min:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.service-card-minimal .card__btn-min:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.service-card-minimal .card__status-min {
    font-size: 0.65rem;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.service-card-minimal .card__status-min .status-dot-min {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.service-card-minimal .card__status-min .status-dot-min.online {
    background: var(--success);
}

.service-card-minimal .card__status-min .status-dot-min.offline {
    background: var(--danger);
}

.service-card-minimal .card__status-min .status-dot-min.maintenance {
    background: var(--warning);
}

/* ==========================================================================
   17. EMPTY STATE
   ========================================================================== */
.empty-state {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state .empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.3;
}

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

/* ==========================================================================
   18. RESPONSIVE CARDS
   ========================================================================== */
@media (max-width: 480px) {
    .service-card-modern .card__title {
        font-size: 0.95rem;
    }
    
    .service-card-modern .card__price-main {
        font-size: 1.1rem;
    }
    
    .service-card-premium .card__job-title {
        font-size: 0.95rem;
    }
    
    .service-card-premium .card__price {
        font-size: 1.2rem;
    }
    
    .service-card-thumb .card__thumbnail {
        height: 100px;
    }
    
    .service-card-thumb .card__thumbnail .thumb-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 360px) {
    .nominal-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   19. SNACKBAR / TOAST NOTIFICATION
   ========================================================================== */
.snackbar-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    max-width: 90vw;
    width: 100%;
}

.snackbar {
    background: #1e232b;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    pointer-events: auto;
    animation: snackbarIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 280px;
    max-width: 500px;
    justify-content: space-between;
    width: 100%;
}

.snackbar .snackbar-message {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.snackbar .snackbar-message strong {
    color: var(--text-main);
}

.snackbar .snackbar-undo-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.snackbar .snackbar-undo-btn:hover {
    background: rgba(59, 130, 246, 0.25);
}

.snackbar .snackbar-close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.snackbar .snackbar-close-btn:hover {
    color: var(--text-main);
}

.snackbar .snackbar-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.snackbar .snackbar-icon.warning { color: var(--warning); }
.snackbar .snackbar-icon.success { color: var(--success); }
.snackbar .snackbar-icon.error { color: var(--danger); }
.snackbar .snackbar-icon.info { color: var(--primary); }

@keyframes snackbarIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes snackbarOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* ==========================================================================
   20. RESPONSIVE SNACKBAR
   ========================================================================== */
@media (max-width: 480px) {
    .snackbar-container {
        bottom: 20px;
        padding: 0 10px;
    }
    
    .snackbar {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        min-width: unset;
        max-width: 100%;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .snackbar .snackbar-message {
        font-size: 0.75rem;
        min-width: 0;
    }
    
    .snackbar .snackbar-undo-btn {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
        flex-shrink: 0;
    }
    
    .snackbar .snackbar-icon {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .snackbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    .snackbar .snackbar-message {
        flex: 1 1 100%;
        text-align: center;
    }
}