/* ===================================
   Digital Produk - Custom Styles
   =================================== */

:root {
    /* Envato/Codecanyon-inspired palette */
    --primary-color: #82b440;
    --primary-dark: #6f9a37;
    --secondary-color: #2c3e50;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Compact base sizing */
html {
    font-size: 14px;
}

/* Global Styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button, input, select, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    color: var(--text-primary);
    background-color: #f8f9fa;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.5;
    font-size: 0.875rem;
}

h1 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.5rem;
}

h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.25rem;
}

h3 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.125rem;
}

h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem;
}

h5 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9375rem;
}

h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8125rem;
}

.fw-bold, strong, b {
    font-weight: 600 !important;
}

.fw-semibold {
    font-weight: 500 !important;
}

/* Bootstrap Override */
.btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
    font-weight: 500;
}

.form-control, .form-select {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
}

.form-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
    font-weight: 500;
}

.nav-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
    font-weight: 400;
}

.navbar-brand {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem;
    font-weight: 600;
}

.dropdown-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
}

.card-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 600;
}

.card-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
}

.badge {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.6875rem;
    font-weight: 500;
}

.alert {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem;
}

p, span, div, a {
    font-size: 0.8125rem;
}

small, .small {
    font-size: 0.75rem !important;
}

.text-muted {
    font-size: 0.75rem;
}

/* Page Transition */
.page-content {
    animation: pageSlideIn 0.4s ease-out;
}

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

/* Navbar Styles */
.navbar-custom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1f2a35 100%);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.navbar-custom .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 2rem 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Card Styles */
.card-custom {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-custom .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-custom .card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Product Card */
.product-card {
    position: relative;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: white;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card .product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.product-card .card-body {
    padding: 1.5rem;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
}

/* Button Styles */
.btn-custom {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Stats Card */
.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-card .stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.stats-card.primary .stats-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.stats-card.success .stats-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stats-card.warning .stats-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.stats-card.info .stats-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    border-radius: 3rem;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.search-bar button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.sidebar .list-group-item {
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
    background: var(--light-color);
    padding-left: 1.5rem;
}

.sidebar .list-group-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Table Styles */
.table-custom {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-custom thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.table-custom thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table-custom tbody tr {
    transition: all 0.3s ease;
}

.table-custom tbody tr:hover {
    background: var(--light-color);
}

.table-custom tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Badge Styles */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Alert Styles */
.alert-custom {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer-custom {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: white;
}

/* Breadcrumb */
.breadcrumb-custom {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

/* Form Styles */
.form-control-custom {
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

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

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .product-card .product-image {
        height: 180px;
    }
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: 1rem;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Review Stars */
.review-stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Price Tag */
.price-tag {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-block;
}

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

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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


/* ===================================
   Enhanced Dashboard Styles
   =================================== */

/* Admin Sidebar */
.admin-sidebar {
    background: white;
    min-height: calc(100vh - 80px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 80px;
}

.admin-sidebar .nav-link {
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 400;
    font-size: 0.875rem;
}

.admin-sidebar .nav-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.admin-sidebar .nav-link i {
    font-size: 1.125rem;
    width: 20px;
}

/* Dashboard Stats Cards */
.dashboard-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.dashboard-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.dashboard-stat-card.primary .stat-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.dashboard-stat-card.success .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.dashboard-stat-card.warning .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.dashboard-stat-card.danger .stat-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

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

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

.dashboard-stat-card .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.dashboard-stat-card .stat-change.up {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.dashboard-stat-card .stat-change.down {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Chart Card */
.chart-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

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

.chart-card .chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Activity Timeline */
.activity-timeline {
    position: relative;
    padding-left: 2rem;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.activity-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    z-index: 1;
}

.activity-item .activity-content {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item .activity-content:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.activity-item .activity-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Quick Actions */
.quick-action-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.quick-action-card .action-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.quick-action-card .action-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.quick-action-card .action-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Data Table Enhanced */
.data-table-wrapper {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

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

.data-table-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.data-table {
    width: 100%;
}

.data-table thead {
    background: var(--light-color);
}

.data-table thead th {
    padding: 0.875rem 1.25rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.data-table tbody td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.875rem;
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: var(--light-color);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badge Enhanced */
.badge-status {
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-status.inactive {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.badge-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-status.completed {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.view {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.action-btn.edit {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Progress Bar */
.progress-custom {
    height: 8px;
    border-radius: 1rem;
    background: var(--light-color);
    overflow: hidden;
}

.progress-custom .progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 1rem;
    transition: width 0.6s ease;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

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

/* Hover Card Effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.5rem;
}

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

/* Tooltip */
.tooltip-custom {
    position: relative;
    display: inline-block;
}

.tooltip-custom .tooltip-text {
    visibility: hidden;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
    white-space: nowrap;
}

.tooltip-custom:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Modal Enhancement */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
}

/* Dropdown Menu Enhanced */
.dropdown-menu {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
}

/* Breadcrumb Enhanced */
.breadcrumb-enhanced {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.breadcrumb-enhanced .breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-enhanced .breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-enhanced .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Page Header */
.page-header {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.page-header .page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}


/* ===================================
   Admin Layout Full Width
   =================================== */

.admin-sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    overflow-y: auto;
    z-index: 1000;
}

.admin-layout .admin-content {
    margin-left: 260px;
    min-height: 100vh;
    background: #f8f9fa;
    padding: 2rem;
    width: calc(100% - 260px);
}

/* Admin Profile Section */
.admin-profile {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-profile .avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

/* Nav Section Title */
.nav-section-title {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.nav-section-title:first-child {
    margin-top: 0;
}

/* Responsive Admin Layout */
@media (max-width: 991px) {
    .admin-sidebar-wrapper {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .admin-layout .admin-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .admin-sidebar-wrapper {
        width: 240px;
    }
    
    .admin-layout .admin-content {
        margin-left: 240px;
        width: calc(100% - 240px);
    }
}

@media (min-width: 1200px) {
    .admin-sidebar-wrapper {
        width: 260px;
    }
    
    .admin-layout .admin-content {
        margin-left: 260px;
        width: calc(100% - 260px);
    }
}

@media (min-width: 1400px) {
    .admin-sidebar-wrapper {
        width: 280px;
    }
    
    .admin-layout .admin-content {
        margin-left: 280px;
        width: calc(100% - 280px);
        padding: 2.5rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .admin-sidebar-wrapper {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar-wrapper.show {
        transform: translateX(0);
    }
}

/* Full Width Content */
.admin-content .container-fluid {
    max-width: 100%;
    padding: 0;
}

.admin-content .row {
    margin: 0 -0.75rem;
}

.admin-content .row > * {
    padding: 0 0.75rem;
}


/* Category icon strip (home page) */
.category-strip {
    width: 100%;
    height: 52px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.category-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.30) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 62% 22%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px);
    opacity: 0.6;
    pointer-events: none;
}

.category-icon {
    width: 28px;
    height: 28px;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.20));
}


/* Blog + page content typography */
.content-prose {
    color: var(--text-primary);
}

.content-prose h2,
.content-prose h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.content-prose p {
    margin-bottom: 1rem;
    line-height: 1.85;
}

.content-prose ul {
    padding-left: 1.2rem;
}

.content-prose li {
    margin-bottom: 0.5rem;
}

/* Full-bleed sections inside a centered container */
.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Blog hero */
.blog-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 45%, rgba(130, 180, 64, 0.95) 160%);
    box-shadow: var(--shadow-xl);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image:
        radial-gradient(circle at 12% 24%, rgba(130, 180, 64, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 32%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
        radial-gradient(circle at 64% 74%, rgba(255, 255, 255, 0.10) 0 2px, transparent 3px),
        radial-gradient(circle at 36% 80%, rgba(130, 180, 64, 0.22) 0 1px, transparent 2px);
    opacity: 0.9;
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 0.8125rem;
}

.blog-hero-title {
    margin-top: 0.9rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 750;
}

.blog-hero-sub {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    max-width: 56ch;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    font-weight: 600;
}

.blog-back:hover {
    color: #ffffff;
    text-decoration: underline;
}

.blog-search-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-xl);
}

.blog-search-card .input-group-text {
    border: none;
}

.blog-search-card .form-control {
    border: none;
}

.blog-search-card .form-control:focus {
    box-shadow: none;
}

.blog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-chip {
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-weight: 600;
    font-size: 0.8rem;
    transition: transform 0.18s ease, background 0.18s ease;
}

.blog-chip:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

/* Motion */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-animate {
    animation: riseIn 0.55s ease both;
    animation-delay: var(--delay, 0ms);
}

/* Tags */
.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}

.blog-tag--default {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.blog-tag--ai {
    background: rgba(130, 180, 64, 0.92);
    color: #0b1220;
}

.blog-tag--rag {
    background: rgba(59, 130, 246, 0.92);
    color: #0b1220;
}

.blog-tag--security {
    background: rgba(239, 68, 68, 0.92);
    color: #0b1220;
}

.blog-tag--identity {
    background: rgba(245, 158, 11, 0.92);
    color: #0b1220;
}

.blog-tag--business {
    background: rgba(16, 185, 129, 0.92);
    color: #0b1220;
}

.blog-tag--backend {
    background: rgba(148, 163, 184, 0.92);
    color: #0b1220;
}

/* Featured */
.blog-featured {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.blog-featured-media {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 70%, rgba(130, 180, 64, 0.55) 120%);
}

.blog-featured-media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.65s ease;
}

.blog-featured:hover img {
    transform: scale(1.08);
}

.blog-featured-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.82) 78%);
}

.blog-featured-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem;
    color: #ffffff;
}

.blog-featured-title {
    margin-top: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 780;
    color: #ffffff;
}

.blog-featured-excerpt {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 76ch;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.85rem;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(17, 24, 39, 0.20);
    color: #ffffff;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease;
}

.blog-cta:hover {
    transform: translateY(-1px);
    background: rgba(17, 24, 39, 0.30);
    color: #ffffff;
}

/* Mini cards */
.blog-mini-card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.blog-mini-media {
    width: 140px;
    flex: 0 0 140px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.blog-mini-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

.blog-mini-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 2rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.blog-mini-media.has-img .blog-mini-fallback {
    opacity: 0;
}

.blog-mini-body {
    padding: 1rem 1rem 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-mini-title {
    margin-top: 0.45rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-weight: 750;
    line-height: 1.25;
}

.blog-mini-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Blog cards */
.blog-card {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 24, 39, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

@supports not (aspect-ratio: 1 / 1) {
    .blog-image {
        height: 190px;
    }
}

.blog-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.65s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 2.8rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.blog-image.has-img .blog-image-fallback {
    opacity: 0;
}

.blog-cover {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

@supports not (aspect-ratio: 1 / 1) {
    .blog-cover {
        height: 260px;
    }
}

.blog-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.blog-cover-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 4rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.blog-cover.has-img .blog-cover-fallback {
    opacity: 0;
}

.blog-share {
    border-radius: 1.25rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

@media (max-width: 991px) {
    .blog-featured-media {
        min-height: 320px;
    }
    .blog-featured-body {
        padding: 1.25rem;
    }
    .blog-hero {
        border-radius: 1.25rem;
    }
}


/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float { display: none !important; /* hidden - replaced by contact hub */
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.875rem;
}
.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    flex-shrink: 0;
}
.whatsapp-float-label {
    font-size: 0.8125rem;
}
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }
    .whatsapp-float-label {
        display: none;
    }
    .whatsapp-float {
        border-radius: 50%;
        padding: 14px;
    }
}

/* Pulse animation for WhatsApp */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    animation: waPulse 2s infinite;
    background: #25D366;
    z-index: -1;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* ===================================
   Enhanced Homepage Sections
   =================================== */

/* Why Choose Us / Features Grid */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
}

/* Stats Counter Section */
.stats-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
}
.stat-item {
    text-align: center;
    padding: 20px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #82b440, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Testimonial Cards */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 12px;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}
.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Tech stack badges */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.tech-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}
.tech-badge i {
    font-size: 1.25rem;
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
}
.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.process-connector {
    position: absolute;
    top: 28px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Animated gradient border for cards */
.glow-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #82b440, #10b981);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-card:hover::before {
    opacity: 1;
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #10b981);
    border-radius: 2px;
    margin: 0 auto 24px;
}


/* ===================================
   KEUNGGULAN CARDS (Premium)
   =================================== */
.keunggulan-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px 32px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.keunggulan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--kc-gradient, linear-gradient(135deg, #667eea, #764ba2));
    opacity: 0;
    transition: all 0.4s ease;
}

.keunggulan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}

.keunggulan-card:hover::before {
    opacity: 1;
    width: 100%;
    border-radius: 0;
}

.keunggulan-icon-wrap {
    display: inline-block;
    position: relative;
}

.keunggulan-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    background: var(--kc-gradient, linear-gradient(135deg, #667eea, #764ba2));
    opacity: 0.12;
    z-index: 0;
    transition: all 0.4s ease;
}

.keunggulan-card:hover .keunggulan-icon-wrap::after {
    inset: -10px;
    opacity: 0.18;
    border-radius: 26px;
}

.keunggulan-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    position: relative;
    z-index: 1;
    background: var(--kc-gradient, linear-gradient(135deg, #667eea, #764ba2));
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.keunggulan-card:hover .keunggulan-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}


/* ===================================
   KATEGORI CARDS (Premium)
   =================================== */
.kategori-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.kategori-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.kategori-card:hover .kategori-card-bg {
    height: 100%;
}

.kategori-card-content {
    position: relative;
    z-index: 1;
    padding: 36px 28px 28px;
    text-align: center;
    transition: color 0.4s ease;
}

.kategori-card:hover .kategori-card-content h5,
.kategori-card:hover .kategori-card-content p {
    color: rgba(255,255,255,0.95) !important;
}

.kategori-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.kategori-card:hover .kategori-icon-circle {
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    transform: scale(1.1);
}

.kategori-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.kategori-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.kategori-card:hover .kategori-link {
    color: #fff;
}

.kategori-card:hover .kategori-link i {
    transform: translateX(4px);
}


/* ===================================
   CTA Section (Premium Dark)
   =================================== */
.cta-premium-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    margin: 60px 0 0 0;
}

.cta-premium-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    z-index: 0;
}

.cta-premium-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.cta-premium-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.25);
    top: -120px;
    right: -80px;
    animation: ctaOrbFloat 8s ease-in-out infinite;
}

.cta-premium-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(130, 180, 64, 0.2);
    bottom: -100px;
    left: -60px;
    animation: ctaOrbFloat 10s ease-in-out infinite reverse;
}

@keyframes ctaOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.cta-premium-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.cta-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(130, 180, 64, 0.15);
    border: 1px solid rgba(130, 180, 64, 0.3);
    color: #82b440;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-premium-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-premium-highlight {
    background: linear-gradient(135deg, #82b440, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-premium-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.4);
    color: #fff !important;
}

.cta-btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.25) !important;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.cta-premium-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-premium-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 500;
}

.cta-premium-trust span i {
    color: #82b440;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cta-premium-section {
        padding: 56px 0;
        margin-top: 40px;
    }
    .cta-premium-title {
        font-size: 1.6rem;
    }
    .cta-premium-desc {
        font-size: 0.95rem;
    }
    .cta-premium-trust {
        gap: 12px;
    }
}