/* ============================================
   AGOne Global Styles - Modern Marketplace Design
   Theme: linear-gradient(135deg, #296df5 0%, #7742ff 100%)
   ============================================ */

/* === CSS Variables (Design System) === */
:root {
    /* Primary Colors */
    --primary: #4F46E5;
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;
    
    /* Secondary/Purple */
    --secondary: #7742FF;
    --secondary-50: #FAF5FF;
    --secondary-100: #F3E8FF;
    --secondary-500: #A855F7;
    --secondary-600: #9333EA;
    --secondary-700: #7C3AED;
    
    /* Neutral/Gray */
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Gradients */
    --gradient-default: linear-gradient(135deg, #296df5 0%, #7742ff 100%);
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    --gradient-ai-color: linear-gradient(135deg, #296df5 0%, #ab39f3 100%);
    --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
    
    /* Surface & Background */
    --surface: #FFFFFF;
    --background: #FAFAFA;
    --background-secondary: #F7F7F7;
    
    /* Text */
    --text-primary: #0A0A0A;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    /* Borders */
    --border-light: #EDEDED;
    --border-medium: #D1D5DB;
    
    /* Design Tokens */
    --border-radius-sm: 6px;
    --border-radius: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-card-hover: 0 24px 40px rgba(0,0,0,0.12);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-all: all 0.25s ease;
}

/* === Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body, #app {
    font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--surface);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Utility Classes === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-0 { gap: 0; }
.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; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:block { display: block; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Spacing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.max-w-\[1200px\] { max-width: 1200px; }
.max-w-\[1400px\] { max-width: 1400px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-16 { padding-top: 4rem; }
.pb-12 { padding-bottom: 3rem; }
.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; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* Typography */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }

/* Colors */
.text-white { color: #FFFFFF; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.bg-white { background-color: #FFFFFF; }
.bg-primary { background-color: var(--primary); }
.bg-surface { background-color: var(--surface); }
.bg-background { background-color: var(--background); }
.bg-gradient { background: var(--gradient-default); }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Borders & Radius */
.rounded { border-radius: var(--border-radius); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-2xl { border-radius: var(--border-radius-2xl); }
.rounded-full { border-radius: var(--border-radius-full); }
.border { border: 1px solid var(--border-light); }
.border-2 { border: 2px solid var(--border-light); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Effects */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }

/* Transitions */
.transition { transition: var(--transition-all); }
.transition-all { transition: all 0.25s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.25s ease; }
.transition-opacity { transition: opacity 0.25s ease; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }

/* Visibility */
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }

/* Positions */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* === Landing Page Components === */

.agone-header-client-logo {
    height: 31.178px;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 150.00/31.18;
}

/* Header/Navbar */
.landing-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
}

.landing-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.landing-logo {
    height: 36px;
    object-fit: contain;
}

.landing-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.landing-nav-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.landing-nav-btn.primary {
    background: var(--gradient-default);
    color: white;
    border: none;
}

.landing-nav-btn.primary:hover {
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--background);
    overflow: hidden;
    padding: 4rem 1rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(at 50% 30%, rgba(99, 102, 241, 0.08), transparent 60%),
        radial-gradient(at 80% 70%, rgba(139, 92, 246, 0.06), transparent 50%),
        radial-gradient(at 20% 80%, rgba(59, 130, 246, 0.05), transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--neutral-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: var(--gradient-default);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.625;
}

/* Search Box */
.hero-search {
    position: relative;
    max-width: 42rem;
    margin: 0 auto;
}

.hero-search input {
    width: 100%;
    height: 3.5rem;
    padding: 0 1rem 0 2.75rem;
    font-size: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-search .search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 1.25rem;
    height: 1.25rem;
}

/* Trusted By */
.trusted-by {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.trusted-by p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.trusted-logos:hover {
    filter: grayscale(0);
    opacity: 1;
}

.trusted-logos .logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Section Styles */
.section {
    padding: 5rem 1rem;
}

.section.bg-light {
    background: var(--background);
}

.section.bg-white {
    background: var(--surface);
}

.section.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-700) 100%);
    color: white;
}

.section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    background: var(--surface);
    border: 1px solid var(--border-light);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.section-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-default);
}

.section-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.625;
}

/* Product Cards */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    transition: var(--transition-all);
    cursor: pointer;
}

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

.product-card:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

.product-card-badge {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--text-secondary);
}

.product-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.product-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.product-card-icon.purple { background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%); }
.product-card-icon.blue { background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%); }
.product-card-icon.violet { background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%); }
.product-card-icon.emerald { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }
.product-card-icon.amber { background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%); }
.product-card-icon.pink { background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%); }

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.product-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.625;
    margin-bottom: 1rem;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-card-rating .star {
    width: 0.875rem;
    height: 0.875rem;
    color: #F59E0B;
    fill: #F59E0B;
}

.product-card-rating .rating-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.product-card-tag {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--border-radius);
    background: var(--background);
    color: var(--text-secondary);
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(237, 237, 237, 0.4);
}

.product-card-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card-price .amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-card-price .period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.product-card-price .compare-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.product-card-price .compare-btn:hover {
    background: var(--background);
}

.product-card .add-btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: var(--gradient-default);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.product-card .add-btn:hover {
    opacity: 0.9;
}

/* Category Cards */
.category-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-all);
}

.category-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.25s ease;
}

.category-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.category-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.category-card .learn-more {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-card:hover .learn-more {
    opacity: 1;
}

/* Feature Cards */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-2xl);
    padding: 2.5rem;
    transition: var(--transition-all);
}

.feature-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-card-hover);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--border-radius-2xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 24px 40px rgba(79, 70, 229, 0.3);
    transition: transform 0.25s ease;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.625;
}

/* Deal Cards */
.deal-card {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-2xl);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 80%;
    max-width: 380px;
}

@media (min-width: 1024px) {
    .deal-card {
        width: auto;
        max-width: none;
    }
}

.deal-card::after {
    content: '';
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.deal-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.deal-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.deal-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.deal-card p {
    font-size: 0.9375rem;
    line-height: 1.625;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.deal-chart {
    height: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: 1.5rem;
}

.deal-chart .bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px 2px 0 0;
    transition: background 0.4s ease;
}

.deal-chart .bar:hover {
    background: rgba(255, 255, 255, 0.5);
}

.deal-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.deal-price .amount {
    font-size: 2.25rem;
    font-weight: 600;
}

.deal-price .original {
    font-size: 1.125rem;
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.deal-price .period {
    font-size: 0.875rem;
    opacity: 0.8;
}

.deal-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    background: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.deal-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* How It Works */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 24px 40px rgba(79, 70, 229, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(24px);
    opacity: 0.5;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius-xl);
    background: var(--surface);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.625;
}

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

.testimonial-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-verified {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-verified svg {
    width: 0.625rem;
    height: 0.625rem;
    color: white;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.testimonial-stars svg {
    width: 0.75rem;
    height: 0.75rem;
    color: #F59E0B;
    fill: #F59E0B;
}

.testimonial-stars svg.empty {
    fill: var(--border-light);
    color: var(--border-light);
}

.testimonial-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.625;
}

/* Stats Section */
.stats-section {
    padding: 5rem 1rem;
    background: var(--background);
}

.stats-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    text-align: center;
}

/* Certification Badges */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

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

.cert-card:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-sm);
}

.cert-card:hover .cert-icon {
    transform: scale(1.1);
}

.cert-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.25s ease;
}

.cert-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.cert-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cert-card span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Accordion */
.accordion {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(237, 237, 237, 0.4);
}

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

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease;
}

.accordion-trigger:hover {
    background: var(--background);
}

.accordion-trigger svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.625;
}

/* Integration Logos */
.integrations-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.integration-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-xl);
    background: var(--background);
    border: 1px solid var(--border-light);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.25s ease;
}

.integration-logo:hover {
    border-color: var(--border-medium);
}

.integration-logo .logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--border-radius);
}

.integration-logo span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-700) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(at 20% 50%, rgba(255, 255, 255, 0.2), transparent 50%),
        radial-gradient(at 80% 80%, rgba(255, 255, 255, 0.15), transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.625;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: var(--transition-all);
}

.cta-btn.primary {
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    box-shadow: 0 32px 48px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 2rem;
}

/* Footer */
.landing-footer {
    background: #0A0A0A;
    color: white;
    padding: 4rem 1rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    color: #999;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    background: #1E1E1E;
    border: 1px solid #2A2A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: #2A2A2A;
    border-color: var(--primary);
    color: white;
}

.footer-social a svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-nav h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #EDEDED;
    margin-bottom: 1rem;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: #999;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #1E1E1E;
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #999;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-links a:hover {
    color: white;
}

/* AI Assistant Button */
.ai-assistant-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--gradient-ai-color);
    border: none;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: transform 0.25s ease;
}

.ai-assistant-btn:hover {
    transform: scale(1.05);
}

.ai-assistant-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

/* === Admin Layout === */
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border-light);
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-logo {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-logo-icon {
    /* width: 63px; */
    height: 63px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    border: none;
    margin-bottom: 0;
    object-fit: contain;
}

.sidebar-category {
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    gap: 0.75rem;
    cursor: pointer;
}

.sidebar-item:hover {
    background: #F3F4F6;
}

.sidebar-item.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-default);
    color: white;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease;
}

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

.slide-in {
    animation: slideIn 0.3s ease;
}

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

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

/* Loading Screen */
.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--gradient-default);
}

.loading-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.loading-text {
    color: white;
    font-size: 18px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .deal-card {
        width: 85%;
    }
}

/* Tab Pills */
.tab-pills {
    display: inline-flex;
    padding: 0.25rem;
    background: var(--background);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
}

.tab-pill {
    position: relative;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.tab-pill.active {
    color: var(--text-primary);
}

.tab-pill.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    z-index: -1;
}

/* ============================================
   Admin Panel Styles
   ============================================ */

/* Admin Layout - Fixed Sidebar with Scrollable Content */
.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background: var(--neutral-50);
    font-family: 'Noto Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Sidebar - Collapsible with Fixed Height */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    height: 100vh;
    background-color: #05153D;
    display: flex;
    flex-direction: column;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0;
    z-index: 30;
}

.admin-sidebar.expanded {
    width: 282px;
}

.admin-sidebar.collapsed {
    width: 80px;
}

/* Unpinned + expanded: overlay on top of main content (no layout push); pinned stays in-flow beside content */
.admin-sidebar.expanded:not(.sidebar-pinned) {
    z-index: 200;
    box-shadow: 10px 0 25px rgba(0, 0, 0, 0.2);
}

.admin-sidebar.expanded.sidebar-pinned {
    z-index: 30;
    box-shadow: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar Decoration/Glow */
.sidebar-decoration {
    position: absolute;
    height: 265px;
    left: 50%;
    overflow: hidden;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    pointer-events: none;
    transition: width 0.3s ease;
    z-index: 0;
}

.decoration-glow {
    position: absolute;
    width: 547px;
    height: 528px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center bottom, rgba(6, 107, 252, 0.2) 0%, rgba(6, 107, 252, 0.1) 30%, transparent 60%);
    filter: blur(40px);
}

/* Sidebar Header with Logo */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 24px 40px 24px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-bottom: none;
}

.admin-sidebar.collapsed .sidebar-header {
    padding: 40px 16px;
    justify-content: center;
}

.admin-sidebar.expanded .sidebar-header {
    padding-left: 4px;
    justify-content: flex-start;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    border-bottom: none;
}

.admin-sidebar.collapsed .sidebar-logo {
    justify-content: center;
    height: auto;
    min-height: 48px;
    overflow: visible;
}

.admin-sidebar.expanded .sidebar-logo {
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
}

.admin-sidebar.collapsed .logo-icon {
    width: 70px;
    height: 50px;
}

/* Collapsed mini mark only — match sample: 24px height, centered (do not affect nav icons) */
.admin-sidebar.collapsed .logo-icon.logo-icon-mini {
    width: auto;
    height: auto;
    min-height: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-sidebar.collapsed .logo-icon.logo-icon-mini img.mini-logo {
    height: 1.5rem;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.logo-icon {
    width: auto;
    max-width: 400px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar.expanded .logo-icon {
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.admin-sidebar.expanded .logo-icon img {
    object-position: left center;
}

.logo-text-container {
    flex: 1;
    height: 40px;
    min-width: 0;
    overflow: hidden;
}

.logo-text-svg {
    height: 100%;
    width: auto;
}

/* Sidebar Toggle Button */
.sidebar-toggle-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #8C9EBB;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #BFFAFD;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.admin-sidebar.collapsed .sidebar-toggle-btn {
    display: none;
}

/* Pin / unpin sidebar (expanded header only; matches MudBlazor icon button) */
.admin-sidebar .sidebar-pin-btn {
    color: #b0bfd4 !important;
    flex-shrink: 0;
}

.admin-sidebar .sidebar-pin-btn:hover {
    color: #e8eef8 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.nav-item {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 0 24px;
    justify-content: flex-start;
    background: transparent;
    border: none;
    border-right: 4px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #9FAEC6;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    position: relative;
}

.admin-sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 0;
}

.nav-item:hover {
    color: #BFFAFD;
    background: linear-gradient(267deg, rgba(74, 122, 255, 0.2) 11.41%, rgba(0, 29, 107, 0.1) 127.13%);
}

.nav-item.active {
    color: white;
    background: linear-gradient(267deg, rgba(74, 122, 255, 0.5) 11.41%, rgba(0, 29, 107, 0.3) 127.13%);
    border-right-color: #84F4FB;
}

.nav-item.active .nav-icon {
    color: #BFFAFD;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.nav-text {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navigation Divider */
.nav-divider {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin: 8px 0;
}

.nav-divider span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5E6E8A;
}

.admin-sidebar.collapsed .nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 16px 20px;
    padding: 0;
}

.admin-sidebar.collapsed .nav-divider span {
    display: none;
}

/* ===== Access Control Sub-Menu Flyout ===== */

/* When sub-menu is open, sidebar expands wider */
.admin-sidebar.expanded.has-submenu {
    width: 400px;
}

/* The sidebar-nav becomes a horizontal flex container when sub-menu is open */
.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.admin-sidebar.expanded.has-submenu .sidebar-nav {
    flex-direction: row;
    overflow: hidden;
}

/* The nav-inner holds all the main nav items */
.sidebar-nav-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When sub-menu is open, nav-inner shrinks to icon-only rail */
.sidebar-nav-inner.with-submenu {
    width: 80px;
    min-width: 80px;
    border-right: 1px solid rgba(116, 169, 251, 0.15);
}

/* Hide nav-text labels when sub-menu is open */
.sidebar-nav-inner.with-submenu .nav-text {
    display: none;
}

/* Center nav-items in the icon rail */
.sidebar-nav-inner.with-submenu .nav-item {
    justify-content: center;
    padding: 0;
}

/* Hide divider text in icon rail */
.sidebar-nav-inner.with-submenu .nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 16px 20px;
    padding: 0;
}

.sidebar-nav-inner.with-submenu .nav-divider span {
    display: none;
}

/* When sub-menu is open, suppress Blazor NavLink's built-in active class
   on the icon rail items — only the Access Control parent (a div, not an <a>)
   should show as active */
.sidebar-nav-inner.with-submenu a.nav-item.active {
    color: #9FAEC6;
    background: transparent;
    border-right-color: transparent;
}

.sidebar-nav-inner.with-submenu a.nav-item.active .nav-icon {
    color: #9FAEC6;
}

.sidebar-nav-inner.with-submenu a.nav-item.active:hover {
    color: #BFFAFD;
    background: linear-gradient(267deg, rgba(74, 122, 255, 0.2) 11.41%, rgba(0, 29, 107, 0.1) 127.13%);
}

/* Sub-menu flyout panel */
.ac-submenu-flyout {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    animation: acSubmenuSlideIn 0.25s ease-out;
    overflow-y: auto;
}

@keyframes acSubmenuSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Sub-menu header */
.ac-submenu-header {
    padding: 0.75rem 1.5rem;
    color: #CCB8FF;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(101, 50, 231, 0.15);
    height: 44px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Sub-menu items container */
.ac-submenu-items {
    display: flex;
    flex-direction: column;
    padding-top: 0.25rem;
}

/* Individual sub-menu item */
.ac-submenu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.ac-submenu-item:hover {
    color: #BFFAFD;
    background: linear-gradient(267deg, rgba(74, 122, 255, 0.15) 11.41%, rgba(0, 29, 107, 0.08) 127.13%);
}

.ac-submenu-item.active {
    color: white;
    background: linear-gradient(267deg, rgba(74, 122, 255, 0.45) 11.41%, rgba(0, 29, 107, 0.25) 127.13%);
    border-left-color: #84F4FB;
    font-weight: 700;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.role-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.role-indicator.role-platform {
    background: rgba(6, 107, 252, 0.15);
    color: #84F4FB;
}

.role-indicator.role-admin {
    background: rgba(119, 66, 255, 0.15);
    color: #C4B5FD;
}

.role-indicator.role-product {
    background: rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
}

.role-indicator.role-special {
    background: rgba(245, 158, 11, 0.15);
    color: #FCD34D;
}

.role-indicator.role-user {
    background: rgba(255, 255, 255, 0.05);
    color: #9FAEC6;
}

.role-icon-small {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-initial {
    font-size: 14px;
    font-weight: 700;
}

.admin-sidebar.collapsed .role-indicator {
    justify-content: center;
    padding: 10px;
}

/* Admin Badge in Header */
.admin-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-badge.platform {
    background: linear-gradient(135deg, #066BFC 0%, #00FFFF 100%);
    color: white;
}

.admin-badge.customer {
    background: linear-gradient(135deg, #7742FF 0%, #A78BFA 100%);
    color: white;
}

.admin-badge.product {
    background: linear-gradient(135deg, #10B981 0%, #6EE7B7 100%);
    color: white;
}

.admin-badge.support {
    background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    color: #1a1a1a;
}

.admin-badge.marketplace {
    background: linear-gradient(135deg, #EC4899 0%, #F9A8D4 100%);
    color: white;
}

.admin-badge.user {
    background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
    color: white;
}

/* User Role Tag in Dropdown */
.user-role-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.user-role-tag.role-platform {
    background: rgba(6, 107, 252, 0.1);
    color: #066BFC;
}

.user-role-tag.role-admin {
    background: rgba(119, 66, 255, 0.1);
    color: #7742FF;
}

.user-role-tag.role-product {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.user-role-tag.role-support {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.user-role-tag.role-marketplace {
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.user-role-tag.role-special {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.user-role-tag.role-user {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

/* Role Switcher Dropdown */
.role-switcher-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.role-option {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.role-option:hover {
    background: var(--neutral-50);
}

.role-option.active {
    background: var(--primary-50);
}

.role-option span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.role-option .role-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.role-chevron {
    transition: transform 0.2s ease;
}

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

/* Admin Main Content - With Fixed Sidebar Offset */
.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    margin-left: 80px;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-main.sidebar-collapsed {
    margin-left: 80px;
}

.admin-sidebar.expanded.sidebar-pinned + .admin-main,
.admin-sidebar.expanded.sidebar-pinned ~ .admin-main {
    margin-left: 282px;
}

.admin-sidebar.expanded.has-submenu.sidebar-pinned + .admin-main,
.admin-sidebar.expanded.has-submenu.sidebar-pinned ~ .admin-main {
    margin-left: 480px;
}

/* Admin Header */
.admin-header {
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.header-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #3C4C67;
    position: relative;
}

.header-btn:hover {
    background: var(--neutral-100);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #FF0505;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.user-avatar.large {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* Admin Content - Scrollable */
.admin-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
    display: flex;
    flex-direction: column;
}

.admin-body-wrapper {
    flex: 1 0 auto;
    padding: 32px 32px 0 32px;
}

.admin-content::-webkit-scrollbar {
    width: 8px;
}

.admin-content::-webkit-scrollbar-track {
    background: transparent;
}

.admin-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.admin-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* User Dropdown */
.dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.user-dropdown {
    position: fixed;
    top: 60px;
    right: 24px;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    z-index: 101;
    overflow: hidden;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--neutral-50);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-email {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: var(--neutral-50);
}

.dropdown-item.danger {
    color: var(--error);
}

.dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Role Switcher */
.role-switcher {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
}

.role-switcher-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #296DF5;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.role-switcher-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.role-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(41, 109, 245, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #296DF5;
}

.role-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.role-label {
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-value {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
}

.role-chevron {
    color: #94A3B8;
    transition: transform 0.2s ease;
}

/* AI Assistant Button */
.ai-assistant-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-ai-color);
    border: none;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: transform 0.2s ease;
    color: white;
}

.ai-assistant-btn:hover {
    transform: scale(1.05);
}

.ai-assistant-btn svg {
    fill: white;
}

/* ============================================
   User Management Styles
   ============================================ */

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tabs */
.admin-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.admin-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab:hover {
    color: var(--text-primary);
    border-bottom-color: var(--border-medium);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-tab svg {
    width: 18px;
    height: 18px;
}

/* Action Bar */
.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.action-left {
    display: flex;
    gap: 12px;
}

.action-right {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-outline:hover {
    background: var(--neutral-50);
    border-color: var(--border-medium);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-700);
}

.btn-gradient {
    background: var(--gradient-default);
    border: none;
    color: white;
}

.btn-gradient:hover {
    opacity: 0.9;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Data Table */
.data-table-container {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

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

.data-table thead {
    background: var(--neutral-50);
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    padding: 12px 24px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.data-table td {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

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

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

/* User Cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name-text {
    font-weight: 600;
    color: var(--text-primary);
}

.user-email-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid;
}

.badge-gray {
    background: #F3F4F6;
    color: #374151;
    border-color: #E5E7EB;
}

.badge-blue {
    background: #DBEAFE;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

.badge-purple {
    background: #EDE9FE;
    color: #7C3AED;
    border-color: #DDD6FE;
}

.badge-green {
    background: #D1FAE5;
    color: #059669;
    border-color: #A7F3D0;
}

.badge-yellow {
    background: #FEF3C7;
    color: #D97706;
    border-color: #FDE68A;
}

.badge-red {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FECACA;
}

/* Product Access */
.product-access {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-count {
    color: var(--text-primary);
}

.product-settings-btn {
    color: var(--primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.product-settings-btn:hover {
    background: var(--primary-50);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--neutral-100);
}

.icon-btn:hover.edit { color: var(--primary); }
.icon-btn:hover.toggle { color: var(--warning); }
.icon-btn:hover.delete { color: var(--error); }

.icon-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed;
        left: -282px;
        width: 282px;
        transition: left 0.3s ease;
        z-index: 100;
    }
    
    .admin-sidebar.expanded {
        left: 0;
    }
    
    .admin-sidebar.collapsed {
        left: -80px;
        width: 80px;
    }
    
    .admin-main {
        width: 100%;
    }
    
    .admin-body-wrapper {
        /* padding: 16px; */
        padding: 16px 16px 0 16px;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .data-table-container {
        overflow-x: auto;
    }
    
    /* Mobile sidebar overlay */
    .admin-sidebar.expanded::before {
        content: '';
        position: fixed;
        top: 0;
        left: 282px;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* ============================================
   Dashboard Styles
   ============================================ */

.stat-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-change {
    font-size: 12px;
    margin-top: 4px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--error);
}

.stat-change.neutral {
    color: var(--text-secondary);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.dashboard-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

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

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-action {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

.card-action:hover {
    text-decoration: underline;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.activity-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.activity-icon.activity-blue {
    background: rgba(71, 121, 247, 0.1);
    color: var(--primary);
}

.activity-icon.activity-purple {
    background: rgba(119, 66, 255, 0.1);
    color: var(--secondary);
}

.activity-icon.activity-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    color: var(--text-primary);
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Product List */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--neutral-50);
    border-radius: 10px;
}

.product-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.product-plan {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--neutral-50);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: var(--neutral-100);
}

.quick-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gradient-default);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Recommended Products */
.recommended-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.recommended-card {
    background: var(--neutral-50);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommended-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommended-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.recommended-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.recommended-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

.recommended-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   Billing Styles
   ============================================ */

.billing-section {
    margin-top: 24px;
}

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

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.subscription-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.subscription-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.subscription-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.subscription-info {
    flex: 1;
}

.subscription-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-plan {
    font-size: 13px;
    color: var(--text-secondary);
}

.subscription-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.subscription-actions {
    display: flex;
    gap: 8px;
}

/* Payment Methods */
.payment-methods-section {
    margin-top: 24px;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.payment-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.payment-card.default {
    border-color: var(--primary);
    background: var(--primary-50);
}

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

.card-brand svg {
    height: 24px;
    width: auto;
}

.payment-card-number {
    font-size: 18px;
    font-weight: 600;
    font-family: monospace;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.payment-card-details {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.payment-card-details > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-card-actions {
    display: flex;
    gap: 8px;
}

/* Billing Address */
.billing-address-section {
    margin-top: 32px;
}

.address-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
}

.address-card p {
    margin: 4px 0;
    font-size: 14px;
    color: var(--text-primary);
}

/* ============================================
   Support Styles
   ============================================ */

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.support-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.support-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.support-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.support-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-chevron {
    transition: transform 0.2s ease;
    color: var(--text-secondary);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Apps & Integrations Styles
   ============================================ */

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.app-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.app-card.installed {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.02);
}

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

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.app-footer {
    display: flex;
    gap: 8px;
}

/* Search Input */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
}

.search-input {
    padding: 8px 12px 8px 40px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(71, 121, 247, 0.1);
}

/* API Key Display */
.api-key-display {
    background: var(--neutral-100);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
}

/* Small Button */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Button Active State */
.btn.active,
.btn-outline.active {
    background: var(--primary-100);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .recommended-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subscription-cards {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .recommended-products {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .payment-cards {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Settings Grid Styles
   ============================================ */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.settings-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.settings-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-info {
    flex: 1;
}

.settings-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.settings-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.settings-arrow {
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.settings-card:hover .settings-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DASHBOARD STYLES - Tenant Admin Dashboard
   ============================================ */

.dashboard-container {
    padding: 0;
    background: #f8fafc;
    min-height: 100%;
}

/* Subscription Hero Section */
.subscription-hero {
    background: linear-gradient(135deg, #7C3AED 0%, #4338CA 50%, #1E40AF 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.hero-decoration-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 256px;
    height: 256px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.hero-decoration-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 192px;
    height: 192px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    filter: blur(32px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.hero-subtitle {
    color: #C4B5FD;
    font-size: 14px;
}

.subscription-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 8px;
}

.stat-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stat-label {
    color: #C4B5FD;
    font-size: 12px;
}

.stat-value {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.stat-desc {
    color: #C4B5FD;
    font-size: 12px;
}

/* Tip Banner */
.tip-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(to right, #FEF9C3, #FED7AA);
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.tip-icon {
    color: #CA8A04;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.tip-text {
    font-size: 14px;
    color: #374151;
}

/* Products Section */
.products-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.section-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-cards-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 24px;
    transition: all 0.2s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-card.not-subscribed {
    opacity: 0.75;
}

.product-menu-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    color: #6B7280;
}

.product-menu-btn:hover {
    background: #F3F4F6;
}

.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.2s;
    color: white;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-icon.bg-blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.product-icon.bg-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.product-icon.bg-green { background: linear-gradient(135deg, #10B981, #059669); }
.product-icon.bg-orange { background: linear-gradient(135deg, #F97316, #EA580C); }

.product-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.product-desc {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 16px;
}

.product-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    color: #059669;
}

.status-badge.active svg {
    color: #059669;
}

.user-count {
    font-size: 12px;
    color: #6B7280;
}

.not-subscribed-text {
    font-size: 12px;
    color: #6B7280;
}

.product-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.product-action-btn.primary {
    background: var(--gradient-default);
    color: white;
}

.product-action-btn.outline {
    background: white;
    border: 1px solid #D1D5DB;
    color: #374151;
}

.product-action-btn.outline:hover {
    background: #F9FAFB;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-col-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-col-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.card-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title {
    font-weight: 600;
    color: #111827;
}

.icon-purple { color: #7C3AED; }
.icon-yellow { color: #EAB308; }
.icon-blue { color: #3B82F6; }
.icon-green { color: #10B981; }

/* Subscriptions List */
.subscriptions-list {
    divide-y divide-gray-200;
}

.subscription-item {
    padding: 16px 20px;
    transition: all 0.2s;
    cursor: pointer;
    border-bottom: 1px solid #E5E7EB;
}

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

.subscription-item:hover {
    background: #F9FAFB;
}

.subscription-item.needs-setup {
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
}

.sub-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sub-icon {
    width: 40px;
    height: 40px;
    background: #DBEAFE;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
}

.sub-info {
    flex: 1;
}

.sub-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.sub-name-row h3 {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.sub-status-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.sub-status-badge.active {
    background: #D1FAE5;
    color: #059669;
}

.sub-status-badge.pending {
    background: #FEF3C7;
    color: #D97706;
}

.sub-plan {
    font-size: 12px;
    color: #6B7280;
}

.sub-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sub-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-stat-label {
    font-size: 12px;
    color: #6B7280;
}

.sub-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.usage-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.usage-bar {
    width: 48px;
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: #EAB308;
    border-radius: 3px;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.course-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.course-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 128px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-badge.blue { background: #EFF6FF; color: #3B82F6; }
.course-badge.green { background: #ECFDF5; color: #10B981; }
.course-badge.orange { background: #FFF7ED; color: #F97316; }

.completed-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #059669;
    color: white;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 12px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.course-category {
    padding: 2px 8px;
    background: #DBEAFE;
    color: #1D4ED8;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6B7280;
}

.course-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-desc {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-progress {
    margin-bottom: 12px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 12px;
    color: #6B7280;
}

.progress-header span:last-child {
    font-weight: 600;
    color: #111827;
}

.progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-500, #6366F1);
    transition: width 0.3s;
}

/* Marketplace CTA */
.marketplace-cta {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.marketplace-cta:hover .cta-title {
    transform: scale(1.02);
}

.cta-decoration-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    filter: blur(48px);
}

.cta-decoration-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 288px;
    height: 288px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    margin-bottom: 24px;
    color: #93C5FD;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.cta-desc {
    color: #CBD5E1;
    font-size: 14px;
    margin-bottom: 32px;
    max-width: 560px;
}

.cta-icon-bg {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.1;
    color: white;
}

/* Side Column Cards */
.recommendations-list,
.upcoming-list,
.news-list {
    padding: 16px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.recommendation-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.rec-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    flex-shrink: 0;
}

.rec-content {
    flex: 1;
}

.rec-category {
    display: inline-block;
    padding: 2px 10px;
    background: #DBEAFE;
    color: #2563EB;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.rec-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-bottom: 4px;
}

.rec-desc {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-offer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6B7280;
}

.rec-more-btn {
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    border-radius: 4px;
}

.rec-more-btn:hover {
    background: #F3F4F6;
}

/* Upcoming */
.upcoming-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.upcoming-item:hover {
    background: #F3F4F6;
}

.upcoming-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.upcoming-dot.blue { background: #3B82F6; }
.upcoming-dot.orange { background: #F97316; }

.upcoming-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.upcoming-time {
    font-size: 12px;
    color: #6B7280;
    margin-top: 2px;
}

/* News */
.news-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.news-item:hover {
    opacity: 0.75;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-category {
    font-size: 12px;
    color: #3B82F6;
    font-weight: 500;
}

.news-title {
    font-weight: 500;
    color: #111827;
    font-size: 14px;
    margin: 4px 0;
}

.news-desc {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #9CA3AF;
}

/* Upsell Cards */
.upsell-card {
    background: linear-gradient(135deg, #F9FAFB 0%, white 100%);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
    cursor: pointer;
}

.upsell-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.upsell-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.upsell-icon.green { background: #D1FAE5; color: #059669; }
.upsell-icon.orange { background: #FFEDD5; color: #EA580C; }

.upsell-content h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.upsell-content p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

/* Buttons */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
}

.btn-outline.small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gradient-default);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary.small {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-primary.full-width {
    width: 100%;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-white:hover {
    background: #F9FAFB;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-link {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #3B82F6;
    font-weight: 500;
    cursor: pointer;
}

.btn-link:hover {
    color: #2563EB;
}

.btn-link.center {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 0 0;
}

/* Role Badges for 3-Level RBAC */
.role-platform-admin {
    background: linear-gradient(135deg, #066BFC 0%, #00FFFF 100%);
    color: white;
}

.role-platform {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    color: white;
}

.role-tenant-admin {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.role-tenant {
    background: linear-gradient(135deg, #10B981 0%, #6EE7B7 100%);
    color: white;
}

.role-user {
    background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
    color: white;
}

/* Level Badges */
.admin-badge.platform {
    background: linear-gradient(135deg, #066BFC 0%, #00FFFF 100%);
    color: white;
}

.admin-badge.tenant {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

/* Logo text styling */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #066BFC 0%, #00FFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

