/* Modern WHMCS Theme Enhancement */

/* Custom Fonts */
@font-face {
    font-family: 'TTHakgyoansimMonggeulmonggeulR';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2402_keris@1.0/TTHakgyoansimMonggeulmonggeulR.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HakgyoansimNadeuriTTF-B';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimNadeuriTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Modern CSS Custom Properties */
:root {
    /* Modern Color Palette */
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-heading: 'TTHakgyoansimMonggeulmonggeulR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'HakgyoansimNadeuriTTF-B', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Global Overrides */
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    min-height: 100vh;
}

/* Typography System */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1, .h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2, .h2 { font-size: 2rem; letter-spacing: -0.025em; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1.125rem; }

/* Modern Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--space-sm) 0;
}

.topbar .btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.topbar .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.logo-img {
    max-height: 40px;
    filter: drop-shadow(var(--shadow-sm));
}

/* Modern Navigation */
.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    margin: 0 var(--space-xs);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* Modern Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

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

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #3730a3 100%);
    color: white;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    border-color: var(--gray-400);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #2563eb 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    color: white;
}

/* Modern Forms */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    background: white;
    box-shadow: var(--shadow-sm);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.card-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
}

.card-body {
    padding: var(--space-lg);
}

/* Modern Alerts */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    font-family: var(--font-body);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid var(--success-color);
    color: #065f46;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-left: 4px solid var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-left: 4px solid var(--warning-color);
    color: #92400e;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid var(--info-color);
    color: #1e40af;
}

/* Modern Tables */
.table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border: none;
    padding: var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table td {
    padding: var(--space-lg);
    border-color: var(--gray-100);
    font-family: var(--font-body);
}

.table tbody tr:hover {
    background: var(--gray-50);
}

/* Modern Sidebar */
.sidebar {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.sidebar .nav-link {
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    transform: translateX(4px);
}

/* Modern Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--gray-300);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-2xl);
}

.footer .nav-link {
    color: var(--gray-400);
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.footer .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Modern Modal */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.modal-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-lg);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: var(--space-lg);
}

/* Search Input */
.search .form-control {
    background: white;
    border: 2px solid var(--gray-200);
    padding-left: 3rem;
}

.search .btn {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    border: none;
    background: transparent;
    color: var(--gray-400);
    padding: var(--space-sm) var(--space-md);
}

/* Badge Modernization */
.badge {
    font-family: var(--font-body);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-info {
    background: var(--info-color);
    color: white;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Smooth Animations */
* {
    transition: color var(--transition-fast), 
                background-color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
    }
    
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    
    .card-body,
    .sidebar {
        padding: var(--space-md);
    }
}

/* Focus Improvements for Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ===== STRIPE-INSPIRED CLIENT AREA ENHANCEMENTS ===== */

/* Modern Dashboard Tiles */
.tiles {
    margin-bottom: var(--space-xl);
}

.tile {
    display: block;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 140px;
}

.tile:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.tile:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1), var(--shadow-lg);
}

.tile i {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.tile:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.tile .stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.tile .title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.tile .highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.tile .bg-color-blue {
    background: linear-gradient(135deg, var(--info-color) 0%, #1e40af 100%);
}

.tile .bg-color-green {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.tile .bg-color-red {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
}

.tile .bg-color-gold {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

/* Remove gutters for tile grid */
.tiles .no-gutters {
    margin-right: 0;
    margin-left: 0;
    gap: var(--space-md);
}

.tiles .no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* Mobile responsive tiles */
@media (max-width: 576px) {
    .tile {
        min-height: 120px;
        padding: var(--space-lg);
    }
    
    .tile .stat {
        font-size: 2rem;
    }
    
    .tile i {
        font-size: 1.5rem;
    }
}

/* Client Home Cards Enhancement */
.client-home-cards .card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    margin-bottom: var(--space-lg);
}

.client-home-cards .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.client-home-cards .card-header {
    background: white;
    border-bottom: 1px solid var(--gray-100);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-lg) var(--space-xl);
}

.client-home-cards .card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin: 0;
}

.client-home-cards .card-body {
    padding: var(--space-xl);
}

.client-home-cards .card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
}

/* List Group Enhancement */
.client-home-cards .list-group {
    border-radius: 0;
    border: none;
}

.client-home-cards .list-group-item {
    border: none;
    border-bottom: 1px solid var(--gray-100);
    padding: var(--space-lg) var(--space-xl);
    background: white;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.client-home-cards .list-group-item:last-child {
    border-bottom: none;
}

.client-home-cards .list-group-item:hover {
    background: var(--gray-50);
    color: var(--primary-color);
    transform: translateX(4px);
}

.client-home-cards .list-group-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary-color);
}

.client-home-cards .list-group-item i {
    margin-right: var(--space-sm);
    width: 16px;
    text-align: center;
}

/* Store Order Container Enhancements */
.store-order-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
}

/* Payment Term Styling */
.payment-term {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--gray-200);
}

.payment-term h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.payment-term .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    font-weight: 500;
}

.payment-term .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Store Domain Tabs Enhancement */
.store-domain-tabs {
    border-bottom: 2px solid var(--gray-200);
    background: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.store-domain-tabs .nav-item {
    margin-bottom: 0;
}

.store-domain-tabs .nav-link {
    border: none;
    border-radius: 0;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    transition: all var(--transition-fast);
    position: relative;
}

.store-domain-tabs .nav-link:hover {
    color: var(--primary-color);
    background: white;
}

.store-domain-tabs .nav-link.active {
    color: var(--primary-color);
    background: white;
    border-bottom: 3px solid var(--primary-color);
}

.store-domain-tab-content {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 2px solid var(--gray-200);
    border-top: none;
    padding: var(--space-xl);
}

/* Domain Validation Styling */
.domain-validation {
    font-weight: 600;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.domain-validation.ok {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.domain-validation i {
    font-size: 0.875rem;
}

/* Enhanced Form Controls */
.store-order-container .form-control,
.store-order-container .custom-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.store-order-container .form-control:focus,
.store-order-container .custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.store-order-container .input-group .form-control {
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.store-order-container .input-group .custom-select {
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Enhanced Action Buttons */
.store-order-container .btn {
    font-weight: 600;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    border: 2px solid transparent;
}

.store-order-container .btn-default {
    background: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.store-order-container .btn-default:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.store-order-container .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary-color);
}

.store-order-container .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Upsell Product Card */
.store-promoted-product {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.store-promoted-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.store-promoted-product .icon img {
    max-width: 80px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.store-promoted-product h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.store-promoted-product h4 {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.store-promoted-product .features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.store-promoted-product .features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.store-promoted-product .features i {
    color: var(--success-color);
    font-size: 1rem;
}

.store-promoted-product .btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    border: none;
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.store-promoted-product .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== STORE & PRODUCT LISTING ENHANCEMENTS ===== */

/* Landing Page Hero Section */
.landing-page .hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-xl);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.landing-page .hero h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.landing-page .hero h3 {
    color: var(--gray-600);
    font-weight: 500;
}

.landing-page .hero img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Product Options Grid */
.landing-page .product-options {
    padding: var(--space-2xl) 0;
}

.landing-page .product-options .item {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
}

.landing-page .product-options .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.landing-page .product-options .item h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.landing-page .product-options .icon {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-fast);
}

.landing-page .product-options .item:hover .icon {
    transform: scale(1.1);
    color: var(--primary-hover);
}

.landing-page .product-options img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Store Product Cards */
.store-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.store-product-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.store-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.store-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.store-product-card:hover::before {
    opacity: 1;
}

.store-product-card .product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: white;
    font-size: 1.5rem;
}

.store-product-card .product-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.store-product-card .product-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.store-product-card .product-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.store-product-card .product-features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.store-product-card .product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
    font-size: 0.875rem;
}

.store-product-card .product-features i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.store-product-card .product-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    width: 100%;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.store-product-card .product-cta:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* SSL Store Specific Enhancements */
.store-ssl .certificate-type {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    margin-bottom: var(--space-lg);
}

.store-ssl .certificate-type:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.store-ssl .certificate-type h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.store-ssl .certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

/* Store Navigation */
.store-nav {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.store-nav .nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    margin: 0 var(--space-xs);
}

.store-nav .nav-link:hover,
.store-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    transform: translateY(-2px);
}

/* Store Pricing Tables */
.pricing-table {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-2xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-table.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-table.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: var(--space-lg);
    right: -var(--space-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--space-xs) var(--space-2xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
}

.pricing-table:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-table.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-table .plan-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.pricing-table .plan-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.pricing-table .plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-table .plan-price .period {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-table .plan-features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.pricing-table .plan-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

.pricing-table .plan-features i {
    color: var(--success-color);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.pricing-table .plan-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    width: 100%;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.pricing-table .plan-cta:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* Cart Summary Enhancements */
.cart-summary {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-xl);
    position: sticky;
    top: var(--space-lg);
}

.cart-summary .summary-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-100);
}

.cart-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-summary .summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--gray-200);
}

.cart-summary .checkout-btn {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    width: 100%;
    margin-top: var(--space-lg);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.cart-summary .checkout-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* ===== PAYMENT & INVOICE ENHANCEMENTS ===== */

/* Invoice Container */
.invoice-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--gray-100);
}

.invoice-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.invoice-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invoice-status.paid {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.invoice-status.unpaid {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.invoice-status.overdue {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Payment Form Enhancements */
.payment-form {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-2xl);
}

.payment-form .form-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-100);
}

.payment-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.payment-form .section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-form .section-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

.payment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.payment-form .form-row.full-width {
    grid-template-columns: 1fr;
}

.payment-form .form-group {
    margin-bottom: var(--space-md);
}

.payment-form .form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
}

.payment-form .form-control {
    width: 100%;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.payment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
}

.payment-form .card-input {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    position: relative;
}

.payment-form .card-input::before {
    content: '';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 32px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23cbd5e1" stroke-width="2"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"/><line x1="1" y1="10" x2="23" y2="10"/></svg>') no-repeat center;
    background-size: contain;
}

.payment-form .card-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Payment Method Selection */
.payment-methods {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.payment-method {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.payment-method:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.payment-method.selected::after {
    content: '✓';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.payment-method .method-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.payment-method .method-icon {
    width: 48px;
    height: 32px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-600);
}

.payment-method .method-details h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--space-xs) 0;
    font-size: 1rem;
}

.payment-method .method-details p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.875rem;
}

/* Order Summary Card */
.order-summary {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-xl);
    position: sticky;
    top: var(--space-lg);
}

.order-summary .summary-header {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-100);
    font-size: 1.25rem;
}

.order-summary .line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.order-summary .line-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 2px solid var(--gray-200);
}

.order-summary .line-item .item-name {
    color: var(--gray-700);
    font-weight: 500;
}

.order-summary .line-item .item-price {
    color: var(--gray-900);
    font-weight: 600;
}

.order-summary .total-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Payment Button */
.payment-submit {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    font-weight: 700;
    width: 100%;
    margin-top: var(--space-lg);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.125rem;
    box-shadow: var(--shadow-sm);
}

.payment-submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

.payment-submit:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.payment-submit .loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Security Notice */
.security-notice {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.security-notice i {
    color: var(--info-color);
    font-size: 1.25rem;
}

.security-notice .notice-text {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
}

.security-notice .notice-text strong {
    color: var(--gray-900);
}

/* Support Ticket Form Enhancements */
.ticket-form {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: var(--space-2xl);
}

.ticket-form .priority-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.ticket-form .priority-option {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ticket-form .priority-option:hover {
    border-color: var(--primary-color);
}

.ticket-form .priority-option.selected {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.ticket-form .priority-option .priority-label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.ticket-form .priority-option .priority-description {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-top: var(--space-xs);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .store-order-container {
        padding: var(--space-lg);
        margin: var(--space-md);
    }
    
    .store-domain-tabs .nav-link {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }
    
    .store-domain-tab-content {
        padding: var(--space-lg);
    }
    
    .tiles .no-gutters {
        gap: var(--space-sm);
    }
    
    .store-products {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .pricing-table.featured {
        transform: none;
    }
    
    .pricing-table.featured:hover {
        transform: translateY(-4px);
    }
    
    .cart-summary, .order-summary {
        position: static;
        margin-top: var(--space-lg);
    }
    
    .payment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .invoice-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .ticket-form .priority-selector {
        grid-template-columns: 1fr 1fr;
    }
}