/**
 * Premium Design System
 * Inspired by Stripe, Linear, Airbnb, and Vercel
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Utility Classes */
.hidden {
    display: none !important;
}

:root {
    /* Premium Color Palette */
    --color-primary: #25D366;
    --color-primary-dark: #128C7E;
    --color-primary-light: #dcf8c6;
    
    /* Neutral Palette - More sophisticated */
    --color-bg-primary: #fafbfc;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #f6f8fa;
    
    /* Text Colors - Better hierarchy */
    --color-text-primary: #0d1117;
    --color-text-secondary: #57606a;
    --color-text-tertiary: #8b949e;
    --color-text-inverse: #ffffff;
    
    /* Border Colors */
    --color-border-default: #d0d7de;
    --color-border-muted: #e5e7eb;
    --color-border-subtle: #f0f0f0;
    
    /* Semantic Colors */
    --color-success: #2da44e;
    --color-success-bg: #dafbe1;
    --color-warning: #fb8c00;
    --color-warning-bg: #fff4e5;
    --color-danger: #cf222e;
    --color-danger-bg: #ffebe9;
    --color-info: #0969da;
    --color-info-bg: #ddf4ff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --gradient-subtle: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
    
    /* Shadows - Premium depth */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 15px rgba(37, 211, 102, 0.3);
    
    /* Spacing System */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: #25D366;
    color: var(--color-text-inverse);
    border: none;
}

.btn-primary:hover {
    background: #128C7E;
}

.btn-secondary {
    background: #6b7280;
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
    border: none;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-info {
    background: #0891b2;
    color: #ffffff;
    border: none;
}

.btn-info:hover {
    background: #0e7490;
}

.btn-success {
    background: #16a34a;
    color: #ffffff;
    border: none;
}

.btn-success:hover {
    background: #15803d;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
}

.btn-ghost:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-base);
}

/* Premium Card Styles */
.card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--color-border-default);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-elevated {
    box-shadow: var(--shadow-md);
}

.card-elevated:hover {
    box-shadow: var(--shadow-xl);
}

/* Stat Cards - Premium Design */
.stat-card {
    background: var(--gradient-subtle);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

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

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

.stat-card-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
}

.stat-card-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.stat-card-trend {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    margin-top: var(--space-2);
}

/* Premium Header */
.header {
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border-muted);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header-icon {
    color: var(--color-primary);
}

/* Premium Tables */
.table-wrapper {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--color-bg-tertiary);
}

th {
    padding: var(--space-4);
    text-align: left;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-default);
}

td {
    padding: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border-subtle);
}

tr:last-child td {
    border-bottom: none;
}

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

tbody tr:hover {
    background: var(--color-bg-tertiary);
}

/* Premium Form Elements */
input, select, textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

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

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

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

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

/* Toggle Switch - Premium */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-border-default);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

input:checked + .toggle-slider {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Container Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
}

.container-narrow {
    max-width: 1200px;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Section Styles */
.section {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-muted);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.section-title-icon {
    color: var(--color-primary);
}

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

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

/* Empty States */
.empty-state {
    text-align: center;
    padding: var(--space-16);
    color: var(--color-text-tertiary);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.empty-state-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
}

/* Utility Classes */
.text-muted { color: var(--color-text-tertiary); }
.text-secondary { color: var(--color-text-secondary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.rounded { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

/* Advanced Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.animate-slide-up {
    animation: slideUp var(--transition-slow) ease-out;
}

.animate-scale-in {
    animation: scaleIn var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1);
}

/* Advanced Card Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

/* Glassmorphism Enhanced */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Floating Labels */
.floating-label {
    position: relative;
}

.floating-label input,
.floating-label textarea {
    padding-top: var(--space-5);
}

.floating-label label {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition-base);
    pointer-events: none;
    color: var(--color-text-tertiary);
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--color-primary);
}

/* Interactive Background */
.interactive-bg {
    position: relative;
    overflow: hidden;
}

.interactive-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: var(--color-border-muted);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-bg-tertiary) 25%,
        var(--color-border-muted) 50%,
        var(--color-bg-tertiary) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-lg);
}

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

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    padding: var(--space-2) var(--space-3);
    background: var(--color-text-primary);
    color: white;
    font-size: var(--font-size-xs);
    white-space: nowrap;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    border: 5px solid transparent;
    border-top-color: var(--color-text-primary);
    opacity: 0;
    transition: all var(--transition-base);
}

.tooltip:hover::before,
.tooltip:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    background: var(--color-danger);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 0 6px;
    box-shadow: var(--shadow-md);
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* Pulse Animation */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   WhatsApp-Inspired Homepage Sections
   ======================================== */

/* Privacy Section */
.privacy-section {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.privacy-container {
    max-width: 1100px;
    margin: 0 auto;
}

.privacy-content i.bi-shield-lock-fill {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.privacy-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.privacy-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.security-item i {
    font-size: 24px;
}

/* How It Works Section */
.how-it-works {
    background: #ffffff;
    padding: 80px 20px;
}

.how-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-container h2 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.how-container .subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    padding: 40px 30px;
    text-align: center;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.step-card i {
    font-size: 60px;
    color: #25D366;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #25D366;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    background: white;
    padding: 80px 20px;
}

.benefits-container {
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.benefit-row.reverse {
    direction: rtl;
}

.benefit-row.reverse .benefit-content {
    direction: ltr;
}

.benefit-image {
    text-align: center;
}

.benefit-image i {
    font-size: 120px;
    color: #25D366;
    opacity: 0.9;
}

.benefit-content h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.benefit-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.benefit-list i {
    color: #25D366;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-container p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-section .btn-secondary {
    background: white;
    color: #128C7E;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-secondary:hover {
    background: #f0f0f0;
    color: #0f7a6c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .privacy-content h2,
    .how-container h2,
    .benefit-content h2,
    .cta-container h2 {
        font-size: 32px;
    }

    .benefit-row,
    .benefit-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }

    .benefit-image i {
        font-size: 80px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   World-Class Homepage Sections
   ======================================== */

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.hero-badge i {
    color: #25D366;
    font-size: 18px;
}

/* Trusted By Section */
.trusted-by {
    background: #f8f9fa;
    padding: 40px 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.trusted-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.trusted-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 18px;
    color: #999;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: #ffffff;
    padding: 100px 40px;
}

.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
}

.testimonials-container h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: #25D366;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFB800;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 100px 40px;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-container h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3 i {
    color: #25D366;
    font-size: 22px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Simple Footer */
.simple-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 40px 40px;
}

.simple-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #25D366;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
}

.footer-tagline {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
    padding: 30px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #25D366;
}

.footer-bottom-simple {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-simple p {
    color: #666;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #aaa;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #25D366;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .trusted-logos {
        gap: 30px;
    }

    .logo-item {
        font-size: 16px;
    }

    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-container h2,
    .faq-container h2 {
        font-size: 36px;
    }

    .footer-bottom-simple {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 15px 20px;
    }
}

/* ========================================

/* ========================================
   Login Page Styles - Simple & Clean
   ======================================== */

/* Login Section Layout */
.login-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.login-icon i {
    font-size: 36px;
    color: white;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #666;
}

/* Simple Form Groups */
.login-card .form-group {
    margin-bottom: 20px;
}

.login-card .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.login-card .form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.login-card .form-group input::placeholder {
    color: #999;
}

.login-card .form-group input:focus {
    outline: none;
    border-color: #25D366;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.login-card .form-hint {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    line-height: 1.5;
}

.login-card .form-hint strong {
    font-weight: 600;
    color: #333;
}

/* Simple Login Button */
.login-card .btn-login {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.login-card .btn-login:hover {
    background: #128C7E;
}

.login-card .btn-login:active {
    transform: scale(0.98);
}

.login-card .btn-login:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

.login-card .error-message {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 20px;
    display: none;
}

.login-card .error-message.show {
    display: block;
}

/* Login Page Background */
body.login-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    min-height: 100vh;
}

/* Mobile Responsive for Login */
@media (max-width: 768px) {
    .login-card {
        padding: 40px 30px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}

/* ========================================
   Homepage Navigation Styles
   ======================================== */

nav {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #25D366;
}

.nav-links a.btn-primary {
    background: #25D366;
    color: #fff;
    padding: 10px 30px;
}

.nav-links a.btn-primary:hover {
    background: #128C7E;
    color: #fff;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: none;
}

.user-dropdown.active {
    display: block;
}

.user-button {
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.user-button:hover {
    background: #128C7E;
}

.user-button i {
    font-size: 18px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 0;
}

.dropdown-menu a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-menu a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown-menu a:hover {
    background: #f5f6f7;
    color: #25D366;
}

.dropdown-menu .divider {
    height: 1px;
    background: #e5e5e5;
    margin: 8px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.hero-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.hero-button i {
    font-size: 20px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #fff;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 40px;
    color: #25D366;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .features h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix for JS-controlled dropdown state */
.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
    }
    
    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Main Container */
    .container {
        padding: 20px 15px !important;
        max-width: 100% !important;
    }
    
    /* Stats Grid - Always single column on mobile */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* Tables - Horizontal scroll */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    table {
        min-width: 600px;
        font-size: 13px;
    }
    
    table th,
    table td {
        padding: 10px 8px;
        white-space: nowrap;
    }
    
    /* Buttons - Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-sm {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Modals - Full screen on mobile */
    .modal-content {
        width: 95%;
        max-width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        margin: 20px auto;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    input,
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    /* Charts */
    .chart-container {
        height: 250px !important;
    }
    
    /* Cards */
    .card {
        padding: 15px;
    }
    
    /* Admin Pages - Full width */
    .admin-container,
    .dashboard-container {
        padding: 15px !important;
    }
    
    /* Search Box */
    .search-box input {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    /* Badges */
    .badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    /* Action Buttons Group */
    .action-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Company Details Panel */
    #companyDetails {
        margin-top: 20px;
    }
    
    /* Employee Cards */
    .employee-card {
        padding: 12px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Extra small text adjustments */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    /* Navigation - Compact */
    .logo {
        font-size: 18px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* Container - Minimal padding */
    .container {
        padding: 15px 10px !important;
    }
    
    /* Stats Cards - Compact */
    .stat-card {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Buttons - Stack vertically */
    .button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .button-group .btn {
        width: 100%;
    }
    
    /* Modal - Full screen */
    .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    /* Table - More compact */
    table {
        min-width: 500px;
        font-size: 12px;
    }
    
    table th,
    table td {
        padding: 8px 6px;
    }
    
    /* Search - Full width */
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
}

/* Landscape Mobile Fix */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        max-height: 95vh;
    }
    
    .hero {
        padding: 40px 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button,
    a,
    input,
    select {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover,
    .btn:hover {
        transform: none;
    }
    
    /* Disable complex animations on touch */
    * {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }
}

/* ========================================
   ADVANCED MOBILE OPTIMIZATIONS
   ======================================== */

/* Mobile Navigation Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu-toggle:active {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* Improved Stat Cards for Mobile */
@media (max-width: 768px) {
    .stat-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 15px;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border-left: 4px solid var(--color-primary);
    }
    
    .stat-card::before {
        display: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .stat-card-label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .stat-card-value {
        font-size: 28px;
        font-weight: 800;
    }
    
    .stat-card-icon {
        font-size: 32px;
        opacity: 0.3;
    }
}

/* Mobile Table Card Layout */
@media (max-width: 480px) {
    .table-mobile-card {
        display: none;
    }
    
    .companies-table {
        display: none;
    }
    
    .mobile-card-view {
        display: block !important;
    }
}

.mobile-card-view {
    display: none;
}

.mobile-company-card {
    background: #fff;
    border: 1px solid var(--color-border-muted);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.mobile-company-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-xs);
}

.mobile-company-card.selected {
    border-color: var(--color-primary);
    background: rgba(37, 211, 102, 0.05);
}

.mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.mobile-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.mobile-card-subtitle {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.mobile-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-subtle);
}

.mobile-card-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.mobile-card-info-item i {
    font-size: 14px;
    color: var(--color-primary);
}

/* Floating Action Buttons for Mobile */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .fab-container {
        display: block;
    }
    
    .fab {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--gradient-primary);
        color: #fff;
        border: none;
        box-shadow: var(--shadow-xl);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .fab:active {
        transform: scale(0.9);
    }
}

/* Bottom Sheet Modal for Mobile */
@media (max-width: 768px) {
    .modal {
        align-items: flex-end;
    }
    
    .modal-content {
        border-radius: 20px 20px 0 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 80vh;
        animation: slideUp 0.3s ease;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .modal-header {
        position: relative;
        padding-top: 20px;
    }
    
    .modal-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: var(--color-border-default);
        border-radius: 2px;
    }
}

/* Pull to Refresh Indicator */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 999;
}

.pull-to-refresh.active {
    transform: translateY(0);
}

.pull-to-refresh-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-border-muted);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Improved Section Headers for Mobile */
@media (max-width: 768px) {
    .section-header {
        position: sticky;
        top: 70px;
        background: var(--color-bg-primary);
        z-index: 10;
        padding: 15px 0;
        margin: 0 -15px 15px -15px;
        padding-left: 15px;
        padding-right: 15px;
        border-bottom: 1px solid var(--color-border-subtle);
    }
}

/* Enhanced Form Experience on Mobile */
@media (max-width: 768px) {
    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
        transform: scale(1.01);
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }
}

/* Mobile Toast Notifications */
.mobile-toast {
    position: fixed;
    bottom: 80px;
    left: 15px;
    right: 15px;
    padding: 16px 20px;
    background: var(--color-text-primary);
    color: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transform: translateY(200px);
    transition: transform 0.3s;
    z-index: 10000;
}

.mobile-toast.show {
    transform: translateY(0);
}

.mobile-toast.success {
    background: var(--color-success);
}

.mobile-toast.error {
    background: var(--color-danger);
}

/* Optimized Badge Sizes */
@media (max-width: 768px) {
    .badge {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 10px;
        font-weight: 700;
    }
    
    .badge-lg {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Better Search Box on Mobile */
@media (max-width: 768px) {
    .search-box {
        position: relative;
    }
    
    .search-box input {
        padding-left: 40px;
        border-radius: 25px;
        background: var(--color-bg-tertiary);
        border: 1px solid transparent;
    }
    
    .search-box input:focus {
        background: #fff;
        border-color: var(--color-primary);
    }
    
    .search-box::before {
        content: '\f52a';
        font-family: 'bootstrap-icons';
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-text-tertiary);
        font-size: 16px;
    }
}

/* Improved Empty States for Mobile */
@media (max-width: 768px) {
    .empty-state {
        padding: 60px 20px;
        text-align: center;
    }
    
    .empty-state i {
        font-size: 64px;
        color: var(--color-text-tertiary);
        margin-bottom: 20px;
        opacity: 0.5;
    }
    
    .empty-state h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .empty-state p {
        font-size: 14px;
        color: var(--color-text-tertiary);
    }
}

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

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

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-card {
    height: 100px;
    margin-bottom: 15px;
}

/* Safe Area for Notch Devices (iPhone X+) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    nav {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .fab-container {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}
