/**
 * ╔═══════════════════════════════════════════════════════════════════════════╗
 * ║              CLOUDSECURE UNIFIED SaaS DESIGN SYSTEM v6.0                  ║
 * ║              All modules: Admin, Client, Public                            ║
 * ╚═══════════════════════════════════════════════════════════════════════════╝
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* === DARK THEME (Admin/Dashboard) === */
    --dark-bg-primary: #09090b;
    --dark-bg-secondary: #0c0c0f;
    --dark-bg-tertiary: #111114;
    --dark-bg-card: #18181b;
    --dark-bg-elevated: #1f1f23;
    --dark-bg-hover: #27272a;
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-border-hover: rgba(255, 255, 255, 0.15);
    --dark-text-primary: #fafafa;
    --dark-text-secondary: #a1a1aa;
    --dark-text-muted: #71717a;
    
    /* === LIGHT THEME (Public pages) === */
    --light-bg: #fafafa;
    --light-bg-secondary: #f4f4f5;
    --light-surface: #ffffff;
    --light-border: #e4e4e7;
    --light-border-hover: #d4d4d8;
    --light-text: #09090b;
    --light-text-secondary: #52525b;
    --light-text-muted: #a1a1aa;
    
    /* === ACCENT COLORS === */
    --accent-primary: #6366f1;
    --accent-primary-hover: #4f46e5;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --accent-soft: rgba(99, 102, 241, 0.1);
    --accent-glow: rgba(99, 102, 241, 0.4);
    
    /* === SEMANTIC COLORS === */
    --success: #22c55e;
    --success-soft: rgba(34, 197, 94, 0.12);
    --success-text: #16a34a;
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.12);
    --warning-text: #d97706;
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.12);
    --danger-text: #dc2626;
    --info: #3b82f6;
    --info-soft: rgba(59, 130, 246, 0.12);
    --info-text: #2563eb;
    
    /* === GRADIENTS === */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(180deg, #09090b 0%, #18181b 100%);
    --gradient-mesh: 
        radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(168, 85, 247, 0.06) 0px, transparent 50%);
    
    /* === SHADOWS === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-dark-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-dark-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-dark-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    
    /* === RADIUS === */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* === TYPOGRAPHY === */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* === TRANSITIONS === */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease);
    --transition-base: 250ms var(--ease);
    --transition-slow: 400ms var(--ease);
    
    /* === LAYOUT === */
    --container-max: 1320px;
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
    
    /* === Z-INDEX === */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    
    /* === Legacy Compatibility === */
    --cs-primary-500: #6366f1;
    --cs-primary-600: #4f46e5;
    --cs-gray-50: #f8fafc;
    --cs-gray-100: #f1f5f9;
    --cs-gray-200: #e2e8f0;
    --cs-gray-300: #cbd5e1;
    --cs-gray-400: #94a3b8;
    --cs-gray-500: #64748b;
    --cs-gray-600: #475569;
    --cs-gray-700: #334155;
    --cs-gray-800: #1e293b;
    --cs-gray-900: #0f172a;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--light-text);
    background: var(--light-bg);
    min-height: 100vh;
}

/* Dark theme body */
body.theme-dark {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

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

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

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { 
    background: var(--light-border); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--light-text-muted); }

.theme-dark ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }
.theme-dark ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

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

p { line-height: 1.7; }

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

.text-mono { font-family: var(--font-mono); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

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

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER - PUBLIC
   ═══════════════════════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--light-border);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--light-text);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover { color: var(--light-text); }

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.logo img {
    height: 36px;
    width: auto;
    border-radius: var(--radius-md);
}

/* Nav Desktop */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
    position: relative;
    padding: 0.5rem 0.875rem;
    color: var(--light-text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.nav-link:hover, .nav-link.active { color: var(--light-text); }
.nav-link.active::after { width: 20px; }

.nav-link-admin {
    background: var(--dark-bg-card);
    color: white !important;
    padding: 0.5rem 1rem;
}
.nav-link-admin:hover { background: var(--dark-bg-elevated); }

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--light-border);
    margin: 0 0.5rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    color: var(--light-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.cart-btn:hover {
    background: var(--light-surface);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Menu */
.user-menu { position: relative; }

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.75rem 0.375rem 0.375rem;
    background: transparent;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-avatar-btn:hover {
    background: var(--light-surface);
    border-color: var(--accent-primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-avatar-admin {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light-text);
}

.user-chevron {
    color: var(--light-text-muted);
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.user-menu.open .user-chevron { transform: rotate(180deg); }

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

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

.user-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--light-border);
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--light-text);
}

.user-dropdown-email {
    font-size: 0.8125rem;
    color: var(--light-text-muted);
    margin-top: 0.125rem;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--light-border);
    margin: 0.25rem 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--light-text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.user-dropdown-item:hover {
    background: var(--light-bg);
    color: var(--light-text);
}

.user-dropdown-item i { width: 16px; text-align: center; opacity: 0.7; }

.user-dropdown-item-admin { color: var(--accent-primary); }
.user-dropdown-item-admin:hover { background: var(--accent-soft); }

.user-dropdown-item-switch { color: var(--info); }
.user-dropdown-item-switch:hover { background: var(--info-soft); }

.user-dropdown-item-logout { color: var(--danger); }
.user-dropdown-item-logout:hover { background: var(--danger-soft); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.menu-toggle:hover { background: var(--light-surface); }

.hamburger {
    position: relative;
    width: 18px;
    height: 14px;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--light-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.menu-toggle.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.active .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (min-width: 1024px) { .menu-toggle { display: none; } }

.hide-mobile { display: none; }
.hide-desktop { display: flex; }
@media (min-width: 1024px) {
    .hide-mobile { display: flex; }
    .hide-desktop { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-modal-backdrop);
}

.nav-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--light-surface);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
}

.nav-mobile.active { transform: translateX(0); }

.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--light-border);
}

.nav-mobile-title {
    font-weight: 600;
    font-size: 1rem;
}

.nav-mobile-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border: none;
    border-radius: var(--radius-md);
    color: var(--light-text-secondary);
    cursor: pointer;
}

.nav-mobile-close:hover {
    background: var(--light-border);
    color: var(--light-text);
}

.nav-mobile-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.nav-mobile-section { padding: 0.5rem 1.25rem; }

.nav-mobile-section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-text-muted);
    padding: 0.5rem 0;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--light-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-mobile-link:hover, .nav-mobile-link.active {
    background: var(--light-bg);
    color: var(--light-text);
}

.nav-mobile-link.active { color: var(--accent-primary); }

.nav-mobile-link i { width: 20px; text-align: center; opacity: 0.7; }

.nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-mobile-user {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    margin: 0 1.25rem 0.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
}

.nav-mobile-user-admin {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.nav-mobile-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.nav-mobile-avatar-admin {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.nav-mobile-user-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.nav-mobile-user-role {
    font-size: 0.75rem;
    color: var(--light-text-muted);
}

/* Accordion */
.nav-mobile-accordion { margin-top: 0.25rem; }

.nav-mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--light-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.nav-mobile-accordion-trigger:hover { background: var(--light-bg); }

.nav-mobile-accordion-trigger span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-mobile-accordion-icon {
    transition: transform var(--transition-fast);
}

.nav-mobile-accordion.open .nav-mobile-accordion-icon {
    transform: rotate(180deg);
}

.nav-mobile-accordion-content {
    display: none;
    padding-left: 1rem;
}

.nav-mobile-accordion.open .nav-mobile-accordion-content { display: block; }

.nav-mobile-sublink {
    padding-left: 2.5rem;
    font-size: 0.875rem;
}

.nav-mobile-link-admin {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--accent-primary);
}

.nav-mobile-link-switch {
    background: var(--info-soft);
    color: var(--info);
}

.nav-mobile-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--light-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Main Content */
.main-content {
    padding-top: var(--header-height);
    min-height: 100vh;
}
/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn i { font-size: 0.875em; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md), 0 0 20px var(--accent-glow);
    color: white;
}

.btn-secondary {
    background: var(--light-surface);
    color: var(--light-text);
    border: 1px solid var(--light-border);
}

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

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-border);
}

.btn-outline:hover {
    background: var(--light-surface);
    border-color: var(--light-text);
}

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

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

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

.btn-success:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

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

.btn-warning:hover {
    filter: brightness(1.1);
}

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

.btn-danger:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

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

.btn-info:hover {
    filter: brightness(1.1);
}

/* Button Sizes */
.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
.btn-sm { padding: 0.4375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2rem; font-size: 1.0625rem; }

.btn-block { width: 100%; }

.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-icon-sm { width: 32px; height: 32px; padding: 0; }
.btn-icon-xs { width: 28px; height: 28px; padding: 0; }

/* Dark theme buttons */
.theme-dark .btn-secondary {
    background: var(--dark-bg-card);
    color: var(--dark-text-primary);
    border-color: var(--dark-border);
}

.theme-dark .btn-secondary:hover {
    background: var(--dark-bg-elevated);
    border-color: var(--accent-primary);
}

.theme-dark .btn-outline {
    color: var(--dark-text-primary);
    border-color: var(--dark-border);
}

.theme-dark .btn-ghost {
    color: var(--dark-text-secondary);
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-border);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-description {
    font-size: 0.875rem;
    color: var(--light-text-muted);
    margin-top: 0.25rem;
}

.card-body { flex: 1; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-border);
}

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

.card-interactive { cursor: pointer; }
.card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Dark Cards */
.theme-dark .card,
.card-dark {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
    color: var(--dark-text-primary);
}

.theme-dark .card:hover,
.card-dark:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-dark-md);
}

.theme-dark .card-header,
.card-dark .card-header {
    border-color: var(--dark-border);
}

.theme-dark .card-footer,
.card-dark .card-footer {
    border-color: var(--dark-border);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════════ */

.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label-required::after {
    content: ' *';
    color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--light-text);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--light-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--light-text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--light-text-muted);
    margin-top: 0.375rem;
}

.form-error {
    font-size: 0.8125rem;
    color: var(--danger);
    margin-top: 0.375rem;
}

.form-input-error { border-color: var(--danger); }
.form-input-error:focus { box-shadow: 0 0 0 3px var(--danger-soft); }

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.125rem;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    cursor: pointer;
}

/* Dark Forms */
.theme-dark .form-input,
.theme-dark .form-select,
.theme-dark .form-textarea {
    background: var(--dark-bg-tertiary);
    border-color: var(--dark-border);
    color: var(--dark-text-primary);
}

.theme-dark .form-input:hover,
.theme-dark .form-select:hover,
.theme-dark .form-textarea:hover {
    border-color: var(--dark-border-hover);
}

.theme-dark .form-input::placeholder,
.theme-dark .form-textarea::placeholder {
    color: var(--dark-text-muted);
}

.theme-dark .form-label {
    color: var(--dark-text-primary);
}

.theme-dark .form-hint {
    color: var(--dark-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════════════════ */

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    background: var(--light-surface);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th,
.table td {
    padding: 0.875rem 1rem;
    text-align: left;
}

.table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--light-text);
    border-bottom: 1px solid var(--light-border);
    white-space: nowrap;
}

.table td {
    border-bottom: 1px solid var(--light-border);
    color: var(--light-text-secondary);
}

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

.table tr:hover td { background: var(--light-bg); }

.table-striped tbody tr:nth-child(even) td {
    background: var(--light-bg);
}

/* Dark Tables */
.theme-dark .table-wrapper {
    background: var(--dark-bg-card);
    border-color: var(--dark-border);
}

.theme-dark .table th {
    background: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border);
}

.theme-dark .table td {
    border-color: var(--dark-border);
    color: var(--dark-text-secondary);
}

.theme-dark .table tr:hover td {
    background: var(--dark-bg-elevated);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BADGES & STATUS
   ═══════════════════════════════════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

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

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

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

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

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

.badge-neutral {
    background: var(--light-bg);
    color: var(--light-text-secondary);
}

/* Status dots */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot-success { background: var(--success); }
.status-dot-warning { background: var(--warning); }
.status-dot-danger { background: var(--danger); }
.status-dot-info { background: var(--info); }
.status-dot-neutral { background: var(--light-text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════════════════════ */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
}

.alert-content { flex: 1; }

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-success {
    background: var(--success-soft);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success-text);
}

.alert-warning {
    background: var(--warning-soft);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning-text);
}

.alert-danger {
    background: var(--danger-soft);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger-text);
}

.alert-info {
    background: var(--info-soft);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info-text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════════════════ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-modal-backdrop);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--light-surface);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.modal-backdrop.active .modal {
    transform: scale(1) translateY(0);
}

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

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--light-text-muted);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--light-text);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--light-border);
    background: var(--light-bg);
}

/* Dark Modal */
.theme-dark .modal {
    background: var(--dark-bg-card);
}

.theme-dark .modal-header,
.theme-dark .modal-footer {
    border-color: var(--dark-border);
}

.theme-dark .modal-footer {
    background: var(--dark-bg-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════════════════ */

.tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--light-bg);
    padding: 0.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.tab {
    flex: 1;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab:hover { color: var(--light-text); }

.tab.active {
    background: var(--light-surface);
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; }
.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Dark Tabs */
.theme-dark .tabs {
    background: var(--dark-bg-tertiary);
}

.theme-dark .tab {
    color: var(--dark-text-secondary);
}

.theme-dark .tab:hover {
    color: var(--dark-text-primary);
}

.theme-dark .tab.active {
    background: var(--dark-bg-card);
    color: var(--accent-primary);
}
/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN/CLIENT LAYOUT - DASHBOARD STYLE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

.dashboard-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: var(--gradient-mesh);
    pointer-events: none;
    z-index: 0;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background: var(--dark-bg-secondary);
    border-right: 1px solid var(--dark-border);
    transition: width var(--transition-base);
}

.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--dark-border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
}

.sidebar-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
    flex-shrink: 0;
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow: hidden;
}

.sidebar-logo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-text-primary);
    white-space: nowrap;
}

.sidebar-logo-badge {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar Nav */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section-title {
    padding: 0 1.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    margin: 0.125rem 0.75rem;
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background: var(--dark-bg-card);
    color: var(--dark-text-primary);
}

.sidebar-link.active {
    background: var(--accent-soft);
    color: var(--accent-primary);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

.sidebar-link.active i {
    opacity: 1;
}

.sidebar-link-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--danger);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--dark-border);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--dark-bg-card);
    border-radius: var(--radius-lg);
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-user-avatar-admin {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sidebar-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
}

.sidebar-user-menu {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--dark-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-user-menu:hover {
    background: var(--dark-bg-elevated);
    color: var(--dark-text-primary);
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.dashboard-content {
    padding: 2rem;
    max-width: 1600px;
}

/* Dashboard Header Bar */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--dark-text-primary);
    cursor: pointer;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text-primary);
    margin-bottom: 0.5rem;
}

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

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--dark-text-muted);
    margin-bottom: 1rem;
}

.page-breadcrumb a {
    color: var(--dark-text-secondary);
}

.page-breadcrumb a:hover {
    color: var(--accent-primary);
}

.page-breadcrumb-sep {
    opacity: 0.5;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--dark-bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark-md);
}

.stat-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.stat-card-icon-success { background: var(--success-soft); color: var(--success); }
.stat-card-icon-warning { background: var(--warning-soft); color: var(--warning); }
.stat-card-icon-danger { background: var(--danger-soft); color: var(--danger); }
.stat-card-icon-info { background: var(--info-soft); color: var(--info); }

.stat-card-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.stat-card-trend-up {
    background: var(--success-soft);
    color: var(--success);
}

.stat-card-trend-down {
    background: var(--danger-soft);
    color: var(--danger);
}

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

.stat-card-label {
    font-size: 0.875rem;
    color: var(--dark-text-secondary);
    margin-top: 0.25rem;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--dark-bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text-primary);
}

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

.dashboard-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--dark-border);
    background: var(--dark-bg-tertiary);
}

/* Data Lists */
.data-list {
    display: flex;
    flex-direction: column;
}

.data-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.data-list-item:last-child {
    border-bottom: none;
}

.data-list-avatar {
    width: 40px;
    height: 40px;
    background: var(--dark-bg-elevated);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.data-list-content {
    flex: 1;
    min-width: 0;
}

.data-list-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-text-primary);
}

.data-list-subtitle {
    font-size: 0.8125rem;
    color: var(--dark-text-muted);
}

.data-list-meta {
    text-align: right;
}

.data-list-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-text-primary);
}

.data-list-time {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
}

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

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--dark-bg-elevated);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-text-muted);
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text-primary);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 0.9375rem;
    color: var(--dark-text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar {
        width: var(--sidebar-collapsed);
    }
    
    .sidebar-logo-text,
    .sidebar-section-title,
    .sidebar-link span,
    .sidebar-link-badge,
    .sidebar-user-info {
        display: none;
    }
    
    .sidebar-link {
        justify-content: center;
        padding: 0.75rem;
        margin: 0.125rem 0.5rem;
    }
    
    .sidebar-user {
        justify-content: center;
        padding: 0.5rem;
    }
    
    .sidebar-user-menu {
        display: none;
    }
    
    .dashboard-main {
        margin-left: var(--sidebar-collapsed);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
        z-index: 1000;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-logo-text,
    .sidebar-section-title,
    .sidebar-link span,
    .sidebar-link-badge,
    .sidebar-user-info,
    .sidebar-user-menu {
        display: flex;
    }
    
    .sidebar-link {
        justify-content: flex-start;
        padding: 0.75rem 1.25rem;
        margin: 0.125rem 0.75rem;
    }
    
    .sidebar-user {
        justify-content: flex-start;
        padding: 0.75rem;
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Overlay for mobile */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* ═══════════════════════════════════════════════════════════════════════════
   PUBLIC PAGES STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--accent-soft);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--light-text-secondary);
    line-height: 1.7;
}

/* Services */
.services-section { padding: 6rem 0; background: var(--light-bg); }

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

.service-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
}

.service-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-description { font-size: 0.9375rem; color: var(--light-text-secondary); margin-bottom: 1.25rem; }
.service-link { font-size: 0.875rem; font-weight: 500; color: var(--accent-primary); }

/* Products */
.products-section { padding: 6rem 0; background: var(--light-surface); }

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

.product-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.product-image {
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image-placeholder { font-size: 3rem; color: var(--light-text-muted); }
.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.product-content { padding: 1.5rem; }
.product-category { font-size: 0.75rem; font-weight: 600; color: var(--accent-primary); margin-bottom: 0.5rem; }
.product-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-title a { color: inherit; }
.product-title a:hover { color: var(--accent-primary); }
.product-description { font-size: 0.875rem; color: var(--light-text-secondary); margin-bottom: 1.25rem; }
.product-footer { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--light-border); }
.product-price { font-size: 0.875rem; color: var(--light-text-secondary); }
.product-price strong { display: block; font-size: 1.25rem; color: var(--light-text); }
.product-btn {
    padding: 0.625rem 1rem;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--light-text);
}
.product-btn:hover { background: var(--accent-primary); border-color: var(--accent-primary); color: white; }

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: var(--dark-bg-primary);
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.trust-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item { text-align: center; padding: 1.5rem; }

.trust-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-label { font-size: 0.875rem; color: var(--dark-text-secondary); }

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--dark-bg-primary);
    position: relative;
}

.cta-section::before { content: ''; position: absolute; inset: 0; background: var(--gradient-mesh); }

.cta-content { position: relative; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--dark-text-primary); margin-bottom: 1rem; }
.cta-description { font-size: 1.0625rem; color: var(--dark-text-secondary); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    background: var(--dark-bg-secondary);
    border-top: 1px solid var(--dark-border);
    color: var(--dark-text-secondary);
}

.footer-main { padding: 4rem 0 3rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand { max-width: 280px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--dark-text-primary);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-description { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }

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

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--dark-text-muted);
}

.footer-social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-column h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-text-primary);
    margin-bottom: 1.25rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { font-size: 0.875rem; color: var(--dark-text-muted); }
.footer-link:hover { color: var(--dark-text-primary); }
.footer-link-static { font-size: 0.875rem; color: var(--dark-text-muted); display: flex; align-items: center; gap: 0.5rem; }
.footer-link-static i { width: 16px; }

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright { font-size: 0.8125rem; color: var(--dark-text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal-link { font-size: 0.8125rem; color: var(--dark-text-muted); }
.footer-legal-link:hover { color: var(--dark-text-primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

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

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

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.cursor-pointer { cursor: pointer; }

/* Loading & Spinners */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--light-border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, var(--light-bg) 25%, var(--light-border) 50%, var(--light-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

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

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg), 0 0 20px var(--accent-glow);
    z-index: 99;
}

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

.scroll-top-btn:hover {
    transform: translateY(-3px);
}

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

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

.progress-bar-success { background: var(--success); }
.progress-bar-warning { background: var(--warning); }
.progress-bar-danger { background: var(--danger); }

/* Avatar */
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
}

.avatar-xs { width: 24px; height: 24px; font-size: 0.625rem; }
.avatar-sm { width: 32px; height: 32px; font-size: 0.75rem; }
.avatar-md { width: 40px; height: 40px; font-size: 0.875rem; }
.avatar-lg { width: 48px; height: 48px; font-size: 1rem; }
.avatar-xl { width: 64px; height: 64px; font-size: 1.25rem; }

/* Divider */
.divider {
    height: 1px;
    background: var(--light-border);
    margin: 1.5rem 0;
}

.theme-dark .divider { background: var(--dark-border); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--light-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.dropdown-divider {
    height: 1px;
    background: var(--light-border);
    margin: 0.5rem 0;
}

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

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

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

.animate-fade-in { animation: fadeIn 0.3s ease; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.animate-fade-in-down { animation: fadeInDown 0.5s ease forwards; }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

[class*="animate-fade-in"] { opacity: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION - SAAS DESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-saas {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: var(--dark-bg-primary);
    overflow: hidden;
}

/* Background Effects */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.15);
    top: -15%;
    left: -10%;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.12);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.1);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Hero Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero Text */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    width: fit-content;
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dark-text-primary);
    margin: 0;
}

.hero-title-gradient {
    display: inline;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

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

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--dark-text-secondary);
    margin: 0;
    max-width: 500px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-feature i {
    color: var(--success);
    font-size: 14px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dark-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hero Visual - Dashboard Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-dashboard {
    width: 100%;
    max-width: 520px;
    background: rgba(24, 24, 27, 0.9);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.hero-dashboard:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-dashboard-header {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--dark-border);
}

.hero-dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f3f46;
}

.hero-dashboard-dot:nth-child(1) { background: #ef4444; }
.hero-dashboard-dot:nth-child(2) { background: #f59e0b; }
.hero-dashboard-dot:nth-child(3) { background: #22c55e; }

.hero-dashboard-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Stats Row */
.hero-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-stat-card {
    background: rgba(39, 39, 42, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    transition: all var(--transition-fast);
}

.hero-stat-card:hover {
    background: rgba(39, 39, 42, 0.8);
    border-color: var(--dark-border-hover);
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--dark-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Chart */
.hero-chart {
    background: rgba(39, 39, 42, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.hero-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hero-chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text-primary);
}

.hero-chart-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--success);
}

.hero-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    flex: 1;
}

.hero-chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: chart-grow 1.5s ease-out forwards;
}

.hero-chart-bar:nth-child(1) { height: 45%; animation-delay: 0s; }
.hero-chart-bar:nth-child(2) { height: 65%; animation-delay: 0.1s; }
.hero-chart-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.hero-chart-bar:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.hero-chart-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.hero-chart-bar:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.hero-chart-bar:nth-child(7) { height: 75%; animation-delay: 0.6s; }

@keyframes chart-grow {
    from { height: 0; }
}

/* Hero Floating Badges */
.hero-floating-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-float-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(39, 39, 42, 0.8);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--dark-text-secondary);
    animation: float-badge 3s ease-in-out infinite;
}

.hero-float-badge:nth-child(2) { animation-delay: -1s; }
.hero-float-badge:nth-child(3) { animation-delay: -2s; }

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

.hero-float-badge i {
    font-size: 14px;
}

.hero-float-badge i.fa-shield-alt { color: var(--accent-primary); }
.hero-float-badge i.fa-certificate { color: var(--success); }
.hero-float-badge i.fa-headset { color: var(--warning); }

/* Hero Floating Elements (Alternative Style) */
.hero-floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text-secondary);
    box-shadow: var(--shadow-dark-md);
    animation: float-badge 4s ease-in-out infinite;
    z-index: 10;
}

.hero-floating i {
    font-size: 16px;
}

.hero-floating-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.hero-floating-1 i { color: var(--accent-primary); }

.hero-floating-2 {
    bottom: 30%;
    right: 10%;
    animation-delay: -1.5s;
}

.hero-floating-2 i { color: var(--success); }

.hero-floating-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: -3s;
}

.hero-floating-3 i { color: var(--warning); }

@media (max-width: 1023px) {
    .hero-floating {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.services-section {
    padding: 100px 24px;
    background: var(--light-bg);
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-badge i {
    font-size: 14px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-eyebrow i {
    font-size: 14px;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--light-text);
    margin: 0 0 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 12px;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
}

.service-link i {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.products-section {
    padding: 100px 24px;
    background: var(--light-surface);
}

.products-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.product-content {
    padding: 24px;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 12px;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.product-price-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.product-price-period {
    font-size: 0.875rem;
    color: var(--light-text-muted);
}

.product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--accent-soft);
    color: var(--accent-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.product-button:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-section {
    padding: 80px 24px;
    background: var(--light-bg);
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    text-align: center;
}

.trust-value {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-section {
    position: relative;
    padding: 100px 24px;
    background: var(--dark-bg-primary);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark-text-primary);
    margin: 0 0 16px;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--dark-text-secondary);
    margin: 0 0 32px;
    line-height: 1.7;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    padding: 64px 24px 32px;
    background: var(--dark-bg-primary);
    border-top: 1px solid var(--dark-border);
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text-primary);
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--dark-text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--dark-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-hover);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark-text-primary);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--dark-text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--dark-text-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    margin-top: 48px;
    border-top: 1px solid var(--dark-border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--dark-text-muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 0.875rem;
    color: var(--dark-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--dark-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    z-index: 100;
}

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

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT SPACING
   ═══════════════════════════════════════════════════════════════════════════ */

.main-content {
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger > .reveal:nth-child(1),
.stagger > .reveal-scale:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal:nth-child(2),
.stagger > .reveal-scale:nth-child(2) { transition-delay: 0.1s; }
.stagger > .reveal:nth-child(3),
.stagger > .reveal-scale:nth-child(3) { transition-delay: 0.15s; }
.stagger > .reveal:nth-child(4),
.stagger > .reveal-scale:nth-child(4) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(5),
.stagger > .reveal-scale:nth-child(5) { transition-delay: 0.25s; }
.stagger > .reveal:nth-child(6),
.stagger > .reveal-scale:nth-child(6) { transition-delay: 0.3s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger > .reveal:nth-child(8) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════════════
   GLASSMORPHISM CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.glass-card-light:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   3D CARD HOVER EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

.card-3d {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 0 40px rgba(99, 102, 241, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOW EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

.glow-primary {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.25), 0 0 60px rgba(99, 102, 241, 0.1);
}

.glow-cyan {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.25), 0 0 60px rgba(6, 182, 212, 0.1);
}

.glow-emerald {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.25), 0 0 60px rgba(16, 185, 129, 0.1);
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.4), 0 0 80px rgba(99, 102, 241, 0.15); }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, -40px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GRADIENT BORDERS
   ═══════════════════════════════════════════════════════════════════════════ */

.gradient-border {
    position: relative;
    background-clip: padding-box;
    border: 1px solid transparent;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ORBS & DECORATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    will-change: transform;
}

.orb-primary { background: #6366f1; }
.orb-cyan { background: #06b6d4; }
.orb-purple { background: #8b5cf6; }
.orb-emerald { background: #10b981; }

.orb-animate {
    animation: floatOrb 12s ease-in-out infinite;
}

.orb-animate-reverse {
    animation: floatOrb 15s ease-in-out infinite reverse;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHIELD / TRUST BADGES
   ═══════════════════════════════════════════════════════════════════════════ */

.shield-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
}

.shield-badge i {
    font-size: 0.875rem;
}

.trust-bar {
    padding: 48px 24px;
    background: var(--light-surface);
    border-bottom: 1px solid var(--light-border);
}

.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECURITY FEATURES SECTION (Dark)
   ═══════════════════════════════════════════════════════════════════════════ */

.security-section {
    position: relative;
    padding: 100px 24px;
    background: var(--dark-bg-primary);
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .security-grid { grid-template-columns: repeat(4, 1fr); } }

.security-card {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.security-icon.icon-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.security-icon.icon-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.security-icon.icon-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.security-icon.icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.security-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-text-primary);
    margin-bottom: 8px;
}

.security-desc {
    font-size: 0.9rem;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS / COUNTER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.stats-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--dark-bg-primary) 0%, #0f1629 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark-text-primary);
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--dark-text-secondary);
}

.counter {
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials-section {
    padding: 100px 24px;
    background: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    padding: 32px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

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

.testimonial-text::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--accent-primary);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--light-text);
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--light-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing-section {
    padding: 100px 24px;
    background: var(--light-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    padding: 40px 32px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-2xl);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary), 0 20px 40px rgba(99, 102, 241, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 0 0 1px var(--accent-primary), 0 25px 50px rgba(99, 102, 241, 0.2);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--light-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-price {
    margin-bottom: 32px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.pricing-features li i {
    color: var(--success);
    font-size: 0.875rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-times {
    color: var(--light-text-muted);
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.pricing-cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.pricing-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
    color: white;
}

.pricing-cta-secondary {
    background: var(--light-bg-secondary);
    color: var(--light-text);
    border: 1px solid var(--light-border);
}

.pricing-cta-secondary:hover {
    background: var(--light-bg);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGES (Login / Register Split Screen)
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .auth-split {
        grid-template-columns: 1fr 1fr;
    }
}

.auth-visual {
    display: none;
    background: var(--dark-bg-primary);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

@media (min-width: 1024px) {
    .auth-visual {
        display: flex;
    }
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--dark-text-primary);
}

.auth-visual-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.auth-visual-desc {
    font-size: 1.1rem;
    color: var(--dark-text-secondary);
    line-height: 1.7;
}

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--light-surface);
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 8px;
}

.auth-form-subtitle {
    font-size: 1rem;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS (reusable)
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-eyebrow-dark {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--light-text);
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    line-height: 1.7;
}

.section-description-dark {
    color: var(--dark-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ═══════════════════════════════════════════════════════════════════════════ */

.flash-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
}

.flash-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: flashSlideIn 0.4s ease;
}

@keyframes flashSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.flash-success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.flash-error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.flash-warning {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.flash-info {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.flash-close:hover {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }

.show-mobile { display: block; }
@media (min-width: 768px) { .show-mobile { display: none; } }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-12 { margin-bottom: 3rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════════════════════════ */

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

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

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

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

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

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

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--light-bg-secondary) 25%, var(--light-border) 50%, var(--light-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

/* Focus ring for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}
