/**
 * SNL Platform Theme System
 * Professional Dark/Light Theme with Dynamic Colors
 */

:root {
    /* ========== LIGHT THEME (Default) ========== */
    
    /* Primary Colors */
    --primary-color: #667eea;
    --primary-hover: #5568d3;
    --primary-light: #8b9ef3;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-hover: #f1f3f5;
    --bg-active: #e7eaf0;
    
    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --border-dark: #ced4da;
    
    /* Status Colors */
    --success: #28a745;
    --success-light: #d4edda;
    --warning: #ffc107;
    --warning-light: #fff3cd;
    --danger: #dc3545;
    --danger-light: #f8d7da;
    --info: #17a2b8;
    --info-light: #d1ecf1;
    
    /* Semantic Colors */
    --color-admin: #dc3545;
    --color-merchant: #28a745;
    --color-user: #667eea;
    
    /* Shadow & Effects */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(102, 126, 234, 0.2);
    
    /* Typography */
    --font-primary: 'Noto Sans Khmer', Arial, sans-serif;
    --font-secondary: 'Noto Sans Khmer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-monospace: 'Courier New', Courier, monospace;
    
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-xs: 0.75rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-circle: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sidebar & Navigation */
    --sidebar-bg: #ffffff;
    --sidebar-text: #495057;
    --sidebar-hover: #f8f9fa;
    --sidebar-active: #667eea;
    
    /* Header */
    --header-bg: #ffffff;
    --header-border: #dee2e6;
    
    /* Table */
    --table-bg: #ffffff;
    --table-stripe: #f8f9fa;
    --table-hover: #f1f3f5;
    --table-border: #dee2e6;
    
    /* Form Elements */
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-focus: #667eea;
    --input-disabled: #e9ecef;
    
    /* Chart Colors */
    --chart-1: #667eea;
    --chart-2: #764ba2;
    --chart-3: #f093fb;
    --chart-4: #4facfe;
    --chart-5: #43e97b;
}

/* ========== DARK THEME ========== */
[data-theme="dark"] {
    /* Primary Colors - Slightly adjusted for dark mode */
    --primary-color: #8b9ef3;
    --primary-hover: #a5b5f7;
    --primary-light: #667eea;
    --primary-gradient: linear-gradient(135deg, #8b9ef3 0%, #9b6bc7 100%);
    
    /* Background Colors */
    --bg-primary: #1a1d23;
    --bg-secondary: #22262e;
    --bg-tertiary: #2a2f38;
    --bg-card: #22262e;
    --bg-hover: #2a2f38;
    --bg-active: #323741;
    
    /* Text Colors */
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --text-inverse: #1a1d23;
    
    /* Border Colors */
    --border-color: #3a3f4b;
    --border-light: #2f3441;
    --border-dark: #454952;
    
    /* Status Colors - Adjusted for dark mode */
    --success: #46c35f;
    --success-light: #1e4129;
    --warning: #ffc107;
    --warning-light: #4a3c0f;
    --danger: #f04747;
    --danger-light: #4a1f1f;
    --info: #3ba3c7;
    --info-light: #1f3d4a;
    
    /* Semantic Colors */
    --color-admin: #f04747;
    --color-merchant: #46c35f;
    --color-user: #8b9ef3;
    
    /* Shadow & Effects - Darker shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 16px rgba(139, 158, 243, 0.3);
    
    /* Sidebar & Navigation */
    --sidebar-bg: #1a1d23;
    --sidebar-text: #e4e6eb;
    --sidebar-hover: #2a2f38;
    --sidebar-active: #8b9ef3;
    
    /* Header */
    --header-bg: #22262e;
    --header-border: #3a3f4b;
    
    /* Table */
    --table-bg: #22262e;
    --table-stripe: #2a2f38;
    --table-hover: #323741;
    --table-border: #3a3f4b;
    
    /* Form Elements */
    --input-bg: #2a2f38;
    --input-border: #3a3f4b;
    --input-focus: #8b9ef3;
    --input-disabled: #323741;
    
    /* Chart Colors - Brighter for dark mode */
    --chart-1: #8b9ef3;
    --chart-2: #a688d1;
    --chart-3: #f5a6fc;
    --chart-4: #6fbdfe;
    --chart-5: #5ff095;
}

/* ========== ENHANCED NAVIGATION STYLES ========== */

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1030;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 0.25rem 0;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #667eea !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #764ba2 !important;
    transform: scale(1.02);
}

.navbar-brand .fw-bold {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: #495057 !important;
    font-weight: 500 !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transition: left 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.navbar-nav .nav-link.active {
    color: #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    font-weight: 600 !important;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient::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 ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    color: white;
}

.navbar-toggler {
    border: 2px solid rgba(102, 126, 234, 0.2) !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.navbar-toggler:hover {
    border-color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 126, 234, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(102, 126, 234, 0.1);
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav {
        margin: 0;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link {
        padding: 1rem !important;
        margin: 0.25rem 0 !important;
        border-radius: 8px;
        border: 1px solid transparent;
        transition: all 0.3s ease !important;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(102, 126, 234, 0.05);
        border-color: rgba(102, 126, 234, 0.2);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    }

    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        border-color: rgba(102, 126, 234, 0.3);
    }

    .btn-gradient {
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem !important;
    }

    .navbar-brand .fw-bold {
        font-size: 1.1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem !important;
        font-size: 0.9rem;
    }

    .navbar-nav .nav-link i {
        margin-right: 0.25rem;
        font-size: 0.9rem;
    }
}

/* Body padding for fixed navbar */
body {
    padding-top: 80px;
    font-family: var(--font-primary) !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Navbar logo animation */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg) scale(1.05);
}

/* Ensure navbar stays on top */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1030;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 0.25rem 0;
}

/* Navbar brand improvements */
.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #667eea !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.navbar-brand:hover {
    color: #764ba2 !important;
    transform: scale(1.02);
}

.navbar-brand .fw-bold {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
}

/* Navbar link improvements */
.navbar-nav .nav-link {
    color: #495057 !important;
    font-weight: 500 !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transition: left 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.navbar-nav .nav-link.active {
    color: #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    font-weight: 600 !important;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom-color: var(--border-color);
    color: var(--text-primary);
}

.card-body {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.card-footer {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
}

/* Tables */
.table {
    --bs-table-bg: var(--table-bg);
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--table-border);
    color: var(--text-primary) !important;
    background-color: var(--table-bg) !important;
    border-color: var(--table-border) !important;
}

.table thead th {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--table-border) !important;
    font-weight: var(--font-weight-semibold);
}

.table-striped tbody tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--table-stripe);
    background-color: var(--table-stripe) !important;
}

.table-striped tbody tr:nth-of-type(odd) > * {
    color: var(--text-primary) !important;
}

.table-hover tbody tr:hover {
    --bs-table-hover-bg: var(--table-hover);
    background-color: var(--table-hover) !important;
    transition: background-color 0.2s ease;
}

.table-hover tbody tr:hover > * {
    color: var(--text-primary) !important;
}

.table th,
.table td {
    border-color: var(--table-border) !important;
    color: var(--text-primary) !important;
}

.table-responsive {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.table tbody tr {
    transition: all 0.2s ease;
}

/* Forms */
.form-control,
.form-select {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--input-bg);
    border-color: var(--input-focus);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--input-disabled);
}

.form-label {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-inverse);
}

/* List Groups */
.list-group-item {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.list-group-item-action:hover {
    background-color: var(--bg-hover);
}

.list-group-item-action:active {
    background-color: var(--bg-active);
}

/* Modals */
.modal-content {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

.modal-header {
    border-bottom-color: var(--border-color);
}

.modal-footer {
    border-top-color: var(--border-color);
}

.modal-title {
    color: var(--text-primary);
}

/* Dropdowns */
.dropdown-menu {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.dropdown-divider {
    border-top-color: var(--border-color);
}

/* Badges */
.badge {
    font-weight: var(--font-weight-medium);
}

/* Text Colors */
.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Alerts */
.alert-success {
    background-color: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

.alert-warning {
    background-color: var(--warning-light);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-danger {
    background-color: var(--danger-light);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-info {
    background-color: var(--info-light);
    border-color: var(--info);
    color: var(--info);
}

/* Navigation & Sidebar */
.sidebar {
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    box-shadow: var(--shadow-md);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 1rem !important;
}

.sidebar-logo {
    max-width: 90%;
    height: auto;
    max-height: 60px;
}

.sidebar-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.sidebar-title {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.sidebar-section-title {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.sidebar-divider {
    border-color: var(--border-color);
    opacity: 0.3;
    margin: 0.5rem 0;
}

.sidebar .nav-link {
    color: var(--sidebar-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.875rem 1.25rem;
    border-left: 3px solid transparent;
    font-weight: var(--font-weight-medium);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 0.25rem 0;
    position: relative;
    overflow: hidden;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.1;
    transition: width 0.3s ease;
    z-index: -1;
}

.sidebar .nav-link:hover {
    background: linear-gradient(90deg, var(--sidebar-hover) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    padding-left: 1.5rem;
}

.sidebar .nav-link:hover::before {
    width: 100%;
}

.sidebar .nav-link:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.sidebar .nav-link.active i {
    color: var(--primary-color);
}

.sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--shadow-sm);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--bg-hover);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-circle);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.theme-toggle:hover i {
    color: var(--text-inverse);
    transform: rotate(180deg);
}

/* Theme transition animation */
.theme-transition {
    transition: background-color var(--transition-base), 
                color var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Loading Animation */
@keyframes theme-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.theme-loading {
    animation: theme-pulse 1s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    [data-theme="dark"] {
        --bg-primary: #ffffff;
        --bg-secondary: #ffffff;
        --text-primary: #000000;
    }
}

/* ========== ENHANCED HERO SECTION STYLES ========== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 60%;
    left: 70%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #ffeb3b, #ffd700, #ffeb3b);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-actions .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 ease;
}

.hero-actions .btn:hover::before {
    left: 100%;
}

.hero-actions .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
}

.trust-indicators {
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.points-display {
    display: flex;
    align-items: center;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
}

.points-text {
    margin-left: 8px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reward-notification {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.reward-notification i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.product-showcase {
    width: 100%;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.product-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.product-info h6 {
    color: white;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.price {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.points-earned {
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto 1rem;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

.scroll-text {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .hero-stat .number {
        font-size: 1.5rem;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
        transform: none;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ========== ENHANCED FEATURES SECTION STYLES ========== */

.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin: 0 auto 30px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon::after {
    transform: scale(1.2);
    opacity: 0.2;
}

.icon-purple { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.icon-orange { background: linear-gradient(135deg, #ff9a56, #ff6b35); color: white; }
.icon-green { background: linear-gradient(135deg, #56ab2f, #a8e6cf); color: white; }
.icon-blue { background: linear-gradient(135deg, #2193b0, #6dd5ed); color: white; }
.icon-red { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: white; }
.icon-teal { background: linear-gradient(135deg, #0cbaba, #380036); color: white; }

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.feature-card:hover h4 {
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    margin-top: 1rem;
}

.highlight-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.highlight-badge.security {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.highlight-badge.support {
    background: linear-gradient(135deg, #17a2b8, #6dd5ed);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.feature-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.feature-stats .stat {
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.feature-stats small {
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Interactive Demo Section */
.interactive-demo {
    margin-top: 80px;
    text-align: center;
}

.demo-container {
    background: white;
    border-radius: 25px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.demo-container h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.demo-container > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.demo-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.input-group {
    max-width: 300px;
    margin: 0 auto;
}

.input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #667eea;
    font-weight: 600;
}

#purchaseAmount {
    border-left: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

#purchaseAmount:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.calculator-result {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.result-item {
    text-align: center;
    min-width: 150px;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.result-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    transition: all 0.3s ease;
}

.result-value.highlight {
    color: #28a745;
    font-size: 2rem;
}

/* Animation for result updates */
.result-updated {
    animation: resultPulse 0.6s ease;
}

@keyframes resultPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Particle Effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
    top: -10px;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for multiple elements */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced button hover effects */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient::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 ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    color: white;
}

/* Merchant card enhancements */
.merchant-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
}

.merchant-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.merchant-image {
    transition: all 0.4s ease;
    position: relative;
}

.merchant-card:hover .merchant-image {
    transform: scale(1.1);
}

.merchant-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.merchant-card:hover .merchant-image::after {
    opacity: 1;
}

/* Testimonial enhancements */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Stats section enhancements */
.stat-item {
    transition: all 0.4s ease;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Step card enhancements */
.step-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

/* CTA section enhancements */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: ctaFloat 6s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

.cta-section .btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Loading animation for dynamic content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Pulse animation for attention-grabbing elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 2rem;
    }
    
    .demo-container {
        padding: 40px 20px;
    }
    
    .demo-container h3 {
        font-size: 2rem;
    }
    
    .calculator-result {
        gap: 1rem;
    }
    
    .result-item {
        min-width: 120px;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
}
