/*
 * MumasaHost Pro Theme v4.0
 * Modern Professional Hosting Theme - Hostinger & IDWebHost Style
 * Updated: 2026
 * Changelog:
 * - Complete dark mode support with smooth transitions
 * - Enhanced utility classes
 * - Improved performance with reduced-motion support
 * - Better responsive breakpoints
 * - Consistent component styling
 */

/* ============================================
   CSS VARIABLES - Complete Design System
   ============================================ */
:root {
    /* Primary Colors - Deep Purple-Blue */
    --primary: #673de6;
    --primary-dark: #5025d1;
    --primary-light: #8c71f4;
    --primary-rgb: 103, 61, 230;
    --primary-gradient: linear-gradient(135deg, #673de6 0%, #8c71f4 100%);
    --primary-gradient-alt: linear-gradient(135deg, #5025d1 0%, #673de6 50%, #8c71f4 100%);
    
    /* Secondary Colors */
    --secondary: #ff4081;
    --secondary-light: #ff79b0;
    --secondary-rgb: 255, 64, 129;
    --accent: #00d4aa;
    --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --success-rgb: 16, 185, 129;
    --warning-rgb: 245, 158, 11;
    --danger-rgb: 239, 68, 68;
    --info-rgb: 59, 130, 246;
    
    /* Light Theme - Backgrounds */
    --bg-body: #f9fafb;
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-tertiary: #e5e7eb;
    --bg-elevated: #ffffff;
    
    /* Light Theme - Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;
    
    /* Light Theme - Borders */
    --border-primary: #e5e7eb;
    --border-secondary: #d1d5db;
    --border-focus: var(--primary);
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows - Modern Elevation */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(103, 61, 230, 0.3);
    --shadow-glow-lg: 0 0 60px rgba(103, 61, 230, 0.4);
    
    /* Border Radius */
    --radius-xs: 0.25rem;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-theme: 300ms ease;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-navbar: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* ============================================
   DARK THEME VARIABLES
   ============================================ */
[data-bs-theme="dark"] {
    /* Dark Theme - Backgrounds */
    --bg-body: #0a0a0a;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-elevated: #1a1a1a;
    
    /* Dark Theme - Text */
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-tertiary: #d1d5db;
    --text-muted: #9ca3af;
    --text-inverse: #111827;
    
    /* Dark Theme - Borders */
    --border-primary: #374151;
    --border-secondary: #4b5563;
    
    /* Dark Theme - Grays (Inverted) */
    --gray-50: #111827;
    --gray-100: #1f2937;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-400: #6b7280;
    --gray-500: #9ca3af;
    --gray-600: #d1d5db;
    --gray-700: #e5e7eb;
    --gray-800: #f3f4f6;
    --gray-900: #f9fafb;
    
    /* Dark Theme - Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.4), 0 3px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(103, 61, 230, 0.4);
    --shadow-glow-lg: 0 0 60px rgba(103, 61, 230, 0.5);
}

/* Smooth theme transition for supported properties */
*,
*::before,
*::after {
    box-sizing: border-box;
    transition: background-color var(--transition-theme),
                border-color var(--transition-theme),
                color var(--transition-theme),
                fill var(--transition-theme),
                stroke var(--transition-theme);
}

/* Disable transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   BASE RESET & TYPOGRAPHY
   ============================================ */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-body);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection */
::selection {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-dark);
}

[data-bs-theme="dark"] ::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--primary-light);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

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

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--bg-secondary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Text Utilities */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-animate {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }

/* Background Utilities */
.bg-body { background-color: var(--bg-body) !important; }
.bg-primary-soft { background-color: rgba(var(--primary-rgb), 0.1) !important; }
.bg-success-soft { background-color: rgba(var(--success-rgb), 0.1) !important; }
.bg-warning-soft { background-color: rgba(var(--warning-rgb), 0.1) !important; }
.bg-danger-soft { background-color: rgba(var(--danger-rgb), 0.1) !important; }
.bg-info-soft { background-color: rgba(var(--info-rgb), 0.1) !important; }

/* Spacing Utilities - Margin */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }
.mt-6 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.mb-6 { margin-bottom: 3rem !important; }

/* Border Radius Utilities */
.rounded-xs { border-radius: var(--radius-xs) !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* Shadow Utilities */
.shadow-none { box-shadow: none !important; }
.shadow-xs { box-shadow: var(--shadow-xs) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-glow { box-shadow: var(--shadow-glow) !important; }

/* Transition Utilities */
.transition-none { transition: none !important; }
.transition-fast { transition: all var(--transition-fast) !important; }
.transition-base { transition: all var(--transition-base) !important; }
.transition-slow { transition: all var(--transition-slow) !important; }

/* Hover Transform Utilities */
.hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform var(--transition-fast);
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

[data-bs-theme="dark"] .glass {
    background: rgba(17, 24, 39, 0.8);
}

/* ============================================
   NAVIGATION - Modern Glassmorphism
   ============================================ */
.navbar-modern {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    padding: 0.875rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    transition: all var(--transition-base);
}

[data-bs-theme="dark"] .navbar-modern {
    background: rgba(10, 10, 10, 0.9) !important;
    border-bottom-color: var(--border-primary);
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-md);
    padding: 0.625rem 0;
}

[data-bs-theme="dark"] .navbar-modern.scrolled {
    background: rgba(10, 10, 10, 0.98) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.625rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand img,
.navbar-logo-img {
    height: 42px;
    width: auto;
    transition: transform var(--transition-base);
    max-width: 100%;
}

.navbar-brand:hover img {
    transform: rotate(-5deg);
}

/* Navigation Links */
.nav-link-modern {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-secondary) !important;
    padding: 0.625rem 1.125rem !important;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.08);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 60%;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.theme-toggle i {
    position: absolute;
    transition: all var(--transition-base);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-bs-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

[data-bs-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Toggler Button */
.navbar-toggler {
    padding: 0.625rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    background: transparent;
    transition: all var(--transition-fast);
}

.navbar-toggler:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    outline: none;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-primary);
        margin-top: 1rem;
        padding: 1.25rem;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--border-primary);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .navbar-nav {
        gap: 0.375rem !important;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link-modern {
        padding: 0.875rem 1rem !important;
        border-radius: var(--radius-md);
    }
    
    .nav-link-modern::after {
        display: none;
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
    }
}

/* ============================================
   BUTTONS - Modern Gradient & Effects
   ============================================ */
.btn {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Primary Button */
.btn-primary {
    background: var(--primary-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4), 0 2px 4px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5), 0 4px 8px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #f50057 100%) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(var(--secondary-rgb), 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.5);
}

/* Outline Primary */
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* Light Button */
.btn-light {
    background: var(--bg-primary);
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

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

/* Outline Light */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

/* Large Button */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* Small Button */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Rounded Pill */
.btn-pill {
    border-radius: var(--radius-full);
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Button with Icon Animation */
.btn-icon-animate i {
    transition: transform var(--transition-fast);
}

.btn-icon-animate:hover i {
    transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
    margin-top: -76px;
    padding-top: calc(8rem + 76px);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

/* Hero Badges */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 30px rgba(255,255,255,0.2); }
}

.hero-badge i {
    color: #ffd700;
}

/* Hero Check Items */
.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-check-item i {
    color: var(--accent);
    font-size: 1.125rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

.hero-price-tag .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.hero-price-tag .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.hero-price-tag .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: -100px;
    right: -100px;
    animation: morph 8s ease-in-out infinite;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: morph 6s ease-in-out infinite reverse;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 7rem 0 4rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-checks {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-checks {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    line-height: 1.7;
}

/* ============================================
   DOMAIN CHECKER
   ============================================ */
.domain-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.domain-checker-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-primary);
}

.domain-input-group {
    position: relative;
    display: flex;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.domain-input-group input {
    flex: 1;
    border: 2px solid var(--border-primary);
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.domain-input-group input::placeholder {
    color: var(--text-muted);
}

.domain-input-group input:focus {
    border-color: var(--primary);
    box-shadow: none;
    outline: none;
}

.domain-input-group button {
    padding: 1.25rem 2rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 1.125rem;
}

.domain-tlds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.domain-tld {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.domain-tld:hover {
    background: var(--bg-primary);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.domain-tld .tld-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.domain-tld .tld-price {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-400);
    font-size: 1rem;
    font-weight: 500;
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--primary-light);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.feature-card:hover .feature-icon::after {
    animation: shine 0.5s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.feature-icon.primary { background: var(--primary-gradient); }
.feature-icon.success { background: linear-gradient(135deg, var(--success) 0%, #059669 100%); }
.feature-icon.warning { background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%); }
.feature-icon.danger { background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%); }
.feature-icon.info { background: linear-gradient(135deg, var(--info) 0%, #2563eb 100%); }
.feature-icon.accent { background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%); }

.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-glow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-primary);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-description {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

.pricing-price-wrapper {
    margin: 1.5rem 0;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--text-secondary);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pricing-period {
    color: var(--text-tertiary);
    font-weight: 500;
}

.pricing-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.pricing-discount {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-features .feature-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn {
    width: 100%;
    padding: 1rem;
}

@media (max-width: 991px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ============================================
   TRUST & TESTIMONIALS
   ============================================ */
.trust-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.6;
    margin-bottom: 4rem;
}

.trust-logo {
    filter: grayscale(100%);
    transition: all var(--transition-base);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    background: var(--bg-secondary);
    transform: translateY(-3px);
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-base);
    height: 100%;
}

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

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-primary);
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.accordion-modern .accordion-item {
    border: none;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.accordion-modern .accordion-item:hover {
    box-shadow: var(--shadow);
}

.accordion-modern .accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: none;
    box-shadow: none;
}

.accordion-modern .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--bg-primary);
    box-shadow: none;
}

.accordion-modern .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-modern .accordion-button::after {
    background-size: 1.25rem;
    transition: transform var(--transition-fast);
}

.accordion-modern .accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-body);
}

.cta-box {
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-box .cta-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-box .cta-decoration-1 {
    top: -150px;
    left: -150px;
}

.cta-box .cta-decoration-2 {
    bottom: -150px;
    right: -150px;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-modern {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.footer-brand:hover {
    color: white;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.footer-payment {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-payment img {
    height: 32px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-payment img:hover {
    opacity: 1;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */
.card-modern {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-base);
    overflow: hidden;
}

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

.card-modern .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-primary);
    padding: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

[data-bs-theme="dark"] .card-glass {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FORMS
   ============================================ */
.form-control,
.form-select {
    border-radius: var(--radius);
    border: 2px solid var(--border-primary);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > label {
    color: var(--text-muted);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary);
}

.form-check-input {
    width: 1.25em;
    height: 1.25em;
    border: 2px solid var(--border-secondary);
    background-color: var(--bg-primary);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-check-label {
    color: var(--text-secondary);
    cursor: pointer;
}

.input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    overflow: hidden;
}

.input-group .form-control {
    border-right: none;
    box-shadow: none;
}

.input-group .btn {
    border: 2px solid var(--border-primary);
    border-left: none;
}

/* Password visibility toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.password-toggle:hover {
    color: var(--text-primary);
}

/* ============================================
   TABLES
   ============================================ */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-primary);
    white-space: nowrap;
}

.table-modern td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-secondary);
    vertical-align: middle;
}

.table-modern tbody tr {
    transition: background var(--transition-fast);
}

.table-modern tbody tr:hover {
    background: var(--bg-secondary);
}

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

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.active {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.status-badge.active::before {
    background: var(--success);
}

.status-badge.pending {
    background: rgba(var(--warning-rgb), 0.1);
    color: var(--warning);
}

.status-badge.pending::before {
    background: var(--warning);
}

.status-badge.cancelled {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

.status-badge.cancelled::before {
    background: var(--danger);
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */
.alert-modern {
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-modern.alert-success {
    background: rgba(var(--success-rgb), 0.1);
    color: #065f46;
}

[data-bs-theme="dark"] .alert-modern.alert-success {
    color: var(--success);
}

.alert-modern.alert-warning {
    background: rgba(var(--warning-rgb), 0.1);
    color: #92400e;
}

[data-bs-theme="dark"] .alert-modern.alert-warning {
    color: var(--warning);
}

.alert-modern.alert-danger {
    background: rgba(var(--danger-rgb), 0.1);
    color: #991b1b;
}

[data-bs-theme="dark"] .alert-modern.alert-danger {
    color: var(--danger);
}

.alert-modern.alert-info {
    background: rgba(var(--info-rgb), 0.1);
    color: #1e40af;
}

[data-bs-theme="dark"] .alert-modern.alert-info {
    color: var(--info);
}

.alert-modern i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   DASHBOARD COMPONENTS
   ============================================ */
.dashboard-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    height: 100%;
}

.dashboard-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .card-icon.primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.dashboard-card .card-icon.success {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.dashboard-card .card-icon.warning {
    background: rgba(var(--warning-rgb), 0.1);
    color: var(--warning);
}

.dashboard-card .card-icon.danger {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.dashboard-card .card-label {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

/* Dashboard Sidebar */
.sidebar-modern {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-right: 1rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.sidebar-nav a i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(var(--secondary-rgb), 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23673de6' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.auth-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-primary);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.auth-card-lg {
    max-width: 600px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .auth-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-tertiary);
    margin: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-tertiary);
}

.auth-footer a {
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-primary);
}

/* Social Auth Buttons */
.btn-social {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    background: var(--bg-secondary);
    border-color: var(--border-secondary);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 4px;
    background: var(--border-primary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    width: 0;
}

.password-strength-fill.weak { width: 33%; background: var(--danger); }
.password-strength-fill.medium { width: 66%; background: var(--warning); }
.password-strength-fill.strong { width: 100%; background: var(--success); }

.password-strength-text {
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-up {
    animation: fadeUp 0.5s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="scale"] {
    transform: scale(0.95);
}

[data-animate="scale"].animate-visible {
    transform: scale(1);
}

[data-animate="fade"] {
    transform: none;
}

[data-animate="fade"].animate-visible {
    transform: none;
}

/* Stagger delays */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

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

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

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

/* Spinner */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 991px) {
    .sidebar-modern {
        margin-bottom: 1rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar-modern,
    .footer-modern,
    .back-to-top,
    .theme-toggle {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ============================================
   DASHBOARD COMPONENTS - Additional Styles
   ============================================ */

/* Welcome Banner */
.welcome-banner {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.welcome-banner .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.welcome-banner h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Stats Cards */
.stats-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
    height: 100%;
}

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

.stats-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stats-icon.blue {
    background: rgba(var(--info-rgb), 0.1);
    color: var(--info);
}

.stats-icon.orange {
    background: rgba(var(--warning-rgb), 0.1);
    color: var(--warning);
}

.stats-icon.red {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

.stats-icon.green {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.stats-info h4 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.stats-info p {
    color: var(--text-tertiary);
    margin: 0;
    font-size: 0.9375rem;
}

/* Quick Action Cards */
.quick-action-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-primary);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    height: 100%;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    color: inherit;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.quick-action-icon.primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.quick-action-icon.success {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.quick-action-icon.info {
    background: rgba(var(--info-rgb), 0.1);
    color: var(--info);
}

.quick-action-icon.warning {
    background: rgba(var(--warning-rgb), 0.1);
    color: var(--warning);
}

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

.quick-action-card p {
    color: var(--text-tertiary);
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   LAYOUT CONTAINER (Max Width constraint)
   ============================================ */
.layout-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SIDEBAR COMPONENTS - Additional Styles
   ============================================ */

/* User Profile Card */
.user-profile-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 2rem 1.25rem;
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.5);
    position: relative;
    overflow: hidden;
}

.user-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.user-profile-card .user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.user-profile-card .user-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    position: relative;
    z-index: 1;
}

.user-profile-card .user-email {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    position: relative;
    z-index: 1;
}

.user-profile-card .user-balance {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(4px);
}

.sidebar-menu a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-menu a i {
    font-size: 1.35rem;
    width: 24px;
    text-align: center;
}

.sidebar-menu a.text-danger {
    color: var(--danger);
}

.sidebar-menu a.text-danger:hover {
    background: rgba(var(--danger-rgb), 0.1);
}

/* ============================================
   PROFILE PAGE - Additional Styles
   ============================================ */

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

.card-header-modern {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
    padding: 1rem 1.5rem;
}

/* Modern Badge */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
}

.badge-modern-primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-modern-success {
    background: rgba(var(--success-rgb), 0.1);
    color: var(--success);
}

.badge-modern-warning {
    background: rgba(var(--warning-rgb), 0.1);
    color: var(--warning);
}

.badge-modern-danger {
    background: rgba(var(--danger-rgb), 0.1);
    color: var(--danger);
}

/* Modern Alert */
.showcase-alert {
    background: rgba(var(--info-rgb), 0.1);
    border-left: 4px solid var(--info);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.showcase-alert i {
    color: var(--info);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.showcase-alert a {
    color: var(--info);
    font-weight: 600;
}

/* Tab Navigation Enhancement */
.nav-tabs .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    border-color: var(--border-secondary);
    background: var(--bg-secondary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
    font-weight: 600;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .welcome-banner {
    box-shadow: 0 4px 20px rgba(103, 61, 230, 0.3);
}

[data-bs-theme="dark"] .stats-card,
[data-bs-theme="dark"] .quick-action-card {
    background: var(--bg-secondary);
}

[data-bs-theme="dark"] .user-profile-card {
    box-shadow: 0 4px 20px rgba(103, 61, 230, 0.3);
}

[data-bs-theme="dark"] .card-header-modern {
    background: var(--bg-tertiary);
}

[data-bs-theme="dark"] .showcase-alert {
    background: rgba(var(--info-rgb), 0.15);
}

/* ============================================
   SPINNER MODERN
   ============================================ */
.spinner-modern {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Hero section gradient background utility */
.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.05;
    pointer-events: none;
}

/* ============================================
   ORDER FORM LOADER - Additional Styles
   ============================================ */

/* Loader overlay */
#loader-image {
    background: var(--bg-primary) !important;
    transition: opacity 0.3s ease;
}

/* Iframe container */
.ratio-4x3 {
    position: relative;
}

#order-iframe {
    background: transparent;
}

/* Ensure spinner is visible */
.spinner-modern {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Dark mode adjustments */
[data-bs-theme="dark"] #loader-image {
    background: var(--bg-primary) !important;
}

[data-bs-theme="dark"] #loader-image .text-muted {
    color: var(--text-secondary) !important;
}
